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

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 41 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 47 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 53 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 56 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 59 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 65 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 77 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 80 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 83 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 86 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 92 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 98 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsocketnotifier.sip"
#include <qsocketnotifier.h>
#line 104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 60 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
#include <qlogging.h>
#line 174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbasictimer.sip"
#include <qbasictimer.h>
#line 240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearraymatcher.sip"
#include <qbytearraymatcher.h>
#line 249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcollator.sip"
#include <qcollator.h>
#line 252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdeadlinetimer.sip"
#include <qdeadlinetimer.h>
#line 267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qelapsedtimer.sip"
#include <qelapsedtimer.h>
#line 282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsondocument.sip"
#include <qjsondocument.h>
#line 294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsondocument.sip"
#include <qjsondocument.h>
#line 297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonvalue.sip"
#include <qjsonvalue.h>
#line 300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
#include <qline.h>
#line 306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
#include <qline.h>
#line 309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimetype.sip"
#include <qmimetype.h>
#line 333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 97 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstorageinfo.sip"
#include <qstorageinfo.h>
#line 375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurlquery.sip"
#include <qurlquery.h>
#line 401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qversionnumber.sip"
#include <qversionnumber.h>
#line 407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 48 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsysinfo.sip"
#include <qsysinfo.h>
#line 428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#define sipQtCreateUniversalSignal          0
#define sipQtFindUniversalSignal            0
#define sipQtEmitSignal                     0
#define sipQtConnectPySignal                0
#define sipQtDisconnectPySignal             0

/* Define the strings used by this module. */
const char sipStrings_QtCore[] = {
    'Q', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 'L', 'i', 'n', 'e', 'P', 'a', 'r', 's', 'e', 'r', ':', ':', 'O', 'p', 't', 'i', 'o', 'n', 's', 'A', 'f', 't', 'e', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 'M', 'o', 'd', 'e', 0,
    'Q', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 'L', 'i', 'n', 'e', 'P', 'a', 'r', 's', 'e', 'r', ':', ':', 'S', 'i', 'n', 'g', 'l', 'e', 'D', 'a', 's', 'h', 'W', 'o', 'r', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'E', 'v', 'e', 'n', 't', 'D', 'i', 's', 'p', 'a', 't', 'c', 'h', 'e', 'r', ':', ':', 'T', 'i', 'm', 'e', 'r', 'I', 'n', 'f', 'o', '>', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'R', 'e', 'a', 'd', 'e', 'r', ':', ':', 'R', 'e', 'a', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'T', 'e', 'x', 't', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'u', 'r', 0,
    'A', 'A', '_', 'S', 'y', 'n', 't', 'h', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'u', 's', 'e', 'F', 'o', 'r', 'U', 'n', 'h', 'a', 'n', 'd', 'l', 'e', 'd', 'T', 'a', 'b', 'l', 'e', 't', 'E', 'v', 'e', 'n', 't', 's', 0,
    'A', 'A', '_', 'U', 's', 'e', 'S', 't', 'y', 'l', 'e', 'S', 'h', 'e', 'e', 't', 'P', 'r', 'o', 'p', 'a', 'g', 'a', 't', 'i', 'o', 'n', 'I', 'n', 'W', 'i', 'd', 'g', 'e', 't', 'S', 't', 'y', 'l', 'e', 's', 0,
    'A', 'A', '_', 'S', 'y', 'n', 't', 'h', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'u', 's', 'e', 'F', 'o', 'r', 'U', 'n', 'h', 'a', 'n', 'd', 'l', 'e', 'd', 'T', 'o', 'u', 'c', 'h', 'E', 'v', 'e', 'n', 't', 's', 0,
    'A', 'A', '_', 'S', 'y', 'n', 't', 'h', 'e', 's', 'i', 'z', 'e', 'T', 'o', 'u', 'c', 'h', 'F', 'o', 'r', 'U', 'n', 'h', 'a', 'n', 'd', 'l', 'e', 'd', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 's', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '<', 'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', '>', 0,
    'A', 'A', '_', 'D', 'o', 'n', 't', 'C', 'h', 'e', 'c', 'k', 'O', 'p', 'e', 'n', 'G', 'L', 'C', 'o', 'n', 't', 'e', 'x', 't', 'T', 'h', 'r', 'e', 'a', 'd', 'A', 'f', 'f', 'i', 'n', 'i', 't', 'y', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '<', 'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', '>', 0,
    'Q', 'S', 'y', 's', 't', 'e', 'm', 'S', 'e', 'm', 'a', 'p', 'h', 'o', 'r', 'e', ':', ':', 'S', 'y', 's', 't', 'e', 'm', 'S', 'e', 'm', 'a', 'p', 'h', 'o', 'r', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'S', 'o', 'u', 't', 'h', 'G', 'e', 'o', 'r', 'g', 'i', 'a', 'A', 'n', 'd', 'T', 'h', 'e', 'S', 'o', 'u', 't', 'h', 'S', 'a', 'n', 'd', 'w', 'i', 'c', 'h', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    's', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', 'A', 'f', 't', 'e', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 'M', 'o', 'd', 'e', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'F', 'l', 'o', 'a', 't', 'i', 'n', 'g', 'P', 'o', 'i', 'n', 't', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '<', 'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'E', 'n', 't', 'i', 't', 'y', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', '>', 0,
    'Q', 'T', 'e', 'x', 't', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 'F', 'i', 'n', 'd', 'e', 'r', ':', ':', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 'R', 'e', 'a', 's', 'o', 'n', 's', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'M', 'o', 'd', 'e', 'l', ':', ':', 'L', 'a', 'y', 'o', 'u', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'H', 'i', 'n', 't', 0,
    'Q', 'T', 'e', 'x', 't', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 'F', 'i', 'n', 'd', 'e', 'r', ':', ':', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'Q', 'I', 't', 'e', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'l', ':', ':', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'D', 'a', 't', 'a', 'S', 't', 'r', 'e', 'a', 'm', ':', ':', 'F', 'l', 'o', 'a', 't', 'i', 'n', 'g', 'P', 'o', 'i', 'n', 't', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', ':', ':', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'E', 'v', 'e', 'n', 't', 'D', 'i', 's', 'p', 'a', 't', 'c', 'h', 'e', 'r', ':', ':', 'T', 'i', 'm', 'e', 'r', 'I', 'n', 'f', 'o', 0,
    'M', 'a', 'x', 'i', 'm', 'i', 'z', 'e', 'U', 's', 'i', 'n', 'g', 'F', 'u', 'l', 'l', 's', 'c', 'r', 'e', 'e', 'n', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'H', 'i', 'n', 't', 0,
    'N', 'o', 'C', 'o', 'm', 'm', 'o', 'n', 'A', 'n', 'c', 'e', 's', 't', 'o', 'r', 'F', 'o', 'r', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 'E', 'r', 'r', 'o', 'r', 0,
    'Q', 'R', 'e', 'g', 'u', 'l', 'a', 'r', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', ':', ':', 'P', 'a', 't', 't', 'e', 'r', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'I', 't', 'e', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'l', ':', ':', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', ':', ':', 'D', 'e', 'l', 'e', 't', 'i', 'o', 'n', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 'S', 'y', 'n', 't', 'h', 'e', 's', 'i', 'z', 'e', 'd', 'B', 'y', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'W', 'A', '_', 'T', 'o', 'u', 'c', 'h', 'P', 'a', 'd', 'A', 'c', 'c', 'e', 'p', 't', 'S', 'i', 'n', 'g', 'l', 'e', 'T', 'o', 'u', 'c', 'h', 'E', 'v', 'e', 'n', 't', 's', 0,
    'Q', 'T', 'e', 'x', 't', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 'F', 'i', 'n', 'd', 'e', 'r', ':', ':', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 'T', 'y', 'p', 'e', 0,
    'N', 'o', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'S', 't', 'a', 't', 'e', 'I', 'n', 'H', 'i', 's', 't', 'o', 'r', 'y', 'S', 't', 'a', 't', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'D', 'o', 'n', 't', 'C', 'h', 'e', 'c', 'k', 'S', 'u', 'b', 'j', 'e', 'c', 't', 'S', 't', 'r', 'i', 'n', 'g', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'R', 'e', 'g', 'u', 'l', 'a', 'r', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', ':', ':', 'P', 'a', 't', 't', 'e', 'r', 'n', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'A', 'A', '_', 'D', 'o', 'n', 't', 'C', 'r', 'e', 'a', 't', 'e', 'N', 'a', 't', 'i', 'v', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 's', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'N', 'o', 't', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'D', 'r', 'o', 'p', 'D', 'o', 'w', 'n', 'M', 'e', 'n', 'u', 0,
    'Q', 'U', 'r', 'l', ':', ':', 'U', 's', 'e', 'r', 'I', 'n', 'p', 'u', 't', 'R', 'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'U', 'r', 'l', ':', ':', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'P', 'a', 't', 'h', 's', ':', ':', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 'h', 'a', 'r', 'e', 'd', 'M', 'e', 'm', 'o', 'r', 'y', ':', ':', 'S', 'h', 'a', 'r', 'e', 'd', 'M', 'e', 'm', 'o', 'r', 'y', 'E', 'r', 'r', 'o', 'r', 0,
    'Q', 'R', 'e', 'g', 'u', 'l', 'a', 'r', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', ':', ':', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'U', 'n', 'i', 't', 'e', 'd', 'S', 't', 'a', 't', 'e', 's', 'M', 'i', 'n', 'o', 'r', 'O', 'u', 't', 'l', 'y', 'i', 'n', 'g', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'N', 'o', 'n', 'C', 'l', 'i', 'e', 'n', 't', 'A', 'r', 'e', 'a', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 'D', 'b', 'l', 'C', 'l', 'i', 'c', 'k', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'L', 'a', 'y', 'o', 'u', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'C', 'u', 'r', 's', 'o', 'r', 'F', 'o', 'r', 'c', 'e', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'I', 'g', 'n', 'o', 'r', 'e', 'd', 'G', 'e', 's', 't', 'u', 'r', 'e', 's', 'P', 'r', 'o', 'p', 'a', 'g', 'a', 't', 'e', 'T', 'o', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'A', 'A', '_', 'M', 'S', 'W', 'i', 'n', 'd', 'o', 'w', 's', 'U', 's', 'e', 'D', 'i', 'r', 'e', 'c', 't', '3', 'D', 'B', 'y', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '<', 'Q', 'P', 'a', 'i', 'r', '<', 'q', 'r', 'e', 'a', 'l', ',', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', '>', ' ', '>', 0,
    'Q', 'U', 'r', 'l', ':', ':', 'U', 's', 'e', 'r', 'I', 'n', 'p', 'u', 't', 'R', 'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'U', 'r', 'l', ':', ':', 'C', 'o', 'm', 'p', 'o', 'n', 'e', 'n', 't', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'T', 'e', 'x', 't', 'S', 't', 'r', 'e', 'a', 'm', ':', ':', 'R', 'e', 'a', 'l', 'N', 'u', 'm', 'b', 'e', 'r', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'R', 'e', 'g', 'u', 'l', 'a', 'r', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 'M', 'a', 't', 'c', 'h', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', 0,
    'Q', 'R', 'e', 'g', 'u', 'l', 'a', 'r', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', ':', ':', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'D', 'o', 'n', 't', 'A', 'u', 't', 'o', 'm', 'a', 't', 'i', 'c', 'a', 'l', 'l', 'y', 'O', 'p', 't', 'i', 'm', 'i', 'z', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'n', 'g', 'S', 'y', 's', 't', 'e', 'm', 'V', 'e', 'r', 's', 'i', 'o', 'n', ':', ':', 'O', 'S', 'T', 'y', 'p', 'e', 0,
    'Q', 'D', 'e', 'a', 'd', 'l', 'i', 'n', 'e', 'T', 'i', 'm', 'e', 'r', ':', ':', 'F', 'o', 'r', 'e', 'v', 'e', 'r', 'C', 'o', 'n', 's', 't', 'a', 'n', 't', 0,
    'N', 'o', 'n', 'C', 'l', 'i', 'e', 'n', 't', 'A', 'r', 'e', 'a', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 'R', 'e', 'l', 'e', 'a', 's', 'e', 0,
    'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'K', 'e', 'y', 'p', 'a', 'd', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 'a', 'l', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'P', 'a', 'i', 'r', '<', 'Q', 'S', 't', 'r', 'i', 'n', 'g', ',', 'Q', 'S', 't', 'r', 'i', 'n', 'g', '>', ' ', '>', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '<', 'Q', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', ':', ':', 'O', 'f', 'f', 's', 'e', 't', 'D', 'a', 't', 'a', '>', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'E', 'v', 'e', 'n', 't', 'L', 'o', 'o', 'p', ':', ':', 'P', 'r', 'o', 'c', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 's', 'F', 'l', 'a', 'g', 's', 0,
    'A', 'A', '_', 'C', 'o', 'm', 'p', 'r', 'e', 's', 's', 'H', 'i', 'g', 'h', 'F', 'r', 'e', 'q', 'u', 'e', 'n', 'c', 'y', 'E', 'v', 'e', 'n', 't', 's', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'P', 'o', 'p', 'u', 'p', 'M', 'e', 'n', 'u', 0,
    'a', 'd', 'd', 'E', 'x', 't', 'r', 'a', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'P', 'a', 't', 'h', 's', ':', ':', 'L', 'o', 'c', 'a', 't', 'e', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'R', 'e', 'g', 'u', 'l', 'a', 'r', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', ':', ':', 'M', 'a', 't', 'c', 'h', 'T', 'y', 'p', 'e', 0,
    'Q', 'R', 'e', 'a', 'd', 'W', 'r', 'i', 't', 'e', 'L', 'o', 'c', 'k', ':', ':', 'R', 'e', 'c', 'u', 'r', 's', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'C', 'u', 'r', 'r', 'e', 'n', 'c', 'y', 'S', 'y', 'm', 'b', 'o', 'l', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'I', 'n', 'c', 'l', 'u', 'd', 'e', 'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'Z', 'e', 'r', 'o', 'e', 's', 'A', 'f', 't', 'e', 'r', 'D', 'o', 't', 0,
    'Q', 'L', 'i', 'b', 'r', 'a', 'r', 'y', 'I', 'n', 'f', 'o', ':', ':', 'L', 'i', 'b', 'r', 'a', 'r', 'y', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'J', 's', 'o', 'n', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', ':', ':', 'D', 'a', 't', 'a', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'E', 'v', 'e', 'n', 't', 'L', 'o', 'o', 'p', ':', ':', 'P', 'r', 'o', 'c', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 's', 'F', 'l', 'a', 'g', 0,
    'Q', 'C', 'r', 'y', 'p', 't', 'o', 'g', 'r', 'a', 'p', 'h', 'i', 'c', 'H', 'a', 's', 'h', ':', ':', 'A', 'l', 'g', 'o', 'r', 'i', 't', 'h', 'm', 0,
    'N', 'o', 'n', 'C', 'l', 'i', 'e', 'n', 't', 'A', 'r', 'e', 'a', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 'P', 'r', 'e', 's', 's', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'M', 'o', 'u', 's', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', ':', ':', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 'S', 'y', 'n', 't', 'h', 'e', 's', 'i', 'z', 'e', 'd', 'B', 'y', 'S', 'y', 's', 't', 'e', 'm', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 's', 'S', 'y', 's', 't', 'e', 'm', 'G', 'e', 's', 't', 'u', 'r', 'e', 's', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'M', 'o', 'd', 'e', 'l', 'I', 'n', 'd', 'e', 'x', '>', 0,
    'a', 'd', 'd', 'E', 'x', 't', 'r', 'a', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 'y', 's', 't', 'e', 'm', 'S', 'e', 'm', 'a', 'p', 'h', 'o', 'r', 'e', ':', ':', 'A', 'c', 'c', 'e', 's', 's', 'M', 'o', 'd', 'e', 0,
    'Q', 'S', 't', 'a', 't', 'e', 'M', 'a', 'c', 'h', 'i', 'n', 'e', ':', ':', 'E', 'v', 'e', 'n', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'Q', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'P', 'a', 't', 'h', 's', ':', ':', 'L', 'o', 'c', 'a', 't', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'P', 'r', 'o', 'c', 'e', 's', 's', ':', ':', 'P', 'r', 'o', 'c', 'e', 's', 's', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'M', 'o', 'd', 'e', 0,
    'R', 'e', 'j', 'e', 'c', 't', 'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'Z', 'e', 'r', 'o', 'e', 's', 'A', 'f', 't', 'e', 'r', 'D', 'o', 't', 0,
    'S', 'a', 'i', 'n', 't', 'V', 'i', 'n', 'c', 'e', 'n', 't', 'A', 'n', 'd', 'T', 'h', 'e', 'G', 'r', 'e', 'n', 'a', 'd', 'i', 'n', 'e', 's', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'e', 'v', 'i', 'c', 'e', ':', ':', 'F', 'i', 'l', 'e', 'H', 'a', 'n', 'd', 'l', 'e', 'F', 'l', 'a', 'g', 's', 0,
    'P', 'a', 'r', 's', 'e', 'A', 's', 'C', 'o', 'm', 'p', 'a', 'c', 't', 'e', 'd', 'S', 'h', 'o', 'r', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 'C', 'r', 'e', 'a', 't', 'e', 'd', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 0,
    'I', 'n', 'v', 'e', 'r', 't', 'e', 'd', 'L', 'a', 'n', 'd', 's', 'c', 'a', 'p', 'e', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'K', 'e', 'y', 'p', 'a', 'd', 'T', 'a', 'b', 'O', 'r', 'd', 'e', 'r', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'U', 't', 'i', 'l', 'i', 't', 'y', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'D', 'e', 's', 'k', 't', 'o', 'p', 0,
    'W', 'A', '_', 'D', 'o', 'n', 't', 'C', 'r', 'e', 'a', 't', 'e', 'N', 'a', 't', 'i', 'v', 'e', 'A', 'n', 'c', 'e', 's', 't', 'o', 'r', 's', 0,
    'W', 'A', '_', 'T', 'r', 'a', 'n', 's', 'p', 'a', 'r', 'e', 'n', 't', 'F', 'o', 'r', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 's', 0,
    'W', 'A', '_', 'N', 'o', 'C', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 's', 'F', 'r', 'o', 'm', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'M', 'S', 'W', 'i', 'n', 'd', 'o', 'w', 's', 'F', 'i', 'x', 'e', 'd', 'S', 'i', 'z', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 'H', 'i', 'n', 't', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', '*', '>', 0,
    'P', 'r', 'e', 'm', 'a', 't', 'u', 'r', 'e', 'E', 'n', 'd', 'O', 'f', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'E', 'r', 'r', 'o', 'r', 0,
    'p', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 'I', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 'T', 'a', 'r', 'g', 'e', 't', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'R', 'e', 'a', 'd', 'e', 'r', ':', ':', 'T', 'o', 'k', 'e', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'E', 'n', 't', 'i', 't', 'y', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'T', 'e', 'x', 't', 'S', 't', 'r', 'e', 'a', 'm', ':', ':', 'F', 'i', 'e', 'l', 'd', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'Q', 'T', 'e', 'x', 't', 'C', 'o', 'd', 'e', 'c', ':', ':', 'C', 'o', 'n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'S', 't', 'a', 't', 'e', 'M', 'a', 'c', 'h', 'i', 'n', 'e', ':', ':', 'W', 'r', 'a', 'p', 'p', 'e', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'E', 'x', 't', 'e', 'n', 'd', 'e', 'd', 'P', 'a', 't', 't', 'e', 'r', 'n', 'S', 'y', 'n', 't', 'a', 'x', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'I', 'n', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'a', 'r', 't', 'h', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'R', 'e', 'j', 'e', 'c', 't', 'L', 'e', 'a', 'd', 'i', 'n', 'g', 'Z', 'e', 'r', 'o', 'I', 'n', 'E', 'x', 'p', 'o', 'n', 'e', 'n', 't', 0,
    'L', 'a', 't', 'i', 'n', 'A', 'm', 'e', 'r', 'i', 'c', 'a', 'A', 'n', 'd', 'T', 'h', 'e', 'C', 'a', 'r', 'i', 'b', 'b', 'e', 'a', 'n', 0,
    'B', 'r', 'i', 't', 'i', 's', 'h', 'I', 'n', 'd', 'i', 'a', 'n', 'O', 'c', 'e', 'a', 'n', 'T', 'e', 'r', 'r', 'i', 't', 'o', 'r', 'y', 0,
    'Q', 'J', 's', 'o', 'n', 'P', 'a', 'r', 's', 'e', 'E', 'r', 'r', 'o', 'r', ':', ':', 'P', 'a', 'r', 's', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'e', 'v', 'i', 'c', 'e', ':', ':', 'M', 'e', 'm', 'o', 'r', 'y', 'M', 'a', 'p', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'e', 'v', 'i', 'c', 'e', ':', ':', 'F', 'i', 'l', 'e', 'H', 'a', 'n', 'd', 'l', 'e', 'F', 'l', 'a', 'g', 0,
    'Q', 'D', 'i', 'r', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', ':', ':', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'W', 'i', 'n', 'd', 'o', 'w', 'I', 'c', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'S', 'i', 'n', 'g', 'l', 'e', 'D', 'a', 's', 'h', 'W', 'o', 'r', 'd', 'O', 'p', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'I', 'n', 'v', 'e', 'r', 't', 'e', 'd', 'P', 'o', 'r', 't', 'r', 'a', 'i', 't', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'S', 'p', 'l', 'a', 's', 'h', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'C', 'o', 'n', 't', 'e', 'x', 't', 'H', 'e', 'l', 'p', 'B', 'u', 't', 't', 'o', 'n', 'H', 'i', 'n', 't', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', '*', '>', 0,
    'w', 'r', 'i', 't', 'e', 'P', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 'I', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'Q', 'u', 'e', 'r', 'y', 'V', 'a', 'l', 'u', 'e', 'D', 'e', 'l', 'i', 'm', 'i', 't', 'e', 'r', 0,
    'Q', 'T', 'e', 'x', 't', 'C', 'o', 'd', 'e', 'c', ':', ':', 'C', 'o', 'n', 'v', 'e', 'r', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', 0,
    'Q', 'T', 'e', 'x', 't', 'C', 'o', 'd', 'e', 'c', ':', ':', 'C', 'o', 'n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 0,
    'Q', 'S', 't', 'a', 't', 'e', 'M', 'a', 'c', 'h', 'i', 'n', 'e', ':', ':', 'S', 'i', 'g', 'n', 'a', 'l', 'E', 'v', 'e', 'n', 't', 0,
    'P', 'a', 'r', 't', 'i', 'a', 'l', 'P', 'r', 'e', 'f', 'e', 'r', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'M', 'a', 't', 'c', 'h', 0,
    'O', 'p', 't', 'i', 'm', 'i', 'z', 'e', 'O', 'n', 'F', 'i', 'r', 's', 't', 'U', 's', 'a', 'g', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'U', 's', 'e', 'U', 'n', 'i', 'c', 'o', 'd', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'D', 'o', 't', 'M', 'a', 't', 'c', 'h', 'e', 's', 'E', 'v', 'e', 'r', 'y', 't', 'h', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'P', 'r', 'o', 'c', 'e', 's', 's', ':', ':', 'I', 'n', 'p', 'u', 't', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'M', 'o', 'd', 'e', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 'F', 'o', 'r', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 'A', 'n', 'd', 'D', 'a', 't', 'a', 0,
    'Q', 'M', 'e', 's', 's', 'a', 'g', 'e', 'A', 'u', 't', 'h', 'e', 'n', 't', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'd', 'e', 0,
    'A', 'n', 'a', 't', 'o', 'l', 'i', 'a', 'n', 'H', 'i', 'e', 'r', 'o', 'g', 'l', 'y', 'p', 'h', 's', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'I', 'n', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'a', 'h', 'l', 'a', 'v', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'M', 'e', 'a', 's', 'u', 'r', 'e', 'm', 'e', 'n', 't', 'S', 'y', 's', 't', 'e', 'm', 0,
    'S', 'v', 'a', 'l', 'b', 'a', 'r', 'd', 'A', 'n', 'd', 'J', 'a', 'n', 'M', 'a', 'y', 'e', 'n', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'Q', 'H', 'i', 's', 't', 'o', 'r', 'y', 'S', 't', 'a', 't', 'e', ':', ':', 'H', 'i', 's', 't', 'o', 'r', 'y', 'T', 'y', 'p', 'e', 0,
    'Q', 'D', 'i', 'r', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', ':', ':', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', 'F', 'l', 'a', 'g', 0,
    'P', 'a', 'r', 's', 'e', 'A', 's', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'N', 'a', 't', 'i', 'v', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'Q', 't', ':', ':', 'I', 't', 'e', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'D', 'o', 'n', 't', 'S', 't', 'a', 'r', 't', 'G', 'e', 's', 't', 'u', 'r', 'e', 'O', 'n', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 's', 'I', 't', 'e', 'm', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'A', 'A', '_', 'I', 'm', 'm', 'e', 'd', 'i', 'a', 't', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'C', 'r', 'e', 'a', 't', 'i', 'o', 'n', 0,
    'W', 'i', 'd', 'g', 'e', 't', 'W', 'i', 't', 'h', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'K', 'e', 'e', 'p', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'B', 'y', 'E', 'x', 'p', 'a', 'n', 'd', 'i', 'n', 'g', 0,
    'K', 'e', 'y', '_', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'B', 'r', 'i', 'g', 'h', 't', 'n', 'e', 's', 's', 'D', 'o', 'w', 'n', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'C', 'o', 'm', 'b', 'o', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'A', 'l', 'w', 'a', 'y', 's', 'S', 'h', 'o', 'w', 'T', 'o', 'o', 'l', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'W', 'A', '_', 'W', 'S', 't', 'a', 't', 'e', '_', 'E', 'x', 'p', 'l', 'i', 'c', 'i', 't', 'S', 'h', 'o', 'w', 'H', 'i', 'd', 'e', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'F', 'u', 'l', 'l', 's', 'c', 'r', 'e', 'e', 'n', 'B', 'u', 't', 't', 'o', 'n', 'H', 'i', 'n', 't', 0,
    'M', 'a', 'c', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'B', 'u', 't', 't', 'o', 'n', 'H', 'i', 'n', 't', 0,
    'X', '1', '1', 'B', 'y', 'p', 'a', 's', 's', 'W', 'i', 'n', 'd', 'o', 'w', 'M', 'a', 'n', 'a', 'g', 'e', 'r', 'H', 'i', 'n', 't', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 'L', 'i', 'n', 'e', 'O', 'p', 't', 'i', 'o', 'n', '>', 0,
    'p', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 'I', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 'D', 'a', 't', 'a', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'Q', 'u', 'e', 'r', 'y', 'P', 'a', 'i', 'r', 'D', 'e', 'l', 'i', 'm', 'i', 't', 'e', 'r', 0,
    'Q', 'U', 'r', 'l', ':', ':', 'U', 'r', 'l', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 'h', 'a', 'r', 'e', 'd', 'M', 'e', 'm', 'o', 'r', 'y', ':', ':', 'A', 'c', 'c', 'e', 's', 's', 'M', 'o', 'd', 'e', 0,
    'Q', 'S', 'e', 'q', 'u', 'e', 'n', 't', 'i', 'a', 'l', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'G', 'r', 'o', 'u', 'p', 0,
    'E', 'g', 'y', 'p', 't', 'i', 'a', 'n', 'H', 'i', 'e', 'r', 'o', 'g', 'l', 'y', 'p', 'h', 's', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'm', 'i', 't', 'L', 'e', 'a', 'd', 'i', 'n', 'g', 'Z', 'e', 'r', 'o', 'I', 'n', 'E', 'x', 'p', 'o', 'n', 'e', 'n', 't', 0,
    'U', 'n', 'i', 't', 'e', 'd', 'S', 't', 'a', 't', 'e', 's', 'V', 'i', 'r', 'g', 'i', 'n', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'D', 'e', 'm', 'o', 'c', 'r', 'a', 't', 'i', 'c', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c', 'O', 'f', 'K', 'o', 'r', 'e', 'a', 0,
    'F', 'r', 'e', 'n', 'c', 'h', 'S', 'o', 'u', 't', 'h', 'e', 'r', 'n', 'T', 'e', 'r', 'r', 'i', 't', 'o', 'r', 'i', 'e', 's', 0,
    'D', 'e', 'm', 'o', 'c', 'r', 'a', 't', 'i', 'c', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c', 'O', 'f', 'C', 'o', 'n', 'g', 'o', 0,
    'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'M', 'o', 'r', 'o', 'c', 'c', 'a', 'n', 'T', 'a', 'm', 'a', 'z', 'i', 'g', 'h', 't', 0,
    'E', 'x', 'p', 'o', 'r', 't', 'E', 'x', 't', 'e', 'r', 'n', 'a', 'l', 'S', 'y', 'm', 'b', 'o', 'l', 's', 'H', 'i', 'n', 't', 0,
    'Q', 'J', 's', 'o', 'n', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', ':', ':', 'J', 's', 'o', 'n', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 's', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'F', 'l', 'o', 'a', 't', 'i', 'n', 'g', 'P', 'o', 'i', 'n', 't', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'R', 'e', 'q', 'u', 'e', 's', 't', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', 'I', 'n', 'p', 'u', 't', 'P', 'a', 'n', 'e', 'l', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'M', 'o', 'u', 's', 'e', 'R', 'e', 'l', 'e', 'a', 's', 'e', 0,
    's', 'e', 't', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 'L', 'i', 'n', 'e', 'O', 'p', 't', 'i', 'o', 'n', ':', ':', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', ':', ':', 'B', 'a', 's', 'e', '6', '4', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 'L', 'i', 's', 't', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', ':', ':', 'S', 't', 'a', 't', 'e', 0,
    'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 'S', 'y', 'n', 't', 'h', 'e', 's', 'i', 'z', 'e', 'd', 'B', 'y', 'Q', 't', 0,
    'I', 'm', 'h', 'D', 'i', 'a', 'l', 'a', 'b', 'l', 'e', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 's', 'O', 'n', 'l', 'y', 0,
    'L', 'i', 'n', 'k', 's', 'A', 'c', 'c', 'e', 's', 's', 'i', 'b', 'l', 'e', 'B', 'y', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 0,
    'A', 'A', '_', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'S', 'h', 'a', 'd', 'e', 'r', 'D', 'i', 's', 'k', 'C', 'a', 'c', 'h', 'e', 0,
    'A', 'A', '_', 'M', 'a', 'c', 'D', 'o', 'n', 't', 'S', 'w', 'a', 'p', 'C', 't', 'r', 'l', 'A', 'n', 'd', 'M', 'e', 't', 'a', 0,
    'A', 'c', 'c', 'e', 's', 's', 'i', 'b', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 'R', 'o', 'l', 'e', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'S', 'e', 'm', 'i', 'v', 'o', 'i', 'c', 'e', 'd', '_', 'S', 'o', 'u', 'n', 'd', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'M', 'e', 'n', 'u', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'D', 'o', 'c', 'k', 0,
    'W', 'A', '_', 'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'T', 'r', 'a', 'n', 's', 'p', 'a', 'r', 'e', 'n', 't', 0,
    'W', 'A', '_', 'N', 'o', 'C', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 's', 'F', 'o', 'r', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'T', 'r', 'a', 'n', 's', 'p', 'a', 'r', 'e', 'n', 't', 'F', 'o', 'r', 'I', 'n', 'p', 'u', 't', 0,
    'B', 'y', 'p', 'a', 's', 's', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'P', 'r', 'o', 'x', 'y', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'T', 'e', 'x', 't', 'I', 'n', 'c', 'l', 'u', 'd', 'e', 'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'S', 'p', 'a', 'c', 'e', 's', 0,
    'E', 'r', 'r', 'o', 'r', 'O', 'n', 'U', 'n', 'e', 'x', 'p', 'e', 'c', 't', 'e', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 's', 'I', 'd', 'T', 'o', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'I', 'a', 'n', 'a', 'I', 'd', 0,
    's', 'e', 't', 'G', 'e', 'n', 'e', 'r', 'a', 't', 'e', 'B', 'y', 't', 'e', 'O', 'r', 'd', 'e', 'r', 'M', 'a', 'r', 'k', 0,
    'Q', 'T', 'e', 'x', 't', 'S', 't', 'r', 'e', 'a', 'm', ':', ':', 'N', 'u', 'm', 'b', 'e', 'r', 'F', 'l', 'a', 'g', 's', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 'C', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 0,
    'I', 'n', 'v', 'e', 'r', 't', 'e', 'd', 'G', 'r', 'e', 'e', 'd', 'i', 'n', 'e', 's', 's', 'O', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'O', 'u', 't', 'p', 'u', 't', 'P', 'r', 'o', 'c', 'e', 's', 's', 0,
    'Q', 'P', 'r', 'o', 'c', 'e', 's', 's', ':', ':', 'P', 'r', 'o', 'c', 'e', 's', 's', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    'Q', 'M', 'i', 'm', 'e', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', ':', ':', 'M', 'a', 't', 'c', 'h', 'M', 'o', 'd', 'e', 0,
    'C', 'a', 'n', 'a', 'd', 'i', 'a', 'n', 'A', 'b', 'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'r', 'a', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'C', 'h', 'i', 'n', 'e', 's', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'e', 'v', 'i', 'c', 'e', ':', ':', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', 0,
    'Q', 'E', 'l', 'a', 'p', 's', 'e', 'd', 'T', 'i', 'm', 'e', 'r', ':', ':', 'C', 'l', 'o', 'c', 'k', 'T', 'y', 'p', 'e', 0,
    'f', 'r', 'o', 'm', 'M', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'S', 't', 'a', 'r', 't', 'O', 'f', 'D', 'a', 'y', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'P', 'a', 'l', 'e', 't', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 0,
    'Q', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 'L', 'i', 'n', 'e', 'O', 'p', 't', 'i', 'o', 'n', ':', ':', 'F', 'l', 'a', 'g', 0,
    'Q', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', ':', ':', 'B', 'a', 's', 'e', '6', '4', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 's', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'B', 'e', 'I', 'n', 's', 'e', 'r', 't', 'e', 'd', 0,
    'i', 'n', 's', 't', 'a', 'l', 'l', 'N', 'a', 't', 'i', 'v', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'S', 'o', 'c', 'k', 'e', 't', 'N', 'o', 't', 'i', 'f', 'i', 'e', 'r', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'E', 'v', 'e', 'n', 't', 'D', 'i', 's', 'p', 'a', 't', 'c', 'h', 'e', 'r', 0,
    'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 'N', 'o', 't', 'S', 'y', 'n', 't', 'h', 'e', 's', 'i', 'z', 'e', 'd', 0,
    'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'C', 'u', 'r', 's', 'o', 'r', 'A', 'u', 't', 'o', 0,
    'Q', 't', ':', ':', 'T', 'e', 'x', 't', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'T', 'e', 'x', 't', 'S', 'e', 'l', 'e', 'c', 't', 'a', 'b', 'l', 'e', 'B', 'y', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 0,
    'C', 'o', 'n', 't', 'a', 'i', 'n', 's', 'I', 't', 'e', 'm', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'A', 'A', '_', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'H', 'i', 'g', 'h', 'D', 'p', 'i', 'S', 'c', 'a', 'l', 'i', 'n', 'g', 0,
    'Q', 't', ':', ':', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'T', 'e', 'x', 't', 'B', 'e', 's', 'i', 'd', 'e', 'I', 'c', 'o', 'n', 0,
    'I', 'm', 'I', 'n', 'p', 'u', 't', 'I', 't', 'e', 'm', 'C', 'l', 'i', 'p', 'R', 'e', 'c', 't', 'a', 'n', 'g', 'l', 'e', 0,
    'B', 'l', 'o', 'c', 'k', 'i', 'n', 'g', 'Q', 'u', 'e', 'u', 'e', 'd', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'd', 'i', 'a', 'T', 'o', 'g', 'g', 'l', 'e', 'P', 'l', 'a', 'y', 'P', 'a', 'u', 's', 'e', 0,
    'K', 'e', 'y', '_', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'B', 'r', 'i', 'g', 'h', 't', 'n', 'e', 's', 's', 'U', 'p', 0,
    'Q', 't', ':', ':', 'I', 'm', 'a', 'g', 'e', 'C', 'o', 'n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'W', 'A', '_', 'T', 'r', 'a', 'n', 's', 'l', 'u', 'c', 'e', 'n', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'W', 'A', '_', 'X', '1', '1', 'N', 'e', 't', 'W', 'm', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 'D', 'N', 'D', 0,
    'W', 'A', '_', 'S', 'h', 'o', 'w', 'W', 'i', 't', 'h', 'o', 'u', 't', 'A', 'c', 't', 'i', 'v', 'a', 't', 'i', 'n', 'g', 0,
    'W', 'A', '_', 'N', 'o', 'X', '1', '1', 'E', 'v', 'e', 'n', 't', 'C', 'o', 'm', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'D', 'o', 'e', 's', 'N', 'o', 't', 'A', 'c', 'c', 'e', 'p', 't', 'F', 'o', 'c', 'u', 's', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'M', 'a', 'x', 'i', 'm', 'i', 'z', 'e', 'B', 'u', 't', 't', 'o', 'n', 'H', 'i', 'n', 't', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'M', 'i', 'n', 'i', 'm', 'i', 'z', 'e', 'B', 'u', 't', 't', 'o', 'n', 'H', 'i', 'n', 't', 0,
    'Q', 'H', 'a', 's', 'h', '<', 'Q', 'S', 't', 'r', 'i', 'n', 'g', ',', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', '>', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 'I', 'n', 'd', 'e', 'n', 't', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'R', 'e', 'a', 'd', 'e', 'r', ':', ':', 'E', 'r', 'r', 'o', 'r', 0,
    'i', 's', 'P', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 'I', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 0,
    'r', 'e', 's', 'o', 'l', 'v', 'e', 'U', 'n', 'd', 'e', 'c', 'l', 'a', 'r', 'e', 'd', 'E', 'n', 't', 'i', 't', 'y', 0,
    'Q', 'U', 'r', 'l', ':', ':', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'i', 's', 'I', 'n', 't', 'e', 'r', 'r', 'u', 'p', 't', 'i', 'o', 'n', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'q', 'S', 'e', 't', 'R', 'e', 'a', 'l', 'N', 'u', 'm', 'b', 'e', 'r', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'Q', 'T', 'e', 'x', 't', 'S', 't', 'r', 'e', 'a', 'm', ':', ':', 'N', 'u', 'm', 'b', 'e', 'r', 'F', 'l', 'a', 'g', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'R', 'e', 'g', 'u', 'l', 'a', 'r', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 'M', 'a', 't', 'c', 'h', 0,
    'P', 'a', 'r', 't', 'i', 'a', 'l', 'P', 'r', 'e', 'f', 'e', 'r', 'F', 'i', 'r', 's', 't', 'M', 'a', 't', 'c', 'h', 0,
    'r', 'e', 'a', 'd', 'y', 'R', 'e', 'a', 'd', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'O', 'u', 't', 'p', 'u', 't', 0,
    'Q', 'P', 'a', 'r', 'a', 'l', 'l', 'e', 'l', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'G', 'r', 'o', 'u', 'p', 0,
    'Q', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'n', 'g', 'S', 'y', 's', 't', 'e', 'm', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'M', 'e', 't', 'a', 'M', 'e', 't', 'h', 'o', 'd', ':', ':', 'M', 'e', 't', 'h', 'o', 'd', 'T', 'y', 'p', 'e', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'Q', 'u', 'o', 't', 'a', 't', 'i', 'o', 'n', 'S', 't', 'y', 'l', 'e', 0,
    'C', 'a', 'u', 'c', 'a', 's', 'i', 'a', 'n', 'A', 'l', 'b', 'a', 'n', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'i', 'm', 'p', 'l', 'i', 'f', 'i', 'e', 'd', 'C', 'h', 'i', 'n', 'e', 's', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'H', 'e', 'a', 'r', 'd', 'A', 'n', 'd', 'M', 'c', 'D', 'o', 'n', 'a', 'l', 'd', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'M', 'a', 'n', 'i', 'c', 'h', 'a', 'e', 'a', 'n', 'M', 'i', 'd', 'd', 'l', 'e', 'P', 'e', 'r', 's', 'i', 'a', 'n', 0,
    'C', 'e', 'n', 't', 'r', 'a', 'l', 'M', 'o', 'r', 'o', 'c', 'c', 'o', 'T', 'a', 'm', 'a', 'z', 'i', 'g', 'h', 't', 0,
    'Q', 'I', 'O', 'D', 'e', 'v', 'i', 'c', 'e', ':', ':', 'O', 'p', 'e', 'n', 'M', 'o', 'd', 'e', 'F', 'l', 'a', 'g', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'e', 'v', 'i', 'c', 'e', ':', ':', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 0,
    's', 'e', 't', 'P', 'r', 'e', 'c', 'i', 's', 'e', 'R', 'e', 'm', 'a', 'i', 'n', 'i', 'n', 'g', 'T', 'i', 'm', 'e', 0,
    'C', 'l', 'o', 's', 'e', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', 'I', 'n', 'p', 'u', 't', 'P', 'a', 'n', 'e', 'l', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'H', 'o', 'v', 'e', 'r', 'L', 'e', 'a', 'v', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'H', 'o', 'v', 'e', 'r', 'E', 'n', 't', 'e', 'r', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'M', 'o', 'u', 's', 'e', 'P', 'r', 'e', 's', 's', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 's', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'B', 'e', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'N', 'a', 't', 'i', 'v', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'W', 'h', 'i', 't', 'e', 'S', 'p', 'a', 'c', 'e', 'M', 'o', 'd', 'e', 'U', 'n', 'd', 'e', 'f', 'i', 'n', 'e', 'd', 0,
    'F', 'i', 'n', 'd', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'R', 'e', 'c', 'u', 'r', 's', 'i', 'v', 'e', 'l', 'y', 0,
    'I', 'm', 'h', 'F', 'o', 'r', 'm', 'a', 't', 't', 'e', 'd', 'N', 'u', 'm', 'b', 'e', 'r', 's', 'O', 'n', 'l', 'y', 0,
    'Q', 't', ':', ':', 'T', 'e', 'x', 't', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 0,
    'A', 'A', '_', 'D', 'o', 'n', 't', 'U', 's', 'e', 'N', 'a', 't', 'i', 'v', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 's', 0,
    'A', 'A', '_', 'E', 'n', 'a', 'b', 'l', 'e', 'H', 'i', 'g', 'h', 'D', 'p', 'i', 'S', 'c', 'a', 'l', 'i', 'n', 'g', 0,
    'A', 'A', '_', 'D', 'o', 'n', 't', 'U', 's', 'e', 'N', 'a', 't', 'i', 'v', 'e', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 0,
    'A', 'A', '_', 'M', 'a', 'c', 'P', 'l', 'u', 'g', 'i', 'n', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'A', 'A', '_', 'D', 'o', 'n', 't', 'S', 'h', 'o', 'w', 'I', 'c', 'o', 'n', 's', 'I', 'n', 'M', 'e', 'n', 'u', 's', 0,
    'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'T', 'e', 'x', 't', 'U', 'n', 'd', 'e', 'r', 'I', 'c', 'o', 'n', 0,
    'A', 'c', 't', 'i', 'v', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'Q', 't', ':', ':', 'I', 'm', 'a', 'g', 'e', 'C', 'o', 'n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 0,
    'W', 'A', '_', 'M', 'S', 'W', 'i', 'n', 'd', 'o', 'w', 's', 'U', 's', 'e', 'D', 'i', 'r', 'e', 'c', 't', '3', 'D', 0,
    'W', 'A', '_', 'L', 'a', 'y', 'o', 'u', 't', 'U', 's', 'e', 's', 'W', 'i', 'd', 'g', 'e', 't', 'R', 'e', 'c', 't', 0,
    'W', 'A', '_', 'W', 'S', 't', 'a', 't', 'e', '_', 'O', 'w', 'n', 'S', 'i', 'z', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'W', 'A', '_', 'W', 'S', 't', 'a', 't', 'e', '_', 'C', 'o', 'n', 'f', 'i', 'g', 'P', 'e', 'n', 'd', 'i', 'n', 'g', 0,
    'W', 'A', '_', 'F', 'o', 'r', 'c', 'e', 'U', 'p', 'd', 'a', 't', 'e', 's', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'S', 't', 'a', 'y', 's', 'O', 'n', 'B', 'o', 't', 't', 'o', 'm', 'H', 'i', 'n', 't', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'M', 'i', 'n', 'M', 'a', 'x', 'B', 'u', 't', 't', 'o', 'n', 's', 'H', 'i', 'n', 't', 0,
    'T', 'e', 'x', 't', 'J', 'u', 's', 't', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'c', 'e', 'd', 0,
    'q', 'U', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'D', 'a', 't', 'a', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 't', 'a', 't', 'e', '*', '>', 0,
    'Q', 'M', 'a', 'p', '<', 'Q', 'S', 't', 'r', 'i', 'n', 'g', ',', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', '>', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'p', 'u', 'A', 'r', 'c', 'h', 'i', 't', 'e', 'c', 't', 'u', 'r', 'e', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'P', 'a', 'i', 'r', '<', 'i', 'n', 't', ',', 'i', 'n', 't', '>', ' ', '>', 0,
    'U', 'n', 'e', 'x', 'p', 'e', 'c', 't', 'e', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'E', 'r', 'r', 'o', 'r', 0,
    's', 'e', 't', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'P', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 0,
    'Q', 'T', 'e', 'x', 't', 'S', 't', 'r', 'e', 'a', 'm', 'M', 'a', 'n', 'i', 'p', 'u', 'l', 'a', 't', 'o', 'r', 0,
    's', 'e', 't', 'R', 'e', 'a', 'l', 'N', 'u', 'm', 'b', 'e', 'r', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    's', 'e', 't', 'G', 'l', 'o', 'b', 'a', 'l', 'R', 'e', 's', 't', 'o', 'r', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 'o', 'r', 't', 'C', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 0,
    's', 'e', 't', 'D', 'i', 'r', 'e', 'c', 't', 'W', 'r', 'i', 't', 'e', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 0,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'D', 'a', 't', 'a', 0,
    'Q', 'R', 'e', 'g', 'E', 'x', 'p', ':', ':', 'P', 'a', 't', 't', 'e', 'r', 'n', 'S', 'y', 'n', 't', 'a', 'x', 0,
    'r', 'e', 'a', 'd', 'y', 'R', 'e', 'a', 'd', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'E', 'r', 'r', 'o', 'r', 0,
    'F', 'o', 'r', 'w', 'a', 'r', 'd', 'e', 'd', 'O', 'u', 't', 'p', 'u', 't', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    'Q', 'P', 'r', 'o', 'c', 'e', 's', 's', ':', ':', 'P', 'r', 'o', 'c', 'e', 's', 's', 'S', 't', 'a', 't', 'e', 0,
    'Q', 'P', 'r', 'o', 'c', 'e', 's', 's', ':', ':', 'P', 'r', 'o', 'c', 'e', 's', 's', 'E', 'r', 'r', 'o', 'r', 0,
    'Q', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'R', 'e', 't', 'u', 'r', 'n', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 0,
    'q', 'I', 'n', 's', 't', 'a', 'l', 'l', 'M', 'e', 's', 's', 'a', 'g', 'e', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'N', 'u', 'm', 'b', 'e', 'r', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'S', 'a', 'i', 'n', 't', 'P', 'i', 'e', 'r', 'r', 'e', 'A', 'n', 'd', 'M', 'i', 'q', 'u', 'e', 'l', 'o', 'n', 0,
    'P', 'a', 'l', 'e', 's', 't', 'i', 'n', 'i', 'a', 'n', 'T', 'e', 'r', 'r', 'i', 't', 'o', 'r', 'i', 'e', 's', 0,
    'W', 'a', 'l', 'l', 'i', 's', 'A', 'n', 'd', 'F', 'u', 't', 'u', 'n', 'a', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'N', 'o', 'r', 't', 'h', 'e', 'r', 'n', 'M', 'a', 'r', 'i', 'a', 'n', 'a', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'P', 'e', 'o', 'p', 'l', 'e', 's', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c', 'O', 'f', 'C', 'o', 'n', 'g', 'o', 0,
    'C', 'e', 'n', 't', 'r', 'a', 'l', 'A', 'f', 'r', 'i', 'c', 'a', 'n', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c', 0,
    'L', 'i', 'b', 'r', 'a', 'r', 'y', 'E', 'x', 'e', 'c', 'u', 't', 'a', 'b', 'l', 'e', 's', 'P', 'a', 't', 'h', 0,
    'r', 'o', 'w', 'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 's', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'W', 'r', 'i', 't', 'e', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'e', 'v', 'i', 'c', 'e', ':', ':', 'F', 'i', 'l', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'E', 'x', 'c', 'l', 'u', 'd', 'e', 'S', 'o', 'c', 'k', 'e', 't', 'N', 'o', 't', 'i', 'f', 'i', 'e', 'r', 's', 0,
    'E', 'x', 'c', 'l', 'u', 'd', 'e', 'U', 's', 'e', 'r', 'I', 'n', 'p', 'u', 't', 'E', 'v', 'e', 'n', 't', 's', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'M', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'E', 'p', 'o', 'c', 'h', 0,
    'f', 'l', 'o', 'a', 't', 'i', 'n', 'g', 'P', 'o', 'i', 'n', 't', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'Q', 'D', 'a', 't', 'a', 'S', 't', 'r', 'e', 'a', 'm', ':', ':', 'B', 'y', 't', 'e', 'O', 'r', 'd', 'e', 'r', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'N', 'o', 'n', 'C', 'l', 'i', 'e', 'n', 't', 'A', 'r', 'e', 'a', 'M', 'o', 'u', 's', 'e', 'M', 'o', 'v', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'D', 'r', 'a', 'g', 'L', 'e', 'a', 'v', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'D', 'r', 'a', 'g', 'E', 'n', 't', 'e', 'r', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'H', 'o', 'v', 'e', 'r', 'M', 'o', 'v', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'M', 'o', 'u', 's', 'e', 'M', 'o', 'v', 'e', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'D', 'e', 'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    'a', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    'm', 'a', 'p', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'F', 'r', 'o', 'm', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'l', 'a', 'y', 'o', 'u', 't', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'B', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'S', 'm', 'a', 'r', 't', 'Z', 'o', 'o', 'm', 'N', 'a', 't', 'i', 'v', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'F', 'i', 'n', 'd', 'D', 'i', 'r', 'e', 'c', 't', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'O', 'n', 'l', 'y', 0,
    'Q', 't', ':', ':', 'S', 'c', 'r', 'e', 'e', 'n', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 's', 0,
    'R', 'e', 'c', 'e', 'i', 'v', 'e', 'P', 'a', 'r', 't', 'i', 'a', 'l', 'G', 'e', 's', 't', 'u', 'r', 'e', 's', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'C', 'e', 'n', 't', 'e', 'r', 0,
    'I', 'm', 'h', 'E', 'm', 'a', 'i', 'l', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 's', 'O', 'n', 'l', 'y', 0,
    'Q', 't', ':', ':', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'T', 'e', 'x', 't', 'B', 'r', 'o', 'w', 's', 'e', 'r', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'o', 'n', 0,
    'L', 'i', 'n', 'k', 's', 'A', 'c', 'c', 'e', 's', 's', 'i', 'b', 'l', 'e', 'B', 'y', 'M', 'o', 'u', 's', 'e', 0,
    'A', 'A', '_', 'S', 'h', 'a', 'r', 'e', 'O', 'p', 'e', 'n', 'G', 'L', 'C', 'o', 'n', 't', 'e', 'x', 't', 's', 0,
    'Q', 't', ':', ':', 'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'Q', 'u', 'e', 'r', 'i', 'e', 's', 0,
    'Q', 't', ':', ':', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'L', 'o', 'c', 'a', 'l', 'e', 'S', 'h', 'o', 'r', 't', 'D', 'a', 't', 'e', 0,
    'C', 'o', 'n', 'i', 'c', 'a', 'l', 'G', 'r', 'a', 'd', 'i', 'e', 'n', 't', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'K', 'e', 'y', '_', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'L', 'i', 'g', 'h', 't', 'O', 'n', 'O', 'f', 'f', 0,
    'W', 'A', '_', 'X', '1', '1', 'D', 'o', 'N', 'o', 't', 'A', 'c', 'c', 'e', 'p', 't', 'F', 'o', 'c', 'u', 's', 0,
    'W', 'A', '_', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'F', 'o', 'c', 'u', 's', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'W', 'A', '_', 'W', 'S', 't', 'a', 't', 'e', '_', 'I', 'n', 'P', 'a', 'i', 'n', 't', 'E', 'v', 'e', 'n', 't', 0,
    'W', 'A', '_', 'W', 'S', 't', 'a', 't', 'e', '_', 'C', 'o', 'm', 'p', 'r', 'e', 's', 's', 'K', 'e', 'y', 's', 0,
    'N', 'o', 'D', 'r', 'o', 'p', 'S', 'h', 'a', 'd', 'o', 'w', 'W', 'i', 'n', 'd', 'o', 'w', 'H', 'i', 'n', 't', 0,
    'Q', 'S', 'e', 't', '<', 'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 't', 'a', 't', 'e', '*', '>', 0,
    'Q', 'H', 'a', 's', 'h', '<', 'i', 'n', 't', ',', 'Q', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', '>', 0,
    'w', 'r', 'i', 't', 'e', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 0,
    'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', 's', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 'P', 'a', 't', 'h', 'S', 'e', 'g', 'm', 'e', 'n', 't', 's', 0,
    'i', 's', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', 'I', 'd', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'Q', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', ':', ':', 'O', 'f', 'f', 's', 'e', 't', 'D', 'a', 't', 'a', 0,
    'Q', 'T', 'i', 'm', 'e', 'L', 'i', 'n', 'e', ':', ':', 'C', 'u', 'r', 'v', 'e', 'S', 'h', 'a', 'p', 'e', 0,
    's', 'e', 't', 'T', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'R', 'e', 'a', 'l', 'N', 'u', 'm', 'b', 'e', 'r', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'g', 'e', 'n', 'e', 'r', 'a', 't', 'e', 'B', 'y', 't', 'e', 'O', 'r', 'd', 'e', 'r', 'M', 'a', 'r', 'k', 0,
    'D', 'o', 'n', 't', 'R', 'e', 's', 't', 'o', 'r', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 0,
    'Q', 'S', 't', 'a', 't', 'e', ':', ':', 'R', 'e', 's', 't', 'o', 'r', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'G', 'e', 'n', 'e', 'r', 'i', 'c', 'C', 'o', 'n', 'f', 'i', 'g', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'C', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 0,
    'Q', 'S', 'o', 'r', 't', 'F', 'i', 'l', 't', 'e', 'r', 'P', 'r', 'o', 'x', 'y', 'M', 'o', 'd', 'e', 'l', 0,
    'Q', 'S', 'o', 'c', 'k', 'e', 't', 'N', 'o', 't', 'i', 'f', 'i', 'e', 'r', ':', ':', 'T', 'y', 'p', 'e', 0,
    'C', 'a', 's', 'e', 'I', 'n', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'F', 'o', 'r', 'w', 'a', 'r', 'd', 'e', 'd', 'I', 'n', 'p', 'u', 't', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    's', 'e', 't', 'P', 'r', 'o', 'c', 'e', 's', 's', 'E', 'n', 'v', 'i', 'r', 'o', 'n', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'O', 'u', 't', 'p', 'u', 't', 'F', 'i', 'l', 'e', 0,
    's', 'e', 't', 'P', 'r', 'o', 'c', 'e', 's', 's', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'M', 'o', 'd', 'e', 0,
    'r', 'e', 'a', 'd', 'A', 'l', 'l', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'O', 'u', 't', 'p', 'u', 't', 0,
    'F', 'o', 'r', 'w', 'a', 'r', 'd', 'e', 'd', 'E', 'r', 'r', 'o', 'r', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    'Q', 'O', 'b', 'j', 'e', 'c', 't', 'C', 'l', 'e', 'a', 'n', 'u', 'p', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'Q', 'M', 'u', 't', 'e', 'x', ':', ':', 'R', 'e', 'c', 'u', 'r', 's', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'F', 'l', 'o', 'a', 't', 'i', 'n', 'g', 'P', 'o', 'i', 'n', 't', 'S', 'h', 'o', 'r', 't', 'e', 's', 't', 0,
    'H', 'a', 'n', 'W', 'i', 't', 'h', 'B', 'o', 'p', 'o', 'm', 'o', 'f', 'o', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'l', 'd', 'N', 'o', 'r', 't', 'h', 'A', 'r', 'a', 'b', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'P', 'o', 'l', 'l', 'a', 'r', 'd', 'P', 'h', 'o', 'n', 'e', 't', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'l', 'd', 'S', 'o', 'u', 't', 'h', 'A', 'r', 'a', 'b', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'M', 'e', 'r', 'o', 'i', 't', 'i', 'c', 'C', 'u', 'r', 's', 'i', 'v', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'I', 'm', 'p', 'e', 'r', 'i', 'a', 'l', 'A', 'r', 'a', 'm', 'a', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'N', 'u', 'm', 'b', 'e', 'r', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'T', 'u', 'r', 'k', 's', 'A', 'n', 'd', 'C', 'a', 'i', 'c', 'o', 's', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'U', 'n', 'b', 'o', 'u', 'n', 'd', 'e', 'd', 'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'L', 'i', 'n', 'e', 'F', ':', ':', 'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 'A', 'n', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'L', 'o', 'a', 'd', 'A', 'r', 'c', 'h', 'i', 'v', 'e', 'M', 'e', 'm', 'b', 'e', 'r', 'H', 'i', 'n', 't', 0,
    'R', 'e', 's', 'o', 'l', 'v', 'e', 'A', 'l', 'l', 'S', 'y', 'm', 'b', 'o', 'l', 's', 'H', 'i', 'n', 't', 0,
    'I', 'l', 'l', 'e', 'g', 'a', 'l', 'E', 's', 'c', 'a', 'p', 'e', 'S', 'e', 'q', 'u', 'e', 'n', 'c', 'e', 0,
    'M', 'i', 's', 's', 'i', 'n', 'g', 'V', 'a', 'l', 'u', 'e', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'R', 'e', 'a', 'd', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    'a', 'd', 'd', 'C', 'u', 'b', 'i', 'c', 'B', 'e', 'z', 'i', 'e', 'r', 'S', 'e', 'g', 'm', 'e', 'n', 't', 0,
    'n', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 's', 'F', 'r', 'o', 'm', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'E', 'p', 'o', 'c', 'h', 0,
    'D', 'y', 'n', 'a', 'm', 'i', 'c', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'D', 'r', 'a', 'g', 'M', 'o', 'v', 'e', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'D', 'e', 'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'F', 'o', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    's', 'e', 't', 'O', 'r', 'g', 'a', 'n', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'D', 'o', 'm', 'a', 'i', 'n', 0,
    'a', 'd', 'd', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 's', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'B', 'e', 'M', 'o', 'v', 'e', 'd', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 0,
    'r', 'o', 'w', 's', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'B', 'e', 'I', 'n', 's', 'e', 'r', 't', 'e', 'd', 0,
    'Q', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'M', 'o', 'd', 'e', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'Q', 't', ':', ':', 'N', 'a', 't', 'i', 'v', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 'T', 'y', 'p', 'e', 0,
    'Q', 't', ':', ':', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', 's', 0,
    'Q', 't', ':', ':', 'S', 'c', 'r', 'e', 'e', 'n', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'I', 'm', 'h', 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 'I', 'n', 'p', 'u', 't', 'M', 'a', 's', 'k', 0,
    'T', 'e', 'x', 't', 'E', 'd', 'i', 't', 'o', 'r', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'o', 'n', 0,
    'T', 'e', 'x', 't', 'S', 'e', 'l', 'e', 'c', 't', 'a', 'b', 'l', 'e', 'B', 'y', 'M', 'o', 'u', 's', 'e', 0,
    'Q', 't', ':', ':', 'I', 't', 'e', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'A', 'A', '_', 'F', 'o', 'r', 'c', 'e', 'R', 'a', 's', 't', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'F', 'o', 'l', 'l', 'o', 'w', 'S', 't', 'y', 'l', 'e', 0,
    'Q', 't', ':', ':', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'L', 'o', 'c', 'a', 'l', 'e', 'L', 'o', 'n', 'g', 'D', 'a', 't', 'e', 0,
    'S', 'y', 's', 't', 'e', 'm', 'L', 'o', 'c', 'a', 'l', 'e', 'S', 'h', 'o', 'r', 't', 'D', 'a', 't', 'e', 0,
    'R', 'a', 'd', 'i', 'a', 'l', 'G', 'r', 'a', 'd', 'i', 'e', 'n', 't', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'L', 'i', 'n', 'e', 'a', 'r', 'G', 'r', 'a', 'd', 'i', 'e', 'n', 't', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'K', 'e', 'y', '_', 'M', 'o', 'n', 'B', 'r', 'i', 'g', 'h', 't', 'n', 'e', 's', 's', 'D', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'V', 'o', 'i', 'c', 'e', 'd', '_', 'S', 'o', 'u', 'n', 'd', 0,
    'K', 'e', 'y', '_', 'H', 'i', 'r', 'a', 'g', 'a', 'n', 'a', '_', 'K', 'a', 't', 'a', 'k', 'a', 'n', 'a', 0,
    'K', 'e', 'y', '_', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'C', 'a', 'n', 'd', 'i', 'd', 'a', 't', 'e', 0,
    'K', 'e', 'y', '_', 'M', 'u', 'l', 't', 'i', 'p', 'l', 'e', 'C', 'a', 'n', 'd', 'i', 'd', 'a', 't', 'e', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'F', 'r', 'a', 'm', 'e', 'w', 'o', 'r', 'k', 'S', 'c', 'a', 'l', 'e', 'd', 0,
    'W', 'A', '_', 'A', 'l', 'w', 'a', 'y', 's', 'S', 'h', 'o', 'w', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 's', 0,
    'W', 'A', '_', 'N', 'o', 'M', 'o', 'u', 's', 'e', 'P', 'r', 'o', 'p', 'a', 'g', 'a', 't', 'i', 'o', 'n', 0,
    'W', 'A', '_', 'S', 'e', 't', 'L', 'a', 'y', 'o', 'u', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'W', 'A', '_', 'L', 'a', 'y', 'o', 'u', 't', 'O', 'n', 'E', 'n', 't', 'i', 'r', 'e', 'R', 'e', 'c', 't', 0,
    'W', 'A', '_', 'P', 'e', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 's', 'i', 'z', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'W', 'A', '_', 'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'W', 'A', '_', 'N', 'o', 'S', 'y', 's', 't', 'e', 'm', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'C', 'l', 'o', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 'H', 'i', 'n', 't', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'S', 'h', 'a', 'd', 'e', 'B', 'u', 't', 't', 'o', 'n', 'H', 'i', 'n', 't', 0,
    'Q', 't', ':', ':', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 's', 0,
    'p', 'y', 'q', 't', 'S', 'e', 't', 'P', 'i', 'c', 'k', 'l', 'e', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 0,
    'q', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'D', 'a', 't', 'a', 0,
    'b', 'u', 'i', 'l', 'd', 'C', 'p', 'u', 'A', 'r', 'c', 'h', 'i', 't', 'e', 'c', 't', 'u', 'r', 'e', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 't', ':', ':', 'D', 'a', 'y', 'O', 'f', 'W', 'e', 'e', 'k', '>', 0,
    'w', 'r', 'i', 't', 'e', 'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 'f', 'e', 'r', 'e', 'n', 'c', 'e', 0,
    'a', 'u', 't', 'o', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 'I', 'n', 'd', 'e', 'n', 't', 0,
    'r', 'e', 'a', 'd', 'N', 'e', 'x', 't', 'S', 't', 'a', 'r', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', 's', 0,
    'I', 'n', 'c', 'l', 'u', 'd', 'e', 'C', 'h', 'i', 'l', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 's', 0,
    'i', 's', 'S', 't', 'a', 'n', 'd', 'a', 'l', 'o', 'n', 'e', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', 0,
    'a', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', 'I', 'd', 's', 0,
    'Q', 'T', 'i', 'm', 'e', 'L', 'i', 'n', 'e', ':', ':', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'T', 'i', 'm', 'e', 'C', 'r', 'i', 't', 'i', 'c', 'a', 'l', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'D', 'e', 't', 'e', 'c', 't', 'U', 'n', 'i', 'c', 'o', 'd', 'e', 0,
    'A', 'l', 'i', 'g', 'n', 'A', 'c', 'c', 'o', 'u', 'n', 't', 'i', 'n', 'g', 'S', 't', 'y', 'l', 'e', 0,
    'C', 'o', 'n', 'v', 'e', 'r', 't', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'T', 'o', 'N', 'u', 'l', 'l', 0,
    'Q', 'S', 't', 'a', 't', 'e', 'M', 'a', 'c', 'h', 'i', 'n', 'e', ':', ':', 'E', 'r', 'r', 'o', 'r', 0,
    'A', 'p', 'p', 'L', 'o', 'c', 'a', 'l', 'D', 'a', 't', 'a', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'G', 'e', 'n', 'e', 'r', 'i', 'c', 'C', 'a', 'c', 'h', 'e', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 's', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 'S', 'o', 'r', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 'F', 'i', 'x', 'e', 'd', 'S', 't', 'r', 'i', 'n', 'g', 0,
    's', 'e', 't', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'E', 'r', 'r', 'o', 'r', 'F', 'i', 'l', 'e', 0,
    's', 'e', 't', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'I', 'n', 'p', 'u', 't', 'F', 'i', 'l', 'e', 0,
    'r', 'e', 'a', 'd', 'A', 'l', 'l', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'E', 'r', 'r', 'o', 'r', 0,
    'Q', 'P', 'r', 'o', 'c', 'e', 's', 's', ':', ':', 'E', 'x', 'i', 't', 'S', 't', 'a', 't', 'u', 's', 0,
    'A', 'n', 'd', 'r', 'o', 'i', 'd', 'J', 'e', 'l', 'l', 'y', 'B', 'e', 'a', 'n', '_', 'M', 'R', '2', 0,
    'A', 'n', 'd', 'r', 'o', 'i', 'd', 'J', 'e', 'l', 'l', 'y', 'B', 'e', 'a', 'n', '_', 'M', 'R', '1', 0,
    'd', 'y', 'n', 'a', 'm', 'i', 'c', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'N', 'a', 'm', 'e', 's', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 's', 'F', 'o', 'r', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'Q', 'M', 'e', 't', 'a', 'T', 'y', 'p', 'e', ':', ':', 'T', 'y', 'p', 'e', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'L', 'o', 'c', 'k', 'F', 'i', 'l', 'e', ':', ':', 'L', 'o', 'c', 'k', 'E', 'r', 'r', 'o', 'r', 0,
    'P', 's', 'a', 'l', 't', 'e', 'r', 'P', 'a', 'h', 'l', 'a', 'v', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'r', 'a', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'H', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'N', 'u', 'm', 'b', 'e', 'r', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'R', 'e', 'j', 'e', 'c', 't', 'G', 'r', 'o', 'u', 'p', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    'B', 'r', 'i', 't', 'i', 's', 'h', 'V', 'i', 'r', 'g', 'i', 'n', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'B', 'o', 's', 'n', 'i', 'a', 'A', 'n', 'd', 'H', 'e', 'r', 'z', 'e', 'g', 'o', 'w', 'i', 'n', 'a', 0,
    'A', 'm', 'e', 'r', 'i', 'c', 'a', 'n', 'S', 'i', 'g', 'n', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'M', 'i', 's', 's', 'i', 'n', 'g', 'N', 'a', 'm', 'e', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    'e', 'm', 'i', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 's', 'T', 'r', 'a', 'n', 's', 'a', 'c', 't', 'i', 'o', 'n', 'S', 't', 'a', 'r', 't', 'e', 'd', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'f', 'r', 'o', 'm', 'N', 'a', 't', 'i', 'v', 'e', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 's', 0,
    't', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', 'A', 'b', 'b', 'r', 'e', 'v', 'i', 'a', 't', 'i', 'o', 'n', 0,
    'm', 's', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'S', 't', 'a', 'r', 't', 'O', 'f', 'D', 'a', 'y', 0,
    'Q', 'D', 'a', 't', 'e', ':', ':', 'M', 'o', 'n', 't', 'h', 'N', 'a', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'Q', 'D', 'a', 't', 'a', 'S', 't', 'r', 'e', 'a', 'm', ':', ':', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'T', 'a', 'b', 'l', 'e', 't', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'T', 'a', 'b', 'l', 'e', 't', 'L', 'e', 'a', 'v', 'e', 'P', 'r', 'o', 'x', 'i', 'm', 'i', 't', 'y', 0,
    'T', 'a', 'b', 'l', 'e', 't', 'E', 'n', 't', 'e', 'r', 'P', 'r', 'o', 'x', 'i', 'm', 'i', 't', 'y', 0,
    'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'L', 'a', 'y', 'o', 'u', 't', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    'p', 'y', 'q', 't', 'R', 'e', 's', 't', 'o', 'r', 'e', 'I', 'n', 'p', 'u', 't', 'H', 'o', 'o', 'k', 0,
    's', 'e', 't', 'I', 'g', 'n', 'o', 'r', 'e', 'P', 'u', 'n', 'c', 't', 'u', 'a', 't', 'i', 'o', 'n', 0,
    'm', 'a', 'p', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'T', 'o', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    's', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 'D', 'r', 'a', 'g', 'A', 'c', 't', 'i', 'o', 'n', 's', 0,
    'r', 'o', 'w', 's', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'B', 'e', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    's', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 'D', 'r', 'o', 'p', 'A', 'c', 't', 'i', 'o', 'n', 's', 0,
    'T', 'a', 'b', 'F', 'o', 'c', 'u', 's', 'L', 'i', 's', 't', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'T', 'a', 'b', 'F', 'o', 'c', 'u', 's', 'T', 'e', 'x', 't', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'Q', 't', ':', ':', 'T', 'a', 'b', 'F', 'o', 'c', 'u', 's', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 0,
    'Q', 't', ':', ':', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'S', 'u', 's', 'p', 'e', 'n', 'd', 'e', 'd', 0,
    'Q', 't', ':', ':', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'S', 't', 'a', 't', 'e', 0,
    'Q', 't', ':', ':', 'F', 'i', 'n', 'd', 'C', 'h', 'i', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 't', ':', ':', 'T', 'o', 'u', 'c', 'h', 'P', 'o', 'i', 'n', 't', 'S', 't', 'a', 't', 'e', 's', 0,
    'T', 'o', 'u', 'c', 'h', 'P', 'o', 'i', 'n', 't', 'S', 't', 'a', 't', 'i', 'o', 'n', 'a', 'r', 'y', 0,
    'Q', 't', ':', ':', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 'S', 'y', 's', 't', 'e', 'm', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'C', 'e', 'n', 't', 'e', 'r', 0,
    'Q', 't', ':', ':', 'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'H', 'i', 'n', 't', 's', 0,
    'I', 'm', 'h', 'U', 'r', 'l', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 's', 'O', 'n', 'l', 'y', 0,
    'A', 'A', '_', 'P', 'l', 'u', 'g', 'i', 'n', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'A', 'A', '_', 'U', 's', 'e', 'S', 'o', 'f', 't', 'w', 'a', 'r', 'e', 'O', 'p', 'e', 'n', 'G', 'L', 0,
    'A', 'A', '_', 'U', 's', 'e', 'H', 'i', 'g', 'h', 'D', 'p', 'i', 'P', 'i', 'x', 'm', 'a', 'p', 's', 0,
    'I', 't', 'e', 'm', 'N', 'e', 'v', 'e', 'r', 'H', 'a', 's', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'I', 'n', 'i', 't', 'i', 'a', 'l', 'S', 'o', 'r', 't', 'O', 'r', 'd', 'e', 'r', 'R', 'o', 'l', 'e', 0,
    'Q', 't', ':', ':', 'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'Q', 'u', 'e', 'r', 'y', 0,
    'S', 'm', 'o', 'o', 't', 'h', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'S', 'y', 's', 't', 'e', 'm', 'L', 'o', 'c', 'a', 'l', 'e', 'L', 'o', 'n', 'g', 'D', 'a', 't', 'e', 0,
    'B', 'o', 't', 't', 'o', 'm', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'r', 'e', 'a', 0,
    'K', 'e', 'y', '_', 'L', 'a', 's', 't', 'N', 'u', 'm', 'b', 'e', 'r', 'R', 'e', 'd', 'i', 'a', 'l', 0,
    'K', 'e', 'y', '_', 'T', 'o', 'g', 'g', 'l', 'e', 'C', 'a', 'l', 'l', 'H', 'a', 'n', 'g', 'u', 'p', 0,
    'K', 'e', 'y', '_', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'R', 'i', 'g', 'h', 't', 0,
    'K', 'e', 'y', '_', 'B', 'r', 'i', 'g', 'h', 't', 'n', 'e', 's', 's', 'A', 'd', 'j', 'u', 's', 't', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'D', 'o', 'u', 'b', 'l', 'e', 'a', 'c', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', '_', 'P', 'o', 's', 't', 'H', 'a', 'n', 'j', 'a', 0,
    'T', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', 'A', 'l', 'p', 'h', 'a', 'D', 'i', 't', 'h', 'e', 'r', 0,
    'W', 'A', '_', 'A', 'c', 'c', 'e', 'p', 't', 'T', 'o', 'u', 'c', 'h', 'E', 'v', 'e', 'n', 't', 's', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'O', 'p', 'a', 'q', 'u', 'e', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 0,
    'W', 'A', '_', 'W', 'i', 'n', 'd', 'o', 'w', 'P', 'r', 'o', 'p', 'a', 'g', 'a', 't', 'i', 'o', 'n', 0,
    'W', 'A', '_', 'W', 'S', 't', 'a', 't', 'e', '_', 'R', 'e', 'p', 'a', 'r', 'e', 'n', 't', 'e', 'd', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'N', 'o', 'C', 'l', 'i', 'c', 'k', 'T', 'h', 'r', 'o', 'u', 'g', 'h', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'S', 't', 'a', 'y', 's', 'O', 'n', 'T', 'o', 'p', 'H', 'i', 'n', 't', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'S', 'y', 's', 't', 'e', 'm', 'M', 'e', 'n', 'u', 'H', 'i', 'n', 't', 0,
    'A', 'l', 'i', 'g', 'n', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', '_', 'M', 'a', 's', 'k', 0,
    'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 'M', 'a', 's', 'k', 0,
    'Q', 't', ':', ':', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'I', 'n', 'f', 'o', '>', 0,
    'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'P', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'l', 'l', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 's', 0,
    'q', 'u', 'e', 'r', 'y', 'V', 'a', 'l', 'u', 'e', 'D', 'e', 'l', 'i', 'm', 'i', 't', 'e', 'r', 0,
    'Q', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', ':', ':', 'N', 'a', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'Q', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', ':', ':', 'T', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'r', 'e', 'q', 'u', 'e', 's', 't', 'I', 'n', 't', 'e', 'r', 'r', 'u', 'p', 't', 'i', 'o', 'n', 0,
    'r', 'e', 'a', 'l', 'N', 'u', 'm', 'b', 'e', 'r', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'Q', 'T', 'e', 'x', 't', 'S', 't', 'r', 'e', 'a', 'm', ':', ':', 'S', 't', 'a', 't', 'u', 's', 0,
    'Q', 'T', 'e', 'x', 't', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 'F', 'i', 'n', 'd', 'e', 'r', 0,
    'g', 'l', 'o', 'b', 'a', 'l', 'R', 'e', 's', 't', 'o', 'r', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'a', 'd', 'd', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'N', 'o', 'I', 'n', 'i', 't', 'i', 'a', 'l', 'S', 't', 'a', 't', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'S', 't', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'G', 'e', 'n', 'e', 'r', 'i', 'c', 'D', 'a', 't', 'a', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    's', 'o', 'r', 't', 'C', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'A', 'c', 'c', 'e', 'p', 't', 's', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'e', 'n', 'd', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'W', 'r', 'i', 't', 'e', 'F', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'e', 'd', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'P', 'r', 'o', 'c', 'e', 's', 's', 'E', 'n', 'v', 'i', 'r', 'o', 'n', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'I', 'n', 'p', 'u', 't', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'M', 'o', 'd', 'e', 0,
    'M', 'a', 'n', 'a', 'g', 'e', 'd', 'I', 'n', 'p', 'u', 't', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    's', 'e', 't', 'W', 'o', 'r', 'k', 'i', 'n', 'g', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'A', 'n', 'd', 'r', 'o', 'i', 'd', 'L', 'o', 'l', 'l', 'i', 'p', 'o', 'p', '_', 'M', 'R', '1', 0,
    'n', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 'd', 'S', 'i', 'g', 'n', 'a', 't', 'u', 'r', 'e', 0,
    'Q', 'M', 'e', 't', 'a', 'T', 'y', 'p', 'e', ':', ':', 'T', 'y', 'p', 'e', 'F', 'l', 'a', 'g', 0,
    'Q', 'M', 'e', 't', 'a', 'M', 'e', 't', 'h', 'o', 'd', ':', ':', 'A', 'c', 'c', 'e', 's', 's', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'S', 't', 'a', 'l', 'e', 'L', 'o', 'c', 'k', 'F', 'i', 'l', 'e', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'e', 'd', 'L', 'i', 's', 't', 0,
    'C', 'u', 'r', 'r', 'e', 'n', 'c', 'y', 'D', 'i', 's', 'p', 'l', 'a', 'y', 'N', 'a', 'm', 'e', 0,
    'S', 'i', 'm', 'p', 'l', 'i', 'f', 'i', 'e', 'd', 'H', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    's', 't', 'a', 'n', 'd', 'a', 'l', 'o', 'n', 'e', 'M', 'o', 'n', 't', 'h', 'N', 'a', 'm', 'e', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'F', 'o', 'r', 'm', 'a', 't', 'T', 'y', 'p', 'e', 0,
    'A', 'r', 'd', 'h', 'a', 'm', 'a', 'g', 'a', 'd', 'h', 'i', 'P', 'r', 'a', 'k', 'r', 'i', 't', 0,
    'A', 'n', 'c', 'i', 'e', 'n', 't', 'N', 'o', 'r', 't', 'h', 'A', 'r', 'a', 'b', 'i', 'a', 'n', 0,
    'B', 'o', 'u', 'n', 'd', 'e', 'd', 'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'L', 'i', 'b', 'r', 'a', 'r', 'y', ':', ':', 'L', 'o', 'a', 'd', 'H', 'i', 'n', 't', 's', 0,
    'T', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'i', 'o', 'n', 'B', 'y', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'Q', 'I', 't', 'e', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'l', 0,
    'Q', 'I', 't', 'e', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', 0,
    'c', 'h', 'a', 'n', 'n', 'e', 'l', 'B', 'y', 't', 'e', 's', 'W', 'r', 'i', 't', 't', 'e', 'n', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'W', 'r', 'i', 't', 'e', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    'r', 'e', 'a', 'd', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'w', 'a', 'i', 't', 'F', 'o', 'r', 'B', 'y', 't', 'e', 's', 'W', 'r', 'i', 't', 't', 'e', 'n', 0,
    'Q', 'I', 'O', 'D', 'e', 'v', 'i', 'c', 'e', ':', ':', 'O', 'p', 'e', 'n', 'M', 'o', 'd', 'e', 0,
    'Q', 'I', 'd', 'e', 'n', 't', 'i', 't', 'y', 'P', 'r', 'o', 'x', 'y', 'M', 'o', 'd', 'e', 'l', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'S', 't', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'm', 's', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'R', 'e', 'f', 'e', 'r', 'e', 'n', 'c', 'e', 0,
    'f', 'r', 'o', 'm', 'M', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'E', 'p', 'o', 'c', 'h', 0,
    'r', 'o', 'l', 'l', 'b', 'a', 'c', 'k', 'T', 'r', 'a', 'n', 's', 'a', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'D', 'a', 't', 'a', 'S', 't', 'r', 'e', 'a', 'm', ':', ':', 'S', 't', 'a', 't', 'u', 's', 0,
    'S', 't', 'a', 't', 'e', 'M', 'a', 'c', 'h', 'i', 'n', 'e', 'W', 'r', 'a', 'p', 'p', 'e', 'd', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'R', 'e', 's', 'i', 'z', 'e', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 0,
    'M', 'o', 'u', 's', 'e', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'P', 'a', 'r', 'e', 'n', 't', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'p', 'y', 'q', 't', 'R', 'e', 'm', 'o', 'v', 'e', 'I', 'n', 'p', 'u', 't', 'H', 'o', 'o', 'k', 0,
    'a', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'F', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    's', 'e', 't', 'O', 'r', 'g', 'a', 'n', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', 0,
    'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 0,
    'f', 'r', 'o', 'm', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    't', 'a', 'r', 'g', 'e', 't', 'S', 't', 'a', 't', 'e', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'P', 'r', 'o', 'x', 'y', 'M', 'o', 'd', 'e', 'l', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'T', 'a', 'b', 'l', 'e', 'M', 'o', 'd', 'e', 'l', 0,
    'p', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 'L', 'i', 's', 't', 0,
    'm', 'o', 'd', 'e', 'l', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'B', 'e', 'R', 'e', 's', 'e', 't', 0,
    'T', 'a', 'b', 'F', 'o', 'c', 'u', 's', 'A', 'l', 'l', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'Q', 't', ':', ':', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'l', 'a', 'g', 's', 0,
    'R', 'o', 't', 'a', 't', 'e', 'N', 'a', 't', 'i', 'v', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'I', 'n', 'a', 'c', 't', 'i', 'v', 'e', 0,
    'Q', 't', ':', ':', 'H', 'i', 't', 'T', 'e', 's', 't', 'A', 'c', 'c', 'u', 'r', 'a', 'c', 'y', 0,
    'Q', 't', ':', ':', 'F', 'i', 'n', 'd', 'C', 'h', 'i', 'l', 'd', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 't', ':', ':', 'C', 'u', 'r', 's', 'o', 'r', 'M', 'o', 'v', 'e', 'S', 't', 'y', 'l', 'e', 0,
    'Q', 't', ':', ':', 'T', 'o', 'u', 'c', 'h', 'P', 'o', 'i', 'n', 't', 'S', 't', 'a', 't', 'e', 0,
    'I', 'm', 'h', 'N', 'o', 'P', 'r', 'e', 'd', 'i', 'c', 't', 'i', 'v', 'e', 'T', 'e', 'x', 't', 0,
    'Q', 't', ':', ':', 'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'H', 'i', 'n', 't', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'E', 'v', 'e', 'n', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 's', 'I', 't', 'e', 'm', 'S', 'h', 'a', 'p', 'e', 0,
    'A', 'A', '_', 'U', 's', 'e', 'D', 'e', 's', 'k', 't', 'o', 'p', 'O', 'p', 'e', 'n', 'G', 'L', 0,
    'I', 't', 'e', 'm', 'I', 's', 'U', 's', 'e', 'r', 'C', 'h', 'e', 'c', 'k', 'a', 'b', 'l', 'e', 0,
    'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'C', 'o', 'l', 'o', 'r', 'R', 'o', 'l', 'e', 0,
    'L', 'a', 'y', 'o', 'u', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 'A', 'u', 't', 'o', 0,
    'Q', 't', ':', ':', 'L', 'a', 'y', 'o', 'u', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 't', ':', ':', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'S', 't', 'y', 'l', 'e', 0,
    'I', 'm', 'P', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'I', 'm', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'T', 'e', 'x', 't', 'L', 'e', 'n', 'g', 't', 'h', 0,
    'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'Q', 't', ':', ':', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'Q', 't', ':', ':', 'C', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 0,
    'Q', 't', ':', ':', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 't', ':', ':', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'r', 'e', 'a', 's', 0,
    'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'r', 'e', 'a', '_', 'M', 'a', 's', 'k', 0,
    'R', 'i', 'g', 'h', 't', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'r', 'e', 'a', 0,
    'Q', 't', ':', ':', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'K', 'e', 'y', '_', 'A', 'u', 'd', 'i', 'o', 'C', 'y', 'c', 'l', 'e', 'T', 'r', 'a', 'c', 'k', 0,
    'K', 'e', 'y', '_', 'A', 'u', 'd', 'i', 'o', 'R', 'a', 'n', 'd', 'o', 'm', 'P', 'l', 'a', 'y', 0,
    'K', 'e', 'y', '_', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'L', 'e', 'f', 't', 0,
    'K', 'e', 'y', '_', 'M', 'o', 'n', 'B', 'r', 'i', 'g', 'h', 't', 'n', 'e', 's', 's', 'U', 'p', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'C', 'i', 'r', 'c', 'u', 'm', 'f', 'l', 'e', 'x', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', '_', 'P', 'r', 'e', 'H', 'a', 'n', 'j', 'a', 0,
    'K', 'e', 'y', '_', 'Z', 'e', 'n', 'k', 'a', 'k', 'u', '_', 'H', 'a', 'n', 'k', 'a', 'k', 'u', 0,
    'K', 'e', 'y', '_', 'S', 'i', 'n', 'g', 'l', 'e', 'C', 'a', 'n', 'd', 'i', 'd', 'a', 't', 'e', 0,
    'W', 'A', '_', 'A', 'l', 'w', 'a', 'y', 's', 'S', 't', 'a', 'c', 'k', 'O', 'n', 'T', 'o', 'p', 0,
    'W', 'A', '_', 'D', 'o', 'n', 't', 'S', 'h', 'o', 'w', 'O', 'n', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'W', 'A', '_', 'S', 't', 'y', 'l', 'e', 'd', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'S', 'h', 'o', 'w', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', 0,
    'W', 'A', '_', 'X', '1', '1', 'O', 'p', 'e', 'n', 'G', 'L', 'O', 'v', 'e', 'r', 'l', 'a', 'y', 0,
    'W', 'A', '_', 'T', 'i', 'n', 't', 'e', 'd', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'W', 'A', '_', 'P', 'e', 'n', 'd', 'i', 'n', 'g', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'W', 'A', '_', 'O', 'p', 'a', 'q', 'u', 'e', 'P', 'a', 'i', 'n', 't', 'E', 'v', 'e', 'n', 't', 0,
    'Q', 't', ':', ':', 'W', 'i', 'd', 'g', 'e', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'C', 'u', 's', 't', 'o', 'm', 'i', 'z', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 'H', 'i', 'n', 't', 0,
    'F', 'r', 'a', 'm', 'e', 'l', 'e', 's', 's', 'W', 'i', 'n', 'd', 'o', 'w', 'H', 'i', 'n', 't', 0,
    'G', 'r', 'o', 'u', 'p', 'S', 'w', 'i', 't', 'c', 'h', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    'Q', 'M', 'a', 'p', '<', 'i', 'n', 't', ',', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'M', 'o', 'd', 'e', 'l', 'I', 'n', 'd', 'e', 'x', '>', 0,
    'w', 'r', 'i', 't', 'e', 'S', 't', 'a', 'r', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    's', 'k', 'i', 'p', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'N', 'o', 't', 'W', 'e', 'l', 'l', 'F', 'o', 'r', 'm', 'e', 'd', 'E', 'r', 'r', 'o', 'r', 0,
    'e', 'n', 't', 'i', 't', 'y', 'D', 'e', 'c', 'l', 'a', 'r', 'a', 't', 'i', 'o', 'n', 's', 0,
    'a', 'l', 'l', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 'V', 'a', 'l', 'u', 'e', 's', 0,
    'q', 'u', 'e', 'r', 'y', 'P', 'a', 'i', 'r', 'D', 'e', 'l', 'i', 'm', 'i', 't', 'e', 'r', 0,
    's', 'e', 't', 'Q', 'u', 'e', 'r', 'y', 'D', 'e', 'l', 'i', 'm', 'i', 't', 'e', 'r', 's', 0,
    'S', 't', 'r', 'i', 'p', 'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'S', 'l', 'a', 's', 'h', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 's', 'I', 'd', 'T', 'o', 'I', 'a', 'n', 'a', 'I', 'd', 's', 0,
    'p', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'd', 'a', 'y', 'l', 'i', 'g', 'h', 't', 'T', 'i', 'm', 'e', 'O', 'f', 'f', 's', 'e', 't', 0,
    's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'T', 'i', 'm', 'e', 'O', 'f', 'f', 's', 'e', 't', 0,
    'y', 'i', 'e', 'l', 'd', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'h', 'r', 'e', 'a', 'd', 0,
    'r', 'e', 'a', 'l', 'N', 'u', 'm', 'b', 'e', 'r', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'S', 'c', 'i', 'e', 'n', 't', 'i', 'f', 'i', 'c', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    't', 'o', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 0,
    'c', 'a', 'n', 'c', 'e', 'l', 'D', 'e', 'l', 'a', 'y', 'e', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'A', 's', 's', 'i', 'g', 'n', 'e', 'd', 0,
    's', 'e', 't', 'T', 'e', 's', 't', 'M', 'o', 'd', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'S', 'o', 'r', 't', 'L', 'o', 'c', 'a', 'l', 'e', 'A', 'w', 'a', 'r', 'e', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 'K', 'e', 'y', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'n', 'a', 'm', 'e', 'd', 'C', 'a', 'p', 't', 'u', 'r', 'e', 'G', 'r', 'o', 'u', 'p', 's', 0,
    'p', 'a', 't', 't', 'e', 'r', 'n', 'E', 'r', 'r', 'o', 'r', 'O', 'f', 'f', 's', 'e', 't', 0,
    'Q', 'R', 'e', 'g', 'E', 'x', 'p', ':', ':', 'C', 'a', 'r', 'e', 't', 'M', 'o', 'd', 'e', 0,
    'p', 'r', 'o', 'c', 'e', 's', 's', 'E', 'n', 'v', 'i', 'r', 'o', 'n', 'm', 'e', 'n', 't', 0,
    'p', 'r', 'o', 'c', 'e', 's', 's', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'M', 'o', 'd', 'e', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'Q', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'A', 'n', 'd', 'r', 'o', 'i', 'd', 'M', 'a', 'r', 's', 'h', 'm', 'a', 'l', 'l', 'o', 'w', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'C', 'o', 'n', 's', 't', 'r', 'u', 'c', 't', 'o', 'r', 0,
    'c', 'o', 'n', 'n', 'e', 'c', 't', 'S', 'l', 'o', 't', 's', 'B', 'y', 'N', 'a', 'm', 'e', 0,
    'i', 'n', 's', 't', 'a', 'l', 'l', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'Q', 'R', 'e', 'g', 'u', 'l', 'a', 'r', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 0,
    'q', 'S', 'e', 't', 'M', 'e', 's', 's', 'a', 'g', 'e', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'Q', 'M', 'e', 's', 's', 'a', 'g', 'e', 'L', 'o', 'g', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', 'Q', 'u', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 'N', 'a', 'm', 'e', 0,
    'O', 'l', 'd', 'H', 'u', 'n', 'g', 'a', 'r', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'V', 'a', 'r', 'a', 'n', 'g', 'K', 's', 'h', 'i', 't', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'M', 'e', 'n', 'd', 'e', 'K', 'i', 'k', 'a', 'k', 'u', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'm', 'i', 't', 'G', 'r', 'o', 'u', 'p', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    'U', 'n', 'i', 't', 'e', 'd', 'A', 'r', 'a', 'b', 'E', 'm', 'i', 'r', 'a', 't', 'e', 's', 0,
    'S', 'y', 'r', 'i', 'a', 'n', 'A', 'r', 'a', 'b', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c', 0,
    'S', 'a', 'o', 'T', 'o', 'm', 'e', 'A', 'n', 'd', 'P', 'r', 'i', 'n', 'c', 'i', 'p', 'e', 0,
    'S', 'a', 'i', 'n', 't', 'K', 'i', 't', 't', 's', 'A', 'n', 'd', 'N', 'e', 'v', 'i', 's', 0,
    'H', 'i', 'e', 'r', 'o', 'g', 'l', 'y', 'p', 'h', 'i', 'c', 'L', 'u', 'w', 'i', 'a', 'n', 0,
    'Q', 'L', 'i', 'b', 'r', 'a', 'r', 'y', ':', ':', 'L', 'o', 'a', 'd', 'H', 'i', 'n', 't', 0,
    'U', 'n', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'e', 'd', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'U', 'n', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'e', 'd', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'R', 'e', 'a', 'd', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'M', 'o', 'd', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'h', 'i', 's', 't', 'o', 'r', 'y', 'T', 'y', 'p', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'F', 'i', 'l', 'e', 'S', 'y', 's', 't', 'e', 'm', 'W', 'a', 't', 'c', 'h', 'e', 'r', 0,
    'P', 'e', 'r', 'f', 'o', 'r', 'm', 'a', 'n', 'c', 'e', 'C', 'o', 'u', 'n', 't', 'e', 'r', 0,
    'Q', 'E', 'a', 's', 'i', 'n', 'g', 'C', 'u', 'r', 'v', 'e', ':', ':', 'T', 'y', 'p', 'e', 0,
    't', 'o', 'N', 'a', 't', 'i', 'v', 'e', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 's', 0,
    's', 'e', 't', 'P', 'r', 'e', 'c', 'i', 's', 'e', 'D', 'e', 'a', 'd', 'l', 'i', 'n', 'e', 0,
    'r', 'e', 'm', 'a', 'i', 'n', 'i', 'n', 'g', 'T', 'i', 'm', 'e', 'N', 'S', 'e', 'c', 's', 0,
    'f', 'r', 'o', 'm', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'E', 'p', 'o', 'c', 'h', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'U', 't', 'c', 0,
    's', 'e', 't', 'M', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'E', 'p', 'o', 'c', 'h', 0,
    'Q', 'C', 'r', 'y', 'p', 't', 'o', 'g', 'r', 'a', 'p', 'h', 'i', 'c', 'H', 'a', 's', 'h', 0,
    'F', 'o', 'c', 'u', 's', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'S', 't', 'a', 't', 'e', 'M', 'a', 'c', 'h', 'i', 'n', 'e', 'S', 'i', 'g', 'n', 'a', 'l', 0,
    'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'R', 'e', 'c', 't', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'W', 'h', 'e', 'e', 'l', 0,
    'L', 'e', 'a', 'v', 'e', 'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 'M', 'o', 'd', 'e', 0,
    'E', 'n', 't', 'e', 'r', 'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 'M', 'o', 'd', 'e', 0,
    'q', 'R', 'e', 'm', 'o', 'v', 'e', 'P', 'o', 's', 't', 'R', 'o', 'u', 't', 'i', 'n', 'e', 0,
    's', 'e', 't', 'Q', 'u', 'i', 't', 'L', 'o', 'c', 'k', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'E', 'v', 'e', 'n', 't', 'D', 'i', 's', 'p', 'a', 't', 'c', 'h', 'e', 'r', 0,
    'a', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'a', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'D', 'i', 'r', 'P', 'a', 't', 'h', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'P', 'o', 's', 't', 'e', 'd', 'E', 'v', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', 0,
    'o', 'r', 'g', 'a', 'n', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'D', 'o', 'm', 'a', 'i', 'n', 0,
    'u', 'n', 'k', 'n', 'o', 'w', 'n', 'O', 'p', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', 's', 0,
    'P', 'a', 'r', 's', 'e', 'A', 's', 'L', 'o', 'n', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 'L', 'i', 'n', 'e', 'P', 'a', 'r', 's', 'e', 'r', 0,
    'Q', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 'L', 'i', 'n', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 0,
    'O', 'm', 'i', 't', 'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'E', 'q', 'u', 'a', 'l', 's', 0,
    'K', 'e', 'e', 'p', 'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'E', 'q', 'u', 'a', 'l', 's', 0,
    'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'E', 'x', 't', 'e', 'r', 'n', 'a', 'l', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    't', 'a', 'r', 'g', 'e', 't', 'S', 't', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'M', 'o', 'd', 'e', 'l', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'L', 'i', 's', 't', 'M', 'o', 'd', 'e', 'l', 0,
    'r', 'o', 'w', 's', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'B', 'e', 'M', 'o', 'v', 'e', 'd', 0,
    'b', 'e', 'g', 'i', 'n', 'R', 'e', 'm', 'o', 'v', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'b', 'e', 'g', 'i', 'n', 'I', 'n', 's', 'e', 'r', 't', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'o', 'r', 't', 'H', 'i', 'n', 't', 0,
    'N', 'o', 'L', 'a', 'y', 'o', 'u', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'H', 'i', 'n', 't', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'M', 'o', 'd', 'e', 'l', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'L', 'o', 'o', 'p', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 't', ':', ':', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'l', 'a', 'g', 0,
    'S', 'w', 'i', 'p', 'e', 'N', 'a', 't', 'i', 'v', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'B', 'e', 'g', 'i', 'n', 'N', 'a', 't', 'i', 'v', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'Q', 't', ':', ':', 'W', 'h', 'i', 't', 'e', 'S', 'p', 'a', 'c', 'e', 'M', 'o', 'd', 'e', 0,
    'P', 'r', 'i', 'm', 'a', 'r', 'y', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'N', 'o', 'n', 'e', 0,
    'Q', 't', ':', ':', 'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'T', 'o', 'u', 'c', 'h', 'P', 'o', 'i', 'n', 't', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'd', 0,
    'L', 'o', 'g', 'i', 'c', 'a', 'l', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 's', 0,
    'I', 'm', 'h', 'P', 'r', 'e', 'f', 'e', 'r', 'L', 'o', 'w', 'e', 'r', 'c', 'a', 's', 'e', 0,
    'I', 'm', 'h', 'P', 'r', 'e', 'f', 'e', 'r', 'U', 'p', 'p', 'e', 'r', 'c', 'a', 's', 'e', 0,
    'I', 'm', 'h', 'N', 'o', 'A', 'u', 't', 'o', 'U', 'p', 'p', 'e', 'r', 'c', 'a', 's', 'e', 0,
    'B', 'o', 't', 't', 'o', 'm', 'R', 'i', 'g', 'h', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 't', ':', ':', 'W', 'i', 'n', 'd', 'o', 'w', 'M', 'o', 'd', 'a', 'l', 'i', 't', 'y', 0,
    'M', 'a', 't', 'c', 'h', 'C', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', 0,
    'I', 't', 'e', 'm', 'I', 's', 'A', 'u', 't', 'o', 'T', 'r', 'i', 's', 't', 'a', 't', 'e', 0,
    'I', 't', 'e', 'm', 'I', 's', 'U', 's', 'e', 'r', 'T', 'r', 'i', 's', 't', 'a', 't', 'e', 0,
    'A', 'c', 'c', 'e', 's', 's', 'i', 'b', 'l', 'e', 'T', 'e', 'x', 't', 'R', 'o', 'l', 'e', 0,
    'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'T', 'e', 'x', 't', 'O', 'n', 'l', 'y', 0,
    'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'I', 'c', 'o', 'n', 'O', 'n', 'l', 'y', 0,
    'I', 'm', 'T', 'e', 'x', 't', 'B', 'e', 'f', 'o', 'r', 'e', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'I', 'm', 'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'I', 'm', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'A', 'c', 't', 'i', 'o', 'n', 's', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'P', 'r', 'e', 'v', 'e', 'n', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'M', 'e', 'n', 'u', 'B', 'a', 'r', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'B', 'a', 'c', 'k', 't', 'a', 'b', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'F', 'a', 's', 't', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 't', ':', ':', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'A', 'l', 'w', 'a', 'y', 's', 'O', 'f', 'f', 0,
    'A', 'l', 'l', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'r', 'e', 'a', 's', 0,
    'L', 'e', 'f', 't', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'r', 'e', 'a', 0,
    'Q', 't', ':', ':', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'r', 'e', 'a', 0,
    'P', 'o', 'i', 'n', 't', 'i', 'n', 'g', 'H', 'a', 'n', 'd', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'K', 'e', 'y', '_', 'T', 'o', 'u', 'c', 'h', 'p', 'a', 'd', 'T', 'o', 'g', 'g', 'l', 'e', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'n', 't', 'r', 'a', 's', 't', 'A', 'd', 'j', 'u', 's', 't', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'A', 'b', 'o', 'v', 'e', 'r', 'i', 'n', 'g', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'D', 'i', 'a', 'e', 'r', 'e', 's', 'i', 's', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', '_', 'S', 'p', 'e', 'c', 'i', 'a', 'l', 0,
    'K', 'e', 'y', '_', 'g', 'u', 'i', 'l', 'l', 'e', 'm', 'o', 't', 'r', 'i', 'g', 'h', 't', 0,
    'K', 'e', 'y', '_', 'p', 'e', 'r', 'i', 'o', 'd', 'c', 'e', 'n', 't', 'e', 'r', 'e', 'd', 0,
    'N', 'o', 'F', 'o', 'r', 'm', 'a', 't', 'C', 'o', 'n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'D', 'i', 'f', 'f', 'u', 's', 'e', 'A', 'l', 'p', 'h', 'a', 'D', 'i', 't', 'h', 'e', 'r', 0,
    'O', 'r', 'd', 'e', 'r', 'e', 'd', 'A', 'l', 'p', 'h', 'a', 'D', 'i', 't', 'h', 'e', 'r', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'V', 'a', 'r', 'i', 'a', 'b', 'l', 'e', 'S', 'i', 'z', 'e', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'B', 'r', 'u', 's', 'h', 'e', 'd', 'M', 'e', 't', 'a', 'l', 0,
    'W', 'A', '_', 'W', 'S', 't', 'a', 't', 'e', '_', 'P', 'o', 'l', 'i', 's', 'h', 'e', 'd', 0,
    'W', 'A', '_', 'G', 'r', 'a', 'b', 'b', 'e', 'd', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'W', 'A', '_', 'C', 'u', 's', 't', 'o', 'm', 'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 0,
    'W', 'A', '_', 'U', 'p', 'd', 'a', 't', 'e', 's', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0,
    'A', 'l', 'i', 'g', 'n', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', '_', 'M', 'a', 's', 'k', 0,
    'p', 'y', 'q', 't', 'P', 'i', 'c', 'k', 'l', 'e', 'P', 'r', 'o', 't', 'o', 'c', 'o', 'l', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', '>', 0,
    'p', 'r', 'e', 't', 't', 'y', 'P', 'r', 'o', 'd', 'u', 'c', 't', 'N', 'a', 'm', 'e', 0,
    'w', 'r', 'i', 't', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'o', 'k', 'e', 'n', 0,
    'w', 'r', 'i', 't', 'e', 'S', 't', 'a', 'r', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'w', 'r', 'i', 't', 'e', 'E', 'm', 'p', 't', 'y', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 0,
    's', 'e', 't', 'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 0,
    'S', 'k', 'i', 'p', 'C', 'h', 'i', 'l', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 's', 0,
    'i', 's', 'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 'f', 'e', 'r', 'e', 'n', 'c', 'e', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'R', 'e', 's', 'o', 'l', 'u', 't', 'i', 'o', 'n', 0,
    'Q', 'U', 'r', 'l', ':', ':', 'P', 'a', 'r', 's', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 0,
    'i', 'a', 'n', 'a', 'I', 'd', 'T', 'o', 'W', 'i', 'n', 'd', 'o', 'w', 's', 'I', 'd', 0,
    's', 'e', 't', 'U', 'p', 'd', 'a', 't', 'e', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'T', 'h', 'r', 'e', 'a', 'd', 'C', 'o', 'u', 'n', 't', 0,
    's', 'e', 't', 'M', 'a', 'x', 'T', 'h', 'r', 'e', 'a', 'd', 'C', 'o', 'u', 'n', 't', 0,
    'Q', 'T', 'h', 'r', 'e', 'a', 'd', ':', ':', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    's', 'e', 't', 'F', 'i', 'e', 'l', 'd', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'a', 'u', 't', 'o', 'D', 'e', 't', 'e', 'c', 't', 'U', 'n', 'i', 'c', 'o', 'd', 'e', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'C', 'o', 'n', 'v', 'e', 'r', 's', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'o', 'd', 'e', 'c', 'F', 'o', 'r', 'L', 'o', 'c', 'a', 'l', 'e', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 's', 0,
    'e', 'r', 'r', 'o', 'r', 'S', 't', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'S', 't', 'a', 't', 'e', ':', ':', 'C', 'h', 'i', 'l', 'd', 'M', 'o', 'd', 'e', 0,
    's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 's', 0,
    'A', 'p', 'p', 'C', 'o', 'n', 'f', 'i', 'g', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 's', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'i', 's', 'S', 'o', 'r', 't', 'L', 'o', 'c', 'a', 'l', 'e', 'A', 'w', 'a', 'r', 'e', 0,
    'd', 'y', 'n', 'a', 'm', 'i', 'c', 'S', 'o', 'r', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 'W', 'i', 'l', 'd', 'c', 'a', 'r', 'd', 0,
    'Q', 'S', 'i', 'g', 'n', 'a', 'l', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', ':', ':', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'Q', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', ':', ':', 'S', 't', 'a', 't', 'u', 's', 0,
    'l', 'a', 's', 't', 'C', 'a', 'p', 't', 'u', 'r', 'e', 'd', 'I', 'n', 'd', 'e', 'x', 0,
    'r', 'e', 'g', 'u', 'l', 'a', 'r', 'E', 'x', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 0,
    's', 'e', 't', 'P', 'a', 't', 't', 'e', 'r', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'D', 'o', 'n', 't', 'C', 'a', 'p', 't', 'u', 'r', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'u', 'p', 'C', 'h', 'i', 'l', 'd', 'P', 'r', 'o', 'c', 'e', 's', 's', 0,
    's', 'y', 's', 't', 'e', 'm', 'E', 'n', 'v', 'i', 'r', 'o', 'n', 'm', 'e', 'n', 't', 0,
    'c', 'l', 'o', 's', 'e', 'W', 'r', 'i', 't', 'e', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    'F', 'o', 'r', 'w', 'a', 'r', 'd', 'e', 'd', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 's', 0,
    'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'A', 'n', 'd', 'r', 'o', 'i', 'd', 'N', 'o', 'u', 'g', 'a', 't', '_', 'M', 'R', '1', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'E', 'n', 'u', 'm', 'e', 'r', 'a', 't', 'o', 'r', 0,
    'Q', 'T', '_', 'T', 'R', 'A', 'N', 'S', 'L', 'A', 'T', 'E', '_', 'N', 'O', 'O', 'P', 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,
    'o', 'b', 'j', 'e', 'c', 't', 'N', 'a', 'm', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    's', 'u', 'f', 'f', 'i', 'x', 'F', 'o', 'r', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'm', 'e', 't', 'a', 'O', 'b', 'j', 'e', 'c', 't', 'F', 'o', 'r', 'T', 'y', 'p', 'e', 0,
    'N', 'e', 'e', 'd', 's', 'C', 'o', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 0,
    'n', 'o', 't', 'i', 'f', 'y', 'S', 'i', 'g', 'n', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'q', 'F', 'o', 'r', 'm', 'a', 't', 'L', 'o', 'g', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'Q', 'u', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'C', 'o', 'u', 'n', 't', 'r', 'y', 'N', 'a', 'm', 'e', 0,
    'S', 'i', 'g', 'n', 'W', 'r', 'i', 't', 'i', 'n', 'g', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'P', 'a', 'h', 'a', 'w', 'h', 'H', 'm', 'o', 'n', 'g', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'y', 'l', 'o', 't', 'i', 'N', 'a', 'g', 'r', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'o', 'r', 'a', 'S', 'o', 'm', 'p', 'e', 'n', 'g', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'M', 'e', 'i', 't', 'e', 'i', 'M', 'a', 'y', 'e', 'k', 'S', 'c', 'r', 'i', 'p', 't', 0,
    's', 't', 'a', 'n', 'd', 'a', 'l', 'o', 'n', 'e', 'D', 'a', 'y', 'N', 'a', 'm', 'e', 0,
    'm', 'e', 'a', 's', 'u', 'r', 'e', 'm', 'e', 'n', 't', 'S', 'y', 's', 't', 'e', 'm', 0,
    'T', 'r', 'i', 'n', 'i', 'd', 'a', 'd', 'A', 'n', 'd', 'T', 'o', 'b', 'a', 'g', 'o', 0,
    'R', 'u', 's', 's', 'i', 'a', 'n', 'F', 'e', 'd', 'e', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'D', 'o', 'm', 'i', 'n', 'i', 'c', 'a', 'n', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c', 0,
    'A', 'n', 't', 'i', 'g', 'u', 'a', 'A', 'n', 'd', 'B', 'a', 'r', 'b', 'u', 'd', 'a', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 'P', 'a', 't', 'h', 0,
    'P', 'r', 'e', 'v', 'e', 'n', 't', 'U', 'n', 'l', 'o', 'a', 'd', 'H', 'i', 'n', 't', 0,
    'I', 'l', 'l', 'e', 'g', 'a', 'l', 'U', 'T', 'F', '8', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'U', 'n', 't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'e', 'd', 'A', 'r', 'r', 'a', 'y', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'R', 'o', 'w', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'l', 'e', 'a', 'r', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 0,
    'w', 'r', 'i', 't', 'e', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'C', 'o', 'u', 'n', 't', 0,
    'i', 's', 'T', 'e', 'x', 't', 'M', 'o', 'd', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'E', 'x', 't', 'r', 'a', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', 's', 0,
    'c', 'a', 'n', 'o', 'n', 'i', 'c', 'a', 'l', 'F', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    'W', 'a', 'i', 't', 'F', 'o', 'r', 'M', 'o', 'r', 'e', 'E', 'v', 'e', 'n', 't', 's', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'R', 'e', 'c', 'u', 'r', 's', 'i', 'v', 'e', 'l', 'y', 0,
    's', 'e', 't', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'E', 'p', 'o', 'c', 'h', 0,
    't', 'o', 'M', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'E', 'p', 'o', 'c', 'h', 0,
    'c', 'o', 'm', 'm', 'i', 't', 'T', 'r', 'a', 'n', 's', 'a', 'c', 't', 'i', 'o', 'n', 0,
    'w', 'r', 'i', 't', 'e', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 'H', 'a', 's', 'h', 0,
    'w', 'r', 'i', 't', 'e', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 'L', 'i', 's', 't', 0,
    'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'M', 'o', 'v', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'D', 'r', 'o', 'p', 0,
    'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'H', 'e', 'l', 'p', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'S', 't', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'T', 'i', 't', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'i', 's', 'Q', 'u', 'i', 't', 'L', 'o', 'c', 'k', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'i', 'n', 's', 't', 'a', 'l', 'l', 'T', 'r', 'a', 'n', 's', 'l', 'a', 't', 'o', 'r', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'L', 'i', 'b', 'r', 'a', 'r', 'y', 'P', 'a', 't', 'h', 0,
    'i', 'g', 'n', 'o', 'r', 'e', 'P', 'u', 'n', 'c', 't', 'u', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', 'M', 'a', 't', 'c', 'h', 'e', 'r', 0,
    'B', 'a', 's', 'e', '6', '4', 'U', 'r', 'l', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    't', 'o', 'P', 'e', 'r', 'c', 'e', 'n', 't', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    's', 'e', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'r', 'e', 's', 'e', 't', 'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'D', 'a', 't', 'a', 0,
    'h', 'e', 'a', 'd', 'e', 'r', 'D', 'a', 't', 'a', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'N', 'a', 't', 'i', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'i', 'm', 'e', 0,
    'D', 'e', 'l', 'e', 't', 'e', 'W', 'h', 'e', 'n', 'S', 't', 'o', 'p', 'p', 'e', 'd', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'A', 'c', 't', 'i', 'v', 'e', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'T', 'a', 'p', 'A', 'n', 'd', 'H', 'o', 'l', 'd', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'T', 'o', 'u', 'c', 'h', 'P', 'o', 'i', 'n', 't', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    'D', 'e', 'v', 'i', 'c', 'e', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 's', 0,
    'B', 'o', 't', 't', 'o', 'm', 'L', 'e', 'f', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'H', 'i', 'g', 'h', 'E', 'v', 'e', 'n', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'Q', 't', ':', ':', 'E', 'v', 'e', 'n', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'N', 'o', 'T', 'e', 'x', 't', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'o', 'n', 0,
    'C', 'o', 'n', 't', 'a', 'i', 'n', 's', 'I', 't', 'e', 'm', 'S', 'h', 'a', 'p', 'e', 0,
    'A', 'A', '_', 'X', '1', '1', 'I', 'n', 'i', 't', 'T', 'h', 'r', 'e', 'a', 'd', 's', 0,
    'I', 't', 'e', 'm', 'I', 's', 'D', 'r', 'o', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'I', 's', 'D', 'r', 'a', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'T', 'e', 'x', 't', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 'R', 'o', 'l', 'e', 0,
    'I', 'm', 'A', 'n', 'c', 'h', 'o', 'r', 'R', 'e', 'c', 't', 'a', 'n', 'g', 'l', 'e', 0,
    'I', 'm', 'T', 'e', 'x', 't', 'A', 'f', 't', 'e', 'r', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'I', 'm', 'C', 'u', 'r', 's', 'o', 'r', 'R', 'e', 'c', 't', 'a', 'n', 'g', 'l', 'e', 0,
    'I', 'm', 'S', 'u', 'r', 'r', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'T', 'e', 'x', 't', 0,
    'C', 'u', 's', 't', 'o', 'm', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'Q', 't', ':', ':', 'C', 'l', 'i', 'p', 'O', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'B', 'o', 't', 't', 'o', 'm', 'R', 'i', 'g', 'h', 't', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'A', 'l', 'w', 'a', 'y', 's', 'O', 'n', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'A', 's', 'N', 'e', 'e', 'd', 'e', 'd', 0,
    'B', 'o', 't', 't', 'o', 'm', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'A', 'r', 'e', 'a', 0,
    'T', 'o', 'p', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'r', 'e', 'a', 0,
    'I', 'g', 'n', 'o', 'r', 'e', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 0,
    'U', 'I', '_', 'A', 'n', 'i', 'm', 'a', 't', 'e', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 0,
    'U', 'I', '_', 'A', 'n', 'i', 'm', 'a', 't', 'e', 'T', 'o', 'o', 'l', 't', 'i', 'p', 0,
    'K', 'e', 'y', '_', 'M', 'i', 'c', 'V', 'o', 'l', 'u', 'm', 'e', 'D', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'R', 'o', 't', 'a', 't', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 's', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'd', 'i', 'a', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'B', 'e', 'l', 'o', 'w', 'd', 'o', 't', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'A', 'b', 'o', 'v', 'e', 'd', 'o', 't', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', '_', 'J', 'e', 'o', 'n', 'j', 'a', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', '_', 'R', 'o', 'm', 'a', 'j', 'a', 0,
    'K', 'e', 'y', '_', 't', 'h', 'r', 'e', 'e', 'q', 'u', 'a', 'r', 't', 'e', 'r', 's', 0,
    'K', 'e', 'y', '_', 't', 'h', 'r', 'e', 'e', 's', 'u', 'p', 'e', 'r', 'i', 'o', 'r', 0,
    'K', 'e', 'y', '_', 'g', 'u', 'i', 'l', 'l', 'e', 'm', 'o', 't', 'l', 'e', 'f', 't', 0,
    'N', 'o', 'O', 'p', 'a', 'q', 'u', 'e', 'D', 'e', 't', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'W', 'A', '_', 'T', 'a', 'b', 'l', 'e', 't', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    'W', 'A', '_', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'C', 'o', 'u', 'n', 't', 0,
    'W', 'A', '_', 'W', 'S', 't', 'a', 't', 'e', '_', 'C', 'r', 'e', 'a', 't', 'e', 'd', 0,
    'W', 'A', '_', 'P', 'a', 'i', 'n', 't', 'U', 'n', 'c', 'l', 'i', 'p', 'p', 'e', 'd', 0,
    'W', 'A', '_', 'O', 'u', 't', 's', 'i', 'd', 'e', 'W', 'S', 'R', 'a', 'n', 'g', 'e', 0,
    'W', 'A', '_', 'W', 'i', 'n', 'd', 'o', 'w', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'd', 0,
    'W', 'A', '_', 'K', 'e', 'y', 'C', 'o', 'm', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 0,
    'W', 'A', '_', 'W', 'S', 't', 'a', 't', 'e', '_', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'W', 'A', '_', 'S', 't', 'a', 't', 'i', 'c', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'Q', 't', ':', ':', 'T', 'e', 'x', 't', 'E', 'l', 'i', 'd', 'e', 'M', 'o', 'd', 'e', 0,
    'Q', 't', ':', ':', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 'F', 'l', 'a', 'g', 0,
    's', 'i', 'p', '.', 's', 'i', 'm', 'p', 'l', 'e', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', '>', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '<', 'Q', 'P', 'o', 'i', 'n', 't', 'F', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'F', 'i', 'l', 'e', 'I', 'n', 'f', 'o', '>', 0,
    'Q', 'S', 'y', 's', 'I', 'n', 'f', 'o', ':', ':', 'E', 'n', 'd', 'i', 'a', 'n', 0,
    'w', 'r', 'i', 't', 'e', 'E', 'n', 'd', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'w', 'r', 'i', 't', 'e', 'T', 'e', 'x', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'W', 'r', 'i', 't', 'e', 'r', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    'Q', 'X', 'm', 'l', 'S', 't', 'r', 'e', 'a', 'm', 'R', 'e', 'a', 'd', 'e', 'r', 0,
    'E', 'n', 'c', 'o', 'd', 'e', 'D', 'e', 'l', 'i', 'm', 'i', 't', 'e', 'r', 's', 0,
    's', 'e', 'a', 'r', 'c', 'h', 'D', 'e', 'l', 'i', 'm', 'i', 't', 'e', 'r', 's', 0,
    's', 'y', 's', 't', 'e', 'm', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', 'I', 'd', 0,
    'Q', 'T', 'i', 'm', 'e', 'L', 'i', 'n', 'e', ':', ':', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 't', 'E', 'x', 'p', 'i', 'r', 'y', 'T', 'i', 'm', 'e', 'o', 'u', 't', 0,
    'i', 'd', 'e', 'a', 'l', 'T', 'h', 'r', 'e', 'a', 'd', 'C', 'o', 'u', 'n', 't', 0,
    'c', 'o', 'n', 'v', 'e', 'r', 't', 'T', 'o', 'U', 'n', 'i', 'c', 'o', 'd', 'e', 0,
    'B', 'r', 'e', 'a', 'k', 'O', 'p', 'p', 'o', 'r', 't', 'u', 'n', 'i', 't', 'y', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'N', 'a', 't', 'i', 'v', 'e', 'F', 'i', 'l', 'e', 0,
    'Q', 'S', 'y', 's', 't', 'e', 'm', 'S', 'e', 'm', 'a', 'p', 'h', 'o', 'r', 'e', 0,
    'Q', 'S', 't', 'r', 'i', 'n', 'g', 'L', 'i', 's', 't', 'M', 'o', 'd', 'e', 'l', 0,
    'p', 'o', 's', 't', 'D', 'e', 'l', 'a', 'y', 'e', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'h', 'i', 'l', 'd', 'M', 'o', 'd', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'w', 'r', 'i', 't', 'a', 'b', 'l', 'e', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'D', 'o', 'w', 'n', 'l', 'o', 'a', 'd', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'P', 'i', 'c', 't', 'u', 'r', 'e', 's', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'i', 'n', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'A', 'c', 'c', 'e', 'p', 't', 's', 'R', 'o', 'w', 0,
    'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 'D', 'e', 'n', 'i', 'e', 'd', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'f', 'a', 'l', 'l', 'b', 'a', 'c', 'k', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', ':', ':', 'S', 'c', 'o', 'p', 'e', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'P', 'a', 't', 't', 'e', 'r', 'n', 'S', 'y', 'n', 't', 'a', 'x', 0,
    'i', 'n', 'p', 'u', 't', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'M', 'o', 'd', 'e', 0,
    'w', 'o', 'r', 'k', 'i', 'n', 'g', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'c', 'l', 'o', 's', 'e', 'R', 'e', 'a', 'd', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    'S', 'e', 'p', 'a', 'r', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 's', 0,
    'A', 'n', 'd', 'r', 'o', 'i', 'd', 'J', 'e', 'l', 'l', 'y', 'B', 'e', 'a', 'n', 0,
    'Q', 'G', 'e', 'n', 'e', 'r', 'i', 'c', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 0,
    'c', 'o', 'n', 's', 't', 'r', 'u', 'c', 't', 'o', 'r', 'C', 'o', 'u', 'n', 't', 0,
    'c', 'h', 'e', 'c', 'k', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'A', 'r', 'g', 's', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'C', 'l', 'a', 's', 's', 'I', 'n', 'f', 'o', 0,
    'e', 'n', 'u', 'm', 'e', 'r', 'a', 't', 'o', 'r', 'O', 'f', 'f', 's', 'e', 't', 0,
    's', 't', 'a', 't', 'i', 'c', 'M', 'e', 't', 'a', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'N', 'e', 'e', 'd', 's', 'D', 'e', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 't', 'a', 'l', 'e', 'L', 'o', 'c', 'k', 'T', 'i', 'm', 'e', 0,
    't', 'o', 'C', 'u', 'r', 'r', 'e', 'n', 'c', 'y', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'M', 'a', 'n', 'i', 'c', 'h', 'a', 'e', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'a', 'u', 'r', 'a', 's', 'h', 't', 'r', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'P', 'h', 'o', 'e', 'n', 'i', 'c', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'l', 'd', 'P', 'e', 'r', 's', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'K', 'h', 'a', 'r', 'o', 's', 'h', 't', 'h', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'G', 'l', 'a', 'g', 'o', 'l', 'i', 't', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'D', 'e', 'v', 'a', 'n', 'a', 'g', 'a', 'r', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'I', 'm', 'p', 'e', 'r', 'i', 'a', 'l', 'U', 'K', 'S', 'y', 's', 't', 'e', 'm', 0,
    'I', 'm', 'p', 'e', 'r', 'i', 'a', 'l', 'U', 'S', 'S', 'y', 's', 't', 'e', 'm', 0,
    's', 'e', 't', 'N', 'u', 'm', 'b', 'e', 'r', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'l', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 'T', 'o', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'C', 'l', 'i', 'p', 'p', 'e', 'r', 't', 'o', 'n', 'I', 's', 'l', 'a', 'n', 'd', 0,
    'C', 'o', 'n', 'g', 'o', 'B', 'r', 'a', 'z', 'z', 'a', 'v', 'i', 'l', 'l', 'e', 0,
    'V', 'a', 't', 'i', 'c', 'a', 'n', 'C', 'i', 't', 'y', 'S', 't', 'a', 't', 'e', 0,
    'E', 'q', 'u', 'a', 't', 'o', 'r', 'i', 'a', 'l', 'G', 'u', 'i', 'n', 'e', 'a', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'C', 'o', 'u', 'n', 't', 'r', 'y', 0,
    'U', 'n', 'c', 'o', 'd', 'e', 'd', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 's', 0,
    'L', 'a', 'r', 'g', 'e', 'F', 'l', 'o', 'w', 'e', 'r', 'y', 'M', 'i', 'a', 'o', 0,
    'C', 'l', 'a', 's', 's', 'i', 'c', 'a', 'l', 'M', 'a', 'n', 'd', 'a', 'i', 'c', 0,
    'N', 'o', 'r', 'w', 'e', 'g', 'i', 'a', 'n', 'N', 'y', 'n', 'o', 'r', 's', 'k', 0,
    'T', 'r', 'a', 'n', 's', 'l', 'a', 't', 'i', 'o', 'n', 's', 'P', 'a', 't', 'h', 0,
    'l', 'i', 'c', 'e', 'n', 's', 'e', 'd', 'P', 'r', 'o', 'd', 'u', 'c', 't', 's', 0,
    'Q', 'J', 's', 'o', 'n', 'V', 'a', 'l', 'u', 'e', ':', ':', 'T', 'y', 'p', 'e', 0,
    'B', 'y', 'p', 'a', 's', 's', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 0,
    'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'T', 'o', 'o', 'L', 'a', 'r', 'g', 'e', 0,
    's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 's', 'C', 'o', 'l', 'u', 'm', 'n', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'c', 'h', 'a', 'n', 'n', 'e', 'l', 'R', 'e', 'a', 'd', 'y', 'R', 'e', 'a', 'd', 0,
    'r', 'e', 'a', 'd', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'C', 'o', 'u', 'n', 't', 0,
    'w', 'a', 'i', 't', 'F', 'o', 'r', 'R', 'e', 'a', 'd', 'y', 'R', 'e', 'a', 'd', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'B', 'a', 's', 'e', 'N', 'a', 'm', 'e', 0,
    'M', 'a', 'p', 'P', 'r', 'i', 'v', 'a', 't', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', 'E', 'r', 'r', 'o', 'r', 0,
    'U', 'n', 's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'd', 'E', 'r', 'r', 'o', 'r', 0,
    'Q', 'E', 'v', 'e', 'n', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'E', 'v', 'e', 'n', 't', 'L', 'o', 'o', 'p', 'L', 'o', 'c', 'k', 'e', 'r', 0,
    'X', '1', '1', 'E', 'x', 'c', 'l', 'u', 'd', 'e', 'T', 'i', 'm', 'e', 'r', 's', 0,
    'M', 'a', 'c', 'h', 'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 'T', 'i', 'm', 'e', 0,
    'v', 'a', 'l', 'u', 'e', 'F', 'o', 'r', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 0,
    'r', 'e', 'l', 'a', 't', 'i', 'v', 'e', 'F', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    'a', 'b', 's', 'o', 'l', 'u', 't', 'e', 'F', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    's', 'e', 't', 'R', 'e', 'm', 'a', 'i', 'n', 'i', 'n', 'g', 'T', 'i', 'm', 'e', 0,
    't', 'o', 'S', 'e', 'c', 's', 'S', 'i', 'n', 'c', 'e', 'E', 'p', 'o', 'c', 'h', 0,
    's', 'e', 't', 'O', 'f', 'f', 's', 'e', 't', 'F', 'r', 'o', 'm', 'U', 't', 'c', 0,
    'S', 't', 'a', 'n', 'd', 'a', 'l', 'o', 'n', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'a', 'b', 'o', 'r', 't', 'T', 'r', 'a', 'n', 's', 'a', 'c', 't', 'i', 'o', 'n', 0,
    's', 't', 'a', 'r', 't', 'T', 'r', 'a', 'n', 's', 'a', 'c', 't', 'i', 'o', 'n', 0,
    'r', 'e', 'a', 'd', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 'H', 'a', 's', 'h', 0,
    'w', 'r', 'i', 't', 'e', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 'M', 'a', 'p', 0,
    'r', 'e', 'a', 'd', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 'L', 'i', 's', 't', 0,
    'w', 'r', 'i', 't', 'e', 'Q', 'S', 't', 'r', 'i', 'n', 'g', 'L', 'i', 's', 't', 0,
    'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 0,
    'A', 'c', 't', 'i', 'v', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'D', 'e', 'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 0,
    's', 'e', 't', 'S', 'e', 't', 'u', 'i', 'd', 'A', 'l', 'l', 'o', 'w', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'T', 'r', 'a', 'n', 's', 'l', 'a', 't', 'o', 'r', 0,
    's', 'e', 'n', 'd', 'P', 'o', 's', 't', 'e', 'd', 'E', 'v', 'e', 'n', 't', 's', 0,
    'o', 'r', 'g', 'a', 'n', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', 0,
    'Q', 'C', 'o', 'r', 'e', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'a', 'd', 'd', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'S', 'h', 'o', 'r', 't', 'O', 'p', 't', 'i', 'o', 'n', 'S', 't', 'y', 'l', 'e', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', 's', 0,
    'Q', 'C', 'o', 'l', 'l', 'a', 't', 'o', 'r', 'S', 'o', 'r', 't', 'K', 'e', 'y', 0,
    'c', 'o', 'm', 'p', 'r', 'e', 's', 's', 'i', 'o', 'n', 'L', 'e', 'v', 'e', 'l', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'N', 'o', 't', 'i', 'f', 'y', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'b', 'e', 'g', 'i', 'n', 'M', 'o', 'v', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'e', 'n', 'd', 'R', 'e', 'm', 'o', 'v', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'e', 'n', 'd', 'I', 'n', 's', 'e', 'r', 't', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'o', 'r', 't', 'H', 'i', 'n', 't', 0,
    'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'e', 'd', 'T', 'i', 'm', 'e', 'r', 's', 0,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'T', 'i', 'm', 'e', 'r', 's', 0,
    'h', 'a', 's', 'P', 'e', 'n', 'd', 'i', 'n', 'g', 'E', 'v', 'e', 'n', 't', 's', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 't', ':', ':', 'C', 'h', 'e', 'c', 'k', 's', 'u', 'm', 'T', 'y', 'p', 'e', 0,
    'E', 'n', 't', 'e', 'r', 'K', 'e', 'y', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 0,
    'Q', 't', ':', ':', 'E', 'n', 't', 'e', 'r', 'K', 'e', 'y', 'T', 'y', 'p', 'e', 0,
    'R', 'e', 'p', 'l', 'a', 'c', 'e', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'P', 'a', 'n', 'N', 'a', 't', 'i', 'v', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'E', 'n', 'd', 'N', 'a', 't', 'i', 'v', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'W', 'h', 'i', 't', 'e', 'S', 'p', 'a', 'c', 'e', 'N', 'o', 'W', 'r', 'a', 'p', 0,
    'W', 'h', 'i', 't', 'e', 'S', 'p', 'a', 'c', 'e', 'N', 'o', 'r', 'm', 'a', 'l', 0,
    'L', 'o', 'g', 'i', 'c', 'a', 'l', 'M', 'o', 'v', 'e', 'S', 't', 'y', 'l', 'e', 0,
    'Q', 't', ':', ':', 'G', 'e', 's', 't', 'u', 'r', 'e', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 't', ':', ':', 'G', 'e', 's', 't', 'u', 'r', 'e', 'S', 't', 'a', 't', 'e', 0,
    'I', 'm', 'h', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', 'D', 'a', 't', 'a', 0,
    'I', 'm', 'h', 'L', 'o', 'w', 'e', 'r', 'c', 'a', 's', 'e', 'O', 'n', 'l', 'y', 0,
    'I', 'm', 'h', 'U', 'p', 'p', 'e', 'r', 'c', 'a', 's', 'e', 'O', 'n', 'l', 'y', 0,
    'I', 'm', 'h', 'P', 'r', 'e', 'f', 'e', 'r', 'N', 'u', 'm', 'b', 'e', 'r', 's', 0,
    'L', 'o', 'w', 'E', 'v', 'e', 'n', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'A', 'A', '_', 'N', 'a', 't', 'i', 'v', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 's', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'a', 'l', 0,
    'M', 'a', 't', 'c', 'h', 'F', 'i', 'x', 'e', 'd', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'I', 't', 'e', 'm', 'I', 's', 'S', 'e', 'l', 'e', 'c', 't', 'a', 'b', 'l', 'e', 0,
    'Q', 't', ':', ':', 'I', 't', 'e', 'm', 'D', 'a', 't', 'a', 'R', 'o', 'l', 'e', 0,
    'P', 'a', 'r', 't', 'i', 'a', 'l', 'l', 'y', 'C', 'h', 'e', 'c', 'k', 'e', 'd', 0,
    'T', 'a', 'r', 'g', 'e', 't', 'M', 'o', 'v', 'e', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'I', 'm', 'A', 'n', 'c', 'h', 'o', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'I', 'm', 'C', 'u', 'r', 's', 'o', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'O', 't', 'h', 'e', 'r', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'P', 'o', 'p', 'u', 'p', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'M', 'o', 'u', 's', 'e', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'U', 'n', 'i', 'q', 'u', 'e', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'D', 'i', 'r', 'e', 'c', 't', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'B', 'o', 't', 't', 'o', 'm', 'L', 'e', 'f', 't', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'S', 'y', 's', 't', 'e', 'm', 'L', 'o', 'c', 'a', 'l', 'e', 'D', 'a', 't', 'e', 0,
    'Q', 't', ':', ':', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'A', 'r', 'e', 'a', 's', 0,
    'T', 'o', 'o', 'l', 'B', 'a', 'r', 'A', 'r', 'e', 'a', '_', 'M', 'a', 's', 'k', 0,
    'R', 'i', 'g', 'h', 't', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'A', 'r', 'e', 'a', 0,
    'N', 'o', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'r', 'e', 'a', 0,
    'C', 'l', 'o', 's', 'e', 'd', 'H', 'a', 'n', 'd', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'D', 'i', 'a', 'g', 'C', 'r', 'o', 's', 's', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'Q', 't', ':', ':', 'P', 'e', 'n', 'J', 'o', 'i', 'n', 'S', 't', 'y', 'l', 'e', 0,
    'K', 'e', 'y', '_', 'A', 'u', 'd', 'i', 'o', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'C', 'e', 'd', 'i', 'l', 'l', 'a', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', '_', 'B', 'a', 'n', 'j', 'a', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', '_', 'H', 'a', 'n', 'j', 'a', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', '_', 'S', 't', 'a', 'r', 't', 0,
    'K', 'e', 'y', '_', 'q', 'u', 'e', 's', 't', 'i', 'o', 'n', 'd', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'n', 'o', 'b', 'r', 'e', 'a', 'k', 's', 'p', 'a', 'c', 'e', 0,
    'K', 'e', 'y', '_', 'B', 'r', 'a', 'c', 'k', 'e', 't', 'R', 'i', 'g', 'h', 't', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'N', 'o', 'r', 'm', 'a', 'l', 'S', 'i', 'z', 'e', 0,
    'W', 'A', '_', 'D', 'e', 'l', 'e', 't', 'e', 'O', 'n', 'C', 'l', 'o', 's', 'e', 0,
    'W', 'A', '_', 'N', 'o', 'M', 'o', 'u', 's', 'e', 'R', 'e', 'p', 'l', 'a', 'y', 0,
    'W', 'A', '_', 'S', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'I', 'c', 'o', 'n', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'M', 'e', 't', 'a', 'l', 'S', 't', 'y', 'l', 'e', 0,
    'W', 'A', '_', 'P', 'e', 'n', 'd', 'i', 'n', 'g', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'W', 'A', '_', 'F', 'o', 'r', 'c', 'e', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0,
    'W', 'A', '_', 'W', 'S', 't', 'a', 't', 'e', '_', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'W', 'A', '_', 'P', 'a', 'i', 'n', 't', 'O', 'n', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'W', 'A', '_', 'M', 'o', 'u', 's', 'e', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    'Q', 't', ':', ':', 'W', 'i', 'n', 'd', 'o', 'w', 'S', 't', 'a', 't', 'e', 's', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'F', 'u', 'l', 'l', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'T', 'e', 'x', 't', 'H', 'i', 'd', 'e', 'M', 'n', 'e', 'm', 'o', 'n', 'i', 'c', 0,
    'T', 'e', 'x', 't', 'W', 'r', 'a', 'p', 'A', 'n', 'y', 'w', 'h', 'e', 'r', 'e', 0,
    'T', 'e', 'x', 't', 'S', 'h', 'o', 'w', 'M', 'n', 'e', 'm', 'o', 'n', 'i', 'c', 0,
    'Q', 't', ':', ':', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 's', 0,
    'Q', 't', ':', ':', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'P', 'Y', 'Q', 'T', '_', 'V', 'E', 'R', 'S', 'I', 'O', 'N', '_', 'S', 'T', 'R', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'O', 'b', 'j', 'e', 'c', 't', '*', '>', 0,
    'm', 'a', 'c', 'h', 'i', 'n', 'e', 'H', 'o', 's', 't', 'N', 'a', 'm', 'e', 0,
    'Q', 'S', 'y', 's', 'I', 'n', 'f', 'o', ':', ':', 'S', 'i', 'z', 'e', 's', 0,
    'w', 'r', 'i', 't', 'e', 'E', 'n', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'w', 'r', 'i', 't', 'e', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 's', 0,
    'w', 'r', 'i', 't', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', 0,
    'r', 'e', 'a', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'T', 'e', 'x', 't', 0,
    'c', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 'O', 'f', 'f', 's', 'e', 't', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'i', 's', 'S', 't', 'a', 'r', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 0,
    'A', 's', 's', 'u', 'm', 'e', 'L', 'o', 'c', 'a', 'l', 'F', 'i', 'l', 'e', 0,
    't', 'o', 'D', 'i', 's', 'p', 'l', 'a', 'y', 'S', 't', 'r', 'i', 'n', 'g', 0,
    's', 'e', 't', 'I', 'd', 'n', 'W', 'h', 'i', 't', 'e', 'l', 'i', 's', 't', 0,
    'P', 'r', 'e', 'f', 'e', 'r', 'L', 'o', 'c', 'a', 'l', 'F', 'i', 'l', 'e', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'A', 'u', 't', 'h', 'o', 'r', 'i', 't', 'y', 0,
    'h', 'a', 's', 'D', 'a', 'y', 'l', 'i', 'g', 'h', 't', 'T', 'i', 'm', 'e', 0,
    't', 'o', 'g', 'g', 'l', 'e', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'I', 'n', 'h', 'e', 'r', 'i', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'H', 'i', 'g', 'h', 'e', 's', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'h', 'r', 'e', 'a', 'd', 'I', 'd', 0,
    'l', 'o', 'w', 'e', 'r', 'c', 'a', 's', 'e', 'd', 'i', 'g', 'i', 't', 's', 0,
    'u', 'p', 'p', 'e', 'r', 'c', 'a', 's', 'e', 'd', 'i', 'g', 'i', 't', 's', 0,
    'U', 'p', 'p', 'e', 'r', 'c', 'a', 's', 'e', 'D', 'i', 'g', 'i', 't', 's', 0,
    'a', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 'C', 'o', 'd', 'e', 'c', 's', 0,
    'c', 'o', 'd', 'e', 'c', 'F', 'o', 'r', 'U', 't', 'f', 'T', 'e', 'x', 't', 0,
    'b', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 'R', 'e', 'a', 's', 'o', 'n', 's', 0,
    's', 'e', 't', 'F', 'i', 'l', 'e', 'T', 'e', 'm', 'p', 'l', 'a', 't', 'e', 0,
    's', 'e', 't', 'I', 'n', 'i', 't', 'i', 'a', 'l', 'S', 't', 'a', 't', 'e', 0,
    'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 'S', 't', 'a', 't', 'e', 's', 0,
    'L', 'o', 'c', 'a', 't', 'e', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'A', 'p', 'p', 'D', 'a', 't', 'a', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'R', 'u', 'n', 't', 'i', 'm', 'e', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'D', 'e', 's', 'k', 't', 'o', 'p', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'K', 'e', 'y', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 'R', 'e', 'g', 'E', 'x', 'p', 0,
    'Q', 'S', 'o', 'c', 'k', 'e', 't', 'N', 'o', 't', 'i', 'f', 'i', 'e', 'r', 0,
    's', 'e', 't', 'S', 'e', 'n', 'd', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'b', 'e', 'g', 'i', 'n', 'W', 'r', 'i', 't', 'e', 'A', 'r', 'r', 'a', 'y', 0,
    'h', 'a', 's', 'P', 'a', 'r', 't', 'i', 'a', 'l', 'M', 'a', 't', 'c', 'h', 0,
    'M', 'u', 'l', 't', 'i', 'l', 'i', 'n', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'N', 'o', 'P', 'a', 't', 't', 'e', 'r', 'n', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'm', 'o', 'v', 'e', 'B', 'o', 't', 't', 'o', 'm', 'R', 'i', 'g', 'h', 't', 0,
    't', 'r', 'y', 'L', 'o', 'c', 'k', 'F', 'o', 'r', 'W', 'r', 'i', 't', 'e', 0,
    's', 'e', 't', 'P', 'r', 'o', 'c', 'e', 's', 's', 'S', 't', 'a', 't', 'e', 0,
    'w', 'a', 'i', 't', 'F', 'o', 'r', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'm', 'a', 'n', 'h', 'a', 't', 't', 'a', 'n', 'L', 'e', 'n', 'g', 't', 'h', 0,
    's', 't', 'a', 't', 'i', 'c', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 's', 0,
    's', 'e', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'T', 'a', 'r', 'g', 'e', 't', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'Q', 'P', 'a', 'u', 's', 'e', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'A', 'n', 'd', 'r', 'o', 'i', 'd', 'L', 'o', 'l', 'l', 'i', 'p', 'o', 'p', 0,
    'M', 'a', 'c', 'O', 'S', 'H', 'i', 'g', 'h', 'S', 'i', 'e', 'r', 'r', 'a', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'e', 'n', 'u', 'm', 'e', 'r', 'a', 't', 'o', 'r', 'C', 'o', 'u', 'n', 't', 0,
    'c', 'l', 'a', 's', 's', 'I', 'n', 'f', 'o', 'O', 'f', 'f', 's', 'e', 't', 0,
    'Q', 'T', '_', 'T', 'R', '_', 'N', 'O', 'O', 'P', '_', 'U', 'T', 'F', '8', 0,
    'p', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'S', 'u', 'f', 'f', 'i', 'x', 0,
    'p', 'a', 'r', 'e', 'n', 't', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 's', 0,
    'g', 'e', 'n', 'e', 'r', 'i', 'c', 'I', 'c', 'o', 'n', 'N', 'a', 'm', 'e', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 'F', 'o', 'r', 'D', 'a', 't', 'a', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 'F', 'o', 'r', 'F', 'i', 'l', 'e', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 'F', 'o', 'r', 'N', 'a', 'm', 'e', 0,
    'Q', 'M', 'e', 't', 'a', 'T', 'y', 'p', 'e', ':', ':', 'T', 'y', 'p', 'e', 0,
    'h', 'a', 's', 'N', 'o', 't', 'i', 'f', 'y', 'S', 'i', 'g', 'n', 'a', 'l', 0,
    'm', 'e', 't', 'h', 'o', 'd', 'S', 'i', 'g', 'n', 'a', 't', 'u', 'r', 'e', 0,
    'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 'E', 'r', 'r', 'o', 'r', 0,
    'L', 'o', 'c', 'k', 'F', 'a', 'i', 'l', 'e', 'd', 'E', 'r', 'r', 'o', 'r', 0,
    'm', 'a', 't', 'c', 'h', 'i', 'n', 'g', 'L', 'o', 'c', 'a', 'l', 'e', 's', 0,
    'C', 'u', 'r', 'r', 'e', 'n', 'c', 'y', 'I', 's', 'o', 'C', 'o', 'd', 'e', 0,
    'B', 'h', 'a', 'i', 'k', 's', 'u', 'k', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'K', 'h', 'u', 'd', 'a', 'w', 'a', 'd', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'l', 'd', 'P', 'e', 'r', 'm', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'P', 'a', 'u', 'C', 'i', 'n', 'H', 'a', 'u', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'P', 'a', 'l', 'm', 'y', 'r', 'e', 'n', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'N', 'a', 'b', 'a', 't', 'a', 'e', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'u', 'n', 'd', 'a', 'n', 'e', 's', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'C', 'u', 'n', 'e', 'i', 'f', 'o', 'r', 'm', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'a', 'm', 'a', 'r', 'i', 't', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'l', 'd', 'I', 't', 'a', 'l', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'N', 'e', 'w', 'T', 'a', 'i', 'L', 'u', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'M', 'a', 'l', 'a', 'y', 'a', 'l', 'a', 'm', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'M', 'o', 'n', 'g', 'o', 'l', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', ':', ':', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'c', 'o', 'u', 'n', 't', 'r', 'y', 'T', 'o', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'O', 'u', 't', 'l', 'y', 'i', 'n', 'g', 'O', 'c', 'e', 'a', 'n', 'i', 'a', 0,
    'C', 'e', 'u', 't', 'a', 'A', 'n', 'd', 'M', 'e', 'l', 'i', 'l', 'l', 'a', 0,
    'A', 's', 'c', 'e', 'n', 's', 'i', 'o', 'n', 'I', 's', 'l', 'a', 'n', 'd', 0,
    'S', 'a', 'i', 'n', 't', 'B', 'a', 'r', 't', 'h', 'e', 'l', 'e', 'm', 'y', 0,
    'M', 'a', 'r', 's', 'h', 'a', 'l', 'l', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'F', 'r', 'e', 'n', 'c', 'h', 'P', 'o', 'l', 'y', 'n', 'e', 's', 'i', 'a', 0,
    'F', 'a', 'l', 'k', 'l', 'a', 'n', 'd', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'C', 'h', 'r', 'i', 's', 't', 'm', 'a', 's', 'I', 's', 'l', 'a', 'n', 'd', 0,
    'T', 'o', 'k', 'e', 'l', 'a', 'u', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'L', 'i', 't', 'e', 'r', 'a', 'r', 'y', 'C', 'h', 'i', 'n', 'e', 's', 'e', 0,
    'P', 'r', 'a', 'k', 'r', 'i', 't', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'A', 'n', 'c', 'i', 'e', 'n', 't', 'E', 'g', 'y', 'p', 't', 'i', 'a', 'n', 0,
    'N', 'o', 'r', 'w', 'e', 'g', 'i', 'a', 'n', 'B', 'o', 'k', 'm', 'a', 'l', 0,
    'Q', 'm', 'l', '2', 'I', 'm', 'p', 'o', 'r', 't', 's', 'P', 'a', 't', 'h', 0,
    'Q', 'J', 's', 'o', 'n', 'P', 'a', 'r', 's', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'I', 'n', 'd', 'e', 'x', 'e', 's', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'S', 't', 'a', 't', 'e', 0,
    'D', 'o', 'n', 't', 'C', 'l', 'o', 's', 'e', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    'A', 'u', 't', 'o', 'C', 'l', 'o', 's', 'e', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    'N', 'o', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'D', 'i', 'r', ':', ':', 'S', 'o', 'r', 't', 'F', 'l', 'a', 'g', 's', 0,
    't', 'o', 'O', 'f', 'f', 's', 'e', 't', 'F', 'r', 'o', 'm', 'U', 't', 'c', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    'D', 'o', 'u', 'b', 'l', 'e', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'S', 'i', 'n', 'g', 'l', 'e', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'r', 'e', 'a', 'd', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 'M', 'a', 'p', 0,
    'r', 'e', 'a', 'd', 'Q', 'S', 't', 'r', 'i', 'n', 'g', 'L', 'i', 's', 't', 0,
    'R', 'e', 'a', 'd', 'C', 'o', 'r', 'r', 'u', 'p', 't', 'D', 'a', 't', 'a', 0,
    'P', 'l', 'a', 't', 'f', 'o', 'r', 'm', 'S', 'u', 'r', 'f', 'a', 'c', 'e', 0,
    'G', 'e', 's', 't', 'u', 'r', 'e', 'O', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'U', 'n', 'b', 'l', 'o', 'c', 'k', 'e', 'd', 0,
    'q', 'A', 'd', 'd', 'P', 'o', 's', 't', 'R', 'o', 'u', 't', 'i', 'n', 'e', 0,
    'i', 's', 'S', 'e', 't', 'u', 'i', 'd', 'A', 'l', 'l', 'o', 'w', 'e', 'd', 0,
    'e', 'v', 'e', 'n', 't', 'D', 'i', 's', 'p', 'a', 't', 'c', 'h', 'e', 'r', 0,
    's', 'e', 't', 'L', 'i', 'b', 'r', 'a', 'r', 'y', 'P', 'a', 't', 'h', 's', 0,
    'a', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'c', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 0,
    'i', 'n', 's', 'e', 'r', 't', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'G', 'r', 'o', 'u', 'p', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'T', 'a', 'r', 'g', 'e', 't', 'S', 't', 'a', 't', 'e', 's', 0,
    'c', 'a', 'n', 'D', 'r', 'o', 'p', 'M', 'i', 'm', 'e', 'D', 'a', 't', 'a', 0,
    'b', 'e', 'g', 'i', 'n', 'R', 'e', 's', 'e', 't', 'M', 'o', 'd', 'e', 'l', 0,
    'b', 'e', 'g', 'i', 'n', 'R', 'e', 'm', 'o', 'v', 'e', 'R', 'o', 'w', 's', 0,
    'b', 'e', 'g', 'i', 'n', 'I', 'n', 's', 'e', 'r', 't', 'R', 'o', 'w', 's', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 's', 'I', 'n', 's', 'e', 'r', 't', 'e', 'd', 0,
    'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'P', 'o', 'i', 'n', 't', 'e', 'r', 0,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'T', 'i', 'm', 'e', 'r', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'L', 'o', 'o', 'p', 'T', 'i', 'm', 'e', 0,
    'K', 'e', 'e', 'p', 'W', 'h', 'e', 'n', 'S', 't', 'o', 'p', 'p', 'e', 'd', 0,
    'C', 'h', 'e', 'c', 'k', 's', 'u', 'm', 'I', 's', 'o', '3', '3', '0', '9', 0,
    'E', 'n', 't', 'e', 'r', 'K', 'e', 'y', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'Q', 't', ':', ':', 'S', 'c', 'r', 'o', 'l', 'l', 'P', 'h', 'a', 's', 'e', 0,
    'V', 'i', 's', 'u', 'a', 'l', 'M', 'o', 'v', 'e', 'S', 't', 'y', 'l', 'e', 0,
    'Q', 't', ':', ':', 'G', 'e', 's', 't', 'u', 'r', 'e', 'F', 'l', 'a', 'g', 0,
    'Q', 't', ':', ':', 'G', 'e', 's', 't', 'u', 'r', 'e', 'T', 'y', 'p', 'e', 0,
    'G', 'e', 's', 't', 'u', 'r', 'e', 'C', 'a', 'n', 'c', 'e', 'l', 'e', 'd', 0,
    'G', 'e', 's', 't', 'u', 'r', 'e', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'T', 'o', 'u', 'c', 'h', 'P', 'o', 'i', 'n', 't', 'M', 'o', 'v', 'e', 'd', 0,
    'Q', 't', ':', ':', 'A', 'n', 'c', 'h', 'o', 'r', 'P', 'o', 'i', 'n', 't', 0,
    'T', 'o', 'p', 'R', 'i', 'g', 'h', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'M', 'a', 't', 'c', 'h', 'S', 't', 'a', 'r', 't', 's', 'W', 'i', 't', 'h', 0,
    'Q', 't', ':', ':', 'D', 'r', 'o', 'p', 'A', 'c', 't', 'i', 'o', 'n', 's', 0,
    'Q', 't', ':', ':', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'C', 'a', 's', 'e', 'I', 'n', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', 0,
    'A', 'l', 'l', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'A', 'r', 'e', 'a', 's', 0,
    'L', 'e', 'f', 't', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'A', 'r', 'e', 'a', 0,
    'Q', 't', ':', ':', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'A', 'r', 'e', 'a', 0,
    'V', 'e', 'r', 'y', 'C', 'o', 'a', 'r', 's', 'e', 'T', 'i', 'm', 'e', 'r', 0,
    'K', 'e', 'e', 'p', 'A', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 0,
    'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'F', 'o', 'r', 'b', 'i', 'd', 'd', 'e', 'n', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'S', 'i', 'z', 'e', 'F', 'D', 'i', 'a', 'g', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'S', 'i', 'z', 'e', 'B', 'D', 'i', 'a', 'g', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'Q', 't', ':', ':', 'C', 'u', 'r', 's', 'o', 'r', 'S', 'h', 'a', 'p', 'e', 0,
    'U', 'I', '_', 'A', 'n', 'i', 'm', 'a', 't', 'e', 'C', 'o', 'm', 'b', 'o', 0,
    'Q', 't', ':', ':', 'P', 'e', 'n', 'C', 'a', 'p', 'S', 't', 'y', 'l', 'e', 0,
    'K', 'e', 'y', '_', 'M', 'i', 'c', 'V', 'o', 'l', 'u', 'm', 'e', 'U', 'p', 0,
    'K', 'e', 'y', '_', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'D', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'T', 'o', 'u', 'c', 'h', 'p', 'a', 'd', 'O', 'f', 'f', 0,
    'K', 'e', 'y', '_', 'C', 'a', 'm', 'e', 'r', 'a', 'F', 'o', 'c', 'u', 's', 0,
    'K', 'e', 'y', '_', 'A', 'u', 'd', 'i', 'o', 'R', 'e', 'p', 'e', 'a', 't', 0,
    'K', 'e', 'y', '_', 'M', 'a', 'i', 'l', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'K', 'e', 'y', '_', 'S', 'p', 'l', 'i', 't', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'K', 'e', 'y', '_', 'B', 'a', 'c', 'k', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'K', 'e', 'y', '_', 'A', 'u', 'd', 'i', 'o', 'R', 'e', 'w', 'i', 'n', 'd', 0,
    'K', 'e', 'y', '_', 'A', 'd', 'd', 'F', 'a', 'v', 'o', 'r', 'i', 't', 'e', 0,
    'K', 'e', 'y', '_', 'S', 'c', 'r', 'e', 'e', 'n', 'S', 'a', 'v', 'e', 'r', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', 'M', 'e', 'd', 'i', 'a', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'd', 'i', 'a', 'R', 'e', 'c', 'o', 'r', 'd', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'O', 'g', 'o', 'n', 'e', 'k', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'M', 'a', 'c', 'r', 'o', 'n', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', '_', 'J', 'a', 'm', 'o', 0,
    'K', 'e', 'y', '_', 'E', 'i', 's', 'u', '_', 't', 'o', 'g', 'g', 'l', 'e', 0,
    'K', 'e', 'y', '_', 'M', 'o', 'd', 'e', '_', 's', 'w', 'i', 't', 'c', 'h', 0,
    'K', 'e', 'y', '_', 'U', 'c', 'i', 'r', 'c', 'u', 'm', 'f', 'l', 'e', 'x', 0,
    'K', 'e', 'y', '_', 'O', 'c', 'i', 'r', 'c', 'u', 'm', 'f', 'l', 'e', 'x', 0,
    'K', 'e', 'y', '_', 'I', 'c', 'i', 'r', 'c', 'u', 'm', 'f', 'l', 'e', 'x', 0,
    'K', 'e', 'y', '_', 'E', 'c', 'i', 'r', 'c', 'u', 'm', 'f', 'l', 'e', 'x', 0,
    'K', 'e', 'y', '_', 'A', 'c', 'i', 'r', 'c', 'u', 'm', 'f', 'l', 'e', 'x', 0,
    'K', 'e', 'y', '_', 'o', 'n', 'e', 's', 'u', 'p', 'e', 'r', 'i', 'o', 'r', 0,
    'K', 'e', 'y', '_', 't', 'w', 'o', 's', 'u', 'p', 'e', 'r', 'i', 'o', 'r', 0,
    'K', 'e', 'y', '_', 'o', 'r', 'd', 'f', 'e', 'm', 'i', 'n', 'i', 'n', 'e', 0,
    'K', 'e', 'y', '_', 'A', 's', 'c', 'i', 'i', 'C', 'i', 'r', 'c', 'u', 'm', 0,
    'K', 'e', 'y', '_', 'B', 'r', 'a', 'c', 'k', 'e', 't', 'L', 'e', 'f', 't', 0,
    'K', 'e', 'y', '_', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', '_', 'R', 0,
    'K', 'e', 'y', '_', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', '_', 'L', 0,
    'T', 'r', 'a', 'n', 's', 'p', 'a', 'r', 'e', 'n', 't', 'M', 'o', 'd', 'e', 0,
    'T', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', 'D', 'i', 't', 'h', 'e', 'r', 0,
    'W', 'A', '_', 'N', 'a', 't', 'i', 'v', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'S', 'm', 'a', 'l', 'l', 'S', 'i', 'z', 'e', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'M', 'a', 'x', 'i', 'm', 'i', 'z', 'e', 'd', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'M', 'i', 'n', 'i', 'm', 'i', 'z', 'e', 'd', 0,
    'Q', 't', ':', ':', 'W', 'i', 'n', 'd', 'o', 'w', 'S', 't', 'a', 't', 'e', 0,
    'Q', 't', ':', ':', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'l', 'a', 'g', 's', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'T', 'i', 't', 'l', 'e', 'H', 'i', 'n', 't', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', '_', 'M', 'a', 's', 'k', 0,
    'D', 'e', 's', 'c', 'e', 'n', 'd', 'i', 'n', 'g', 'O', 'r', 'd', 'e', 'r', 0,
    'Q', 't', ':', ':', 'F', 'o', 'c', 'u', 's', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 't', ':', ':', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 't', ':', ':', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'C', 'o', 'n', 't', 'r', 'o', 'l', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    'Q', 't', ':', ':', 'G', 'l', 'o', 'b', 'a', 'l', 'C', 'o', 'l', 'o', 'r', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'L', 'o', 'c', 'a', 'l', 'e', '>', 0,
    'p', 'r', 'o', 'd', 'u', 'c', 't', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'P', 'a', 'i', 'r', '<', 'i', 'n', 't', ',', 'i', 'n', 't', '>', 0,
    'w', 'r', 'i', 't', 'e', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 0,
    'w', 'r', 'i', 't', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'a', 'u', 't', 'o', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 0,
    'e', 'n', 't', 'i', 't', 'y', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 0,
    'i', 's', 'S', 't', 'a', 'r', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'Q', 'W', 'a', 'i', 't', 'C', 'o', 'n', 'd', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'V', 'e', 'r', 's', 'i', 'o', 'n', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', ':', ':', 'T', 'y', 'p', 'e', 0,
    'Q', 'U', 'u', 'i', 'd', ':', ':', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'U', 'u', 'i', 'd', ':', ':', 'V', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 'V', 'a', 'l', 'u', 'e', 0,
    'f', 'r', 'o', 'm', 'S', 't', 'r', 'i', 'n', 'g', 'L', 'i', 's', 't', 0,
    't', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'D', 'o', 'm', 'a', 'i', 'n', 0,
    'D', 'e', 'c', 'o', 'd', 'e', 'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 0,
    'E', 'n', 'c', 'o', 'd', 'e', 'R', 'e', 's', 'e', 'r', 'v', 'e', 'd', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'F', 'i', 'l', 'e', 'n', 'a', 'm', 'e', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'U', 's', 'e', 'r', 'I', 'n', 'f', 'o', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'P', 'a', 's', 's', 'w', 'o', 'r', 'd', 0,
    's', 'y', 's', 't', 'e', 'm', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', 0,
    'n', 'e', 'x', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'h', 'a', 's', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 's', 0,
    's', 'e', 't', 'E', 'a', 's', 'i', 'n', 'g', 'C', 'u', 'r', 'v', 'e', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    'E', 'a', 's', 'e', 'I', 'n', 'O', 'u', 't', 'C', 'u', 'r', 'v', 'e', 0,
    'm', 'a', 'x', 'T', 'h', 'r', 'e', 'a', 'd', 'C', 'o', 'u', 'n', 't', 0,
    'g', 'l', 'o', 'b', 'a', 'l', 'I', 'n', 's', 't', 'a', 'n', 'c', 'e', 0,
    'L', 'o', 'w', 'e', 's', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'q', 'S', 'e', 't', 'F', 'i', 'e', 'l', 'd', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'I', 'n', 't', 'e', 'g', 'e', 'r', 'B', 'a', 's', 'e', 0,
    's', 'e', 't', 'N', 'u', 'm', 'b', 'e', 'r', 'F', 'l', 'a', 'g', 's', 0,
    'f', 'i', 'e', 'l', 'd', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    's', 'k', 'i', 'p', 'W', 'h', 'i', 't', 'e', 'S', 'p', 'a', 'c', 'e', 0,
    'c', 'o', 'd', 'e', 'c', 'F', 'o', 'r', 'L', 'o', 'c', 'a', 'l', 'e', 0,
    't', 'o', 'N', 'e', 'x', 't', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 0,
    'M', 'a', 'n', 'd', 'a', 't', 'o', 'r', 'y', 'B', 'r', 'e', 'a', 'k', 0,
    'Q', 'T', 'e', 'm', 'p', 'o', 'r', 'a', 'r', 'y', 'F', 'i', 'l', 'e', 0,
    'm', 'o', 'u', 'n', 't', 'e', 'd', 'V', 'o', 'l', 'u', 'm', 'e', 's', 0,
    'f', 'i', 'l', 'e', 'S', 'y', 's', 't', 'e', 'm', 'T', 'y', 'p', 'e', 0,
    'r', 'u', 'n', 'n', 'i', 'n', 'g', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'a', 's', 's', 'i', 'g', 'n', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'P', 'a', 'r', 'a', 'l', 'l', 'e', 'l', 'S', 't', 'a', 't', 'e', 's', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'T', 'e', 's', 't', 'M', 'o', 'd', 'e', 0,
    'f', 'i', 'n', 'd', 'E', 'x', 'e', 'c', 'u', 't', 'a', 'b', 'l', 'e', 0,
    'M', 'o', 'v', 'i', 'e', 's', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'P', 'a', 't', 'h', 's', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'M', 'a', 'p', 'p', 'i', 'n', 'g', 's', 0,
    'O', 'u', 't', 'O', 'f', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 's', 0,
    'b', 'e', 'g', 'i', 'n', 'R', 'e', 'a', 'd', 'A', 'r', 'r', 'a', 'y', 0,
    'c', 'a', 'p', 't', 'u', 'r', 'e', 'd', 'L', 'e', 'n', 'g', 't', 'h', 0,
    'p', 'a', 't', 't', 'e', 'r', 'n', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'C', 'a', 'r', 'e', 't', 'W', 'o', 'n', 't', 'M', 'a', 't', 'c', 'h', 0,
    'W', '3', 'C', 'X', 'm', 'l', 'S', 'c', 'h', 'e', 'm', 'a', '1', '1', 0,
    'm', 'a', 'r', 'g', 'i', 'n', 's', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'm', 'o', 'v', 'e', 'B', 'o', 't', 't', 'o', 'm', 'L', 'e', 'f', 't', 0,
    's', 'e', 't', 'B', 'o', 't', 't', 'o', 'm', 'R', 'i', 'g', 'h', 't', 0,
    't', 'r', 'y', 'L', 'o', 'c', 'k', 'F', 'o', 'r', 'R', 'e', 'a', 'd', 0,
    'Q', 'R', 'e', 'a', 'd', 'W', 'r', 'i', 't', 'e', 'L', 'o', 'c', 'k', 0,
    'w', 'a', 'i', 't', 'F', 'o', 'r', 'S', 't', 'a', 'r', 't', 'e', 'd', 0,
    's', 'e', 't', 'R', 'e', 'a', 'd', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    'M', 'e', 'r', 'g', 'e', 'd', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 's', 0,
    'n', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 'd', 'T', 'y', 'p', 'e', 0,
    'c', 'l', 'a', 's', 's', 'I', 'n', 'f', 'o', 'C', 'o', 'u', 'n', 't', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'O', 'f', 'f', 's', 'e', 't', 0,
    'Q', 'S', 'i', 'g', 'n', 'a', 'l', 'B', 'l', 'o', 'c', 'k', 'e', 'r', 0,
    'd', 'u', 'm', 'p', 'O', 'b', 'j', 'e', 'c', 't', 'T', 'r', 'e', 'e', 0,
    'd', 'u', 'm', 'p', 'O', 'b', 'j', 'e', 'c', 't', 'I', 'n', 'f', 'o', 0,
    's', 'i', 'g', 'n', 'a', 'l', 's', 'B', 'l', 'o', 'c', 'k', 'e', 'd', 0,
    'q', 'F', 'l', 'o', 'a', 't', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 'F', 'o', 'r', 'U', 'r', 'l', 0,
    'M', 'a', 't', 'c', 'h', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 0,
    'Q', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', 'L', 'i', 's', 't', 0,
    'Q', 'M', 'e', 't', 'a', 'C', 'l', 'a', 's', 's', 'I', 'n', 'f', 'o', 0,
    'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'C', 'o', 'u', 'n', 't', 0,
    'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'N', 'a', 'm', 'e', 's', 0,
    'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'T', 'y', 'p', 'e', 's', 0,
    'Q', 'M', 'e', 's', 's', 'a', 'g', 'e', 'L', 'o', 'g', 'g', 'e', 'r', 0,
    's', 'c', 'r', 'i', 'p', 't', 'T', 'o', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 'c', 'y', 'S', 'y', 'm', 'b', 'o', 'l', 0,
    'f', 'i', 'r', 's', 't', 'D', 'a', 'y', 'O', 'f', 'W', 'e', 'e', 'k', 0,
    'C', 'u', 'r', 'r', 'e', 'n', 'c', 'y', 'S', 'y', 'm', 'b', 'o', 'l', 0,
    'M', 'a', 'h', 'a', 'j', 'a', 'n', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'D', 'u', 'p', 'l', 'o', 'y', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'B', 'a', 's', 's', 'a', 'V', 'a', 'h', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'H', 'i', 'r', 'a', 'g', 'a', 'n', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'U', 'g', 'a', 'r', 'i', 't', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'a', 'g', 'b', 'a', 'n', 'w', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'M', 'e', 'r', 'o', 'i', 't', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'M', 'a', 'n', 'd', 'a', 'e', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'K', 'a', 't', 'a', 'k', 'a', 'n', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'J', 'a', 'v', 'a', 'n', 'e', 's', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'B', 'u', 'g', 'i', 'n', 'e', 's', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'B', 'a', 'l', 'i', 'n', 'e', 's', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'J', 'a', 'p', 'a', 'n', 'e', 's', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'G', 'u', 'j', 'a', 'r', 'a', 't', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'G', 'e', 'o', 'r', 'g', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'E', 't', 'h', 'i', 'o', 'p', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'C', 'h', 'e', 'r', 'o', 'k', 'e', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'A', 'r', 'm', 'e', 'n', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'i', 'f', 'i', 'n', 'a', 'g', 'h', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'G', 'u', 'r', 'm', 'u', 'k', 'h', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'C', 'y', 'r', 'i', 'l', 'l', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'I', 'm', 'p', 'e', 'r', 'i', 'a', 'l', 'S', 'y', 's', 't', 'e', 'm', 0,
    'g', 'r', 'o', 'u', 'p', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    'd', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'T', 'o', 'k', 'e', 'l', 'a', 'u', 'C', 'o', 'u', 'n', 't', 'r', 'y', 0,
    'T', 'r', 'i', 's', 't', 'a', 'n', 'D', 'a', 'C', 'u', 'n', 'h', 'a', 0,
    'S', 'o', 'l', 'o', 'm', 'o', 'n', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'P', 'a', 'p', 'u', 'a', 'N', 'e', 'w', 'G', 'u', 'i', 'n', 'e', 'a', 0,
    'T', 'u', 'v', 'a', 'l', 'u', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'C', 'e', 'n', 't', 'r', 'a', 'l', 'K', 'u', 'r', 'd', 'i', 's', 'h', 0,
    'W', 'e', 's', 't', 'e', 'r', 'n', 'F', 'r', 'i', 's', 'i', 'a', 'n', 0,
    'K', 'o', 'y', 'r', 'a', 'b', 'o', 'r', 'o', 'S', 'e', 'n', 'n', 'i', 0,
    'N', 'o', 'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'f', 'r', 'o', 'm', 'B', 'i', 'n', 'a', 'r', 'y', 'D', 'a', 't', 'a', 0,
    'Q', 'I', 't', 'e', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'l', 'e', 'a', 'r', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'C', 'l', 'e', 'a', 'r', 'A', 'n', 'd', 'S', 'e', 'l', 'e', 'c', 't', 0,
    's', 'e', 't', 'E', 'r', 'r', 'o', 'r', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'b', 'y', 't', 'e', 's', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'H', 'i', 's', 't', 'o', 'r', 'y', 'T', 'y', 'p', 'e', 0,
    'S', 'h', 'a', 'l', 'l', 'o', 'w', 'H', 'i', 's', 't', 'o', 'r', 'y', 0,
    'e', 'x', 't', 'r', 'a', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', 's', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'S', 'u', 'f', 'f', 'i', 'x', 0,
    's', 'e', 't', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', 0,
    's', 'e', 't', 'E', 'v', 'e', 'n', 't', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'M', 'o', 'n', 'o', 't', 'o', 'n', 'i', 'c', 'C', 'l', 'o', 'c', 'k', 0,
    'S', 'u', 'b', 'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'i', 'e', 's', 0,
    'F', 'o', 'l', 'l', 'o', 'w', 'S', 'y', 'm', 'l', 'i', 'n', 'k', 's', 0,
    's', 'e', 't', 'S', 'e', 'a', 'r', 'c', 'h', 'P', 'a', 't', 'h', 's', 0,
    'i', 's', 'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 'P', 'a', 't', 'h', 0,
    'i', 's', 'R', 'e', 'l', 'a', 't', 'i', 'v', 'e', 'P', 'a', 't', 'h', 0,
    's', 'e', 't', 'N', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    'Q', 'D', 'i', 'r', ':', ':', 'S', 'o', 'r', 't', 'F', 'l', 'a', 'g', 0,
    'N', 'o', 'D', 'o', 't', 'A', 'n', 'd', 'D', 'o', 't', 'D', 'o', 't', 0,
    'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 'M', 'a', 's', 'k', 0,
    'Q', 'D', 'e', 'a', 'd', 'l', 'i', 'n', 'e', 'T', 'i', 'm', 'e', 'r', 0,
    'i', 's', 'D', 'a', 'y', 'l', 'i', 'g', 'h', 't', 'T', 'i', 'm', 'e', 0,
    's', 'h', 'o', 'r', 't', 'M', 'o', 'n', 't', 'h', 'N', 'a', 'm', 'e', 0,
    'R', 'e', 'a', 'd', 'O', 'n', 'l', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'U', 'n', 'g', 'r', 'a', 'b', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 0,
    'Q', 'u', 'e', 'r', 'y', 'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 0,
    'M', 'o', 'd', 'i', 'f', 'i', 'e', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 'c', 'o', 'n', 'T', 'e', 'x', 't', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'D', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'D', 'e', 'l', 'e', 't', 'e', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 0,
    'q', 'A', 'd', 'd', 'P', 'r', 'e', 'R', 'o', 'u', 't', 'i', 'n', 'e', 0,
    'a', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'P', 'i', 'd', 0,
    'd', 'i', 's', 'a', 'm', 'b', 'i', 'g', 'u', 'a', 't', 'i', 'o', 'n', 0,
    'a', 'd', 'd', 'L', 'i', 'b', 'r', 'a', 'r', 'y', 'P', 'a', 't', 'h', 0,
    'P', 'a', 'r', 's', 'e', 'A', 's', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'H', 'i', 'd', 'd', 'e', 'n', 'F', 'r', 'o', 'm', 'H', 'e', 'l', 'p', 0,
    's', 'e', 't', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'N', 'u', 'm', 'e', 'r', 'i', 'c', 'M', 'o', 'd', 'e', 0,
    'B', 'a', 's', 'e', '6', '4', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    'r', 'i', 'g', 'h', 't', 'J', 'u', 's', 't', 'i', 'f', 'i', 'e', 'd', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'C', 'o', 'u', 'n', 't', 0,
    't', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'T', 'a', 'r', 'g', 'e', 't', 'S', 't', 'a', 't', 'e', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 't', 'S', 'o', 'u', 'r', 'c', 'e', 'M', 'o', 'd', 'e', 'l', 0,
    'e', 'n', 'd', 'M', 'o', 'v', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 's', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'i', 'm', 'e', 0,
    'C', 'h', 'e', 'c', 'k', 's', 'u', 'm', 'I', 't', 'u', 'V', '4', '1', 0,
    'E', 'n', 't', 'e', 'r', 'K', 'e', 'y', 'S', 'e', 'a', 'r', 'c', 'h', 0,
    'E', 'n', 't', 'e', 'r', 'K', 'e', 'y', 'R', 'e', 't', 'u', 'r', 'n', 0,
    'A', 'd', 'd', 'T', 'o', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'G', 'e', 's', 't', 'u', 'r', 'e', 'U', 'p', 'd', 'a', 't', 'e', 'd', 0,
    'G', 'e', 's', 't', 'u', 'r', 'e', 'S', 't', 'a', 'r', 't', 'e', 'd', 0,
    'I', 'm', 'h', 'P', 'r', 'e', 'f', 'e', 'r', 'L', 'a', 't', 'i', 'n', 0,
    'T', 'o', 'p', 'L', 'e', 'f', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'M', 'i', 'n', 'i', 'm', 'u', 'm', 'D', 'e', 's', 'c', 'e', 'n', 't', 0,
    'A', 'A', '_', 'U', 's', 'e', 'O', 'p', 'e', 'n', 'G', 'L', 'E', 'S', 0,
    'Q', 't', ':', ':', 'M', 'a', 't', 'c', 'h', 'F', 'l', 'a', 'g', 's', 0,
    'M', 'a', 't', 'c', 'h', 'R', 'e', 'c', 'u', 'r', 's', 'i', 'v', 'e', 0,
    'I', 't', 'e', 'm', 'I', 's', 'T', 'r', 'i', 's', 't', 'a', 't', 'e', 0,
    'I', 't', 'e', 'm', 'I', 's', 'E', 'd', 'i', 't', 'a', 'b', 'l', 'e', 0,
    'C', 'h', 'e', 'c', 'k', 'S', 't', 'a', 't', 'e', 'R', 'o', 'l', 'e', 0,
    'F', 'o', 'r', 'e', 'g', 'r', 'o', 'u', 'n', 'd', 'R', 'o', 'l', 'e', 0,
    'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'R', 'o', 'l', 'e', 0,
    'D', 'e', 'c', 'o', 'r', 'a', 't', 'i', 'o', 'n', 'R', 'o', 'l', 'e', 0,
    'Q', 't', ':', ':', 'C', 'h', 'e', 'c', 'k', 'S', 't', 'a', 't', 'e', 0,
    'Q', 't', ':', ':', 'D', 'r', 'o', 'p', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'I', 'm', 'E', 'n', 't', 'e', 'r', 'K', 'e', 'y', 'T', 'y', 'p', 'e', 0,
    'I', 'm', 'P', 'l', 'a', 't', 'f', 'o', 'r', 'm', 'D', 'a', 't', 'a', 0,
    'T', 'a', 'b', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'W', 'i', 'd', 'g', 'e', 't', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'A', 'u', 't', 'o', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'T', 'o', 'p', 'R', 'i', 'g', 'h', 't', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'Q', 't', ':', ':', 'D', 'a', 't', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'T', 'o', 'p', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'A', 'r', 'e', 'a', 0,
    'Q', 't', ':', ':', 'T', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'D', 'r', 'a', 'g', 'L', 'i', 'n', 'k', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'D', 'r', 'a', 'g', 'M', 'o', 'v', 'e', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'D', 'r', 'a', 'g', 'C', 'o', 'p', 'y', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'O', 'p', 'e', 'n', 'H', 'a', 'n', 'd', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'U', 'I', '_', 'F', 'a', 'd', 'e', 'T', 'o', 'o', 'l', 't', 'i', 'p', 0,
    'U', 'I', '_', 'A', 'n', 'i', 'm', 'a', 't', 'e', 'M', 'e', 'n', 'u', 0,
    'T', 'e', 'x', 't', 'u', 'r', 'e', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'Q', 't', ':', ':', 'B', 'r', 'u', 's', 'h', 'S', 't', 'y', 'l', 'e', 0,
    'C', 'u', 's', 't', 'o', 'm', 'D', 'a', 's', 'h', 'L', 'i', 'n', 'e', 0,
    'D', 'a', 's', 'h', 'D', 'o', 't', 'D', 'o', 't', 'L', 'i', 'n', 'e', 0,
    'K', 'e', 'y', '_', 'T', 'o', 'u', 'c', 'h', 'p', 'a', 'd', 'O', 'n', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'd', 'i', 'a', 'P', 'a', 'u', 's', 'e', 0,
    'K', 'e', 'y', '_', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'K', 'B', 0,
    'K', 'e', 'y', '_', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'P', 'B', 0,
    'K', 'e', 'y', '_', 'O', 'f', 'f', 'i', 'c', 'e', 'H', 'o', 'm', 'e', 0,
    'K', 'e', 'y', '_', 'C', 'a', 'l', 'c', 'u', 'l', 'a', 't', 'o', 'r', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', 'M', 'a', 'i', 'l', 0,
    'K', 'e', 'y', '_', 'T', 'r', 'e', 'b', 'l', 'e', 'D', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'V', 'o', 'l', 'u', 'm', 'e', 'M', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'V', 'o', 'l', 'u', 'm', 'e', 'D', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'C', 'a', 'r', 'o', 'n', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'B', 'r', 'e', 'v', 'e', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'T', 'i', 'l', 'd', 'e', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'A', 'c', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'G', 'r', 'a', 'v', 'e', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', '_', 'E', 'n', 'd', 0,
    'K', 'e', 'y', '_', 'E', 'i', 's', 'u', '_', 'S', 'h', 'i', 'f', 't', 0,
    'K', 'e', 'y', '_', 'K', 'a', 'n', 'a', '_', 'S', 'h', 'i', 'f', 't', 0,
    'K', 'e', 'y', '_', 'y', 'd', 'i', 'a', 'e', 'r', 'e', 's', 'i', 's', 0,
    'K', 'e', 'y', '_', 'U', 'd', 'i', 'a', 'e', 'r', 'e', 's', 'i', 's', 0,
    'K', 'e', 'y', '_', 'O', 'd', 'i', 'a', 'e', 'r', 'e', 's', 'i', 's', 0,
    'K', 'e', 'y', '_', 'I', 'd', 'i', 'a', 'e', 'r', 'e', 's', 'i', 's', 0,
    'K', 'e', 'y', '_', 'E', 'd', 'i', 'a', 'e', 'r', 'e', 's', 'i', 's', 0,
    'K', 'e', 'y', '_', 'A', 'd', 'i', 'a', 'e', 'r', 'e', 's', 'i', 's', 0,
    'K', 'e', 'y', '_', 'o', 'n', 'e', 'q', 'u', 'a', 'r', 't', 'e', 'r', 0,
    'K', 'e', 'y', '_', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'e', 'd', 0,
    'K', 'e', 'y', '_', 'e', 'x', 'c', 'l', 'a', 'm', 'd', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'A', 's', 'c', 'i', 'i', 'T', 'i', 'l', 'd', 'e', 0,
    'K', 'e', 'y', '_', 'B', 'r', 'a', 'c', 'e', 'R', 'i', 'g', 'h', 't', 0,
    'K', 'e', 'y', '_', 'U', 'n', 'd', 'e', 'r', 's', 'c', 'o', 'r', 'e', 0,
    'K', 'e', 'y', '_', 'P', 'a', 'r', 'e', 'n', 'R', 'i', 'g', 'h', 't', 0,
    'K', 'e', 'y', '_', 'A', 'p', 'o', 's', 't', 'r', 'o', 'p', 'h', 'e', 0,
    'K', 'e', 'y', '_', 'N', 'u', 'm', 'b', 'e', 'r', 'S', 'i', 'g', 'n', 0,
    'K', 'e', 'y', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'L', 'o', 'c', 'k', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'N', 'o', 'S', 'h', 'a', 'd', 'o', 'w', 0,
    'W', 'A', '_', 'M', 'a', 'c', 'M', 'i', 'n', 'i', 'S', 'i', 'z', 'e', 0,
    'W', 'A', '_', 'A', 'c', 'c', 'e', 'p', 't', 'D', 'r', 'o', 'p', 's', 0,
    'W', 'A', '_', 'Q', 'u', 'i', 't', 'O', 'n', 'C', 'l', 'o', 's', 'e', 0,
    'W', 'A', '_', 'G', 'r', 'o', 'u', 'p', 'L', 'e', 'a', 'd', 'e', 'r', 0,
    'W', 'A', '_', 'M', 'o', 'u', 's', 'e', 'N', 'o', 'M', 'a', 's', 'k', 0,
    'W', 'A', '_', 'R', 'i', 'g', 'h', 't', 'T', 'o', 'L', 'e', 'f', 't', 0,
    'W', 'A', '_', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'S', 'i', 'z', 'e', 0,
    'M', 'S', 'W', 'i', 'n', 'd', 'o', 'w', 's', 'O', 'w', 'n', 'D', 'C', 0,
    'Q', 't', ':', ':', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 0,
    'T', 'e', 'x', 't', 'E', 'x', 'p', 'a', 'n', 'd', 'T', 'a', 'b', 's', 0,
    'T', 'e', 'x', 't', 'S', 'i', 'n', 'g', 'l', 'e', 'L', 'i', 'n', 'e', 0,
    'A', 's', 'c', 'e', 'n', 'd', 'i', 'n', 'g', 'O', 'r', 'd', 'e', 'r', 0,
    'K', 'e', 'y', 'p', 'a', 'd', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    'k', 'e', 'r', 'n', 'e', 'l', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'i', 's', 'E', 'n', 'd', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'q', 'u', 'a', 'l', 'i', 'f', 'i', 'e', 'd', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'K', 'e', 'y', 'V', 'a', 'l', 'u', 'e', 'A', 't', 0,
    's', 'e', 't', 'S', 't', 'a', 'r', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'E', 'm', 'b', 'e', 'd', 'd', 'e', 'd', 'P', 'O', 'S', 'I', 'X', 0,
    's', 'e', 't', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 's', 0,
    'f', 'r', 'o', 'm', 'U', 's', 'e', 'r', 'I', 'n', 'p', 'u', 't', 0,
    'f', 'r', 'o', 'm', 'L', 'o', 'c', 'a', 'l', 'F', 'i', 'l', 'e', 0,
    'E', 'n', 'c', 'o', 'd', 'e', 'U', 'n', 'i', 'c', 'o', 'd', 'e', 0,
    'P', 'r', 'e', 't', 't', 'y', 'D', 'e', 'c', 'o', 'd', 'e', 'd', 0,
    's', 'e', 't', 'S', 'i', 'n', 'g', 'l', 'e', 'S', 'h', 'o', 't', 0,
    's', 'e', 't', 'C', 'u', 'r', 'v', 'e', 'S', 'h', 'a', 'p', 'e', 0,
    's', 'e', 't', 'F', 'r', 'a', 'm', 'e', 'R', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'S', 't', 'a', 'r', 't', 'F', 'r', 'a', 'm', 'e', 0,
    'r', 'e', 'l', 'e', 'a', 's', 'e', 'T', 'h', 'r', 'e', 'a', 'd', 0,
    'r', 'e', 's', 'e', 'r', 'v', 'e', 'T', 'h', 'r', 'e', 'a', 'd', 0,
    'e', 'x', 'p', 'i', 'r', 'y', 'T', 'i', 'm', 'e', 'o', 'u', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'h', 'r', 'e', 'a', 'd', 0,
    'l', 'o', 'w', 'e', 'r', 'c', 'a', 's', 'e', 'b', 'a', 's', 'e', 0,
    'u', 'p', 'p', 'e', 'r', 'c', 'a', 's', 'e', 'b', 'a', 's', 'e', 0,
    's', 'e', 't', 'F', 'i', 'e', 'l', 'd', 'W', 'i', 'd', 't', 'h', 0,
    'U', 'p', 'p', 'e', 'r', 'c', 'a', 's', 'e', 'B', 'a', 's', 'e', 0,
    'F', 'i', 'x', 'e', 'd', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'S', 'm', 'a', 'r', 't', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'a', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 'M', 'i', 'b', 's', 0,
    'N', 'o', 't', 'A', 't', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'R', 'e', 'm', 'o', 'v', 'e', 0,
    'Q', 'T', 'e', 'm', 'p', 'o', 'r', 'a', 'r', 'y', 'D', 'i', 'r', 0,
    's', 'e', 't', 'S', 't', 'r', 'i', 'n', 'g', 'L', 'i', 's', 't', 0,
    'c', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'a', 't', 'e', 'M', 'a', 'c', 'h', 'i', 'n', 'e', 0,
    'a', 'd', 'd', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'E', 'r', 'r', 'o', 'r', 'S', 't', 'a', 't', 'e', 0,
    'M', 'u', 's', 'i', 'c', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'F', 'o', 'n', 't', 's', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 'R', 'o', 'l', 'e', 0,
    's', 'i', 'g', 'n', 'a', 'l', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'S', 'i', 'g', 'n', 'a', 'l', 'M', 'a', 'p', 'p', 'e', 'r', 0,
    'A', 'l', 'r', 'e', 'a', 'd', 'y', 'E', 'x', 'i', 's', 't', 's', 0,
    'Q', 'S', 'h', 'a', 'r', 'e', 'd', 'M', 'e', 'm', 'o', 'r', 'y', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'A', 'r', 'r', 'a', 'y', 'I', 'n', 'd', 'e', 'x', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'c', 'a', 'n', 'c', 'e', 'l', 'W', 'r', 'i', 't', 'i', 'n', 'g', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'D', 'e', 'l', 'e', 't', 'e', 0,
    'c', 'a', 'p', 't', 'u', 'r', 'e', 'd', 'S', 't', 'a', 'r', 't', 0,
    'N', 'o', 'M', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'c', 'a', 'p', 't', 'u', 'r', 'e', 'd', 'T', 'e', 'x', 't', 's', 0,
    'm', 'a', 't', 'c', 'h', 'e', 'd', 'L', 'e', 'n', 'g', 't', 'h', 0,
    'p', 'a', 't', 't', 'e', 'r', 'n', 'S', 'y', 'n', 't', 'a', 'x', 0,
    'C', 'a', 'r', 'e', 't', 'A', 't', 'O', 'f', 'f', 's', 'e', 't', 0,
    't', 'o', 'A', 'l', 'i', 'g', 'n', 'e', 'd', 'R', 'e', 'c', 't', 0,
    's', 'e', 't', 'B', 'o', 't', 't', 'o', 'm', 'L', 'e', 'f', 't', 0,
    'r', 'e', 'a', 'd', 'W', 'r', 'i', 't', 'e', 'L', 'o', 'c', 'k', 0,
    'r', 'e', 'c', 'u', 'r', 's', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'e', 'r', 'r', 'o', 'r', 'O', 'c', 'c', 'u', 'r', 'r', 'e', 'd', 0,
    's', 't', 'a', 'r', 't', 'D', 'e', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'F', 'a', 'i', 'l', 'e', 'd', 'T', 'o', 'S', 't', 'a', 'r', 't', 0,
    'Q', 'P', 'l', 'u', 'g', 'i', 'n', 'L', 'o', 'a', 'd', 'e', 'r', 0,
    'A', 'n', 'd', 'r', 'o', 'i', 'd', 'N', 'o', 'u', 'g', 'a', 't', 0,
    'A', 'n', 'd', 'r', 'o', 'i', 'd', 'K', 'i', 't', 'K', 'a', 't', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'S', 'i', 'g', 'n', 'a', 'l', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'M', 'e', 't', 'h', 'o', 'd', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'C', 'o', 'u', 'n', 't', 0,
    's', 'e', 't', 'O', 'b', 'j', 'e', 'c', 't', 'N', 'a', 'm', 'e', 0,
    'p', 'y', 'q', 't', 'C', 'o', 'n', 'f', 'i', 'g', 'u', 'r', 'e', 0,
    'Q', 'M', 'i', 'm', 'e', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'I', 'n', 'd', 'e', 'x', 0,
    'Q', 'M', 'e', 't', 'a', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    'q', 'E', 'r', 'r', 'n', 'o', 'W', 'a', 'r', 'n', 'i', 'n', 'g', 0,
    'Q', 't', 'C', 'r', 'i', 't', 'i', 'c', 'a', 'l', 'M', 's', 'g', 0,
    's', 't', 'a', 'l', 'e', 'L', 'o', 'c', 'k', 'T', 'i', 'm', 'e', 0,
    'M', 'a', 'r', 'c', 'h', 'e', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'M', 'u', 'l', 't', 'a', 'n', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'i', 'r', 'h', 'u', 't', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'i', 'd', 'd', 'h', 'a', 'm', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'L', 'i', 'n', 'e', 'a', 'r', 'A', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'G', 'r', 'a', 'n', 't', 'h', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'E', 'l', 'b', 'a', 's', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'B', 'r', 'a', 'i', 'l', 'l', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'a', 'i', 'V', 'i', 'e', 't', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'a', 'g', 'a', 'l', 'o', 'g', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'h', 'a', 'v', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'h', 'a', 'r', 'a', 'd', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'P', 'h', 'a', 'g', 's', 'P', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 's', 'm', 'a', 'n', 'y', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'l', 'C', 'h', 'i', 'k', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'L', 'i', 'n', 'e', 'a', 'r', 'B', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'K', 'a', 'y', 'a', 'h', 'L', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'H', 'a', 'n', 'u', 'n', 'o', 'o', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'C', 'y', 'p', 'r', 'i', 'o', 't', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'A', 'v', 'e', 's', 't', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'i', 'n', 'h', 'a', 'l', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'i', 'b', 'e', 't', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'M', 'y', 'a', 'n', 'm', 'a', 'r', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'K', 'a', 'n', 'n', 'a', 'd', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'B', 'e', 'n', 'g', 'a', 'l', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'D', 'e', 's', 'e', 'r', 'e', 't', 'S', 'c', 'r', 'i', 'p', 't', 0,
    't', 'e', 'x', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'n', 'u', 'm', 'b', 'e', 'r', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'E', 'u', 'r', 'o', 'p', 'e', 'a', 'n', 'U', 'n', 'i', 'o', 'n', 0,
    'T', 'u', 'v', 'a', 'l', 'u', 'C', 'o', 'u', 'n', 't', 'r', 'y', 0,
    'C', 'a', 'n', 'a', 'r', 'y', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'C', 'o', 'n', 'g', 'o', 'K', 'i', 'n', 's', 'h', 'a', 's', 'a', 0,
    'W', 'e', 's', 't', 'e', 'r', 'n', 'S', 'a', 'h', 'a', 'r', 'a', 0,
    'U', 'n', 'i', 't', 'e', 'd', 'K', 'i', 'n', 'g', 'd', 'o', 'm', 0,
    'N', 'o', 'r', 'f', 'o', 'l', 'k', 'I', 's', 'l', 'a', 'n', 'd', 0,
    'L', 'i', 'e', 'c', 'h', 't', 'e', 'n', 's', 't', 'e', 'i', 'n', 0,
    'C', 'z', 'e', 'c', 'h', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c', 0,
    'C', 'a', 'y', 'm', 'a', 'n', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'A', 'm', 'e', 'r', 'i', 'c', 'a', 'n', 'S', 'a', 'm', 'o', 'a', 0,
    'L', 'u', 'x', 'e', 'm', 'b', 'o', 'u', 'r', 'g', 'i', 's', 'h', 0,
    'S', 'o', 'u', 't', 'h', 'e', 'r', 'n', 'S', 'o', 't', 'h', 'o', 0,
    'M', 'a', 'k', 'h', 'u', 'w', 'a', 'M', 'e', 'e', 't', 't', 'o', 0,
    'N', 'o', 'r', 't', 'h', 'e', 'r', 'n', 'S', 'o', 't', 'h', 'o', 0,
    'S', 'e', 'r', 'b', 'o', 'C', 'r', 'o', 'a', 't', 'i', 'a', 'n', 0,
    'R', 'h', 'a', 'e', 't', 'o', 'R', 'o', 'm', 'a', 'n', 'c', 'e', 0,
    'N', 'a', 'u', 'r', 'u', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'L', 'i', 'b', 'r', 'a', 'r', 'i', 'e', 's', 'P', 'a', 't', 'h', 0,
    'Q', 'J', 's', 'o', 'n', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'M', 'i', 's', 's', 'i', 'n', 'g', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'I', 'l', 'l', 'e', 'g', 'a', 'l', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'i', 's', 'R', 'o', 'w', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'T', 'o', 'g', 'g', 'l', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 0,
    'S', 'e', 'l', 'e', 'c', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 0,
    'Q', 'H', 'i', 's', 't', 'o', 'r', 'y', 'S', 't', 'a', 't', 'e', 0,
    'Q', 'F', 'i', 'l', 'e', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', 0,
    'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'E', 'r', 'r', 'o', 'r', 0,
    'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    's', 'y', 'm', 'L', 'i', 'n', 'k', 'T', 'a', 'r', 'g', 'e', 't', 0,
    'Q', 'E', 'l', 'a', 'p', 's', 'e', 'd', 'T', 'i', 'm', 'e', 'r', 0,
    't', 'o', 'C', 'u', 'b', 'i', 'c', 'S', 'p', 'l', 'i', 'n', 'e', 0,
    'a', 'd', 'd', 'T', 'C', 'B', 'S', 'e', 'g', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'C', 'u', 's', 't', 'o', 'm', 'T', 'y', 'p', 'e', 0,
    'l', 'i', 's', 't', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    'a', 'd', 'd', 'S', 'e', 'a', 'r', 'c', 'h', 'P', 'a', 't', 'h', 0,
    'e', 'n', 't', 'r', 'y', 'I', 'n', 'f', 'o', 'L', 'i', 's', 't', 0,
    'c', 'a', 'n', 'o', 'n', 'i', 'c', 'a', 'l', 'P', 'a', 't', 'h', 0,
    'Q', 'D', 'i', 'r', ':', ':', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    'd', 'e', 'a', 'd', 'l', 'i', 'n', 'e', 'N', 'S', 'e', 'c', 's', 0,
    'o', 'f', 'f', 's', 'e', 't', 'F', 'r', 'o', 'm', 'U', 't', 'c', 0,
    'o', 'f', 'f', 's', 'e', 't', 'S', 'e', 'c', 'o', 'n', 'd', 's', 0,
    'f', 'r', 'o', 'm', 'J', 'u', 'l', 'i', 'a', 'n', 'D', 'a', 'y', 0,
    'l', 'o', 'n', 'g', 'M', 'o', 'n', 't', 'h', 'N', 'a', 'm', 'e', 0,
    'w', 'r', 'i', 't', 'e', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'P', 'l', 'a', 't', 'f', 'o', 'r', 'm', 'P', 'a', 'n', 'e', 'l', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'P', 'r', 'e', 'p', 'a', 'r', 'e', 0,
    'T', 'o', 'o', 'l', 'T', 'i', 'p', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'M', 'a', 'c', 'S', 'i', 'z', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'T', 'o', 'o', 'l', 'B', 'a', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'A', 'c', 't', 'i', 'o', 'n', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'A', 'c', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'B', 'l', 'o', 'c', 'k', 'e', 'd', 0,
    'E', 'n', 'a', 'b', 'l', 'e', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'T', 'a', 'b', 'l', 'e', 't', 'R', 'e', 'l', 'e', 'a', 's', 'e', 0,
    'U', 'p', 'd', 'a', 't', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 0,
    'L', 'a', 'y', 'o', 'u', 't', 'R', 'e', 'q', 'u', 'e', 's', 't', 0,
    'P', 'o', 'l', 'i', 's', 'h', 'R', 'e', 'q', 'u', 'e', 's', 't', 0,
    'C', 'h', 'i', 'l', 'd', 'P', 'o', 'l', 'i', 's', 'h', 'e', 'd', 0,
    't', 'e', 's', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'a', 'd', 'd', 'H', 'e', 'l', 'p', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', 's', 0,
    'l', 'e', 'f', 't', 'J', 'u', 's', 't', 'i', 'f', 'i', 'e', 'd', 0,
    't', 'a', 'k', 'e', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'm', 'a', 'p', 'F', 'r', 'o', 'm', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'e', 'n', 'd', 'R', 'e', 's', 'e', 't', 'M', 'o', 'd', 'e', 'l', 0,
    'b', 'e', 'g', 'i', 'n', 'M', 'o', 'v', 'e', 'R', 'o', 'w', 's', 0,
    'e', 'n', 'd', 'R', 'e', 'm', 'o', 'v', 'e', 'R', 'o', 'w', 's', 0,
    'e', 'n', 'd', 'I', 'n', 's', 'e', 'r', 't', 'R', 'o', 'w', 's', 0,
    'l', 'a', 'y', 'o', 'u', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'i', 'n', 's', 'e', 'r', 't', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'D', 'a', 't', 'a', 0,
    'r', 'e', 'm', 'a', 'i', 'n', 'i', 'n', 'g', 'T', 'i', 'm', 'e', 0,
    'p', 'r', 'o', 'c', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 's', 0,
    't', 'o', 't', 'a', 'l', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'N', 'o', 'S', 'c', 'r', 'o', 'l', 'l', 'P', 'h', 'a', 's', 'e', 0,
    'W', 'h', 'i', 't', 'e', 'S', 'p', 'a', 'c', 'e', 'P', 'r', 'e', 0,
    'C', 'u', 's', 't', 'o', 'm', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'I', 'm', 'h', 'D', 'i', 'g', 'i', 't', 's', 'O', 'n', 'l', 'y', 0,
    'I', 'm', 'h', 'H', 'i', 'd', 'd', 'e', 'n', 'T', 'e', 'x', 't', 0,
    'B', 'o', 't', 't', 'o', 'm', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'P', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'S', 'i', 'z', 'e', 0,
    'A', 'A', '_', 'S', 'e', 't', 'P', 'a', 'l', 'e', 't', 't', 'e', 0,
    'M', 'a', 't', 'c', 'h', 'W', 'i', 'l', 'd', 'c', 'a', 'r', 'd', 0,
    'M', 'a', 't', 'c', 'h', 'E', 'n', 'd', 's', 'W', 'i', 't', 'h', 0,
    'M', 'a', 't', 'c', 'h', 'C', 'o', 'n', 't', 'a', 'i', 'n', 's', 0,
    'Q', 't', ':', ':', 'M', 'a', 't', 'c', 'h', 'F', 'l', 'a', 'g', 0,
    'Q', 't', ':', ':', 'I', 't', 'e', 'm', 'F', 'l', 'a', 'g', 's', 0,
    'I', 't', 'e', 'm', 'I', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'T', 'e', 'x', 't', 'C', 'o', 'l', 'o', 'r', 'R', 'o', 'l', 'e', 0,
    'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 'R', 'o', 'l', 'e', 0,
    'S', 't', 'a', 't', 'u', 's', 'T', 'i', 'p', 'R', 'o', 'l', 'e', 0,
    'N', 'o', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'N', 'o', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 'C', 'l', 'i', 'p', 0,
    'T', 'o', 'p', 'L', 'e', 'f', 't', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'Q', 't', ':', ':', 'D', 'a', 'y', 'O', 'f', 'W', 'e', 'e', 'k', 0,
    'O', 'f', 'f', 's', 'e', 't', 'F', 'r', 'o', 'm', 'U', 'T', 'C', 0,
    'I', 'S', 'O', 'D', 'a', 't', 'e', 'W', 'i', 't', 'h', 'M', 's', 0,
    'N', 'o', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'A', 'r', 'e', 'a', 0,
    'Q', 't', ':', ':', 'T', 'i', 'm', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    'S', 'i', 'z', 'e', 'A', 'l', 'l', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'S', 'i', 'z', 'e', 'H', 'o', 'r', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'S', 'i', 'z', 'e', 'V', 'e', 'r', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'U', 'p', 'A', 'r', 'r', 'o', 'w', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'D', 'e', 'n', 's', 'e', '7', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'D', 'e', 'n', 's', 'e', '6', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'D', 'e', 'n', 's', 'e', '5', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'D', 'e', 'n', 's', 'e', '4', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'D', 'e', 'n', 's', 'e', '3', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'D', 'e', 'n', 's', 'e', '2', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'D', 'e', 'n', 's', 'e', '1', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'M', 'P', 'e', 'n', 'J', 'o', 'i', 'n', 'S', 't', 'y', 'l', 'e', 0,
    'Q', 't', ':', ':', 'A', 'r', 'r', 'o', 'w', 'T', 'y', 'p', 'e', 0,
    'K', 'e', 'y', '_', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 'U', 'p', 0,
    'K', 'e', 'y', '_', 'V', 'o', 'i', 'c', 'e', 'D', 'i', 'a', 'l', 0,
    'K', 'e', 'y', '_', 'P', 'o', 'w', 'e', 'r', 'D', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'H', 'i', 'b', 'e', 'r', 'n', 'a', 't', 'e', 0,
    'K', 'e', 'y', '_', 'B', 'l', 'u', 'e', 't', 'o', 'o', 't', 'h', 0,
    'K', 'e', 'y', '_', 'M', 'e', 's', 's', 'e', 'n', 'g', 'e', 'r', 0,
    'K', 'e', 'y', '_', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 's', 0,
    'K', 'e', 'y', '_', 'C', 'l', 'e', 'a', 'r', 'G', 'r', 'a', 'b', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'm', 'm', 'u', 'n', 'i', 't', 'y', 0,
    'K', 'e', 'y', '_', 'L', 'i', 'g', 'h', 't', 'B', 'u', 'l', 'b', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'd', 'i', 'a', 'L', 'a', 's', 't', 0,
    'K', 'e', 'y', '_', 'F', 'a', 'v', 'o', 'r', 'i', 't', 'e', 's', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'd', 'i', 'a', 'N', 'e', 'x', 't', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'd', 'i', 'a', 'S', 't', 'o', 'p', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'd', 'i', 'a', 'P', 'l', 'a', 'y', 0,
    'K', 'e', 'y', '_', 'B', 'a', 's', 's', 'B', 'o', 'o', 's', 't', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'H', 'o', 'r', 'n', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'H', 'o', 'o', 'k', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'a', 'd', '_', 'I', 'o', 't', 'a', 0,
    'K', 'e', 'y', '_', 'K', 'a', 'n', 'a', '_', 'L', 'o', 'c', 'k', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'd', 'e', 'i', 'n', 'p', 'u', 't', 0,
    'K', 'e', 'y', '_', 'M', 'u', 'l', 't', 'i', '_', 'k', 'e', 'y', 0,
    'K', 'e', 'y', '_', 'm', 'a', 's', 'c', 'u', 'l', 'i', 'n', 'e', 0,
    'K', 'e', 'y', '_', 'p', 'a', 'r', 'a', 'g', 'r', 'a', 'p', 'h', 0,
    'K', 'e', 'y', '_', 'p', 'l', 'u', 's', 'm', 'i', 'n', 'u', 's', 0,
    'K', 'e', 'y', '_', 'c', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', 0,
    'K', 'e', 'y', '_', 'd', 'i', 'a', 'e', 'r', 'e', 's', 'i', 's', 0,
    'K', 'e', 'y', '_', 'b', 'r', 'o', 'k', 'e', 'n', 'b', 'a', 'r', 0,
    'K', 'e', 'y', '_', 'B', 'r', 'a', 'c', 'e', 'L', 'e', 'f', 't', 0,
    'K', 'e', 'y', '_', 'Q', 'u', 'o', 't', 'e', 'L', 'e', 'f', 't', 0,
    'K', 'e', 'y', '_', 'B', 'a', 'c', 'k', 's', 'l', 'a', 's', 'h', 0,
    'K', 'e', 'y', '_', 'S', 'e', 'm', 'i', 'c', 'o', 'l', 'o', 'n', 0,
    'K', 'e', 'y', '_', 'P', 'a', 'r', 'e', 'n', 'L', 'e', 'f', 't', 0,
    'K', 'e', 'y', '_', 'A', 'm', 'p', 'e', 'r', 's', 'a', 'n', 'd', 0,
    'K', 'e', 'y', '_', 'B', 'a', 'c', 'k', 's', 'p', 'a', 'c', 'e', 0,
    'O', 'r', 'd', 'e', 'r', 'e', 'd', 'D', 'i', 't', 'h', 'e', 'r', 0,
    'D', 'i', 'f', 'f', 'u', 's', 'e', 'D', 'i', 't', 'h', 'e', 'r', 0,
    'W', 'A', '_', 'S', 't', 'y', 'l', 'e', 'S', 'h', 'e', 'e', 't', 0,
    'W', 'A', '_', 'S', 'e', 't', 'P', 'a', 'l', 'e', 't', 't', 'e', 0,
    'W', 'A', '_', 'U', 'n', 'd', 'e', 'r', 'M', 'o', 'u', 's', 'e', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'N', 'o', 'S', 't', 'a', 't', 'e', 0,
    'F', 'o', 'r', 'e', 'i', 'g', 'n', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'T', 'e', 'x', 't', 'D', 'o', 'n', 't', 'P', 'r', 'i', 'n', 't', 0,
    'Q', 't', ':', ':', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'A', 'l', 'i', 'g', 'n', 'B', 'a', 's', 'e', 'l', 'i', 'n', 'e', 0,
    'A', 'l', 'i', 'g', 'n', 'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 0,
    'A', 'l', 'i', 'g', 'n', 'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 0,
    'Q', 't', ':', ':', 'S', 'o', 'r', 't', 'O', 'r', 'd', 'e', 'r', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '2', '4', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '2', '3', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '2', '2', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '2', '1', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '2', '0', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', '9', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', '8', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', '7', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', '6', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', '5', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', '4', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', '3', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', '2', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', '1', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', '0', 0,
    'F', 'o', 'r', 'w', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', 0,
    'U', 'N', 'I', 'C', 'O', 'D', 'E', '_', 'A', 'C', 'C', 'E', 'L', 0,
    'M', 'O', 'D', 'I', 'F', 'I', 'E', 'R', '_', 'M', 'A', 'S', 'K', 0,
    'S', 'h', 'i', 'f', 't', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    'q', 'F', 'u', 'z', 'z', 'y', 'C', 'o', 'm', 'p', 'a', 'r', 'e', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '<', 'i', 'n', 't', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'q', 'r', 'e', 'a', 'l', '>', 0,
    'w', 'r', 'i', 't', 'e', 'C', 'o', 'm', 'm', 'e', 'n', 't', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'i', 's', 'W', 'h', 'i', 't', 'e', 's', 'p', 'a', 'c', 'e', 0,
    'i', 's', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 's', 0,
    'i', 's', 'E', 'n', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', 0,
    'h', 'a', 's', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'U', 'r', 'i', 0,
    'c', 'o', 'm', 'm', 'o', 'n', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    'i', 's', 'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 'd', 0,
    'i', 'n', 't', 'e', 'r', 'p', 'o', 'l', 'a', 't', 'e', 'd', 0,
    's', 'e', 't', 'K', 'e', 'y', 'V', 'a', 'l', 'u', 'e', 's', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'U', 'u', 'i', 'd', 'V', '5', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'U', 'u', 'i', 'd', 'V', '3', 0,
    'a', 'd', 'd', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 0,
    'h', 'a', 's', 'Q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 0,
    'i', 'd', 'n', 'W', 'h', 'i', 't', 'e', 'l', 'i', 's', 't', 0,
    's', 'e', 't', 'A', 'u', 't', 'h', 'o', 'r', 'i', 't', 'y', 0,
    'F', 'u', 'l', 'l', 'y', 'D', 'e', 'c', 'o', 'd', 'e', 'd', 0,
    'F', 'u', 'l', 'l', 'y', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 0,
    'E', 'n', 'c', 'o', 'd', 'e', 'S', 'p', 'a', 'c', 'e', 's', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'S', 'c', 'h', 'e', 'm', 'e', 0,
    'T', 'o', 'l', 'e', 'r', 'a', 'n', 't', 'M', 'o', 'd', 'e', 0,
    'Q', 'U', 'r', 'l', 'T', 'w', 'o', 'F', 'l', 'a', 'g', 's', 0,
    'l', 'o', 'a', 'd', 'F', 'r', 'o', 'm', 'D', 'a', 't', 'a', 0,
    'a', 'b', 'b', 'r', 'e', 'v', 'i', 'a', 't', 'i', 'o', 'n', 0,
    'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'T', 'i', 'm', 'e', 0,
    'i', 's', 'S', 'i', 'n', 'g', 'l', 'e', 'S', 'h', 'o', 't', 0,
    'v', 'a', 'l', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'f', 'r', 'a', 'm', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'v', 'a', 'l', 'u', 'e', 'F', 'o', 'r', 'T', 'i', 'm', 'e', 0,
    'f', 'r', 'a', 'm', 'e', 'F', 'o', 'r', 'T', 'i', 'm', 'e', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'F', 'r', 'a', 'm', 'e', 0,
    'E', 'a', 's', 'e', 'O', 'u', 't', 'C', 'u', 'r', 'v', 'e', 0,
    's', 'e', 't', 'S', 't', 'a', 'c', 'k', 'S', 'i', 'z', 'e', 0,
    'I', 'd', 'l', 'e', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'n', 'o', 'f', 'o', 'r', 'c', 'e', 'p', 'o', 'i', 'n', 't', 0,
    'Q', 'T', 'e', 'x', 't', 'D', 'e', 'c', 'o', 'd', 'e', 'r', 0,
    'Q', 'T', 'e', 'x', 't', 'E', 'n', 'c', 'o', 'd', 'e', 'r', 0,
    'I', 'g', 'n', 'o', 'r', 'e', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    'c', 'o', 'd', 'e', 'c', 'F', 'o', 'r', 'H', 't', 'm', 'l', 0,
    'c', 'o', 'd', 'e', 'c', 'F', 'o', 'r', 'N', 'a', 'm', 'e', 0,
    'i', 's', 'A', 't', 'B', 'o', 'u', 'n', 'd', 'a', 'r', 'y', 0,
    'f', 'i', 'l', 'e', 'T', 'e', 'm', 'p', 'l', 'a', 't', 'e', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'V', 'a', 'l', 'u', 'e', 0,
    'Q', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'I', 'n', 'f', 'o', 0,
    'H', 'i', 'g', 'h', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    's', 'e', 't', 'C', 'h', 'i', 'l', 'd', 'M', 'o', 'd', 'e', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'S', 't', 'a', 't', 'e', 0,
    'H', 'o', 'm', 'e', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'T', 'e', 'm', 'p', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'R', 'e', 'g', 'E', 'x', 'p', 0,
    's', 'e', 'n', 'd', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', 0,
    's', 'e', 't', 'N', 'a', 't', 'i', 'v', 'e', 'K', 'e', 'y', 0,
    'N', 'a', 't', 'i', 'v', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'i', 's', 'C', 'o', 'm', 'p', 'r', 'e', 's', 's', 'e', 'd', 0,
    'm', 'a', 't', 'c', 'h', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'c', 'a', 'p', 't', 'u', 'r', 'e', 'C', 'o', 'u', 'n', 't', 0,
    'W', 'i', 'l', 'd', 'c', 'a', 'r', 'd', 'U', 'n', 'i', 'x', 0,
    'm', 'a', 'r', 'g', 'i', 'n', 's', 'A', 'd', 'd', 'e', 'd', 0,
    'm', 'o', 'v', 'e', 'T', 'o', 'p', 'R', 'i', 'g', 'h', 't', 0,
    'Q', 'W', 'r', 'i', 't', 'e', 'L', 'o', 'c', 'k', 'e', 'r', 0,
    'l', 'o', 'c', 'k', 'F', 'o', 'r', 'W', 'r', 'i', 't', 'e', 0,
    't', 'o', 'S', 't', 'r', 'i', 'n', 'g', 'L', 'i', 's', 't', 0,
    's', 'e', 't', 'A', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 0,
    't', 'a', 'r', 'g', 'e', 't', 'O', 'b', 'j', 'e', 'c', 't', 0,
    's', 'e', 'g', 'm', 'e', 'n', 't', 'C', 'o', 'u', 'n', 't', 0,
    'm', 'i', 'c', 'r', 'o', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'm', 'i', 'n', 'o', 'r', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'm', 'a', 'j', 'o', 'r', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'O', 'S', 'X', 'E', 'l', 'C', 'a', 'p', 'i', 't', 'a', 'n', 0,
    'O', 'S', 'X', 'M', 'a', 'v', 'e', 'r', 'i', 'c', 'k', 's', 0,
    'Q', '_', 'R', 'E', 'T', 'U', 'R', 'N', '_', 'A', 'R', 'G', 0,
    'i', 'n', 'v', 'o', 'k', 'e', 'M', 'e', 't', 'h', 'o', 'd', 0,
    'm', 'e', 't', 'h', 'o', 'd', 'O', 'f', 'f', 's', 'e', 't', 0,
    'u', 's', 'e', 'r', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'm', 'o', 'v', 'e', 'T', 'o', 'T', 'h', 'r', 'e', 'a', 'd', 0,
    'b', 'l', 'o', 'c', 'k', 'S', 'i', 'g', 'n', 'a', 'l', 's', 0,
    'i', 's', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 0,
    'i', 's', 'W', 'i', 'd', 'g', 'e', 't', 'T', 'y', 'p', 'e', 0,
    'f', 'i', 'n', 'd', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'N', 'o', 'n', 'R', 'e', 'c', 'u', 'r', 's', 'i', 'v', 'e', 0,
    'Q', 'M', 'u', 't', 'e', 'x', 'L', 'o', 'c', 'k', 'e', 'r', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'a', 'l', 'l', 'A', 'n', 'c', 'e', 's', 't', 'o', 'r', 's', 0,
    'g', 'l', 'o', 'b', 'P', 'a', 't', 't', 'e', 'r', 'n', 's', 0,
    'a', 'l', 'l', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 's', 0,
    'M', 'a', 't', 'c', 'h', 'C', 'o', 'n', 't', 'e', 'n', 't', 0,
    'M', 'a', 't', 'c', 'h', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'r', 'e', 't', 'r', 'i', 'e', 'v', 'e', 'D', 'a', 't', 'a', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'C', 'o', 'l', 'o', 'r', 'D', 'a', 't', 'a', 0,
    's', 'e', 't', 'I', 'm', 'a', 'g', 'e', 'D', 'a', 't', 'a', 0,
    'i', 's', 'R', 'e', 'g', 'i', 's', 't', 'e', 'r', 'e', 'd', 0,
    'Q', 'K', 'e', 'y', 'S', 'e', 'q', 'u', 'e', 'n', 'c', 'e', 0,
    'F', 'i', 'r', 's', 't', 'G', 'u', 'i', 'T', 'y', 'p', 'e', 0,
    'L', 'a', 's', 't', 'C', 'o', 'r', 'e', 'T', 'y', 'p', 'e', 0,
    'n', 'o', 't', 'i', 'f', 'y', 'S', 'i', 'g', 'n', 'a', 'l', 0,
    'i', 's', 'R', 'e', 's', 'e', 't', 't', 'a', 'b', 'l', 'e', 0,
    'h', 'a', 's', 'S', 't', 'd', 'C', 'p', 'p', 'S', 'e', 't', 0,
    'i', 's', 'S', 'c', 'r', 'i', 'p', 't', 'a', 'b', 'l', 'e', 0,
    'i', 's', 'D', 'e', 's', 'i', 'g', 'n', 'a', 'b', 'l', 'e', 0,
    'Q', 't', 'W', 'a', 'r', 'n', 'i', 'n', 'g', 'M', 's', 'g', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 'E', 'r', 'r', 'o', 'r', 0,
    'T', 'a', 'n', 'g', 'u', 't', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'H', 'a', 't', 'r', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'K', 'h', 'o', 'j', 'k', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'R', 'e', 'j', 'a', 'n', 'g', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'r', 'k', 'h', 'o', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'L', 'y', 'd', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'L', 'y', 'c', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'L', 'e', 'p', 'c', 'h', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'K', 'a', 'i', 't', 'h', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'H', 'a', 'n', 'g', 'u', 'l', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'G', 'o', 't', 'h', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'F', 'r', 'a', 's', 'e', 'r', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'C', 'o', 'p', 't', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'C', 'h', 'a', 'k', 'm', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'C', 'a', 'r', 'i', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'B', 'r', 'a', 'h', 'm', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'S', 'y', 'r', 'i', 'a', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'h', 'a', 'a', 'n', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'e', 'l', 'u', 'g', 'u', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'K', 'o', 'r', 'e', 'a', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'H', 'e', 'b', 'r', 'e', 'w', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'A', 'r', 'a', 'b', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'p', 'o', 's', 'i', 't', 'i', 'v', 'e', 'S', 'i', 'g', 'n', 0,
    'M', 'e', 't', 'r', 'i', 'c', 'S', 'y', 's', 't', 'e', 'm', 0,
    'n', 'e', 'g', 'a', 't', 'i', 'v', 'e', 'S', 'i', 'g', 'n', 0,
    'd', 'e', 'c', 'i', 'm', 'a', 'l', 'P', 'o', 'i', 'n', 't', 0,
    'N', 'a', 'r', 'r', 'o', 'w', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'A', 'l', 'a', 'n', 'd', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'U', 'n', 'i', 't', 'e', 'd', 'S', 't', 'a', 't', 'e', 's', 0,
    'T', 'u', 'r', 'k', 'm', 'e', 'n', 'i', 's', 't', 'a', 'n', 0,
    'N', 'e', 'w', 'C', 'a', 'l', 'e', 'd', 'o', 'n', 'i', 'a', 0,
    'N', 'a', 'u', 'r', 'u', 'C', 'o', 'u', 'n', 't', 'r', 'y', 0,
    'G', 'u', 'i', 'n', 'e', 'a', 'B', 'i', 's', 's', 'a', 'u', 0,
    'F', 'r', 'e', 'n', 'c', 'h', 'G', 'u', 'i', 'a', 'n', 'a', 0,
    'F', 'a', 'r', 'o', 'e', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'C', 'o', 'c', 'o', 's', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'B', 'o', 'u', 'v', 'e', 't', 'I', 's', 'l', 'a', 'n', 'd', 0,
    'N', 'o', 'r', 't', 'h', 'e', 'r', 'n', 'L', 'u', 'r', 'i', 0,
    'S', 'o', 'u', 't', 'h', 'e', 'r', 'n', 'S', 'a', 'm', 'i', 0,
    'U', 'p', 'p', 'e', 'r', 'S', 'o', 'r', 'b', 'i', 'a', 'n', 0,
    'L', 'o', 'w', 'e', 'r', 'S', 'o', 'r', 'b', 'i', 'a', 'n', 0,
    'N', 'o', 'r', 't', 'h', 'e', 'r', 'n', 'T', 'h', 'a', 'i', 0,
    'E', 'a', 's', 't', 'e', 'r', 'n', 'K', 'a', 'y', 'a', 'h', 0,
    'A', 'n', 'c', 'i', 'e', 'n', 't', 'G', 'r', 'e', 'e', 'k', 0,
    'C', 'o', 'n', 'g', 'o', 'S', 'w', 'a', 'h', 'i', 'l', 'i', 0,
    'K', 'a', 'b', 'u', 'v', 'e', 'r', 'd', 'i', 'a', 'n', 'u', 0,
    'N', 'o', 'r', 't', 'h', 'N', 'd', 'e', 'b', 'e', 'l', 'e', 0,
    'N', 'o', 'r', 't', 'h', 'e', 'r', 'n', 'S', 'a', 'm', 'i', 0,
    'S', 'o', 'u', 't', 'h', 'N', 'd', 'e', 'b', 'e', 'l', 'e', 0,
    'L', 'a', 's', 't', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'B', 'y', 'e', 'l', 'o', 'r', 'u', 's', 's', 'i', 'a', 'n', 0,
    'n', 'o', 'r', 'm', 'a', 'l', 'V', 'e', 'c', 't', 'o', 'r', 0,
    'i', 's', 'D', 'e', 'b', 'u', 'g', 'B', 'u', 'i', 'l', 'd', 0,
    'A', 'r', 'c', 'h', 'D', 'a', 't', 'a', 'P', 'a', 't', 'h', 0,
    'E', 'x', 'a', 'm', 'p', 'l', 'e', 's', 'P', 'a', 't', 'h', 0,
    'S', 'e', 't', 't', 'i', 'n', 'g', 's', 'P', 'a', 't', 'h', 0,
    'B', 'i', 'n', 'a', 'r', 'i', 'e', 's', 'P', 'a', 't', 'h', 0,
    'Q', 'L', 'i', 'b', 'r', 'a', 'r', 'y', 'I', 'n', 'f', 'o', 0,
    's', 'e', 't', 'L', 'o', 'a', 'd', 'H', 'i', 'n', 't', 's', 0,
    'D', 'e', 'e', 'p', 'B', 'i', 'n', 'd', 'H', 'i', 'n', 't', 0,
    't', 'o', 'B', 'i', 'n', 'a', 'r', 'y', 'D', 'a', 't', 'a', 0,
    'G', 'a', 'r', 'b', 'a', 'g', 'e', 'A', 't', 'E', 'n', 'd', 0,
    'I', 'l', 'l', 'e', 'g', 'a', 'l', 'V', 'a', 'l', 'u', 'e', 0,
    'm', 'o', 'd', 'e', 'l', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'R', 'o', 'w', 's', 0,
    'h', 'a', 's', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 0,
    'a', 'b', 'o', 'u', 't', 'T', 'o', 'C', 'l', 'o', 's', 'e', 0,
    'b', 'y', 't', 'e', 's', 'W', 'r', 'i', 't', 't', 'e', 'n', 0,
    'b', 'y', 't', 'e', 's', 'T', 'o', 'W', 'r', 'i', 't', 'e', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'S', 't', 'a', 't', 'e', 0,
    'a', 'l', 'l', 'S', 'e', 'l', 'e', 'c', 't', 'o', 'r', 's', 0,
    'i', 's', 'N', 'a', 't', 'i', 'v', 'e', 'P', 'a', 't', 'h', 0,
    'l', 'a', 's', 't', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'd', 0,
    'i', 's', 'E', 'x', 'e', 'c', 'u', 't', 'a', 'b', 'l', 'e', 0,
    'r', 'e', 'a', 'd', 'L', 'i', 'n', 'e', 'D', 'a', 't', 'a', 0,
    'i', 's', 'S', 'e', 'q', 'u', 'e', 'n', 't', 'i', 'a', 'l', 0,
    'T', 'i', 'm', 'e', 'O', 'u', 't', 'E', 'r', 'r', 'o', 'r', 0,
    's', 'e', 't', 'E', 'v', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    'n', 's', 'e', 'c', 's', 'E', 'l', 'a', 'p', 's', 'e', 'd', 0,
    's', 'e', 't', 'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 0,
    's', 'e', 't', 'A', 'm', 'p', 'l', 'i', 't', 'u', 'd', 'e', 0,
    'B', 'e', 'z', 'i', 'e', 'r', 'S', 'p', 'l', 'i', 'n', 'e', 0,
    'O', 'u', 't', 'I', 'n', 'E', 'l', 'a', 's', 't', 'i', 'c', 0,
    'I', 'n', 'O', 'u', 't', 'E', 'l', 'a', 's', 't', 'i', 'c', 0,
    'Q', 'E', 'a', 's', 'i', 'n', 'g', 'C', 'u', 'r', 'v', 'e', 0,
    'Q', 'D', 'i', 'r', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', 0,
    'm', 'a', 'k', 'e', 'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 0,
    'a', 'b', 's', 'o', 'l', 'u', 't', 'e', 'P', 'a', 't', 'h', 0,
    'Q', 'D', 'i', 'r', ':', ':', 'F', 'i', 'l', 't', 'e', 'r', 0,
    's', 'e', 't', 'T', 'i', 'm', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    't', 'o', 'P', 'y', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    's', 'h', 'o', 'r', 't', 'D', 'a', 'y', 'N', 'a', 'm', 'e', 0,
    'w', 'r', 'i', 't', 'e', 'R', 'a', 'w', 'D', 'a', 't', 'a', 0,
    'r', 'e', 'a', 'd', 'Q', 'V', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'w', 'r', 'i', 't', 'e', 'Q', 'S', 't', 'r', 'i', 'n', 'g', 0,
    's', 'e', 't', 'B', 'y', 't', 'e', 'O', 'r', 'd', 'e', 'r', 0,
    'L', 'i', 't', 't', 'l', 'e', 'E', 'n', 'd', 'i', 'a', 'n', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'N', 'a', 'm', 'e', 0,
    'G', 'r', 'a', 'b', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 0,
    'C', 'u', 'r', 's', 'o', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'Z', 'O', 'r', 'd', 'e', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'L', 'o', 'c', 'a', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'C', 'h', 'i', 'l', 'd', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'H', 'i', 'd', 'e', 'T', 'o', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'S', 'h', 'o', 'w', 'T', 'o', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'T', 'h', 'r', 'e', 'a', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'P', 'a', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'Q', 'E', 'v', 'e', 'n', 't', ':', ':', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'l', 'i', 'b', 'r', 'a', 'r', 'y', 'P', 'a', 't', 'h', 's', 0,
    's', 'e', 't', 'V', 'a', 'l', 'u', 'e', 'N', 'a', 'm', 'e', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', 0,
    '_', '_', 'c', 'o', 'n', 't', 'a', 'i', 'n', 's', '_', '_', 0,
    'o', 'n', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'a', 'd', 'd', 'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 0,
    't', 'a', 'r', 'g', 'e', 't', 'S', 't', 'a', 't', 'e', 's', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 's', 'M', 'o', 'v', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'i', 'n', 's', 'e', 'r', 't', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'r', 'o', 'w', 's', 'I', 'n', 's', 'e', 'r', 't', 'e', 'd', 0,
    'c', 'a', 'n', 'F', 'e', 't', 'c', 'h', 'M', 'o', 'r', 'e', 0,
    'd', 'r', 'o', 'p', 'M', 'i', 'm', 'e', 'D', 'a', 't', 'a', 0,
    'a', 'b', 'o', 'u', 't', 'T', 'o', 'B', 'l', 'o', 'c', 'k', 0,
    's', 't', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'L', 'o', 'o', 'p', 'C', 'o', 'u', 'n', 't', 0,
    's', 'e', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'E', 'n', 't', 'e', 'r', 'K', 'e', 'y', 'N', 'e', 'x', 't', 0,
    'E', 'n', 't', 'e', 'r', 'K', 'e', 'y', 'S', 'e', 'n', 'd', 0,
    'E', 'n', 't', 'e', 'r', 'K', 'e', 'y', 'D', 'o', 'n', 'e', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'S', 'w', 'i', 'p', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'P', 'i', 'n', 'c', 'h', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'B', 'o', 't', 't', 'o', 'm', 0,
    'I', 'm', 'h', 'M', 'u', 'l', 't', 'i', 'L', 'i', 'n', 'e', 0,
    'I', 'm', 'h', 'L', 'a', 't', 'i', 'n', 'O', 'n', 'l', 'y', 0,
    'Q', 't', ':', ':', 'T', 'i', 'l', 'e', 'R', 'u', 'l', 'e', 0,
    'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'A', 'r', 'e', 'a', 0,
    'Q', 't', ':', ':', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'R', 'e', 'l', 'a', 't', 'i', 'v', 'e', 'S', 'i', 'z', 'e', 0,
    'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 'S', 'i', 'z', 'e', 0,
    'Q', 't', ':', ':', 'S', 'i', 'z', 'e', 'M', 'o', 'd', 'e', 0,
    'M', 'a', 's', 'k', 'O', 'u', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'Q', 't', ':', ':', 'M', 'a', 's', 'k', 'M', 'o', 'd', 'e', 0,
    'T', 'e', 'x', 't', 'E', 'd', 'i', 't', 'a', 'b', 'l', 'e', 0,
    'M', 'a', 't', 'c', 'h', 'E', 'x', 'a', 'c', 't', 'l', 'y', 0,
    'Q', 't', ':', ':', 'I', 't', 'e', 'm', 'F', 'l', 'a', 'g', 0,
    'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 'R', 'o', 'l', 'e', 0,
    'I', 'g', 'n', 'o', 'r', 'e', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'I', 'm', 'Q', 'u', 'e', 'r', 'y', 'I', 'n', 'p', 'u', 't', 0,
    'I', 'm', 'M', 'i', 'c', 'r', 'o', 'F', 'o', 'c', 'u', 's', 0,
    'Q', 't', ':', ':', 'F', 'i', 'l', 'l', 'R', 'u', 'l', 'e', 0,
    'Q', 't', ':', ':', 'T', 'i', 'm', 'e', 'S', 'p', 'e', 'c', 0,
    'P', 'r', 'e', 'c', 'i', 's', 'e', 'T', 'i', 'm', 'e', 'r', 0,
    'C', 'u', 's', 't', 'o', 'm', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'B', 'i', 't', 'm', 'a', 'p', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'S', 'p', 'l', 'i', 't', 'H', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'S', 'p', 'l', 'i', 't', 'V', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'Q', 't', ':', ':', 'U', 'I', 'E', 'f', 'f', 'e', 'c', 't', 0,
    'F', 'D', 'i', 'a', 'g', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'B', 'D', 'i', 'a', 'g', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'S', 'o', 'l', 'i', 'd', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'S', 'v', 'g', 'M', 'i', 't', 'e', 'r', 'J', 'o', 'i', 'n', 0,
    'M', 'P', 'e', 'n', 'C', 'a', 'p', 'S', 't', 'y', 'l', 'e', 0,
    'Q', 't', ':', ':', 'P', 'e', 'n', 'S', 't', 'y', 'l', 'e', 0,
    'K', 'e', 'y', '_', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 0,
    'K', 'e', 'y', '_', 'S', 'u', 'b', 't', 'i', 't', 'l', 'e', 0,
    'K', 'e', 'y', '_', 'P', 'i', 'c', 't', 'u', 'r', 'e', 's', 0,
    'K', 'e', 'y', '_', 'T', 'e', 'r', 'm', 'i', 'n', 'a', 'l', 0,
    'K', 'e', 'y', '_', 'T', 'a', 's', 'k', 'P', 'a', 'n', 'e', 0,
    'K', 'e', 'y', '_', 'C', 'a', 'l', 'e', 'n', 'd', 'a', 'r', 0,
    'K', 'e', 'y', '_', 'E', 'x', 'p', 'l', 'o', 'r', 'e', 'r', 0,
    'K', 'e', 'y', '_', 'T', 'o', 'D', 'o', 'L', 'i', 's', 't', 0,
    'K', 'e', 'y', '_', 'H', 'o', 't', 'L', 'i', 'n', 'k', 's', 0,
    'K', 'e', 'y', '_', 'P', 'o', 'w', 'e', 'r', 'O', 'f', 'f', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'n', 't', 'e', 'x', 't', '4', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'n', 't', 'e', 'x', 't', '3', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'n', 't', 'e', 'x', 't', '2', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'n', 't', 'e', 'x', 't', '1', 0,
    'K', 'e', 'y', '_', 'H', 'o', 'm', 'e', 'P', 'a', 'g', 'e', 0,
    'K', 'e', 'y', '_', 'T', 'r', 'e', 'b', 'l', 'e', 'U', 'p', 0,
    'K', 'e', 'y', '_', 'B', 'a', 's', 's', 'D', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'V', 'o', 'l', 'u', 'm', 'e', 'U', 'p', 0,
    'K', 'e', 'y', '_', 'K', 'a', 't', 'a', 'k', 'a', 'n', 'a', 0,
    'K', 'e', 'y', '_', 'H', 'i', 'r', 'a', 'g', 'a', 'n', 'a', 0,
    'K', 'e', 'y', '_', 'M', 'u', 'h', 'e', 'n', 'k', 'a', 'n', 0,
    'K', 'e', 'y', '_', 'd', 'i', 'v', 'i', 's', 'i', 'o', 'n', 0,
    'K', 'e', 'y', '_', 'O', 'o', 'b', 'l', 'i', 'q', 'u', 'e', 0,
    'K', 'e', 'y', '_', 'm', 'u', 'l', 't', 'i', 'p', 'l', 'y', 0,
    'K', 'e', 'y', '_', 'C', 'c', 'e', 'd', 'i', 'l', 'l', 'a', 0,
    'K', 'e', 'y', '_', 'c', 'u', 'r', 'r', 'e', 'n', 'c', 'y', 0,
    'K', 'e', 'y', '_', 's', 't', 'e', 'r', 'l', 'i', 'n', 'g', 0,
    'K', 'e', 'y', '_', 'Q', 'u', 'e', 's', 't', 'i', 'o', 'n', 0,
    'K', 'e', 'y', '_', 'A', 's', 't', 'e', 'r', 'i', 's', 'k', 0,
    'K', 'e', 'y', '_', 'Q', 'u', 'o', 't', 'e', 'D', 'b', 'l', 0,
    'K', 'e', 'y', '_', 'C', 'a', 'p', 's', 'L', 'o', 'c', 'k', 0,
    'K', 'e', 'y', '_', 'P', 'a', 'g', 'e', 'D', 'o', 'w', 'n', 0,
    'P', 'r', 'e', 'f', 'e', 'r', 'D', 'i', 't', 'h', 'e', 'r', 0,
    'W', 'A', '_', 'S', 'e', 't', 'L', 'o', 'c', 'a', 'l', 'e', 0,
    'W', 'A', '_', 'S', 'e', 't', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'A', 'c', 't', 'i', 'v', 'e', 0,
    'S', 'p', 'l', 'a', 's', 'h', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'T', 'e', 'x', 't', 'W', 'o', 'r', 'd', 'W', 'r', 'a', 'p', 0,
    'T', 'e', 'x', 't', 'D', 'o', 'n', 't', 'C', 'l', 'i', 'p', 0,
    'Q', 't', ':', ':', 'T', 'e', 'x', 't', 'F', 'l', 'a', 'g', 0,
    'A', 'l', 'i', 'g', 'n', 'V', 'C', 'e', 'n', 't', 'e', 'r', 0,
    'A', 'l', 'i', 'g', 'n', 'J', 'u', 's', 't', 'i', 'f', 'y', 0,
    'A', 'l', 'i', 'g', 'n', 'H', 'C', 'e', 'n', 't', 'e', 'r', 0,
    'A', 'l', 'i', 'g', 'n', 'L', 'e', 'a', 'd', 'i', 'n', 'g', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '9', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '8', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '7', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '6', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '5', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '4', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '3', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '2', 0,
    'E', 'x', 't', 'r', 'a', 'B', 'u', 't', 't', 'o', 'n', '1', 0,
    'M', 'i', 'd', 'd', 'l', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'Q', 't', ':', ':', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    'M', 'e', 't', 'a', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    'q', 'S', 'h', 'a', 'r', 'e', 'd', 'B', 'u', 'i', 'l', 'd', 0,
    'P', 'Y', 'Q', 'T', '_', 'V', 'E', 'R', 'S', 'I', 'O', 'N', 0,
    'P', 'y', 'Q', 't', '5', '.', 'Q', 't', 'C', 'o', 'r', 'e', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'U', 'r', 'l', '>', 0,
    'p', 'r', 'o', 'd', 'u', 'c', 't', 'T', 'y', 'p', 'e', 0,
    'C', 'u', 's', 't', 'o', 'm', 'E', 'r', 'r', 'o', 'r', 0,
    'd', 't', 'd', 'S', 'y', 's', 't', 'e', 'm', 'I', 'd', 0,
    'd', 't', 'd', 'P', 'u', 'b', 'l', 'i', 'c', 'I', 'd', 0,
    't', 'o', 'k', 'e', 'n', 'S', 't', 'r', 'i', 'n', 'g', 0,
    's', 'u', 'f', 'f', 'i', 'x', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 't', 'E', 'n', 'd', 'V', 'a', 'l', 'u', 'e', 0,
    'f', 'r', 'o', 'm', 'R', 'f', 'c', '4', '1', '2', '2', 0,
    't', 'o', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', 0,
    'i', 's', 'L', 'o', 'c', 'a', 'l', 'F', 'i', 'l', 'e', 0,
    'h', 'a', 's', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    'f', 'r', 'o', 'm', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 0,
    't', 'o', 'L', 'o', 'c', 'a', 'l', 'F', 'i', 'l', 'e', 0,
    's', 'e', 't', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'P', 'o', 'r', 't', 0,
    's', 'e', 't', 'P', 'a', 's', 's', 'w', 'o', 'r', 'd', 0,
    's', 'e', 't', 'U', 's', 'e', 'r', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'U', 's', 'e', 'r', 'I', 'n', 'f', 'o', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'Q', 'u', 'e', 'r', 'y', 0,
    'D', 'e', 'c', 'o', 'd', 'e', 'd', 'M', 'o', 'd', 'e', 0,
    'Q', 'T', 'r', 'a', 'n', 's', 'l', 'a', 't', 'o', 'r', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'N', 'a', 'm', 'e', 0,
    'G', 'e', 'n', 'e', 'r', 'i', 'c', 'T', 'i', 'm', 'e', 0,
    's', 'e', 't', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    'e', 'a', 's', 'i', 'n', 'g', 'C', 'u', 'r', 'v', 'e', 0,
    's', 'e', 't', 'E', 'n', 'd', 'F', 'r', 'a', 'm', 'e', 0,
    'L', 'i', 'n', 'e', 'a', 'r', 'C', 'u', 'r', 'v', 'e', 0,
    'E', 'a', 's', 'e', 'I', 'n', 'C', 'u', 'r', 'v', 'e', 0,
    'w', 'a', 'i', 't', 'F', 'o', 'r', 'D', 'o', 'n', 'e', 0,
    'Q', 'T', 'h', 'r', 'e', 'a', 'd', 'P', 'o', 'o', 'l', 0,
    's', 'e', 't', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'L', 'o', 'w', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'q', 'S', 'e', 't', 'P', 'a', 'd', 'C', 'h', 'a', 'r', 0,
    'n', 'o', 'f', 'o', 'r', 'c', 'e', 's', 'i', 'g', 'n', 0,
    'i', 'n', 't', 'e', 'g', 'e', 'r', 'B', 'a', 's', 'e', 0,
    'n', 'u', 'm', 'b', 'e', 'r', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'T', 'e', 'x', 't', 'S', 't', 'r', 'e', 'a', 'm', 0,
    'f', 'r', 'o', 'm', 'U', 'n', 'i', 'c', 'o', 'd', 'e', 0,
    'm', 'a', 'k', 'e', 'E', 'n', 'c', 'o', 'd', 'e', 'r', 0,
    'm', 'a', 'k', 'e', 'D', 'e', 'c', 'o', 'd', 'e', 'r', 0,
    'c', 'o', 'd', 'e', 'c', 'F', 'o', 'r', 'M', 'i', 'b', 0,
    's', 'e', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'S', 't', 'a', 'r', 't', 'O', 'f', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'A', 'n', 'i', 'm', 'a', 't', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'S', 't', 'a', 't', 'e', 0,
    's', 'i', 'g', 'n', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    't', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 's', 0,
    'd', 'i', 's', 'p', 'l', 'a', 'y', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'S', 'o', 'r', 't', 'R', 'o', 'l', 'e', 0,
    's', 'e', 't', 'I', 'n', 'i', 'C', 'o', 'd', 'e', 'c', 0,
    'c', 'h', 'i', 'l', 'd', 'G', 'r', 'o', 'u', 'p', 's', 0,
    'S', 'y', 's', 't', 'e', 'm', 'S', 'c', 'o', 'p', 'e', 0,
    'F', 'o', 'r', 'm', 'a', 't', 'E', 'r', 'r', 'o', 'r', 0,
    'A', 'c', 'c', 'e', 's', 's', 'E', 'r', 'r', 'o', 'r', 0,
    'i', 'n', 's', 'e', 'r', 't', 'P', 'a', 'u', 's', 'e', 0,
    'c', 'a', 'p', 't', 'u', 'r', 'e', 'd', 'E', 'n', 'd', 0,
    'g', 'l', 'o', 'b', 'a', 'l', 'M', 'a', 't', 'c', 'h', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'M', 'a', 't', 'c', 'h', 0,
    'l', 'a', 's', 't', 'I', 'n', 'd', 'e', 'x', 'I', 'n', 0,
    'C', 'a', 'r', 'e', 't', 'A', 't', 'Z', 'e', 'r', 'o', 0,
    'm', 'o', 'v', 'e', 'T', 'o', 'p', 'L', 'e', 'f', 't', 0,
    's', 'e', 't', 'T', 'o', 'p', 'R', 'i', 'g', 'h', 't', 0,
    'Q', 'R', 'e', 'a', 'd', 'L', 'o', 'c', 'k', 'e', 'r', 0,
    'l', 'o', 'c', 'k', 'F', 'o', 'r', 'R', 'e', 'a', 'd', 0,
    'r', 'e', 'a', 'd', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    's', 'e', 't', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'M', 'a', 'c', 'O', 'S', 'S', 'i', 'e', 'r', 'r', 'a', 0,
    'O', 'S', 'X', 'Y', 'o', 's', 'e', 'm', 'i', 't', 'e', 0,
    'c', 'o', 'n', 's', 't', 'r', 'u', 'c', 't', 'o', 'r', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'S', 'l', 'o', 't', 0,
    'm', 'e', 't', 'h', 'o', 'd', 'C', 'o', 'u', 'n', 't', 0,
    'Q', 'M', 'e', 't', 'a', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'Q', '_', 'C', 'L', 'A', 'S', 'S', 'I', 'N', 'F', 'O', 0,
    'c', 'u', 's', 't', 'o', 'm', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'e', 'l', 'e', 't', 'e', 'L', 'a', 't', 'e', 'r', 0,
    's', 'e', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'e', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    '_', '_', 'g', 'e', 't', 'a', 't', 't', 'r', '_', '_', 0,
    'i', 's', 'R', 'e', 'c', 'u', 'r', 's', 'i', 'v', 'e', 0,
    'M', 'o', 'v', 'a', 'b', 'l', 'e', 'T', 'y', 'p', 'e', 0,
    'Q', 'J', 's', 'o', 'n', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'Q', 'Q', 'u', 'a', 't', 'e', 'r', 'n', 'i', 'o', 'n', 0,
    'Q', 'O', 'b', 'j', 'e', 'c', 't', 'S', 't', 'a', 'r', 0,
    'Q', 'T', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'Q', 'T', 'e', 'x', 't', 'L', 'e', 'n', 'g', 't', 'h', 0,
    'Q', 'S', 'i', 'z', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 'T', 'y', 'p', 'e', 0,
    'v', 'a', 'l', 'u', 'e', 'T', 'o', 'K', 'e', 'y', 's', 0,
    'k', 'e', 'y', 's', 'T', 'o', 'V', 'a', 'l', 'u', 'e', 0,
    'm', 'e', 't', 'h', 'o', 'd', 'I', 'n', 'd', 'e', 'x', 0,
    'Q', 'M', 'e', 't', 'a', 'M', 'e', 't', 'h', 'o', 'd', 0,
    'Q', 't', 'S', 'y', 's', 't', 'e', 'm', 'M', 's', 'g', 0,
    'g', 'e', 't', 'L', 'o', 'c', 'k', 'I', 'n', 'f', 'o', 0,
    'q', 'u', 'o', 't', 'e', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'u', 'i', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 's', 0,
    'O', 's', 'a', 'g', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'A', 'd', 'l', 'a', 'm', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'a', 'k', 'r', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'a', 'i', 'L', 'e', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'R', 'u', 'n', 'i', 'c', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'g', 'h', 'a', 'm', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'L', 'i', 'm', 'b', 'u', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'L', 'a', 'n', 'n', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'B', 'u', 'h', 'i', 'd', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'B', 'a', 't', 'a', 'k', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'B', 'a', 'm', 'u', 'm', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'a', 'm', 'i', 'l', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'O', 'r', 'i', 'y', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'K', 'h', 'm', 'e', 'r', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'G', 'r', 'e', 'e', 'k', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'L', 'a', 't', 'i', 'n', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'e', 'x', 'p', 'o', 'n', 'e', 'n', 't', 'i', 'a', 'l', 0,
    'S', 'h', 'o', 'r', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'S', 'i', 'n', 't', 'M', 'a', 'a', 'r', 't', 'e', 'n', 0,
    'D', 'i', 'e', 'g', 'o', 'G', 'a', 'r', 'c', 'i', 'a', 0,
    'S', 'a', 'i', 'n', 't', 'H', 'e', 'l', 'e', 'n', 'a', 0,
    'L', 'a', 's', 't', 'C', 'o', 'u', 'n', 't', 'r', 'y', 0,
    'S', 'a', 'i', 'n', 't', 'M', 'a', 'r', 't', 'i', 'n', 0,
    'S', 'w', 'i', 't', 'z', 'e', 'r', 'l', 'a', 'n', 'd', 0,
    'S', 'o', 'u', 't', 'h', 'A', 'f', 'r', 'i', 'c', 'a', 0,
    'S', 'i', 'e', 'r', 'r', 'a', 'L', 'e', 'o', 'n', 'e', 0,
    'S', 'a', 'u', 'd', 'i', 'A', 'r', 'a', 'b', 'i', 'a', 0,
    'P', 'h', 'i', 'l', 'i', 'p', 'p', 'i', 'n', 'e', 's', 0,
    'N', 'e', 't', 'h', 'e', 'r', 'l', 'a', 'n', 'd', 's', 0,
    'C', 'o', 'o', 'k', 'I', 's', 'l', 'a', 'n', 'd', 's', 0,
    'B', 'u', 'r', 'k', 'i', 'n', 'a', 'F', 'a', 's', 'o', 0,
    'A', 'f', 'g', 'h', 'a', 'n', 'i', 's', 't', 'a', 'n', 0,
    'M', 'a', 'z', 'a', 'n', 'd', 'e', 'r', 'a', 'n', 'i', 0,
    'E', 'a', 's', 't', 'e', 'r', 'n', 'C', 'h', 'a', 'm', 0,
    'M', 'a', 'r', 's', 'h', 'a', 'l', 'l', 'e', 's', 'e', 0,
    'L', 'u', 'b', 'a', 'K', 'a', 't', 'a', 'n', 'g', 'a', 0,
    'A', 'n', 'y', 'L', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'K', 'o', 'y', 'r', 'a', 'C', 'h', 'i', 'i', 'n', 'i', 0,
    'S', 'w', 'i', 's', 's', 'G', 'e', 'r', 'm', 'a', 'n', 0,
    'K', 'i', 'n', 'y', 'a', 'r', 'w', 'a', 'n', 'd', 'a', 0,
    'I', 'n', 't', 'e', 'r', 'l', 'i', 'n', 'g', 'u', 'e', 0,
    'I', 'n', 't', 'e', 'r', 'l', 'i', 'n', 'g', 'u', 'a', 0,
    'G', 'r', 'e', 'e', 'n', 'l', 'a', 'n', 'd', 'i', 'c', 0,
    'A', 'z', 'e', 'r', 'b', 'a', 'i', 'j', 'a', 'n', 'i', 0,
    'P', 'l', 'u', 'g', 'i', 'n', 's', 'P', 'a', 't', 'h', 0,
    'H', 'e', 'a', 'd', 'e', 'r', 's', 'P', 'a', 't', 'h', 0,
    'i', 's', 'U', 'n', 'd', 'e', 'f', 'i', 'n', 'e', 'd', 0,
    'f', 'r', 'o', 'm', 'V', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'D', 'e', 'e', 'p', 'N', 'e', 's', 't', 'i', 'n', 'g', 0,
    '_', '_', 'd', 'e', 'l', 'i', 't', 'e', 'm', '_', '_', 0,
    '_', '_', 's', 'e', 't', 'i', 't', 'e', 'm', '_', '_', 0,
    'i', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 'e', 'd', 0,
    's', 'e', 't', 'O', 'p', 'e', 'n', 'M', 'o', 'd', 'e', 0,
    'e', 'r', 'r', 'o', 'r', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'h', 'i', 's', 't', 'o', 'r', 'y', 'T', 'y', 'p', 'e', 0,
    'D', 'e', 'e', 'p', 'H', 'i', 's', 't', 'o', 'r', 'y', 0,
    'Q', 'F', 'i', 'n', 'a', 'l', 'S', 't', 'a', 't', 'e', 0,
    'f', 'i', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'P', 'a', 't', 'h', 's', 0,
    'a', 'b', 's', 'o', 'l', 'u', 't', 'e', 'D', 'i', 'r', 0,
    'R', 'e', 's', 'i', 'z', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'R', 'e', 'n', 'a', 'm', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'p', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', 0,
    'h', 'a', 'n', 'd', 'l', 'e', 'F', 'l', 'a', 'g', 's', 0,
    's', 'e', 't', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'e', 'v', 'i', 'c', 'e', 0,
    'e', 'v', 'e', 'n', 't', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'i', 's', 'M', 'o', 'n', 'o', 't', 'o', 'n', 'i', 'c', 0,
    'T', 'i', 'c', 'k', 'C', 'o', 'u', 'n', 't', 'e', 'r', 0,
    'C', 'o', 's', 'i', 'n', 'e', 'C', 'u', 'r', 'v', 'e', 0,
    'O', 'u', 't', 'I', 'n', 'B', 'o', 'u', 'n', 'c', 'e', 0,
    'I', 'n', 'O', 'u', 't', 'B', 'o', 'u', 'n', 'c', 'e', 0,
    's', 'e', 'a', 'r', 'c', 'h', 'P', 'a', 't', 'h', 's', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'P', 'a', 't', 'h', 0,
    'n', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    's', 'e', 't', 'D', 'e', 'a', 'd', 'l', 'i', 'n', 'e', 0,
    's', 'e', 't', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', 0,
    't', 'o', 'L', 'o', 'c', 'a', 'l', 'T', 'i', 'm', 'e', 0,
    's', 'e', 't', 'T', 'i', 'm', 'e', 'S', 'p', 'e', 'c', 0,
    't', 'o', 'J', 'u', 'l', 'i', 'a', 'n', 'D', 'a', 'y', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'D', 'a', 't', 'e', 0,
    'l', 'o', 'n', 'g', 'D', 'a', 'y', 'N', 'a', 'm', 'e', 0,
    'd', 'a', 'y', 's', 'I', 'n', 'M', 'o', 'n', 't', 'h', 0,
    'r', 'e', 'a', 'd', 'R', 'a', 'w', 'D', 'a', 't', 'a', 0,
    'r', 'e', 'a', 'd', 'Q', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'w', 'r', 'i', 't', 'e', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'w', 'r', 'i', 't', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 0,
    'w', 'r', 'i', 't', 'e', 'U', 'I', 'n', 't', '6', '4', 0,
    'w', 'r', 'i', 't', 'e', 'U', 'I', 'n', 't', '3', '2', 0,
    'w', 'r', 'i', 't', 'e', 'U', 'I', 'n', 't', '1', '6', 0,
    's', 'k', 'i', 'p', 'R', 'a', 'w', 'D', 'a', 't', 'a', 0,
    'r', 'e', 's', 'e', 't', 'S', 't', 'a', 't', 'u', 's', 0,
    'W', 'r', 'i', 't', 'e', 'F', 'a', 'i', 'l', 'e', 'd', 0,
    'R', 'e', 'a', 'd', 'P', 'a', 's', 't', 'E', 'n', 'd', 0,
    'Q', 'D', 'a', 't', 'a', 'S', 't', 'r', 'e', 'a', 'm', 0,
    'Q', 'C', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'Q', 'T', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'p', 't', 'e', 'd', 0,
    's', 'p', 'o', 'n', 't', 'a', 'n', 'e', 'o', 'u', 's', 0,
    'T', 'o', 'u', 'c', 'h', 'C', 'a', 'n', 'c', 'e', 'l', 0,
    'W', 'i', 'n', 'I', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'T', 'o', 'u', 'c', 'h', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'U', 'n', 'g', 'r', 'a', 'b', 'M', 'o', 'u', 's', 'e', 0,
    'A', 'c', 't', 'i', 'o', 'n', 'A', 'd', 'd', 'e', 'd', 0,
    'S', 't', 'y', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'T', 'a', 'b', 'l', 'e', 't', 'P', 'r', 'e', 's', 's', 0,
    'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 0,
    'U', 'p', 'd', 'a', 't', 'e', 'L', 'a', 't', 'e', 'r', 0,
    'W', 'i', 'n', 'E', 'v', 'e', 'n', 't', 'A', 'c', 't', 0,
    'a', 'b', 'o', 'u', 't', 'T', 'o', 'Q', 'u', 'i', 't', 0,
    'a', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    's', 'h', 'o', 'w', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'o', 'p', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', 's', 0,
    'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    'n', 'u', 'm', 'e', 'r', 'i', 'c', 'M', 'o', 'd', 'e', 0,
    'q', 'U', 'n', 'c', 'o', 'm', 'p', 'r', 'e', 's', 's', 0,
    'f', 'r', 'o', 'm', 'R', 'a', 'w', 'D', 'a', 't', 'a', 0,
    't', 'o', 'U', 'L', 'o', 'n', 'g', 'L', 'o', 'n', 'g', 0,
    'l', 'a', 's', 't', 'I', 'n', 'd', 'e', 'x', 'O', 'f', 0,
    'c', 'a', 'n', 'R', 'e', 'a', 'd', 'L', 'i', 'n', 'e', 0,
    '_', '_', 'g', 'e', 't', 'i', 't', 'e', 'm', '_', '_', 0,
    'Q', 'B', 'a', 's', 'i', 'c', 'T', 'i', 'm', 'e', 'r', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'A', 't', 0,
    't', 'a', 'r', 'g', 'e', 't', 'S', 't', 'a', 't', 'e', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'S', 't', 'a', 't', 'e', 0,
    'p', 'a', 'r', 'e', 'n', 't', 'S', 't', 'a', 't', 'e', 0,
    'm', 'a', 'p', 'T', 'o', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'M', 'o', 'd', 'e', 'l', 0,
    'e', 'n', 'd', 'M', 'o', 'v', 'e', 'R', 'o', 'w', 's', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'I', 'n', 'd', 'e', 'x', 0,
    'r', 'o', 'w', 's', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'd', 'a', 't', 'a', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'b', 'o', 't', 't', 'o', 'm', 'R', 'i', 'g', 'h', 't', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'D', 'a', 't', 'a', 0,
    'h', 'a', 's', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'C', 'o', 'u', 'n', 't', 0,
    'Q', 'M', 'o', 'd', 'e', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'c', 'l', 'o', 's', 'i', 'n', 'g', 'D', 'o', 'w', 'n', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'S', 't', 'a', 't', 'e', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'L', 'o', 'o', 'p', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'i', 'm', 'e', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'B', 'e', 'g', 'i', 'n', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'R', 'i', 'g', 'h', 't', 0,
    'S', 't', 'r', 'e', 't', 'c', 'h', 'T', 'i', 'l', 'e', 0,
    'M', 'a', 'x', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 0,
    'M', 'i', 'n', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 0,
    'M', 'a', 's', 'k', 'I', 'n', 'C', 'o', 'l', 'o', 'r', 0,
    'A', 'A', '_', 'U', 's', 'e', '9', '6', 'D', 'p', 'i', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 'M', 'o', 'd', 'a', 'l', 0,
    'M', 'a', 't', 'c', 'h', 'R', 'e', 'g', 'E', 'x', 'p', 0,
    'N', 'o', 'I', 't', 'e', 'm', 'F', 'l', 'a', 'g', 's', 0,
    'T', 'o', 'o', 'l', 'T', 'i', 'p', 'R', 'o', 'l', 'e', 0,
    'D', 'i', 's', 'p', 'l', 'a', 'y', 'R', 'o', 'l', 'e', 0,
    'L', 'e', 'f', 't', 'T', 'o', 'R', 'i', 'g', 'h', 't', 0,
    'R', 'e', 'p', 'l', 'a', 'c', 'e', 'C', 'l', 'i', 'p', 0,
    'W', 'i', 'n', 'd', 'i', 'n', 'g', 'F', 'i', 'l', 'l', 0,
    'O', 'd', 'd', 'E', 'v', 'e', 'n', 'F', 'i', 'l', 'l', 0,
    'R', 'F', 'C', '2', '8', '2', '2', 'D', 'a', 't', 'e', 0,
    'B', 'l', 'a', 'n', 'k', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'I', 'B', 'e', 'a', 'm', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'C', 'r', 'o', 's', 's', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'U', 'I', '_', 'F', 'a', 'd', 'e', 'M', 'e', 'n', 'u', 0,
    'D', 'a', 's', 'h', 'D', 'o', 't', 'L', 'i', 'n', 'e', 0,
    'K', 'e', 'y', '_', 'M', 'i', 'c', 'M', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', 'H', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', 'G', 0,
    'K', 'e', 'y', '_', 'S', 'u', 's', 'p', 'e', 'n', 'd', 0,
    'K', 'e', 'y', '_', 'T', 'o', 'p', 'M', 'e', 'n', 'u', 0,
    'K', 'e', 'y', '_', 'B', 'a', 't', 't', 'e', 'r', 'y', 0,
    'K', 'e', 'y', '_', 'Z', 'o', 'o', 'm', 'O', 'u', 't', 0,
    'K', 'e', 'y', '_', 'S', 'u', 'p', 'p', 'o', 'r', 't', 0,
    'K', 'e', 'y', '_', 'M', 'y', 'S', 'i', 't', 'e', 's', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'e', 't', 'i', 'n', 'g', 0,
    'K', 'e', 'y', '_', 'D', 'i', 's', 'p', 'l', 'a', 'y', 0,
    'K', 'e', 'y', '_', 'F', 'i', 'n', 'a', 'n', 'c', 'e', 0,
    'K', 'e', 'y', '_', 'H', 'i', 's', 't', 'o', 'r', 'y', 0,
    'K', 'e', 'y', '_', 'P', 'r', 'i', 'n', 't', 'e', 'r', 0,
    'K', 'e', 'y', '_', 'E', 'x', 'e', 'c', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'u', 'n', 'k', 'n', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', 'F', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', 'E', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', 'D', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', 'C', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', 'B', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', 'A', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', '9', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', '8', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', '7', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', '6', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', '5', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', '4', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', '3', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', '2', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', '1', 0,
    'K', 'e', 'y', '_', 'L', 'a', 'u', 'n', 'c', 'h', '0', 0,
    'K', 'e', 'y', '_', 'O', 'p', 'e', 'n', 'U', 'r', 'l', 0,
    'K', 'e', 'y', '_', 'S', 't', 'a', 'n', 'd', 'b', 'y', 0,
    'K', 'e', 'y', '_', 'R', 'e', 'f', 'r', 'e', 's', 'h', 0,
    'K', 'e', 'y', '_', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'K', 'e', 'y', '_', 'T', 'o', 'u', 'r', 'o', 'k', 'u', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'k', 'a', 'k', 'u', 0,
    'K', 'e', 'y', '_', 'Z', 'e', 'n', 'k', 'a', 'k', 'u', 0,
    'K', 'e', 'y', '_', 'o', 'n', 'e', 'h', 'a', 'l', 'f', 0,
    'K', 'e', 'y', '_', 'c', 'e', 'd', 'i', 'l', 'l', 'a', 0,
    'K', 'e', 'y', '_', 'n', 'o', 't', 's', 'i', 'g', 'n', 0,
    'K', 'e', 'y', '_', 's', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'K', 'e', 'y', '_', 'G', 'r', 'e', 'a', 't', 'e', 'r', 0,
    'K', 'e', 'y', '_', 'P', 'e', 'r', 'c', 'e', 'n', 't', 0,
    'K', 'e', 'y', '_', 'H', 'y', 'p', 'e', 'r', '_', 'R', 0,
    'K', 'e', 'y', '_', 'H', 'y', 'p', 'e', 'r', '_', 'L', 0,
    'K', 'e', 'y', '_', 'S', 'u', 'p', 'e', 'r', '_', 'R', 0,
    'K', 'e', 'y', '_', 'S', 'u', 'p', 'e', 'r', '_', 'L', 0,
    'K', 'e', 'y', '_', 'N', 'u', 'm', 'L', 'o', 'c', 'k', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'n', 't', 'r', 'o', 'l', 0,
    'K', 'e', 'y', '_', 'B', 'a', 'c', 'k', 't', 'a', 'b', 0,
    'A', 'v', 'o', 'i', 'd', 'D', 'i', 't', 'h', 'e', 'r', 0,
    'W', 'A', '_', 'S', 'e', 't', 'S', 't', 'y', 'l', 'e', 0,
    'W', 'A', '_', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0,
    'C', 'o', 'v', 'e', 'r', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'E', 'l', 'i', 'd', 'e', 'M', 'i', 'd', 'd', 'l', 'e', 0,
    'A', 'l', 'i', 'g', 'n', 'C', 'e', 'n', 't', 'e', 'r', 0,
    'A', 'l', 'i', 'g', 'n', 'B', 'o', 't', 't', 'o', 'm', 0,
    'S', 't', 'r', 'o', 'n', 'g', 'F', 'o', 'c', 'u', 's', 0,
    'R', 'i', 'g', 'h', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'A', 'l', 't', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    't', 'r', 'a', 'n', 's', 'p', 'a', 'r', 'e', 'n', 't', 0,
    'd', 'a', 'r', 'k', 'M', 'a', 'g', 'e', 'n', 't', 'a', 0,
    'k', 'e', 'r', 'n', 'e', 'l', 'T', 'y', 'p', 'e', 0,
    'Q', 'L', 'i', 's', 't', '<', 'i', 'n', 't', '>', 0,
    'w', 'r', 'i', 't', 'e', 'C', 'D', 'A', 'T', 'A', 0,
    'r', 'a', 'i', 's', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', 0,
    'l', 'i', 'n', 'e', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'i', 's', 'P', 'r', 'e', 'f', 'i', 'x', 'O', 'f', 0,
    'k', 'e', 'y', 'V', 'a', 'l', 'u', 'e', 'A', 't', 0,
    's', 't', 'a', 'r', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'n', 'a', 'm', 'e', 'T', 'o', 'T', 'y', 'p', 'e', 0,
    't', 'y', 'p', 'e', 'T', 'o', 'N', 'a', 'm', 'e', 0,
    'c', 'a', 'n', 'C', 'o', 'n', 'v', 'e', 'r', 't', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'U', 'u', 'i', 'd', 0,
    'V', 'e', 'r', 'U', 'n', 'k', 'n', 'o', 'w', 'n', 0,
    'V', 'a', 'r', 'U', 'n', 'k', 'n', 'o', 'w', 'n', 0,
    'q', 'u', 'e', 'r', 'y', 'I', 't', 'e', 'm', 's', 0,
    'i', 's', 'P', 'a', 'r', 'e', 'n', 't', 'O', 'f', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'P', 'a', 't', 'h', 0,
    'R', 'e', 'm', 'o', 'v', 'e', 'P', 'o', 'r', 't', 0,
    'S', 't', 'r', 'i', 'c', 't', 'M', 'o', 'd', 'e', 0,
    'o', 'f', 'f', 's', 'e', 't', 'D', 'a', 't', 'a', 0,
    'O', 'f', 'f', 's', 'e', 't', 'N', 'a', 'm', 'e', 0,
    's', 'i', 'n', 'g', 'l', 'e', 'S', 'h', 'o', 't', 0,
    'c', 'u', 'r', 'v', 'e', 'S', 'h', 'a', 'p', 'e', 0,
    's', 't', 'a', 'r', 't', 'F', 'r', 'a', 'm', 'e', 0,
    'i', 's', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    's', 'c', 'i', 'e', 'n', 't', 'i', 'f', 'i', 'c', 0,
    'n', 'o', 's', 'h', 'o', 'w', 'b', 'a', 's', 'e', 0,
    'f', 'i', 'e', 'l', 'd', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'P', 'a', 'd', 'C', 'h', 'a', 'r', 0,
    'F', 'o', 'r', 'c', 'e', 'P', 'o', 'i', 'n', 't', 0,
    'Q', 'T', 'e', 'x', 't', 'C', 'o', 'd', 'e', 'c', 0,
    'S', 'o', 'f', 't', 'H', 'y', 'p', 'h', 'e', 'n', 0,
    'a', 'u', 't', 'o', 'R', 'e', 'm', 'o', 'v', 'e', 0,
    's', 't', 'r', 'i', 'n', 'g', 'L', 'i', 's', 't', 0,
    'Q', 'S', 't', 'r', 'i', 'n', 'g', 'R', 'e', 'f', 0,
    'i', 's', 'R', 'e', 'a', 'd', 'O', 'n', 'l', 'y', 0,
    'b', 'y', 't', 'e', 's', 'T', 'o', 't', 'a', 'l', 0,
    's', 'e', 't', 'R', 'u', 'n', 'n', 'i', 'n', 'g', 0,
    'i', 's', 'A', 'n', 'i', 'm', 'a', 't', 'e', 'd', 0,
    'c', 'l', 'e', 'a', 'r', 'E', 'r', 'r', 'o', 'r', 0,
    'e', 'r', 'r', 'o', 'r', 'S', 't', 'a', 't', 'e', 0,
    'L', 'o', 'c', 'a', 't', 'e', 'F', 'i', 'l', 'e', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'R', 'o', 'l', 'e', 0,
    's', 'o', 'r', 't', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'e', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'e', 'x', 'p', 'a', 'n', 'd', 'e', 'd', 'T', 'o', 0,
    's', 'e', 't', 'M', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    'i', 's', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'b', 'e', 'g', 'i', 'n', 'G', 'r', 'o', 'u', 'p', 0,
    't', 'r', 'y', 'A', 'c', 'q', 'u', 'i', 'r', 'e', 0,
    'Q', 'S', 'e', 'm', 'a', 'p', 'h', 'o', 'r', 'e', 0,
    'a', 'u', 't', 'o', 'D', 'e', 'l', 'e', 't', 'e', 0,
    'e', 'x', 'a', 'c', 't', 'M', 'a', 't', 'c', 'h', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'a', 'l', 0,
    't', 'r', 'a', 'n', 's', 'p', 'o', 's', 'e', 'd', 0,
    'm', 'o', 'v', 'e', 'B', 'o', 't', 't', 'o', 'm', 0,
    'b', 'o', 't', 't', 'o', 'm', 'L', 'e', 'f', 't', 0,
    's', 'e', 't', 'T', 'o', 'p', 'L', 'e', 'f', 't', 0,
    'm', 'o', 'v', 'e', 'C', 'e', 'n', 't', 'e', 'r', 0,
    'n', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 'd', 0,
    'n', 'u', 'l', 'l', 'D', 'e', 'v', 'i', 'c', 'e', 0,
    's', 'e', 't', 'P', 'r', 'o', 'g', 'r', 'a', 'm', 0,
    'e', 'x', 'i', 't', 'S', 't', 'a', 't', 'u', 's', 0,
    'N', 'o', 't', 'R', 'u', 'n', 'n', 'i', 'n', 'g', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'E', 'x', 'i', 't', 0,
    'd', 'o', 't', 'P', 'r', 'o', 'd', 'u', 'c', 't', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 's', '8', '_', '1', 0,
    's', 'u', 'p', 'e', 'r', 'C', 'l', 'a', 's', 's', 0,
    'Q', 'T', '_', 'T', 'R', '_', 'N', 'O', 'O', 'P', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 0,
    'c', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    't', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    's', 't', 'a', 'r', 't', 'T', 'i', 'm', 'e', 'r', 0,
    'o', 'b', 'j', 'e', 'c', 't', 'N', 'a', 'm', 'e', 0,
    'm', 'e', 't', 'a', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'Q', 'J', 's', 'o', 'n', 'A', 'r', 'r', 'a', 'y', 0,
    'Q', 'M', 'a', 't', 'r', 'i', 'x', '4', 'x', '4', 0,
    'Q', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'i', 's', 'C', 'o', 'n', 's', 't', 'a', 'n', 't', 0,
    'e', 'n', 'u', 'm', 'e', 'r', 'a', 't', 'o', 'r', 0,
    'i', 's', 'E', 'n', 'u', 'm', 'T', 'y', 'p', 'e', 0,
    'i', 's', 'F', 'l', 'a', 'g', 'T', 'y', 'p', 'e', 0,
    'v', 'a', 'l', 'u', 'e', 'T', 'o', 'K', 'e', 'y', 0,
    'k', 'e', 'y', 'T', 'o', 'V', 'a', 'l', 'u', 'e', 0,
    'r', 'e', 't', 'u', 'r', 'n', 'T', 'y', 'p', 'e', 0,
    'm', 'e', 't', 'h', 'o', 'd', 'T', 'y', 'p', 'e', 0,
    'Q', 't', 'F', 'a', 't', 'a', 'l', 'M', 's', 'g', 0,
    'Q', 't', 'D', 'e', 'b', 'u', 'g', 'M', 's', 'g', 0,
    'J', 'a', 'm', 'o', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'N', 'e', 'w', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'A', 'h', 'o', 'm', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'M', 'o', 'd', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'C', 'h', 'a', 'm', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'T', 'h', 'a', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    't', 'o', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    't', 'i', 'm', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'd', 'a', 't', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'L', 'o', 'n', 'g', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'S', 'o', 'u', 't', 'h', 'S', 'u', 'd', 'a', 'n', 0,
    'S', 'a', 'i', 'n', 't', 'L', 'u', 'c', 'i', 'a', 0,
    'S', 'o', 'u', 't', 'h', 'K', 'o', 'r', 'e', 'a', 0,
    'N', 'o', 'r', 't', 'h', 'K', 'o', 'r', 'e', 'a', 0,
    'M', 'o', 'n', 't', 'e', 'n', 'e', 'g', 'r', 'o', 0,
    'U', 'z', 'b', 'e', 'k', 'i', 's', 't', 'a', 'n', 0,
    'T', 'a', 'j', 'i', 'k', 'i', 's', 't', 'a', 'n', 0,
    'S', 'e', 'y', 'c', 'h', 'e', 'l', 'l', 'e', 's', 0,
    'P', 'u', 'e', 'r', 't', 'o', 'R', 'i', 'c', 'o', 0,
    'N', 'e', 'w', 'Z', 'e', 'a', 'l', 'a', 'n', 'd', 0,
    'M', 'o', 'z', 'a', 'm', 'b', 'i', 'q', 'u', 'e', 0,
    'M', 'o', 'n', 't', 's', 'e', 'r', 'r', 'a', 't', 0,
    'M', 'i', 'c', 'r', 'o', 'n', 'e', 's', 'i', 'a', 0,
    'M', 'a', 'u', 'r', 'i', 't', 'a', 'n', 'i', 'a', 0,
    'M', 'a', 'r', 't', 'i', 'n', 'i', 'q', 'u', 'e', 0,
    'M', 'a', 'd', 'a', 'g', 'a', 's', 'c', 'a', 'r', 0,
    'L', 'u', 'x', 'e', 'm', 'b', 'o', 'u', 'r', 'g', 0,
    'K', 'y', 'r', 'g', 'y', 'z', 's', 't', 'a', 'n', 0,
    'K', 'a', 'z', 'a', 'k', 'h', 's', 't', 'a', 'n', 0,
    'G', 'u', 'a', 'd', 'e', 'l', 'o', 'u', 'p', 'e', 0,
    'E', 'l', 'S', 'a', 'l', 'v', 'a', 'd', 'o', 'r', 0,
    'I', 'v', 'o', 'r', 'y', 'C', 'o', 'a', 's', 't', 0,
    'B', 'a', 'n', 'g', 'l', 'a', 'd', 'e', 's', 'h', 0,
    'A', 'z', 'e', 'r', 'b', 'a', 'i', 'j', 'a', 'n', 0,
    'A', 'n', 't', 'a', 'r', 'c', 't', 'i', 'c', 'a', 0,
    'A', 'n', 'y', 'C', 'o', 'u', 'n', 't', 'r', 'y', 0,
    'P', 'a', 'p', 'i', 'a', 'm', 'e', 'n', 't', 'o', 0,
    'S', 'a', 'u', 'r', 'a', 's', 'h', 't', 'r', 'a', 0,
    'P', 'h', 'o', 'e', 'n', 'i', 'c', 'i', 'a', 'n', 0,
    'O', 'l', 'd', 'T', 'u', 'r', 'k', 'i', 's', 'h', 0,
    'O', 'l', 'd', 'P', 'e', 'r', 's', 'i', 'a', 'n', 0,
    'L', 'i', 'm', 'b', 'u', 'r', 'g', 'i', 's', 'h', 0,
    'B', 'e', 'l', 'a', 'r', 'u', 's', 'i', 'a', 'n', 0,
    'V', 'i', 'e', 't', 'n', 'a', 'm', 'e', 's', 'e', 0,
    'P', 'o', 'r', 't', 'u', 'g', 'u', 'e', 's', 'e', 0,
    'M', 'a', 'c', 'e', 'd', 'o', 'n', 'i', 'a', 'n', 0,
    'L', 'i', 't', 'h', 'u', 'a', 'n', 'i', 'a', 'n', 0,
    'I', 'n', 'd', 'o', 'n', 'e', 's', 'i', 'a', 'n', 0,
    'u', 'n', 'i', 't', 'V', 'e', 'c', 't', 'o', 'r', 0,
    't', 'r', 'a', 'n', 's', 'l', 'a', 't', 'e', 'd', 0,
    'P', 'r', 'e', 'f', 'i', 'x', 'P', 'a', 't', 'h', 0,
    'Q', 'J', 's', 'o', 'n', 'V', 'a', 'l', 'u', 'e', 0,
    'v', 'a', 'l', 'i', 'd', 'a', 't', 'i', 'o', 'n', 0,
    'i', 's', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'i', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 's', 0,
    'U', 'n', 'b', 'u', 'f', 'f', 'e', 'r', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'P', 'a', 't', 'h', 0,
    'b', 'u', 'n', 'd', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'C', 'a', 'c', 'h', 'i', 'n', 'g', 0,
    'p', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 0,
    'i', 's', 'W', 'r', 'i', 't', 'a', 'b', 'l', 'e', 0,
    '_', '_', 'f', 's', 'p', 'a', 't', 'h', '_', '_', 0,
    'u', 'n', 's', 'e', 't', 'E', 'r', 'r', 'o', 'r', 0,
    'W', 'r', 'i', 't', 'e', 'O', 't', 'h', 'e', 'r', 0,
    'W', 'r', 'i', 't', 'e', 'G', 'r', 'o', 'u', 'p', 0,
    'W', 'r', 'i', 't', 'e', 'O', 'w', 'n', 'e', 'r', 0,
    'A', 'b', 'o', 'r', 't', 'E', 'r', 'r', 'o', 'r', 0,
    'F', 'a', 't', 'a', 'l', 'E', 'r', 'r', 'o', 'r', 0,
    'W', 'r', 'i', 't', 'e', 'E', 'r', 'r', 'o', 'r', 0,
    'd', 'e', 'c', 'o', 'd', 'e', 'N', 'a', 'm', 'e', 0,
    'e', 'n', 'c', 'o', 'd', 'e', 'N', 'a', 'm', 'e', 0,
    'Q', 'E', 'v', 'e', 'n', 't', 'L', 'o', 'o', 'p', 0,
    'i', 'n', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 0,
    'S', 'y', 's', 't', 'e', 'm', 'T', 'i', 'm', 'e', 0,
    'c', 'u', 's', 't', 'o', 'm', 'T', 'y', 'p', 'e', 0,
    'O', 'u', 't', 'I', 'n', 'Q', 'u', 'i', 'n', 't', 0,
    'I', 'n', 'O', 'u', 't', 'Q', 'u', 'i', 'n', 't', 0,
    'O', 'u', 't', 'I', 'n', 'Q', 'u', 'a', 'r', 't', 0,
    'I', 'n', 'O', 'u', 't', 'Q', 'u', 'a', 'r', 't', 0,
    'O', 'u', 't', 'I', 'n', 'C', 'u', 'b', 'i', 'c', 0,
    'I', 'n', 'O', 'u', 't', 'C', 'u', 'b', 'i', 'c', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 0,
    'i', 's', 'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 0,
    'i', 's', 'R', 'e', 'l', 'a', 't', 'i', 'v', 'e', 0,
    'i', 's', 'R', 'e', 'a', 'd', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'S', 'o', 'r', 't', 'i', 'n', 'g', 0,
    'I', 'g', 'n', 'o', 'r', 'e', 'C', 'a', 's', 'e', 0,
    'S', 'o', 'r', 't', 'B', 'y', 'M', 'a', 's', 'k', 0,
    'A', 'c', 'c', 'e', 's', 's', 'M', 'a', 's', 'k', 0,
    'A', 'l', 'l', 'E', 'n', 't', 'r', 'i', 'e', 's', 0,
    'N', 'o', 'S', 'y', 'm', 'L', 'i', 'n', 'k', 's', 0,
    'h', 'a', 's', 'E', 'x', 'p', 'i', 'r', 'e', 'd', 0,
    't', 'o', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', 0,
    'f', 'r', 'o', 'm', 'T', 'i', 'm', 'e', '_', 't', 0,
    't', 'o', 'T', 'i', 'm', 'e', 'S', 'p', 'e', 'c', 0,
    'i', 's', 'L', 'e', 'a', 'p', 'Y', 'e', 'a', 'r', 0,
    'f', 'r', 'o', 'm', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'w', 'e', 'e', 'k', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'y', 'e', 'a', 'r', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'd', 'a', 'y', 's', 'I', 'n', 'Y', 'e', 'a', 'r', 0,
    'w', 'r', 'i', 't', 'e', 'B', 'y', 't', 'e', 's', 0,
    'w', 'r', 'i', 't', 'e', 'F', 'l', 'o', 'a', 't', 0,
    'w', 'r', 'i', 't', 'e', 'I', 'n', 't', '6', '4', 0,
    'w', 'r', 'i', 't', 'e', 'I', 'n', 't', '3', '2', 0,
    'w', 'r', 'i', 't', 'e', 'I', 'n', 't', '1', '6', 0,
    'w', 'r', 'i', 't', 'e', 'U', 'I', 'n', 't', '8', 0,
    'r', 'e', 'a', 'd', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'r', 'e', 'a', 'd', 'D', 'o', 'u', 'b', 'l', 'e', 0,
    'r', 'e', 'a', 'd', 'U', 'I', 'n', 't', '6', '4', 0,
    'r', 'e', 'a', 'd', 'U', 'I', 'n', 't', '3', '2', 0,
    'r', 'e', 'a', 'd', 'U', 'I', 'n', 't', '1', '6', 0,
    's', 'e', 't', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'i', 's', 'A', 'c', 'c', 'e', 'p', 't', 'e', 'd', 0,
    'T', 'o', 'u', 'c', 'h', 'B', 'e', 'g', 'i', 'n', 0,
    'T', 'a', 'b', 'l', 'e', 't', 'M', 'o', 'v', 'e', 0,
    'C', 'h', 'i', 'l', 'd', 'A', 'd', 'd', 'e', 'd', 0,
    'K', 'e', 'y', 'R', 'e', 'l', 'e', 'a', 's', 'e', 0,
    'r', 'e', 't', 'u', 'r', 'n', 'C', 'o', 'd', 'e', 0,
    'a', 'd', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    's', 'e', 't', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'p', 'u', 's', 'h', '_', 'f', 'r', 'o', 'n', 't', 0,
    'f', 'r', 'o', 'm', 'B', 'a', 's', 'e', '6', '4', 0,
    't', 'o', 'L', 'o', 'n', 'g', 'L', 'o', 'n', 'g', 0,
    's', 'i', 'm', 'p', 'l', 'i', 'f', 'i', 'e', 'd', 0,
    's', 't', 'a', 'r', 't', 's', 'W', 'i', 't', 'h', 0,
    'Q', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', 0,
    '_', '_', 'r', 's', 'h', 'i', 'f', 't', '_', '_', 0,
    '_', '_', 'l', 's', 'h', 'i', 'f', 't', '_', '_', 0,
    'i', 's', 'D', 'e', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 's', 0,
    'd', 'e', 'c', 'o', 'd', 'e', 'D', 'a', 't', 'a', 0,
    'e', 'n', 'c', 'o', 'd', 'e', 'D', 'a', 't', 'a', 0,
    'm', 'o', 'd', 'e', 'l', 'R', 'e', 's', 'e', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'R', 'o', 'w', 's', 0,
    'i', 'n', 's', 'e', 'r', 't', 'R', 'o', 'w', 's', 0,
    'h', 'e', 'a', 'd', 'e', 'r', 'D', 'a', 't', 'a', 0,
    'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'I', 'd', 0,
    's', 't', 'a', 'r', 't', 'i', 'n', 'g', 'U', 'p', 0,
    'E', 'n', 't', 'e', 'r', 'K', 'e', 'y', 'G', 'o', 0,
    'N', 'o', 'T', 'a', 'b', 'F', 'o', 'c', 'u', 's', 0,
    'B', 'o', 't', 't', 'o', 'm', 'E', 'd', 'g', 'e', 0,
    'P', 'a', 'n', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'T', 'a', 'p', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'L', 'e', 'f', 't', 0,
    'R', 'e', 'p', 'e', 'a', 't', 'T', 'i', 'l', 'e', 0,
    'T', 'o', 'p', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'A', 'c', 't', 'i', 'o', 'n', 'M', 'a', 's', 'k', 0,
    'L', 'i', 'n', 'k', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'C', 'o', 'p', 'y', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'I', 'm', 'Q', 'u', 'e', 'r', 'y', 'A', 'l', 'l', 0,
    'Q', 't', ':', ':', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'L', 'a', 's', 't', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'B', 'u', 's', 'y', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'W', 'a', 'i', 't', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'U', 'I', '_', 'G', 'e', 'n', 'e', 'r', 'a', 'l', 0,
    'V', 'e', 'r', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'H', 'o', 'r', 'P', 'a', 't', 't', 'e', 'r', 'n', 0,
    'R', 'i', 'g', 'h', 't', 'A', 'r', 'r', 'o', 'w', 0,
    'K', 'e', 'y', '_', 'Y', 'e', 'l', 'l', 'o', 'w', 0,
    'K', 'e', 'y', '_', 'C', 'a', 'm', 'e', 'r', 'a', 0,
    'K', 'e', 'y', '_', 'W', 'e', 'b', 'C', 'a', 'm', 0,
    'K', 'e', 'y', '_', 'Z', 'o', 'o', 'm', 'I', 'n', 0,
    'K', 'e', 'y', '_', 'T', 'r', 'a', 'v', 'e', 'l', 0,
    'K', 'e', 'y', '_', 'R', 'e', 'l', 'o', 'a', 'd', 0,
    'K', 'e', 'y', '_', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'n', 'u', 'P', 'B', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'n', 'u', 'K', 'B', 0,
    'K', 'e', 'y', '_', 'M', 'a', 'r', 'k', 'e', 't', 0,
    'K', 'e', 'y', '_', 'L', 'o', 'g', 'O', 'f', 'f', 0,
    'K', 'e', 'y', '_', 'i', 'T', 'o', 'u', 'c', 'h', 0,
    'K', 'e', 'y', '_', 'W', 'a', 'k', 'e', 'U', 'p', 0,
    'K', 'e', 'y', '_', 'C', 'a', 'n', 'c', 'e', 'l', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'p', 0,
    'K', 'e', 'y', '_', 'S', 'e', 'l', 'e', 'c', 't', 0,
    'K', 'e', 'y', '_', 'S', 'e', 'a', 'r', 'c', 'h', 0,
    'K', 'e', 'y', '_', 'B', 'a', 's', 's', 'U', 'p', 0,
    'K', 'e', 'y', '_', 'H', 'a', 'n', 'g', 'u', 'l', 0,
    'K', 'e', 'y', '_', 'M', 'a', 's', 's', 'y', 'o', 0,
    'K', 'e', 'y', '_', 'R', 'o', 'm', 'a', 'j', 'i', 0,
    'K', 'e', 'y', '_', 'H', 'e', 'n', 'k', 'a', 'n', 0,
    'K', 'e', 'y', '_', 's', 's', 'h', 'a', 'r', 'p', 0,
    'K', 'e', 'y', '_', 'Y', 'a', 'c', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'U', 'a', 'c', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'U', 'g', 'r', 'a', 'v', 'e', 0,
    'K', 'e', 'y', '_', 'O', 't', 'i', 'l', 'd', 'e', 0,
    'K', 'e', 'y', '_', 'O', 'a', 'c', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'O', 'g', 'r', 'a', 'v', 'e', 0,
    'K', 'e', 'y', '_', 'N', 't', 'i', 'l', 'd', 'e', 0,
    'K', 'e', 'y', '_', 'I', 'a', 'c', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'I', 'g', 'r', 'a', 'v', 'e', 0,
    'K', 'e', 'y', '_', 'E', 'a', 'c', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'E', 'g', 'r', 'a', 'v', 'e', 0,
    'K', 'e', 'y', '_', 'A', 't', 'i', 'l', 'd', 'e', 0,
    'K', 'e', 'y', '_', 'A', 'a', 'c', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'A', 'g', 'r', 'a', 'v', 'e', 0,
    'K', 'e', 'y', '_', 'd', 'e', 'g', 'r', 'e', 'e', 0,
    'K', 'e', 'y', '_', 'm', 'a', 'c', 'r', 'o', 'n', 0,
    'K', 'e', 'y', '_', 'h', 'y', 'p', 'h', 'e', 'n', 0,
    'K', 'e', 'y', '_', 'P', 'e', 'r', 'i', 'o', 'd', 0,
    'K', 'e', 'y', '_', 'D', 'o', 'l', 'l', 'a', 'r', 0,
    'K', 'e', 'y', '_', 'E', 'x', 'c', 'l', 'a', 'm', 0,
    'K', 'e', 'y', '_', 'P', 'a', 'g', 'e', 'U', 'p', 0,
    'K', 'e', 'y', '_', 'S', 'y', 's', 'R', 'e', 'q', 0,
    'K', 'e', 'y', '_', 'D', 'e', 'l', 'e', 't', 'e', 0,
    'K', 'e', 'y', '_', 'I', 'n', 's', 'e', 'r', 't', 0,
    'K', 'e', 'y', '_', 'R', 'e', 't', 'u', 'r', 'n', 0,
    'K', 'e', 'y', '_', 'E', 's', 'c', 'a', 'p', 'e', 0,
    'O', 'p', 'a', 'q', 'u', 'e', 'M', 'o', 'd', 'e', 0,
    'Q', 't', ':', ':', 'B', 'G', 'M', 'o', 'd', 'e', 0,
    'A', 'u', 't', 'o', 'D', 'i', 't', 'h', 'e', 'r', 0,
    'W', 'A', '_', 'R', 'e', 's', 'i', 'z', 'e', 'd', 0,
    'W', 'A', '_', 'S', 'e', 't', 'F', 'o', 'n', 't', 0,
    'W', 'A', '_', 'L', 'a', 'i', 'd', 'O', 'u', 't', 0,
    'E', 'l', 'i', 'd', 'e', 'R', 'i', 'g', 'h', 't', 0,
    'A', 'l', 'i', 'g', 'n', 'R', 'i', 'g', 'h', 't', 0,
    'W', 'h', 'e', 'e', 'l', 'F', 'o', 'c', 'u', 's', 0,
    'C', 'l', 'i', 'c', 'k', 'F', 'o', 'c', 'u', 's', 0,
    'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 0,
    'T', 'a', 's', 'k', 'B', 'u', 't', 't', 'o', 'n', 0,
    'B', 'a', 'c', 'k', 'B', 'u', 't', 't', 'o', 'n', 0,
    'L', 'e', 'f', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'A', 'l', 'l', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'N', 'o', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0,
    'd', 'a', 'r', 'k', 'Y', 'e', 'l', 'l', 'o', 'w', 0,
    '_', '_', 'i', 'n', 'v', 'e', 'r', 't', '_', '_', 0,
    'b', 'e', 'h', 'a', 'v', 'i', 'o', 'u', 'r', 0,
    'i', 's', 'C', 'o', 'm', 'm', 'e', 'n', 't', 0,
    't', 'o', 'k', 'e', 'n', 'T', 'y', 'p', 'e', 0,
    's', 'e', 'g', 'm', 'e', 'n', 't', 'A', 't', 0,
    'k', 'e', 'y', 'V', 'a', 'l', 'u', 'e', 's', 0,
    't', 'o', 'R', 'f', 'c', '4', '1', '2', '2', 0,
    'M', 'i', 'c', 'r', 'o', 's', 'o', 'f', 't', 0,
    'Q', 'U', 'r', 'l', 'Q', 'u', 'e', 'r', 'y', 0,
    't', 'o', 'E', 'n', 'c', 'o', 'd', 'e', 'd', 0,
    'a', 'u', 't', 'h', 'o', 'r', 'i', 't', 'y', 0,
    's', 'e', 't', 'S', 'c', 'h', 'e', 'm', 'e', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'S', 'h', 'o', 'r', 't', 'N', 'a', 'm', 'e', 0,
    'Q', 'T', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', 0,
    'Q', 'T', 'i', 'm', 'e', 'L', 'i', 'n', 'e', 0,
    'l', 'o', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 0,
    's', 't', 'a', 'c', 'k', 'S', 'i', 'z', 'e', 0,
    'm', 'a', 'x', 'L', 'e', 'n', 'g', 't', 'h', 0,
    'F', 'o', 'r', 'c', 'e', 'S', 'i', 'g', 'n', 0,
    't', 'o', 'U', 'n', 'i', 'c', 'o', 'd', 'e', 0,
    'c', 'a', 'n', 'E', 'n', 'c', 'o', 'd', 'e', 0,
    'E', 'n', 'd', 'O', 'f', 'I', 't', 'e', 'm', 0,
    's', 'u', 'b', 'v', 'o', 'l', 'u', 'm', 'e', 0,
    'b', 'l', 'o', 'c', 'k', 'S', 'i', 'z', 'e', 0,
    'b', 'y', 't', 'e', 's', 'F', 'r', 'e', 'e', 0,
    'c', 'h', 'i', 'l', 'd', 'M', 'o', 'd', 'e', 0,
    'l', 'o', 'c', 'a', 't', 'e', 'A', 'l', 'l', 0,
    's', 'o', 'r', 't', 'O', 'r', 'd', 'e', 'r', 0,
    'i', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'E', 'x', 'c', 'e', 'p', 't', 'i', 'o', 'n', 0,
    'b', 'o', 'u', 'n', 'd', 'e', 'd', 'T', 'o', 0,
    't', 'r', 'a', 'n', 's', 'p', 'o', 's', 'e', 0,
    's', 'e', 't', 'S', 'i', 'g', 'n', 'a', 'l', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'K', 'e', 'y', 0,
    'c', 'o', 'n', 's', 't', 'D', 'a', 't', 'a', 0,
    'c', 'h', 'i', 'l', 'd', 'K', 'e', 'y', 's', 0,
    'U', 's', 'e', 'r', 'S', 'c', 'o', 'p', 'e', 0,
    'I', 'n', 'i', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'Q', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 0,
    'a', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'Q', 'S', 'a', 'v', 'e', 'F', 'i', 'l', 'e', 0,
    'Q', 'R', 'u', 'n', 'n', 'a', 'b', 'l', 'e', 0,
    'Q', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    'm', 'a', 't', 'c', 'h', 'T', 'y', 'p', 'e', 0,
    'c', 'a', 'r', 'e', 't', 'M', 'o', 'd', 'e', 0,
    'i', 's', 'M', 'i', 'n', 'i', 'm', 'a', 'l', 0,
    's', 'e', 't', 'H', 'e', 'i', 'g', 'h', 't', 0,
    's', 'e', 't', 'C', 'o', 'o', 'r', 'd', 's', 0,
    'g', 'e', 't', 'C', 'o', 'o', 'r', 'd', 's', 0,
    'm', 'o', 'v', 'e', 'R', 'i', 'g', 'h', 't', 0,
    'p', 'r', 'o', 'c', 'e', 's', 's', 'I', 'd', 0,
    't', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'e', 0,
    'C', 'r', 'a', 's', 'h', 'E', 'x', 'i', 't', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 's', '1', '0', 0,
    'c', 'l', 'a', 's', 's', 'I', 'n', 'f', 'o', 0,
    'c', 'l', 'a', 's', 's', 'N', 'a', 'm', 'e', 0,
    'r', 'e', 'c', 'e', 'i', 'v', 'e', 'r', 's', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 'e', 'd', 0,
    's', 'e', 't', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'k', 'i', 'l', 'l', 'T', 'i', 'm', 'e', 'r', 0,
    'f', 'i', 'n', 'd', 'C', 'h', 'i', 'l', 'd', 0,
    'q', 'I', 's', 'F', 'i', 'n', 'i', 't', 'e', 0,
    '_', '_', 'e', 'n', 't', 'e', 'r', '_', '_', 0,
    'i', 's', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'Q', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'h', 'a', 's', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'c', 'o', 'l', 'o', 'r', 'D', 'a', 't', 'a', 0,
    'i', 'm', 'a', 'g', 'e', 'D', 'a', 't', 'a', 0,
    'Q', 'M', 'i', 'm', 'e', 'D', 'a', 't', 'a', 0,
    't', 'y', 'p', 'e', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'P', 'o', 'l', 'y', 'g', 'o', 'n', 'F', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '4', 'D', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '3', 'D', 0,
    'Q', 'V', 'e', 'c', 't', 'o', 'r', '2', 'D', 0,
    'Q', 'M', 'e', 't', 'a', 'T', 'y', 'p', 'e', 0,
    'Q', 'M', 'e', 't', 'a', 'E', 'n', 'u', 'm', 0,
    'P', 'r', 'o', 't', 'e', 'c', 't', 'e', 'd', 0,
    't', 'o', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'Q', 'M', 'a', 'r', 'g', 'i', 'n', 's', 'F', 0,
    's', 'e', 't', 'B', 'o', 't', 't', 'o', 'm', 0,
    'q', 'C', 'r', 'i', 't', 'i', 'c', 'a', 'l', 0,
    'Q', 't', 'I', 'n', 'f', 'o', 'M', 's', 'g', 0,
    'Q', 't', 'M', 's', 'g', 'T', 'y', 'p', 'e', 0,
    'Q', 'L', 'o', 'c', 'k', 'F', 'i', 'l', 'e', 0,
    'b', 'c', 'p', '4', '7', 'N', 'a', 'm', 'e', 0,
    'M', 'r', 'o', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'N', 'k', 'o', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'V', 'a', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'L', 'a', 'o', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'A', 'n', 'y', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'm', 'o', 'n', 't', 'h', 'N', 'a', 'm', 'e', 0,
    'z', 'e', 'r', 'o', 'D', 'i', 'g', 'i', 't', 0,
    'I', 's', 'l', 'e', 'O', 'f', 'M', 'a', 'n', 0,
    'V', 'e', 'n', 'e', 'z', 'u', 'e', 'l', 'a', 0,
    'S', 'w', 'a', 'z', 'i', 'l', 'a', 'n', 'd', 0,
    'S', 'i', 'n', 'g', 'a', 'p', 'o', 'r', 'e', 0,
    'S', 'a', 'n', 'M', 'a', 'r', 'i', 'n', 'o', 0,
    'N', 'i', 'c', 'a', 'r', 'a', 'g', 'u', 'a', 0,
    'M', 'a', 'u', 'r', 'i', 't', 'i', 'u', 's', 0,
    'M', 'a', 'c', 'e', 'd', 'o', 'n', 'i', 'a', 0,
    'L', 'i', 't', 'h', 'u', 'a', 'n', 'i', 'a', 0,
    'I', 'n', 'd', 'o', 'n', 'e', 's', 'i', 'a', 0,
    'G', 'u', 'a', 't', 'e', 'm', 'a', 'l', 'a', 0,
    'G', 'r', 'e', 'e', 'n', 'l', 'a', 'n', 'd', 0,
    'G', 'i', 'b', 'r', 'a', 'l', 't', 'a', 'r', 0,
    'E', 'a', 's', 't', 'T', 'i', 'm', 'o', 'r', 0,
    'C', 'o', 's', 't', 'a', 'R', 'i', 'c', 'a', 0,
    'C', 'a', 'p', 'e', 'V', 'e', 'r', 'd', 'e', 0,
    'A', 'u', 's', 't', 'r', 'a', 'l', 'i', 'a', 0,
    'A', 'r', 'g', 'e', 'n', 't', 'i', 'n', 'a', 0,
    'C', 'a', 'n', 't', 'o', 'n', 'e', 's', 'e', 0,
    'T', 'e', 'd', 'i', 'm', 'C', 'h', 'i', 'n', 0,
    'H', 'm', 'o', 'n', 'g', 'N', 'j', 'u', 'a', 0,
    'S', 'k', 'o', 'l', 't', 'S', 'a', 'm', 'i', 0,
    'I', 'n', 'a', 'r', 'i', 'S', 'a', 'm', 'i', 0,
    'S', 'a', 'm', 'a', 'r', 'i', 't', 'a', 'n', 0,
    'B', 'a', 't', 'a', 'k', 'T', 'o', 'b', 'a', 0,
    'A', 'r', 'a', 'g', 'o', 'n', 'e', 's', 'e', 0,
    'N', 'g', 'i', 'e', 'm', 'b', 'o', 'o', 'n', 0,
    'S', 'a', 'r', 'd', 'i', 'n', 'i', 'a', 'n', 0,
    'J', 'o', 'l', 'a', 'F', 'o', 'n', 'y', 'i', 0,
    'C', 'o', 'l', 'o', 'g', 'n', 'i', 'a', 'n', 0,
    'T', 'a', 'c', 'h', 'e', 'l', 'h', 'i', 't', 0,
    'L', 'o', 'w', 'G', 'e', 'r', 'm', 'a', 'n', 0,
    'S', 'i', 'c', 'h', 'u', 'a', 'n', 'Y', 'i', 0,
    'U', 'k', 'r', 'a', 'i', 'n', 'i', 'a', 'n', 0,
    'S', 'u', 'n', 'd', 'a', 'n', 'e', 's', 'e', 0,
    'S', 'l', 'o', 'v', 'e', 'n', 'i', 'a', 'n', 0,
    'N', 'o', 'r', 'w', 'e', 'g', 'i', 'a', 'n', 0,
    'M', 'o', 'n', 'g', 'o', 'l', 'i', 'a', 'n', 0,
    'M', 'o', 'l', 'd', 'a', 'v', 'i', 'a', 'n', 0,
    'M', 'a', 'l', 'a', 'y', 'a', 'l', 'a', 'm', 0,
    'I', 'n', 'u', 'k', 't', 'i', 't', 'u', 't', 0,
    'I', 'c', 'e', 'l', 'a', 'n', 'd', 'i', 'c', 0,
    'H', 'u', 'n', 'g', 'a', 'r', 'i', 'a', 'n', 0,
    'E', 's', 'p', 'e', 'r', 'a', 'n', 't', 'o', 0,
    'C', 'a', 'm', 'b', 'o', 'd', 'i', 'a', 'n', 0,
    'B', 'u', 'l', 'g', 'a', 'r', 'i', 'a', 'n', 0,
    'A', 'f', 'r', 'i', 'k', 'a', 'a', 'n', 's', 0,
    'A', 'b', 'k', 'h', 'a', 'z', 'i', 'a', 'n', 0,
    'f', 'r', 'o', 'm', 'P', 'o', 'l', 'a', 'r', 0,
    's', 'e', 't', 'L', 'e', 'n', 'g', 't', 'h', 0,
    'i', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 0,
    's', 'e', 't', 'P', 'o', 'i', 'n', 't', 's', 0,
    'b', 'u', 'i', 'l', 'd', 'D', 'a', 't', 'e', 0,
    'T', 'e', 's', 't', 's', 'P', 'a', 't', 'h', 0,
    'i', 's', 'L', 'i', 'b', 'r', 'a', 'r', 'y', 0,
    'l', 'o', 'a', 'd', 'H', 'i', 'n', 't', 's', 0,
    's', 'e', 't', 'O', 'b', 'j', 'e', 'c', 't', 0,
    't', 'o', 'V', 'a', 'r', 'i', 'a', 'n', 't', 0,
    't', 'a', 'k', 'e', 'F', 'i', 'r', 's', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'l', 'l', 0,
    'r', 'e', 'a', 'd', 'y', 'R', 'e', 'a', 'd', 0,
    'u', 'n', 'g', 'e', 't', 'C', 'h', 'a', 'r', 0,
    'R', 'e', 'a', 'd', 'W', 'r', 'i', 't', 'e', 0,
    'W', 'r', 'i', 't', 'e', 'O', 'n', 'l', 'y', 0,
    'i', 's', 'S', 'y', 'm', 'L', 'i', 'n', 'k', 0,
    'Q', 'F', 'i', 'l', 'e', 'I', 'n', 'f', 'o', 0,
    'N', 'o', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'R', 'e', 'a', 'd', 'O', 't', 'h', 'e', 'r', 0,
    'R', 'e', 'a', 'd', 'G', 'r', 'o', 'u', 'p', 0,
    'W', 'r', 'i', 't', 'e', 'U', 's', 'e', 'r', 0,
    'R', 'e', 'a', 'd', 'O', 'w', 'n', 'e', 'r', 0,
    'C', 'o', 'p', 'y', 'E', 'r', 'r', 'o', 'r', 0,
    'O', 'p', 'e', 'n', 'E', 'r', 'r', 'o', 'r', 0,
    'R', 'e', 'a', 'd', 'E', 'r', 'r', 'o', 'r', 0,
    'i', 's', 'R', 'u', 'n', 'n', 'i', 'n', 'g', 0,
    'A', 'l', 'l', 'E', 'v', 'e', 'n', 't', 's', 0,
    'c', 'l', 'o', 'c', 'k', 'T', 'y', 'p', 'e', 0,
    'o', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 0,
    's', 'e', 't', 'P', 'e', 'r', 'i', 'o', 'd', 0,
    'a', 'm', 'p', 'l', 'i', 't', 'u', 'd', 'e', 0,
    'T', 'C', 'B', 'S', 'p', 'l', 'i', 'n', 'e', 0,
    'S', 'i', 'n', 'e', 'C', 'u', 'r', 'v', 'e', 0,
    'O', 'u', 't', 'I', 'n', 'B', 'a', 'c', 'k', 0,
    'I', 'n', 'O', 'u', 't', 'B', 'a', 'c', 'k', 0,
    'O', 'u', 't', 'I', 'n', 'C', 'i', 'r', 'c', 0,
    'I', 'n', 'O', 'u', 't', 'C', 'i', 'r', 'c', 0,
    'O', 'u', 't', 'I', 'n', 'E', 'x', 'p', 'o', 0,
    'I', 'n', 'O', 'u', 't', 'E', 'x', 'p', 'o', 0,
    'O', 'u', 't', 'I', 'n', 'S', 'i', 'n', 'e', 0,
    'I', 'n', 'O', 'u', 't', 'S', 'i', 'n', 'e', 0,
    'O', 'u', 't', 'I', 'n', 'Q', 'u', 'a', 'd', 0,
    'I', 'n', 'O', 'u', 't', 'Q', 'u', 'a', 'd', 0,
    'c', 'l', 'e', 'a', 'n', 'P', 'a', 't', 'h', 0,
    'e', 'n', 't', 'r', 'y', 'L', 'i', 's', 't', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'D', 'i', 'r', 's', 'F', 'i', 'r', 's', 't', 0,
    'i', 's', 'F', 'o', 'r', 'e', 'v', 'e', 'r', 0,
    's', 'e', 't', 'T', 'i', 'm', 'e', '_', 't', 0,
    'Q', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    'a', 'd', 'd', 'M', 'o', 'n', 't', 'h', 's', 0,
    'd', 'a', 'y', 'O', 'f', 'Y', 'e', 'a', 'r', 0,
    'd', 'a', 'y', 'O', 'f', 'W', 'e', 'e', 'k', 0,
    'r', 'e', 'a', 'd', 'B', 'y', 't', 'e', 's', 0,
    'w', 'r', 'i', 't', 'e', 'B', 'o', 'o', 'l', 0,
    'w', 'r', 'i', 't', 'e', 'I', 'n', 't', '8', 0,
    'r', 'e', 'a', 'd', 'F', 'l', 'o', 'a', 't', 0,
    'r', 'e', 'a', 'd', 'I', 'n', 't', '6', '4', 0,
    'r', 'e', 'a', 'd', 'I', 'n', 't', '3', '2', 0,
    'r', 'e', 'a', 'd', 'I', 'n', 't', '1', '6', 0,
    'r', 'e', 'a', 'd', 'U', 'I', 'n', 't', '8', 0,
    'b', 'y', 't', 'e', 'O', 'r', 'd', 'e', 'r', 0,
    's', 'e', 't', 'D', 'e', 'v', 'i', 'c', 'e', 0,
    'B', 'i', 'g', 'E', 'n', 'd', 'i', 'a', 'n', 0,
    'G', 'r', 'a', 'b', 'M', 'o', 'u', 's', 'e', 0,
    'S', 't', 'a', 't', 'u', 's', 'T', 'i', 'p', 0,
    'O', 'k', 'R', 'e', 'q', 'u', 'e', 's', 't', 0,
    'C', 'l', 'i', 'p', 'b', 'o', 'a', 'r', 'd', 0,
    't', 'r', 'a', 'n', 's', 'l', 'a', 't', 'e', 0,
    'p', 'o', 's', 't', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 'n', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'e', 'r', 'r', 'o', 'r', 'T', 'e', 'x', 't', 0,
    'a', 'r', 'g', 'u', 'm', 'e', 'n', 't', 's', 0,
    'a', 'd', 'd', 'O', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'v', 'a', 'l', 'u', 'e', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'L', 'o', 'c', 'a', 'l', 'e', 0,
    'Q', 'C', 'o', 'l', 'l', 'a', 't', 'o', 'r', 0,
    'q', 'C', 'h', 'e', 'c', 'k', 's', 'u', 'm', 0,
    'q', 'C', 'o', 'm', 'p', 'r', 'e', 's', 's', 0,
    's', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    'p', 'u', 's', 'h', '_', 'b', 'a', 'c', 'k', 0,
    'p', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'w', 'r', 'i', 't', 'e', 'D', 'a', 't', 'a', 0,
    's', 'e', 't', 'B', 'u', 'f', 'f', 'e', 'r', 0,
    'Q', 'I', 'O', 'D', 'e', 'v', 'i', 'c', 'e', 0,
    't', 'o', 'g', 'g', 'l', 'e', 'B', 'i', 't', 0,
    'Q', 'B', 'i', 't', 'A', 'r', 'r', 'a', 'y', 0,
    'e', 'v', 'e', 'n', 't', 'T', 'e', 's', 't', 0,
    't', 'r', 'i', 'g', 'g', 'e', 'r', 'e', 'd', 0,
    's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'r', 'o', 'w', 's', 'M', 'o', 'v', 'e', 'd', 0,
    'r', 'o', 'l', 'e', 'N', 'a', 'm', 'e', 's', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'R', 'o', 'w', 0,
    'i', 'n', 's', 'e', 'r', 't', 'R', 'o', 'w', 0,
    'f', 'e', 't', 'c', 'h', 'M', 'o', 'r', 'e', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 's', 0,
    'e', 'v', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    'i', 'n', 't', 'e', 'r', 'r', 'u', 'p', 't', 0,
    't', 'i', 'm', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'P', 'a', 'u', 's', 'e', 'd', 0,
    'l', 'o', 'o', 'p', 'C', 'o', 'u', 'n', 't', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 't', ':', ':', 'E', 'd', 'g', 'e', 's', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'E', 'n', 'd', 0,
    'R', 'i', 'g', 'h', 't', 'E', 'd', 'g', 'e', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'T', 'o', 'p', 0,
    'R', 'o', 'u', 'n', 'd', 'T', 'i', 'l', 'e', 0,
    'N', 'o', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'M', 'a', 't', 'c', 'h', 'W', 'r', 'a', 'p', 0,
    'U', 'n', 'c', 'h', 'e', 'c', 'k', 'e', 'd', 0,
    'I', 'm', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'W', 'e', 'd', 'n', 'e', 's', 'd', 'a', 'y', 0,
    'L', 'o', 'c', 'a', 'l', 'D', 'a', 't', 'e', 0,
    'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 0,
    'R', 'o', 'u', 'n', 'd', 'J', 'o', 'i', 'n', 0,
    'B', 'e', 'v', 'e', 'l', 'J', 'o', 'i', 'n', 0,
    'S', 'q', 'u', 'a', 'r', 'e', 'C', 'a', 'p', 0,
    'M', 'P', 'e', 'n', 'S', 't', 'y', 'l', 'e', 0,
    'S', 'o', 'l', 'i', 'd', 'L', 'i', 'n', 'e', 0,
    'L', 'e', 'f', 't', 'A', 'r', 'r', 'o', 'w', 0,
    'D', 'o', 'w', 'n', 'A', 'r', 'r', 'o', 'w', 0,
    'K', 'e', 'y', '_', 'G', 'u', 'i', 'd', 'e', 0,
    'K', 'e', 'y', '_', 'G', 'r', 'e', 'e', 'n', 0,
    'K', 'e', 'y', '_', 'M', 'u', 's', 'i', 'c', 0,
    'K', 'e', 'y', '_', 'V', 'i', 'd', 'e', 'o', 0,
    'K', 'e', 'y', '_', 'T', 'o', 'o', 'l', 's', 0,
    'K', 'e', 'y', '_', 'S', 'p', 'e', 'l', 'l', 0,
    'K', 'e', 'y', '_', 'R', 'e', 'p', 'l', 'y', 0,
    'K', 'e', 'y', '_', 'P', 'h', 'o', 'n', 'e', 0,
    'K', 'e', 'y', '_', 'P', 'a', 's', 't', 'e', 0,
    'K', 'e', 'y', '_', 'E', 'x', 'c', 'e', 'l', 0,
    'K', 'e', 'y', '_', 'C', 'l', 'o', 's', 'e', 0,
    'K', 'e', 'y', '_', 'E', 'j', 'e', 'c', 't', 0,
    'K', 'e', 'y', '_', 'S', 'l', 'e', 'e', 'p', 0,
    'K', 'e', 'y', '_', 'K', 'a', 'n', 'j', 'i', 0,
    'K', 'e', 'y', '_', 'A', 'l', 't', 'G', 'r', 0,
    'K', 'e', 'y', '_', 'T', 'H', 'O', 'R', 'N', 0,
    'K', 'e', 'y', '_', 'A', 'r', 'i', 'n', 'g', 0,
    'K', 'e', 'y', '_', 'a', 'c', 'u', 't', 'e', 0,
    'K', 'e', 'y', '_', 'E', 'q', 'u', 'a', 'l', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'l', 'o', 'n', 0,
    'K', 'e', 'y', '_', 'S', 'l', 'a', 's', 'h', 0,
    'K', 'e', 'y', '_', 'M', 'i', 'n', 'u', 's', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'm', 'm', 'a', 0,
    'K', 'e', 'y', '_', 'S', 'p', 'a', 'c', 'e', 0,
    'K', 'e', 'y', '_', 'S', 'h', 'i', 'f', 't', 0,
    'K', 'e', 'y', '_', 'R', 'i', 'g', 'h', 't', 0,
    'K', 'e', 'y', '_', 'C', 'l', 'e', 'a', 'r', 0,
    'K', 'e', 'y', '_', 'P', 'r', 'i', 'n', 't', 0,
    'K', 'e', 'y', '_', 'P', 'a', 'u', 's', 'e', 0,
    'K', 'e', 'y', '_', 'E', 'n', 't', 'e', 'r', 0,
    'C', 'o', 'l', 'o', 'r', 'O', 'n', 'l', 'y', 0,
    'A', 'u', 't', 'o', 'C', 'o', 'l', 'o', 'r', 0,
    'W', 'A', '_', 'M', 'a', 'p', 'p', 'e', 'd', 0,
    'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'E', 'l', 'i', 'd', 'e', 'N', 'o', 'n', 'e', 0,
    'E', 'l', 'i', 'd', 'e', 'L', 'e', 'f', 't', 0,
    'A', 'l', 'i', 'g', 'n', 'L', 'e', 'f', 't', 0,
    'M', 'i', 'd', 'B', 'u', 't', 't', 'o', 'n', 0,
    'd', 'a', 'r', 'k', 'G', 'r', 'e', 'e', 'n', 0,
    'l', 'i', 'g', 'h', 't', 'G', 'r', 'a', 'y', 0,
    'b', 'u', 'i', 'l', 'd', 'A', 'b', 'i', 0,
    'W', 'o', 'r', 'd', 'S', 'i', 'z', 'e', 0,
    'Q', 'S', 'y', 's', 'I', 'n', 'f', 'o', 0,
    'w', 'r', 'i', 't', 'e', 'D', 'T', 'D', 0,
    'h', 'a', 's', 'E', 'r', 'r', 'o', 'r', 0,
    'r', 'e', 'a', 'd', 'N', 'e', 'x', 't', 0,
    'p', 'u', 'b', 'l', 'i', 'c', 'I', 'd', 0,
    's', 'y', 's', 't', 'e', 'm', 'I', 'd', 0,
    's', 'e', 'g', 'm', 'e', 'n', 't', 's', 0,
    'e', 'n', 'd', 'V', 'a', 'l', 'u', 'e', 0,
    'U', 's', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'Q', 'u', 'e', 'r', 'y', 0,
    'h', 'a', 's', 'Q', 'u', 'e', 'r', 'y', 0,
    'r', 'e', 's', 'o', 'l', 'v', 'e', 'd', 0,
    'f', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    'p', 'a', 's', 's', 'w', 'o', 'r', 'd', 0,
    'u', 's', 'e', 'r', 'N', 'a', 'm', 'e', 0,
    'u', 's', 'e', 'r', 'I', 'n', 'f', 'o', 0,
    'n', 'a', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'L', 'o', 'n', 'g', 'N', 'a', 'm', 'e', 0,
    'e', 'n', 'd', 'F', 'r', 'a', 'm', 'e', 0,
    't', 'r', 'y', 'S', 't', 'a', 'r', 't', 0,
    's', 'e', 't', 'C', 'o', 'd', 'e', 'c', 0,
    'S', 'h', 'o', 'w', 'B', 'a', 's', 'e', 0,
    'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'S', 'e', 'n', 't', 'e', 'n', 'c', 'e', 0,
    'G', 'r', 'a', 'p', 'h', 'e', 'm', 'e', 0,
    'a', 'd', 'd', 'S', 't', 'a', 't', 'e', 0,
    's', 'o', 'r', 't', 'R', 'o', 'l', 'e', 0,
    'l', 'e', 's', 's', 'T', 'h', 'a', 'n', 0,
    'N', 'o', 't', 'F', 'o', 'u', 'n', 'd', 0,
    'K', 'e', 'y', 'E', 'r', 'r', 'o', 'r', 0,
    'i', 'n', 'i', 'C', 'o', 'd', 'e', 'c', 0,
    's', 'e', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'e', 'n', 'd', 'A', 'r', 'r', 'a', 'y', 0,
    'e', 'n', 'd', 'G', 'r', 'o', 'u', 'p', 0,
    'a', 'd', 'd', 'P', 'a', 'u', 's', 'e', 0,
    'p', 'e', 'e', 'k', 'N', 'e', 'x', 't', 0,
    'c', 'a', 'p', 't', 'u', 'r', 'e', 'd', 0,
    'h', 'a', 's', 'M', 'a', 't', 'c', 'h', 0,
    'o', 'p', 't', 'i', 'm', 'i', 'z', 'e', 0,
    's', 'e', 't', 'W', 'i', 'd', 't', 'h', 0,
    'a', 'd', 'j', 'u', 's', 't', 'e', 'd', 0,
    'm', 'o', 'v', 'e', 'L', 'e', 'f', 't', 0,
    't', 'o', 'p', 'R', 'i', 'g', 'h', 't', 0,
    'S', 't', 'a', 'r', 't', 'i', 'n', 'g', 0,
    'T', 'i', 'm', 'e', 'd', 'o', 'u', 't', 0,
    'Q', 'P', 'r', 'o', 'c', 'e', 's', 's', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 's', '8', 0,
    'W', 'i', 'n', 'd', 'o', 'w', 's', '7', 0,
    'p', 'y', 'q', 't', 'S', 'l', 'o', 't', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'c', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    '_', '_', 'e', 'x', 'i', 't', '_', '_', 0,
    'i', 'n', 'h', 'e', 'r', 'i', 't', 's', 0,
    's', 'u', 'f', 'f', 'i', 'x', 'e', 's', 0,
    'i', 'c', 'o', 'n', 'N', 'a', 'm', 'e', 0,
    'h', 'a', 's', 'C', 'o', 'l', 'o', 'r', 0,
    'h', 'a', 's', 'I', 'm', 'a', 'g', 'e', 0,
    'I', 's', 'G', 'a', 'd', 'g', 'e', 't', 0,
    'V', 'o', 'i', 'd', 'S', 't', 'a', 'r', 0,
    'Q', 'P', 'o', 'l', 'y', 'g', 'o', 'n', 0,
    'Q', 'P', 'a', 'l', 'e', 't', 't', 'e', 0,
    'u', 's', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    'i', 's', 'S', 't', 'o', 'r', 'e', 'd', 0,
    'i', 's', 'S', 'c', 'o', 'p', 'e', 'd', 0,
    'k', 'e', 'y', 'C', 'o', 'u', 'n', 't', 0,
    't', 'y', 'p', 'e', 'N', 'a', 'm', 'e', 0,
    '_', '_', 'i', 'd', 'i', 'v', '_', '_', 0,
    's', 'e', 't', 'R', 'i', 'g', 'h', 't', 0,
    'Q', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'q', 'W', 'a', 'r', 'n', 'i', 'n', 'g', 0,
    'c', 'r', 'i', 't', 'i', 'c', 'a', 'l', 0,
    'c', 'a', 't', 'e', 'g', 'o', 'r', 'y', 0,
    'f', 'u', 'n', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'L', 'o', 'c', 'k', 'e', 'd', 0,
    'w', 'e', 'e', 'k', 'd', 'a', 'y', 's', 0,
    'Y', 'i', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'l', 'a', 'n', 'g', 'u', 'a', 'g', 'e', 0,
    'G', 'u', 'e', 'r', 'n', 's', 'e', 'y', 0,
    'Z', 'i', 'm', 'b', 'a', 'b', 'w', 'e', 0,
    'T', 'h', 'a', 'i', 'l', 'a', 'n', 'd', 0,
    'T', 'a', 'n', 'z', 'a', 'n', 'i', 'a', 0,
    'S', 'u', 'r', 'i', 'n', 'a', 'm', 'e', 0,
    'S', 'r', 'i', 'L', 'a', 'n', 'k', 'a', 0,
    'S', 'l', 'o', 'v', 'e', 'n', 'i', 'a', 0,
    'S', 'l', 'o', 'v', 'a', 'k', 'i', 'a', 0,
    'P', 'o', 'r', 't', 'u', 'g', 'a', 'l', 0,
    'P', 'i', 't', 'c', 'a', 'i', 'r', 'n', 0,
    'P', 'a', 'r', 'a', 'g', 'u', 'a', 'y', 0,
    'P', 'a', 'k', 'i', 's', 't', 'a', 'n', 0,
    'M', 'o', 'n', 'g', 'o', 'l', 'i', 'a', 0,
    'M', 'a', 'l', 'd', 'i', 'v', 'e', 's', 0,
    'M', 'a', 'l', 'a', 'y', 's', 'i', 'a', 0,
    'K', 'i', 'r', 'i', 'b', 'a', 't', 'i', 0,
    'H', 'o', 'n', 'g', 'K', 'o', 'n', 'g', 0,
    'H', 'o', 'n', 'd', 'u', 'r', 'a', 's', 0,
    'E', 't', 'h', 'i', 'o', 'p', 'i', 'a', 0,
    'D', 'o', 'm', 'i', 'n', 'i', 'c', 'a', 0,
    'D', 'j', 'i', 'b', 'o', 'u', 't', 'i', 0,
    'C', 'o', 'l', 'o', 'm', 'b', 'i', 'a', 0,
    'C', 'a', 'm', 'e', 'r', 'o', 'o', 'n', 0,
    'C', 'a', 'm', 'b', 'o', 'd', 'i', 'a', 0,
    'B', 'u', 'l', 'g', 'a', 'r', 'i', 'a', 0,
    'B', 'o', 't', 's', 'w', 'a', 'n', 'a', 0,
    'B', 'a', 'r', 'b', 'a', 'd', 'o', 's', 0,
    'A', 'n', 'g', 'u', 'i', 'l', 'l', 'a', 0,
    'T', 'o', 'k', 'P', 'i', 's', 'i', 'n', 0,
    'B', 'h', 'o', 'j', 'p', 'u', 'r', 'i', 0,
    'M', 'a', 'i', 't', 'h', 'i', 'l', 'i', 0,
    'L', 'e', 'z', 'g', 'h', 'i', 'a', 'n', 0,
    'W', 'a', 'r', 'l', 'p', 'i', 'r', 'i', 0,
    'L', 'u', 'l', 'e', 'S', 'a', 'm', 'i', 0,
    'P', 'r', 'u', 's', 's', 'i', 'a', 'n', 0,
    'U', 'g', 'a', 'r', 'i', 't', 'i', 'c', 0,
    'T', 'a', 'g', 'b', 'a', 'n', 'w', 'a', 0,
    'P', 'a', 'r', 't', 'h', 'i', 'a', 'n', 0,
    'O', 'l', 'd', 'N', 'o', 'r', 's', 'e', 0,
    'O', 'l', 'd', 'I', 'r', 'i', 's', 'h', 0,
    'M', 'e', 'r', 'o', 'i', 't', 'i', 'c', 0,
    'M', 'a', 'n', 'i', 'p', 'u', 'r', 'i', 0,
    'M', 'a', 'n', 'd', 'i', 'n', 'g', 'o', 0,
    'E', 't', 'r', 'u', 's', 'c', 'a', 'n', 0,
    'B', 'u', 'g', 'i', 'n', 'e', 's', 'e', 0,
    'B', 'a', 'l', 'i', 'n', 'e', 's', 'e', 0,
    'A', 'k', 'k', 'a', 'd', 'i', 'a', 'n', 0,
    'A', 's', 't', 'u', 'r', 'i', 'a', 'n', 0,
    'K', 'w', 'a', 'n', 'y', 'a', 'm', 'a', 0,
    'H', 'i', 'r', 'i', 'M', 'o', 't', 'u', 0,
    'C', 'h', 'a', 'm', 'o', 'r', 'r', 'o', 0,
    'T', 'a', 'h', 'i', 't', 'i', 'a', 'n', 0,
    'D', 'z', 'o', 'n', 'g', 'k', 'h', 'a', 0,
    'S', 'h', 'a', 'm', 'b', 'a', 'l', 'a', 0,
    'K', 'a', 'l', 'e', 'n', 'j', 'i', 'n', 0,
    'M', 'o', 'r', 'i', 's', 'y', 'e', 'n', 0,
    'C', 'h', 'e', 'r', 'o', 'k', 'e', 'e', 0,
    'N', 'y', 'a', 'n', 'k', 'o', 'l', 'e', 0,
    'F', 'i', 'l', 'i', 'p', 'i', 'n', 'o', 0,
    'H', 'a', 'w', 'a', 'i', 'i', 'a', 'n', 0,
    'F', 'r', 'i', 'u', 'l', 'i', 'a', 'n', 0,
    'T', 'i', 'g', 'r', 'i', 'n', 'y', 'a', 0,
    'S', 'a', 'n', 's', 'k', 'r', 'i', 't', 0,
    'R', 'o', 'm', 'a', 'n', 'i', 'a', 'n', 0,
    'M', 'a', 'l', 'a', 'g', 'a', 's', 'y', 0,
    'K', 'a', 's', 'h', 'm', 'i', 'r', 'i', 0,
    'J', 'a', 'v', 'a', 'n', 'e', 's', 'e', 0,
    'J', 'a', 'p', 'a', 'n', 'e', 's', 'e', 0,
    'G', 'u', 'j', 'a', 'r', 'a', 't', 'i', 0,
    'G', 'e', 'o', 'r', 'g', 'i', 'a', 'n', 0,
    'G', 'a', 'l', 'i', 'c', 'i', 'a', 'n', 0,
    'E', 's', 't', 'o', 'n', 'i', 'a', 'n', 0,
    'C', 'o', 'r', 's', 'i', 'c', 'a', 'n', 0,
    'A', 's', 's', 'a', 'm', 'e', 's', 'e', 0,
    'A', 'r', 'm', 'e', 'n', 'i', 'a', 'n', 0,
    'A', 'l', 'b', 'a', 'n', 'i', 'a', 'n', 0,
    's', 'e', 't', 'A', 'n', 'g', 'l', 'e', 0,
    'l', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'l', 'i', 'c', 'e', 'n', 's', 'e', 'e', 0,
    'i', 's', 'L', 'o', 'a', 'd', 'e', 'd', 0,
    'Q', 'L', 'i', 'b', 'r', 'a', 'r', 'y', 0,
    't', 'o', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'i', 's', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'i', 's', 'D', 'o', 'u', 'b', 'l', 'e', 0,
    's', 'e', 't', 'A', 'r', 'r', 'a', 'y', 0,
    'i', 's', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'f', 'r', 'o', 'm', 'J', 's', 'o', 'n', 0,
    'I', 'n', 'd', 'e', 'n', 't', 'e', 'd', 0,
    'V', 'a', 'l', 'i', 'd', 'a', 't', 'e', 0,
    't', 'a', 'k', 'e', 'L', 'a', 's', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 't', 0,
    'D', 'e', 's', 'e', 'l', 'e', 'c', 't', 0,
    'N', 'o', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'r', 'e', 'a', 'd', 'L', 'i', 'n', 'e', 0,
    'T', 'r', 'u', 'n', 'c', 'a', 't', 'e', 0,
    'a', 'd', 'd', 'P', 'a', 't', 'h', 's', 0,
    'i', 's', 'B', 'u', 'n', 'd', 'l', 'e', 0,
    'l', 'a', 's', 't', 'R', 'e', 'a', 'd', 0,
    'b', 'a', 's', 'e', 'N', 'a', 'm', 'e', 0,
    'E', 'x', 'e', 'O', 't', 'h', 'e', 'r', 0,
    'E', 'x', 'e', 'G', 'r', 'o', 'u', 'p', 0,
    'R', 'e', 'a', 'd', 'U', 's', 'e', 'r', 0,
    'E', 'x', 'e', 'O', 'w', 'n', 'e', 'r', 0,
    'f', 'i', 'l', 'e', 'I', 'n', 'f', 'o', 0,
    't', 'e', 'm', 'p', 'P', 'a', 't', 'h', 0,
    'r', 'o', 'o', 't', 'P', 'a', 't', 'h', 0,
    'h', 'o', 'm', 'e', 'P', 'a', 't', 'h', 0,
    'f', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    'f', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'D', 'i', 'r', 's', 'L', 'a', 's', 't', 0,
    'R', 'e', 'v', 'e', 'r', 's', 'e', 'd', 0,
    'U', 'n', 's', 'o', 'r', 't', 'e', 'd', 0,
    'N', 'o', 'D', 'o', 't', 'D', 'o', 't', 0,
    'N', 'o', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'T', 'y', 'p', 'e', 'M', 'a', 's', 'k', 0,
    '_', '_', 'i', 's', 'u', 'b', '_', '_', 0,
    'a', 'd', 'd', 'N', 'S', 'e', 'c', 's', 0,
    'd', 'e', 'a', 'd', 'l', 'i', 'n', 'e', 0,
    't', 'i', 'm', 'e', 'Z', 'o', 'n', 'e', 0,
    't', 'o', 'T', 'i', 'm', 'e', '_', 't', 0,
    't', 'i', 'm', 'e', 'S', 'p', 'e', 'c', 0,
    'a', 'd', 'd', 'M', 'S', 'e', 'c', 's', 0,
    't', 'o', 'P', 'y', 'T', 'i', 'm', 'e', 0,
    'a', 'd', 'd', 'Y', 'e', 'a', 'r', 's', 0,
    't', 'o', 'S', 't', 'r', 'i', 'n', 'g', 0,
    't', 'o', 'P', 'y', 'D', 'a', 't', 'e', 0,
    'w', 'r', 'i', 't', 'e', 'I', 'n', 't', 0,
    'r', 'e', 'a', 'd', 'B', 'o', 'o', 'l', 0,
    'r', 'e', 'a', 'd', 'I', 'n', 't', '8', 0,
    'S', 'h', 'a', '3', '_', '5', '1', '2', 0,
    'S', 'h', 'a', '3', '_', '3', '8', '4', 0,
    'S', 'h', 'a', '3', '_', '2', '5', '6', 0,
    'S', 'h', 'a', '3', '_', '2', '2', '4', 0,
    'p', 'o', 'l', 'i', 's', 'h', 'e', 'd', 0,
    'T', 'o', 'u', 'c', 'h', 'E', 'n', 'd', 0,
    'F', 'i', 'l', 'e', 'O', 'p', 'e', 'n', 0,
    'I', 'c', 'o', 'n', 'D', 'r', 'a', 'g', 0,
    'M', 'e', 't', 'a', 'C', 'a', 'l', 'l', 0,
    'F', 'o', 'c', 'u', 's', 'O', 'u', 't', 0,
    'K', 'e', 'y', 'P', 'r', 'e', 's', 's', 0,
    'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'r', 'e', 'c', 'e', 'i', 'v', 'e', 'r', 0,
    'h', 'e', 'l', 'p', 'T', 'e', 'x', 't', 0,
    's', 'h', 'o', 'w', 'H', 'e', 'l', 'p', 0,
    'e', 'x', 'i', 't', 'C', 'o', 'd', 'e', 0,
    's', 'e', 't', 'F', 'l', 'a', 'g', 's', 0,
    'i', 's', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'r', 'e', 'p', 'e', 'a', 't', 'e', 'd', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 's', 0,
    'c', 'a', 'p', 'a', 'c', 'i', 't', 'y', 0,
    '_', '_', 'i', 'm', 'u', 'l', '_', '_', 0,
    '_', '_', 'r', 'e', 'p', 'r', '_', '_', 0,
    't', 'o', 'B', 'a', 's', 'e', '6', '4', 0,
    't', 'o', 'D', 'o', 'u', 'b', 'l', 'e', 0,
    't', 'o', 'U', 'S', 'h', 'o', 'r', 't', 0,
    '_', '_', 'i', 'a', 'd', 'd', '_', '_', 0,
    'e', 'n', 'd', 's', 'W', 'i', 't', 'h', 0,
    'r', 'e', 'a', 'd', 'D', 'a', 't', 'a', 0,
    'o', 'p', 'e', 'n', 'M', 'o', 'd', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'B', 'i', 't', 0,
    't', 'r', 'u', 'n', 'c', 'a', 't', 'e', 0,
    'i', 's', 'A', 'c', 't', 'i', 'v', 'e', 0,
    'm', 'i', 'm', 'e', 'D', 'a', 't', 'a', 0,
    'i', 't', 'e', 'm', 'D', 'a', 't', 'a', 0,
    'r', 'o', 'w', 'C', 'o', 'u', 'n', 't', 0,
    'h', 'a', 's', 'I', 'n', 'd', 'e', 'x', 0,
    'i', 'n', 's', 't', 'a', 'n', 'c', 'e', 0,
    'i', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    'f', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'd', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'B', 'a', 'c', 'k', 'w', 'a', 'r', 'd', 0,
    'L', 'e', 'f', 't', 'E', 'd', 'g', 'e', 0,
    'Q', 't', ':', ':', 'E', 'd', 'g', 'e', 0,
    'F', 'u', 'z', 'z', 'y', 'H', 'i', 't', 0,
    'E', 'x', 'a', 'c', 't', 'H', 'i', 't', 0,
    'Q', 't', ':', ':', 'A', 'x', 'i', 's', 0,
    'N', 'o', 'n', 'M', 'o', 'd', 'a', 'l', 0,
    'U', 's', 'e', 'r', 'R', 'o', 'l', 'e', 0,
    'F', 'o', 'n', 't', 'R', 'o', 'l', 'e', 0,
    'E', 'd', 'i', 't', 'R', 'o', 'l', 'e', 0,
    'S', 'a', 't', 'u', 'r', 'd', 'a', 'y', 0,
    'T', 'h', 'u', 'r', 's', 'd', 'a', 'y', 0,
    'T', 'e', 'x', 't', 'D', 'a', 't', 'e', 0,
    'A', 'u', 't', 'o', 'T', 'e', 'x', 't', 0,
    'R', 'i', 'c', 'h', 'T', 'e', 'x', 't', 0,
    'R', 'o', 'u', 'n', 'd', 'C', 'a', 'p', 0,
    'K', 'e', 'y', '_', 'R', 'e', 'd', 'o', 0,
    'K', 'e', 'y', '_', 'U', 'n', 'd', 'o', 0,
    'K', 'e', 'y', '_', 'F', 'i', 'n', 'd', 0,
    'K', 'e', 'y', '_', 'O', 'p', 'e', 'n', 0,
    'K', 'e', 'y', '_', 'E', 'x', 'i', 't', 0,
    'K', 'e', 'y', '_', 'I', 'n', 'f', 'o', 0,
    'K', 'e', 'y', '_', 'B', 'l', 'u', 'e', 0,
    'K', 'e', 'y', '_', 'V', 'i', 'e', 'w', 0,
    'K', 'e', 'y', '_', 'T', 'i', 'm', 'e', 0,
    'K', 'e', 'y', '_', 'W', 'L', 'A', 'N', 0,
    'K', 'e', 'y', '_', 'A', 'w', 'a', 'y', 0,
    'K', 'e', 'y', '_', 'X', 'f', 'e', 'r', 0,
    'K', 'e', 'y', '_', 'W', 'o', 'r', 'd', 0,
    'K', 'e', 'y', '_', 'S', 'e', 'n', 'd', 0,
    'K', 'e', 'y', '_', 'S', 'a', 'v', 'e', 0,
    'K', 'e', 'y', '_', 'N', 'e', 'w', 's', 0,
    'K', 'e', 'y', '_', 'G', 'a', 'm', 'e', 0,
    'K', 'e', 'y', '_', 'C', 'o', 'p', 'y', 0,
    'K', 'e', 'y', '_', 'B', 'o', 'o', 'k', 0,
    'K', 'e', 'y', '_', 'S', 'h', 'o', 'p', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'm', 'o', 0,
    'K', 'e', 'y', '_', 'Z', 'o', 'o', 'm', 0,
    'K', 'e', 'y', '_', 'P', 'l', 'a', 'y', 0,
    'K', 'e', 'y', '_', 'F', 'l', 'i', 'p', 0,
    'K', 'e', 'y', '_', 'C', 'a', 'l', 'l', 0,
    'K', 'e', 'y', '_', 'S', 't', 'o', 'p', 0,
    'K', 'e', 'y', '_', 'B', 'a', 'c', 'k', 0,
    'K', 'e', 'y', '_', 'c', 'e', 'n', 't', 0,
    'K', 'e', 'y', '_', 'L', 'e', 's', 's', 0,
    'K', 'e', 'y', '_', 'P', 'l', 'u', 's', 0,
    'K', 'e', 'y', '_', 'H', 'e', 'l', 'p', 0,
    'K', 'e', 'y', '_', 'M', 'e', 'n', 'u', 0,
    'K', 'e', 'y', '_', 'M', 'e', 't', 'a', 0,
    'K', 'e', 'y', '_', 'D', 'o', 'w', 'n', 0,
    'K', 'e', 'y', '_', 'L', 'e', 'f', 't', 0,
    'K', 'e', 'y', '_', 'H', 'o', 'm', 'e', 0,
    'M', 'o', 'n', 'o', 'O', 'n', 'l', 'y', 0,
    'W', 'A', '_', 'H', 'o', 'v', 'e', 'r', 0,
    'W', 'A', '_', 'M', 'o', 'v', 'e', 'd', 0,
    'A', 'l', 'i', 'g', 'n', 'T', 'o', 'p', 0,
    'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 0,
    'X', 'B', 'u', 't', 't', 'o', 'n', '2', 0,
    'X', 'B', 'u', 't', 't', 'o', 'n', '1', 0,
    'N', 'o', 'B', 'u', 't', 't', 'o', 'n', 0,
    'd', 'a', 'r', 'k', 'C', 'y', 'a', 'n', 0,
    'd', 'a', 'r', 'k', 'B', 'l', 'u', 'e', 0,
    'd', 'a', 'r', 'k', 'G', 'r', 'a', 'y', 0,
    'q', 'u', 'i', 'n', 't', 'p', 't', 'r', 0,
    '_', '_', 'h', 'a', 's', 'h', '_', '_', 0,
    '_', '_', 'b', 'o', 'o', 'l', '_', '_', 0,
    '_', '_', 'i', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'a', 'n', 'd', '_', '_', 0,
    'q', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'q', 'R', 'o', 'u', 'n', 'd', '6', '4', 0,
    'd', 't', 'd', 'N', 'a', 'm', 'e', 0,
    'i', 's', 'C', 'D', 'A', 'T', 'A', 0,
    'N', 'o', 'T', 'o', 'k', 'e', 'n', 0,
    'w', 'a', 'k', 'e', 'A', 'l', 'l', 0,
    'w', 'a', 'k', 'e', 'O', 'n', 'e', 0,
    'c', 'o', 'n', 'v', 'e', 'r', 't', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 0,
    'm', 'a', 't', 'c', 'h', 'e', 's', 0,
    'f', 'r', 'o', 'm', 'A', 'c', 'e', 0,
    's', 'e', 't', 'P', 'o', 'r', 't', 0,
    's', 'e', 't', 'H', 'o', 's', 't', 0,
    't', 'r', 'y', 'T', 'a', 'k', 'e', 0,
    'Q', 'T', 'h', 'r', 'e', 'a', 'd', 0,
    'p', 'a', 'd', 'C', 'h', 'a', 'r', 0,
    'm', 'i', 'b', 'E', 'n', 'u', 'm', 0,
    't', 'o', 'S', 't', 'a', 'r', 't', 0,
    'i', 's', 'R', 'e', 'a', 'd', 'y', 0,
    's', 't', 'o', 'p', 'p', 'e', 'd', 0,
    'm', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    'Q', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'a', 'l', 'l', 'K', 'e', 'y', 's', 0,
    'r', 'e', 'l', 'e', 'a', 's', 'e', 0,
    'a', 'c', 'q', 'u', 'i', 'r', 'e', 0,
    'm', 'a', 'p', 'R', 'o', 'o', 't', 0,
    'N', 'o', 'M', 'a', 't', 'c', 'h', 0,
    'R', 'e', 'g', 'E', 'x', 'p', '2', 0,
    's', 'e', 't', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'R', 'e', 'c', 't', 0,
    'm', 'o', 'v', 'e', 'T', 'o', 'p', 0,
    's', 't', 'a', 'r', 't', 'e', 'd', 0,
    'e', 'x', 'e', 'c', 'u', 't', 'e', 0,
    'p', 'r', 'o', 'g', 'r', 'a', 'm', 0,
    'C', 'r', 'a', 's', 'h', 'e', 'd', 0,
    't', 'o', 'P', 'o', 'i', 'n', 't', 0,
    'A', 'n', 'd', 'r', 'o', 'i', 'd', 0,
    'W', 'a', 't', 'c', 'h', 'O', 'S', 0,
    'u', 'n', 'b', 'l', 'o', 'c', 'k', 0,
    'r', 'e', 'b', 'l', 'o', 'c', 'k', 0,
    'Q', '_', 'F', 'L', 'A', 'G', 'S', 0,
    'Q', '_', 'E', 'N', 'U', 'M', 'S', 0,
    'a', 'l', 'i', 'a', 's', 'e', 's', 0,
    'c', 'o', 'm', 'm', 'e', 'n', 't', 0,
    'f', 'o', 'r', 'm', 'a', 't', 's', 0,
    'h', 'a', 's', 'H', 't', 'm', 'l', 0,
    's', 'e', 't', 'H', 't', 'm', 'l', 0,
    'h', 'a', 's', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 0,
    'h', 'a', 's', 'U', 'r', 'l', 's', 0,
    's', 'e', 't', 'U', 'r', 'l', 's', 0,
    'Q', 'M', 'a', 't', 'r', 'i', 'x', 0,
    'Q', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'Q', 'B', 'i', 't', 'm', 'a', 'p', 0,
    'Q', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    'Q', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'Q', 'R', 'e', 'g', 'E', 'x', 'p', 0,
    'Q', 'P', 'o', 'i', 'n', 't', 'F', 0,
    'i', 's', 'F', 'i', 'n', 'a', 'l', 0,
    'P', 'r', 'i', 'v', 'a', 't', 'e', 0,
    '_', '_', 'p', 'o', 's', '_', '_', 0,
    '_', '_', 'n', 'e', 'g', '_', '_', 0,
    '_', '_', 'd', 'i', 'v', '_', '_', 0,
    's', 'e', 't', 'L', 'e', 'f', 't', 0,
    'w', 'a', 'r', 'n', 'i', 'n', 'g', 0,
    't', 'r', 'y', 'L', 'o', 'c', 'k', 0,
    'd', 'a', 'y', 'N', 'a', 'm', 'e', 0,
    'c', 'o', 'u', 'n', 't', 'r', 'y', 0,
    'B', 'o', 'n', 'a', 'i', 'r', 'e', 0,
    'V', 'i', 'e', 't', 'n', 'a', 'm', 0,
    'C', 'u', 'r', 'a', 'S', 'a', 'o', 0,
    'V', 'a', 'n', 'u', 'a', 't', 'u', 0,
    'U', 'r', 'u', 'g', 'u', 'a', 'y', 0,
    'U', 'k', 'r', 'a', 'i', 'n', 'e', 0,
    'T', 'u', 'n', 'i', 's', 'i', 'a', 0,
    'T', 'o', 'k', 'e', 'l', 'a', 'u', 0,
    'S', 'o', 'm', 'a', 'l', 'i', 'a', 0,
    'S', 'e', 'n', 'e', 'g', 'a', 'l', 0,
    'R', 'o', 'm', 'a', 'n', 'i', 'a', 0,
    'R', 'e', 'u', 'n', 'i', 'o', 'n', 0,
    'N', 'i', 'g', 'e', 'r', 'i', 'a', 0,
    'N', 'a', 'm', 'i', 'b', 'i', 'a', 0,
    'M', 'y', 'a', 'n', 'm', 'a', 'r', 0,
    'M', 'o', 'r', 'o', 'c', 'c', 'o', 0,
    'M', 'o', 'l', 'd', 'o', 'v', 'a', 0,
    'M', 'a', 'y', 'o', 't', 't', 'e', 0,
    'L', 'i', 'b', 'e', 'r', 'i', 'a', 0,
    'L', 'e', 's', 'o', 't', 'h', 'o', 0,
    'L', 'e', 'b', 'a', 'n', 'o', 'n', 0,
    'J', 'a', 'm', 'a', 'i', 'c', 'a', 0,
    'I', 'r', 'e', 'l', 'a', 'n', 'd', 0,
    'I', 'c', 'e', 'l', 'a', 'n', 'd', 0,
    'H', 'u', 'n', 'g', 'a', 'r', 'y', 0,
    'G', 'r', 'e', 'n', 'a', 'd', 'a', 0,
    'G', 'e', 'r', 'm', 'a', 'n', 'y', 0,
    'G', 'e', 'o', 'r', 'g', 'i', 'a', 0,
    'F', 'i', 'n', 'l', 'a', 'n', 'd', 0,
    'E', 's', 't', 'o', 'n', 'i', 'a', 0,
    'E', 'r', 'i', 't', 'r', 'e', 'a', 0,
    'E', 'c', 'u', 'a', 'd', 'o', 'r', 0,
    'D', 'e', 'n', 'm', 'a', 'r', 'k', 0,
    'C', 'r', 'o', 'a', 't', 'i', 'a', 0,
    'C', 'o', 'm', 'o', 'r', 'o', 's', 0,
    'B', 'u', 'r', 'u', 'n', 'd', 'i', 0,
    'B', 'o', 'l', 'i', 'v', 'i', 'a', 0,
    'B', 'e', 'r', 'm', 'u', 'd', 'a', 0,
    'B', 'e', 'l', 'g', 'i', 'u', 'm', 0,
    'B', 'e', 'l', 'a', 'r', 'u', 's', 0,
    'B', 'a', 'h', 'r', 'a', 'i', 'n', 0,
    'B', 'a', 'h', 'a', 'm', 'a', 's', 0,
    'A', 'u', 's', 't', 'r', 'i', 'a', 0,
    'A', 'r', 'm', 'e', 'n', 'i', 'a', 0,
    'A', 'n', 'd', 'o', 'r', 'r', 'a', 0,
    'A', 'l', 'g', 'e', 'r', 'i', 'a', 0,
    'A', 'l', 'b', 'a', 'n', 'i', 'a', 0,
    'S', 'a', 'r', 'a', 'i', 'k', 'i', 0,
    'P', 'a', 'l', 'a', 'u', 'a', 'n', 0,
    'L', 'i', 'n', 'e', 'a', 'r', 'A', 0,
    'K', 'e', 'n', 'y', 'a', 'n', 'g', 0,
    'M', 'a', 'p', 'u', 'c', 'h', 'e', 0,
    'S', 'y', 'l', 'h', 'e', 't', 'i', 0,
    'S', 'a', 'n', 't', 'a', 'l', 'i', 0,
    'S', 'a', 'b', 'a', 'e', 'a', 'n', 0,
    'P', 'a', 'h', 'l', 'a', 'v', 'i', 0,
    'H', 'a', 'n', 'u', 'n', 'o', 'o', 0,
    'A', 'r', 'a', 'm', 'a', 'i', 'c', 0,
    'A', 'v', 'e', 's', 't', 'a', 'n', 0,
    'W', 'a', 'l', 'l', 'o', 'o', 'n', 0,
    'H', 'a', 'i', 't', 'i', 'a', 'n', 0,
    'C', 'h', 'u', 'v', 'a', 's', 'h', 0,
    'C', 'h', 'e', 'c', 'h', 'e', 'n', 0,
    'S', 'i', 'n', 'h', 'a', 'l', 'a', 0,
    'O', 's', 's', 'e', 't', 'i', 'c', 0,
    'R', 'o', 'm', 'a', 'n', 's', 'h', 0,
    'Y', 'a', 'n', 'g', 'b', 'e', 'n', 0,
    'T', 'a', 's', 'a', 'w', 'a', 'q', 0,
    'M', 'u', 'n', 'd', 'a', 'n', 'g', 0,
    'M', 'a', 'c', 'h', 'a', 'm', 'e', 0,
    'M', 'a', 'k', 'o', 'n', 'd', 'e', 0,
    'B', 'a', 'm', 'b', 'a', 'r', 'a', 0,
    'S', 'a', 'm', 'b', 'u', 'r', 'u', 0,
    'K', 'o', 'n', 'k', 'a', 'n', 'i', 0,
    'C', 'o', 'r', 'n', 'i', 's', 'h', 0,
    'B', 'o', 's', 'n', 'i', 'a', 'n', 0,
    'Y', 'i', 'd', 'd', 'i', 's', 'h', 0,
    'V', 'o', 'l', 'a', 'p', 'u', 'k', 0,
    'T', 'u', 'r', 'k', 'm', 'e', 'n', 0,
    'T', 'i', 'b', 'e', 't', 'a', 'n', 0,
    'T', 'a', 'g', 'a', 'l', 'o', 'g', 0,
    'S', 'w', 'e', 'd', 'i', 's', 'h', 0,
    'S', 'p', 'a', 'n', 'i', 's', 'h', 0,
    'S', 'e', 'r', 'b', 'i', 'a', 'n', 0,
    'R', 'u', 's', 's', 'i', 'a', 'n', 0,
    'Q', 'u', 'e', 'c', 'h', 'u', 'a', 0,
    'P', 'u', 'n', 'j', 'a', 'b', 'i', 0,
    'O', 'c', 'c', 'i', 't', 'a', 'n', 0,
    'M', 'a', 'r', 'a', 't', 'h', 'i', 0,
    'M', 'a', 'l', 't', 'e', 's', 'e', 0,
    'L', 'i', 'n', 'g', 'a', 'l', 'a', 0,
    'L', 'a', 't', 'v', 'i', 'a', 'n', 0,
    'K', 'u', 'r', 'u', 'n', 'd', 'i', 0,
    'K', 'i', 'r', 'g', 'h', 'i', 'z', 0,
    'K', 'a', 'n', 'n', 'a', 'd', 'a', 0,
    'I', 't', 'a', 'l', 'i', 'a', 'n', 0,
    'I', 'n', 'u', 'p', 'i', 'a', 'k', 0,
    'G', 'u', 'a', 'r', 'a', 'n', 'i', 0,
    'F', 'i', 'n', 'n', 'i', 's', 'h', 0,
    'F', 'a', 'r', 'o', 'e', 's', 'e', 0,
    'E', 'n', 'g', 'l', 'i', 's', 'h', 0,
    'C', 'a', 't', 'a', 'l', 'a', 'n', 0,
    'B', 'u', 'r', 'm', 'e', 's', 'e', 0,
    'B', 'i', 's', 'l', 'a', 'm', 'a', 0,
    'B', 'h', 'u', 't', 'a', 'n', 'i', 0,
    'B', 'e', 'n', 'g', 'a', 'l', 'i', 0,
    'B', 'a', 's', 'h', 'k', 'i', 'r', 0,
    'A', 'm', 'h', 'a', 'r', 'i', 'c', 0,
    'Q', 'L', 'o', 'c', 'a', 'l', 'e', 0,
    'a', 'n', 'g', 'l', 'e', 'T', 'o', 0,
    'p', 'o', 'i', 'n', 't', 'A', 't', 0,
    's', 'e', 't', 'L', 'i', 'n', 'e', 0,
    'r', 'e', 's', 'o', 'l', 'v', 'e', 0,
    't', 'o', 'A', 'r', 'r', 'a', 'y', 0,
    'i', 's', 'A', 'r', 'r', 'a', 'y', 0,
    'C', 'o', 'm', 'p', 'a', 'c', 't', 0,
    'v', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'r', 'a', 'w', 'D', 'a', 't', 'a', 0,
    'p', 'u', 't', 'C', 'h', 'a', 'r', 0,
    'r', 'e', 'a', 'd', 'A', 'l', 'l', 0,
    'N', 'o', 't', 'O', 'p', 'e', 'n', 0,
    'a', 'd', 'd', 'P', 'a', 't', 'h', 0,
    'c', 'a', 'c', 'h', 'i', 'n', 'g', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'd', 0,
    'g', 'r', 'o', 'u', 'p', 'I', 'd', 0,
    'o', 'w', 'n', 'e', 'r', 'I', 'd', 0,
    's', 'e', 't', 'F', 'i', 'l', 'e', 0,
    'E', 'x', 'e', 'U', 's', 'e', 'r', 0,
    'N', 'o', 'E', 'r', 'r', 'o', 'r', 0,
    't', 'i', 'm', 'e', 'o', 'u', 't', 0,
    's', 'e', 't', 'T', 'y', 'p', 'e', 0,
    'h', 'a', 's', 'N', 'e', 'x', 't', 0,
    'r', 'e', 'f', 'r', 'e', 's', 'h', 0,
    's', 'o', 'r', 't', 'i', 'n', 'g', 0,
    'd', 'i', 'r', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'P', 'a', 't', 'h', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 0,
    'A', 'l', 'l', 'D', 'i', 'r', 's', 0,
    '_', '_', 's', 'u', 'b', '_', '_', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 0,
    's', 'e', 't', 'T', 'i', 'm', 'e', 0,
    'e', 'l', 'a', 'p', 's', 'e', 'd', 0,
    'r', 'e', 's', 't', 'a', 'r', 't', 0,
    'm', 's', 'e', 'c', 's', 'T', 'o', 0,
    'a', 'd', 'd', 'S', 'e', 'c', 's', 0,
    'g', 'e', 't', 'D', 'a', 't', 'e', 0,
    's', 'e', 't', 'D', 'a', 't', 'e', 0,
    'a', 'd', 'd', 'D', 'a', 'y', 's', 0,
    'r', 'e', 'a', 'd', 'I', 'n', 't', 0,
    'a', 'd', 'd', 'D', 'a', 't', 'a', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'M', 'a', 'x', 'U', 's', 'e', 'r', 0,
    'S', 'o', 'c', 'k', 'A', 'c', 't', 0,
    'F', 'o', 'c', 'u', 's', 'I', 'n', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'p', 'r', 'o', 'c', 'e', 's', 's', 0,
    's', 'o', 'r', 't', 'K', 'e', 'y', 0,
    'c', 'o', 'm', 'p', 'a', 'r', 'e', 0,
    'i', 'n', 'd', 'e', 'x', 'I', 'n', 0,
    'p', 'a', 't', 't', 'e', 'r', 'n', 0,
    '_', '_', 'a', 'd', 'd', '_', '_', 0,
    'o', 'p', 't', 'i', 'o', 'n', 's', 0,
    'p', 'e', 'r', 'c', 'e', 'n', 't', 0,
    'i', 'n', 'c', 'l', 'u', 'd', 'e', 0,
    'e', 'x', 'c', 'l', 'u', 'd', 'e', 0,
    's', 'q', 'u', 'e', 'e', 'z', 'e', 0,
    'r', 'e', 's', 'e', 'r', 'v', 'e', 0,
    '_', '_', 'm', 'u', 'l', '_', '_', 0,
    '_', '_', 's', 't', 'r', '_', '_', 0,
    'f', 'r', 'o', 'm', 'H', 'e', 'x', 0,
    't', 'o', 'F', 'l', 'o', 'a', 't', 0,
    't', 'o', 'U', 'L', 'o', 'n', 'g', 0,
    't', 'o', 'S', 'h', 'o', 'r', 't', 0,
    'r', 'e', 'p', 'l', 'a', 'c', 'e', 0,
    'p', 'r', 'e', 'p', 'e', 'n', 'd', 0,
    't', 'r', 'i', 'm', 'm', 'e', 'd', 0,
    't', 'o', 'U', 'p', 'p', 'e', 'r', 0,
    't', 'o', 'L', 'o', 'w', 'e', 'r', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 0,
    'Q', 'B', 'u', 'f', 'f', 'e', 'r', 0,
    't', 'e', 's', 't', 'B', 'i', 't', 0,
    'i', 's', 'E', 'm', 'p', 't', 'y', 0,
    '_', '_', 'l', 'e', 'n', '_', '_', 0,
    'o', 'n', 'E', 'n', 't', 'r', 'y', 0,
    'm', 'a', 'c', 'h', 'i', 'n', 'e', 0,
    't', 'o', 'p', 'L', 'e', 'f', 't', 0,
    'i', 'n', 'd', 'e', 'x', 'e', 's', 0,
    's', 'i', 'b', 'l', 'i', 'n', 'g', 0,
    'i', 's', 'V', 'a', 'l', 'i', 'd', 0,
    'm', 'e', 's', 's', 'a', 'g', 'e', 0,
    't', 'i', 'm', 'e', 'r', 'I', 'd', 0,
    'Q', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'T', 'o', 'p', 'E', 'd', 'g', 'e', 0,
    'I', 'm', 'h', 'T', 'i', 'm', 'e', 0,
    'I', 'm', 'h', 'D', 'a', 't', 'e', 0,
    'I', 'm', 'h', 'N', 'o', 'n', 'e', 0,
    'I', 'm', 'H', 'i', 'n', 't', 's', 0,
    'T', 'u', 'e', 's', 'd', 'a', 'y', 0,
    'I', 'S', 'O', 'D', 'a', 't', 'e', 0,
    'N', 'o', 'B', 'r', 'u', 's', 'h', 0,
    'F', 'l', 'a', 't', 'C', 'a', 'p', 0,
    'U', 'p', 'A', 'r', 'r', 'o', 'w', 0,
    'N', 'o', 'A', 'r', 'r', 'o', 'w', 0,
    'K', 'e', 'y', '_', 'N', 'e', 'w', 0,
    'K', 'e', 'y', '_', 'R', 'e', 'd', 0,
    'K', 'e', 'y', '_', 'U', 'W', 'B', 0,
    'K', 'e', 'y', '_', 'D', 'O', 'S', 0,
    'K', 'e', 'y', '_', 'C', 'u', 't', 0,
    'K', 'e', 'y', '_', 'W', 'W', 'W', 0,
    'K', 'e', 'y', '_', 'Y', 'e', 's', 0,
    'K', 'e', 'y', '_', 'E', 'T', 'H', 0,
    'K', 'e', 'y', '_', 'y', 'e', 'n', 0,
    'K', 'e', 'y', '_', 'B', 'a', 'r', 0,
    'K', 'e', 'y', '_', 'A', 'n', 'y', 0,
    'K', 'e', 'y', '_', 'F', '3', '5', 0,
    'K', 'e', 'y', '_', 'F', '3', '4', 0,
    'K', 'e', 'y', '_', 'F', '3', '3', 0,
    'K', 'e', 'y', '_', 'F', '3', '2', 0,
    'K', 'e', 'y', '_', 'F', '3', '1', 0,
    'K', 'e', 'y', '_', 'F', '3', '0', 0,
    'K', 'e', 'y', '_', 'F', '2', '9', 0,
    'K', 'e', 'y', '_', 'F', '2', '8', 0,
    'K', 'e', 'y', '_', 'F', '2', '7', 0,
    'K', 'e', 'y', '_', 'F', '2', '6', 0,
    'K', 'e', 'y', '_', 'F', '2', '5', 0,
    'K', 'e', 'y', '_', 'F', '2', '4', 0,
    'K', 'e', 'y', '_', 'F', '2', '3', 0,
    'K', 'e', 'y', '_', 'F', '2', '2', 0,
    'K', 'e', 'y', '_', 'F', '2', '1', 0,
    'K', 'e', 'y', '_', 'F', '2', '0', 0,
    'K', 'e', 'y', '_', 'F', '1', '9', 0,
    'K', 'e', 'y', '_', 'F', '1', '8', 0,
    'K', 'e', 'y', '_', 'F', '1', '7', 0,
    'K', 'e', 'y', '_', 'F', '1', '6', 0,
    'K', 'e', 'y', '_', 'F', '1', '5', 0,
    'K', 'e', 'y', '_', 'F', '1', '4', 0,
    'K', 'e', 'y', '_', 'F', '1', '3', 0,
    'K', 'e', 'y', '_', 'F', '1', '2', 0,
    'K', 'e', 'y', '_', 'F', '1', '1', 0,
    'K', 'e', 'y', '_', 'F', '1', '0', 0,
    'K', 'e', 'y', '_', 'A', 'l', 't', 0,
    'K', 'e', 'y', '_', 'E', 'n', 'd', 0,
    'K', 'e', 'y', '_', 'T', 'a', 'b', 0,
    'Q', 't', ':', ':', 'K', 'e', 'y', 0,
    'N', 'o', 'F', 'o', 'c', 'u', 's', 0,
    'd', 'a', 'r', 'k', 'R', 'e', 'd', 0,
    'm', 'a', 'g', 'e', 'n', 't', 'a', 0,
    'q', 'i', 'n', 't', 'p', 't', 'r', 0,
    'q', 'I', 's', 'N', 'u', 'l', 'l', 0,
    '_', '_', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'o', 'r', '_', '_', 0,
    '_', '_', 'a', 'n', 'd', '_', '_', 0,
    '_', '_', 'i', 'n', 't', '_', '_', 0,
    'R', 'a', 'n', 'd', 'o', 'm', 0,
    's', 'c', 'h', 'e', 'm', 'e', 0,
    's', 'e', 't', 'U', 'r', 'l', 0,
    'Q', 'T', 'i', 'm', 'e', 'r', 0,
    'c', 'a', 'n', 'c', 'e', 'l', 0,
    'u', 's', 'l', 'e', 'e', 'p', 0,
    'm', 's', 'l', 'e', 'e', 'p', 0,
    'C', 'r', 'e', 'a', 't', 'e', 0,
    'Q', 'S', 't', 'a', 't', 'e', 0,
    'l', 'o', 'c', 'a', 't', 'e', 0,
    's', 'o', 'c', 'k', 'e', 't', 0,
    't', 'o', 'S', 'i', 'z', 'e', 0,
    's', 'c', 'a', 'l', 'e', 'd', 0,
    'm', 'a', 'p', 'p', 'e', 'd', 0,
    'a', 't', 't', 'a', 'c', 'h', 0,
    'c', 'r', 'e', 'a', 't', 'e', 0,
    'c', 'o', 'm', 'm', 'i', 't', 0,
    'e', 's', 'c', 'a', 'p', 'e', 0,
    't', 'o', 'R', 'e', 'c', 't', 0,
    'u', 'n', 'i', 't', 'e', 'd', 0,
    'a', 'd', 'j', 'u', 's', 't', 0,
    'm', 'o', 'v', 'e', 'T', 'o', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 0,
    'v', 'm', 'i', 'c', 'r', 'o', 0,
    'v', 'm', 'i', 'n', 'o', 'r', 0,
    's', 'i', 'g', 'n', 'a', 'l', 0,
    's', 'e', 'n', 'd', 'e', 'r', 0,
    'q', 'I', 's', 'N', 'a', 'N', 0,
    'q', 'I', 's', 'I', 'n', 'f', 0,
    'Q', 'M', 'u', 't', 'e', 'x', 0,
    'r', 'e', 'l', 'o', 'c', 'k', 0,
    'Q', 'I', 'm', 'a', 'g', 'e', 0,
    'Q', 'C', 'o', 'l', 'o', 'r', 0,
    'Q', 'B', 'r', 'u', 's', 'h', 0,
    'Q', 'P', 'o', 'i', 'n', 't', 0,
    'Q', 'S', 'i', 'z', 'e', 'F', 0,
    'Q', 'R', 'e', 'c', 't', 'F', 0,
    'i', 's', 'U', 's', 'e', 'r', 0,
    'i', 's', 'F', 'l', 'a', 'g', 0,
    'i', 'n', 'v', 'o', 'k', 'e', 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,
    'a', 'c', 'c', 'e', 's', 's', 0,
    'P', 'u', 'b', 'l', 'i', 'c', 0,
    's', 'e', 't', 'K', 'e', 'y', 0,
    's', 'e', 't', 'T', 'o', 'p', 0,
    'q', 'F', 'a', 't', 'a', 'l', 0,
    'q', 'D', 'e', 'b', 'u', 'g', 0,
    'u', 'n', 'l', 'o', 'c', 'k', 0,
    's', 'c', 'r', 'i', 'p', 't', 0,
    'p', 'm', 'T', 'e', 'x', 't', 0,
    'a', 'm', 'T', 'e', 'x', 't', 0,
    't', 'o', 'T', 'i', 'm', 'e', 0,
    't', 'o', 'D', 'a', 't', 'e', 0,
    's', 'y', 's', 't', 'e', 'm', 0,
    'K', 'o', 's', 'o', 'v', 'o', 0,
    'J', 'e', 'r', 's', 'e', 'y', 0,
    'R', 'u', 's', 's', 'i', 'a', 0,
    'B', 'r', 'u', 'n', 'e', 'i', 0,
    'S', 'e', 'r', 'b', 'i', 'a', 0,
    'Z', 'a', 'm', 'b', 'i', 'a', 0,
    'U', 'g', 'a', 'n', 'd', 'a', 0,
    'T', 'u', 'v', 'a', 'l', 'u', 0,
    'T', 'u', 'r', 'k', 'e', 'y', 0,
    'T', 'a', 'i', 'w', 'a', 'n', 0,
    'S', 'w', 'e', 'd', 'e', 'n', 0,
    'R', 'w', 'a', 'n', 'd', 'a', 0,
    'P', 'o', 'l', 'a', 'n', 'd', 0,
    'P', 'a', 'n', 'a', 'm', 'a', 0,
    'N', 'o', 'r', 'w', 'a', 'y', 0,
    'M', 'o', 'n', 'a', 'c', 'o', 0,
    'M', 'e', 'x', 'i', 'c', 'o', 0,
    'M', 'a', 'l', 'a', 'w', 'i', 0,
    'L', 'a', 't', 'v', 'i', 'a', 0,
    'K', 'u', 'w', 'a', 'i', 't', 0,
    'J', 'o', 'r', 'd', 'a', 'n', 0,
    'I', 's', 'r', 'a', 'e', 'l', 0,
    'G', 'u', 'y', 'a', 'n', 'a', 0,
    'G', 'r', 'e', 'e', 'c', 'e', 0,
    'G', 'a', 'm', 'b', 'i', 'a', 0,
    'F', 'r', 'a', 'n', 'c', 'e', 0,
    'C', 'y', 'p', 'r', 'u', 's', 0,
    'C', 'a', 'n', 'a', 'd', 'a', 0,
    'B', 'r', 'a', 'z', 'i', 'l', 0,
    'B', 'h', 'u', 't', 'a', 'n', 0,
    'B', 'e', 'l', 'i', 'z', 'e', 0,
    'A', 'n', 'g', 'o', 'l', 'a', 0,
    'T', 'a', 'n', 'g', 'u', 't', 0,
    'N', 'e', 'w', 'a', 'r', 'i', 0,
    'M', 'o', 'h', 'a', 'w', 'k', 0,
    'L', 'a', 'k', 'o', 't', 'a', 0,
    'A', 'k', 'o', 'o', 's', 'e', 0,
    'T', 'a', 'i', 'N', 'u', 'a', 0,
    'T', 'a', 'i', 'D', 'a', 'm', 0,
    'R', 'e', 'j', 'a', 'n', 'g', 0,
    'L', 'y', 'd', 'i', 'a', 'n', 0,
    'L', 'y', 'c', 'i', 'a', 'n', 0,
    'L', 'e', 'p', 'c', 'h', 'a', 0,
    'I', 'n', 'g', 'u', 's', 'h', 0,
    'G', 'o', 't', 'h', 'i', 'c', 0,
    'C', 'o', 'p', 't', 'i', 'c', 0,
    'C', 'h', 'a', 'k', 'm', 'a', 0,
    'C', 'a', 'r', 'i', 'a', 'n', 0,
    'U', 'i', 'g', 'h', 'u', 'r', 0,
    'N', 'g', 'o', 'm', 'b', 'a', 0,
    'O', 'j', 'i', 'b', 'w', 'a', 0,
    'N', 'd', 'o', 'n', 'g', 'a', 0,
    'N', 'a', 'v', 'a', 'h', 'o', 0,
    'K', 'a', 'n', 'u', 'r', 'i', 0,
    'H', 'e', 'r', 'e', 'r', 'o', 0,
    'C', 'h', 'u', 'r', 'c', 'h', 0,
    'A', 'v', 'a', 'r', 'i', 'c', 0,
    'N', 'y', 'a', 'n', 'j', 'a', 0,
    'T', 'o', 'n', 'g', 'a', 'n', 0,
    'T', 's', 'w', 'a', 'n', 'a', 0,
    'F', 'i', 'j', 'i', 'a', 'n', 0,
    'W', 'a', 'l', 's', 'e', 'r', 0,
    'K', 'w', 'a', 's', 'i', 'o', 0,
    'E', 'w', 'o', 'n', 'd', 'o', 0,
    'K', 'a', 'b', 'y', 'l', 'e', 0,
    'K', 'i', 'k', 'u', 'y', 'u', 0,
    'T', 'a', 'r', 'o', 'k', 'o', 0,
    'K', 'p', 'e', 'l', 'l', 'e', 0,
    'W', 'a', 'l', 'a', 'm', 'o', 0,
    'S', 'i', 'd', 'a', 'm', 'o', 0,
    'S', 'y', 'r', 'i', 'a', 'c', 0,
    'D', 'i', 'v', 'e', 'h', 'i', 0,
    'Z', 'h', 'u', 'a', 'n', 'g', 0,
    'Y', 'o', 'r', 'u', 'b', 'a', 0,
    'T', 's', 'o', 'n', 'g', 'a', 0,
    'T', 'e', 'l', 'u', 'g', 'u', 0,
    'S', 'o', 'm', 'a', 'l', 'i', 0,
    'S', 'l', 'o', 'v', 'a', 'k', 0,
    'S', 'i', 'n', 'd', 'h', 'i', 0,
    'S', 'a', 'm', 'o', 'a', 'n', 0,
    'P', 'a', 's', 'h', 't', 'o', 0,
    'N', 'e', 'p', 'a', 'l', 'i', 0,
    'K', 'o', 'r', 'e', 'a', 'n', 0,
    'K', 'a', 'z', 'a', 'k', 'h', 0,
    'H', 'e', 'b', 'r', 'e', 'w', 0,
    'G', 'a', 'e', 'l', 'i', 'c', 0,
    'F', 'r', 'e', 'n', 'c', 'h', 0,
    'D', 'a', 'n', 'i', 's', 'h', 0,
    'B', 'r', 'e', 't', 'o', 'n', 0,
    'B', 'i', 'h', 'a', 'r', 'i', 0,
    'B', 'a', 's', 'q', 'u', 'e', 0,
    'A', 'y', 'm', 'a', 'r', 'a', 0,
    'A', 'r', 'a', 'b', 'i', 'c', 0,
    't', 'o', 'L', 'i', 'n', 'e', 0,
    'Q', 'L', 'i', 'n', 'e', 'F', 0,
    'c', 'e', 'n', 't', 'e', 'r', 0,
    'u', 'n', 'l', 'o', 'a', 'd', 0,
    's', 'y', 'm', 'b', 'o', 'l', 0,
    't', 'o', 'B', 'o', 'o', 'l', 0,
    'i', 's', 'B', 'o', 'o', 'l', 0,
    't', 'o', 'J', 's', 'o', 'n', 0,
    't', 'a', 'k', 'e', 'A', 't', 0,
    'h', 'e', 'i', 'g', 'h', 't', 0,
    'b', 'o', 't', 't', 'o', 'm', 0,
    'i', 's', 'O', 'p', 'e', 'n', 0,
    'A', 'p', 'p', 'e', 'n', 'd', 0,
    'i', 's', 'F', 'i', 'l', 'e', 0,
    's', 'u', 'f', 'f', 'i', 'x', 0,
    'o', 'f', 'f', 's', 'e', 't', 0,
    'h', 'a', 'n', 'd', 'l', 'e', 0,
    'p', 'e', 'r', 'i', 'o', 'd', 0,
    'C', 'u', 's', 't', 'o', 'm', 0,
    'L', 'i', 'n', 'e', 'a', 'r', 0,
    'p', 'r', 'e', 'f', 'i', 'x', 0,
    'd', 'r', 'i', 'v', 'e', 's', 0,
    'r', 'e', 'n', 'a', 'm', 'e', 0,
    'i', 's', 'R', 'o', 'o', 't', 0,
    'e', 'x', 'i', 's', 't', 's', 0,
    'r', 'm', 'p', 'a', 't', 'h', 0,
    'm', 'k', 'p', 'a', 't', 'h', 0,
    'f', 'i', 'l', 't', 'e', 'r', 0,
    'N', 'o', 'S', 'o', 'r', 't', 0,
    'D', 'r', 'i', 'v', 'e', 's', 0,
    's', 'e', 't', 'H', 'M', 'S', 0,
    'm', 'i', 'n', 'u', 't', 'e', 0,
    's', 'e', 'c', 'o', 'n', 'd', 0,
    'd', 'a', 'y', 's', 'T', 'o', 0,
    's', 't', 'a', 't', 'u', 's', 0,
    'Q', 't', '_', '5', '_', '9', 0,
    'Q', 't', '_', '5', '_', '8', 0,
    'Q', 't', '_', '5', '_', '7', 0,
    'Q', 't', '_', '5', '_', '6', 0,
    'Q', 't', '_', '5', '_', '5', 0,
    'Q', 't', '_', '5', '_', '4', 0,
    'Q', 't', '_', '5', '_', '3', 0,
    'Q', 't', '_', '5', '_', '2', 0,
    'Q', 't', '_', '5', '_', '1', 0,
    'Q', 't', '_', '5', '_', '0', 0,
    'Q', 't', '_', '4', '_', '9', 0,
    'Q', 't', '_', '4', '_', '8', 0,
    'Q', 't', '_', '4', '_', '7', 0,
    'Q', 't', '_', '4', '_', '6', 0,
    'Q', 't', '_', '4', '_', '5', 0,
    'Q', 't', '_', '4', '_', '4', 0,
    'Q', 't', '_', '4', '_', '3', 0,
    'Q', 't', '_', '4', '_', '2', 0,
    'Q', 't', '_', '4', '_', '1', 0,
    'Q', 't', '_', '4', '_', '0', 0,
    'Q', 't', '_', '3', '_', '3', 0,
    'Q', 't', '_', '3', '_', '1', 0,
    'Q', 't', '_', '3', '_', '0', 0,
    'Q', 't', '_', '2', '_', '1', 0,
    'Q', 't', '_', '2', '_', '0', 0,
    'Q', 't', '_', '1', '_', '0', 0,
    'd', 'e', 'v', 'i', 'c', 'e', 0,
    'm', 'e', 't', 'h', 'o', 'd', 0,
    'S', 'h', 'a', '5', '1', '2', 0,
    'S', 'h', 'a', '3', '8', '4', 0,
    'S', 'h', 'a', '2', '5', '6', 0,
    'S', 'h', 'a', '2', '2', '4', 0,
    'i', 'g', 'n', 'o', 'r', 'e', 0,
    'a', 'c', 'c', 'e', 'p', 't', 0,
    'E', 'x', 'p', 'o', 's', 'e', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 0,
    'P', 'o', 'l', 'i', 's', 'h', 0,
    'Q', 'E', 'v', 'e', 'n', 't', 0,
    'n', 'o', 't', 'i', 'f', 'y', 0,
    'v', 'a', 'l', 'u', 'e', 's', 0,
    's', 'y', 'n', 't', 'a', 'x', 0,
    's', 't', 'r', 'i', 'n', 'g', 0,
    'l', 'o', 'c', 'a', 'l', 'e', 0,
    'n', 'u', 'm', 'b', 'e', 'r', 0,
    'f', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'N', 'u', 'm', 0,
    't', 'o', 'L', 'o', 'n', 'g', 0,
    't', 'o', 'U', 'I', 'n', 't', 0,
    '_', '_', 'g', 'e', '_', '_', 0,
    '_', '_', 'l', 'e', '_', '_', 0,
    '_', '_', 'g', 't', '_', '_', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 0,
    'i', 'n', 's', 'e', 'r', 't', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 0,
    'l', 'e', 'n', 'g', 't', 'h', 0,
    'm', 'a', 'x', 'l', 'e', 'n', 0,
    'b', 'u', 'f', 'f', 'e', 'r', 0,
    's', 'e', 't', 'B', 'i', 't', 0,
    'd', 'e', 't', 'a', 'c', 'h', 0,
    'r', 'e', 's', 'i', 'z', 'e', 0,
    'i', 's', 'N', 'u', 'l', 'l', 0,
    'o', 'n', 'E', 'x', 'i', 't', 0,
    'e', 'x', 'i', 't', 'e', 'd', 0,
    'r', 'e', 'v', 'e', 'r', 't', 0,
    's', 'u', 'b', 'm', 'i', 't', 0,
    '_', '_', 'l', 't', '_', '_', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 0,
    'r', 'e', 's', 'u', 'l', 't', 0,
    'w', 'a', 'k', 'e', 'U', 'p', 0,
    'o', 'b', 'j', 'e', 'c', 't', 0,
    't', 'h', 'r', 'e', 'a', 'd', 0,
    'r', 'e', 's', 'u', 'm', 'e', 0,
    'p', 'o', 'l', 'i', 'c', 'y', 0,
    'I', 'm', 'F', 'o', 'n', 't', 0,
    'N', 'o', 'C', 'l', 'i', 'p', 0,
    'S', 'u', 'n', 'd', 'a', 'y', 0,
    'F', 'r', 'i', 'd', 'a', 'y', 0,
    'M', 'o', 'n', 'd', 'a', 'y', 0,
    'K', 'e', 'y', '_', 'G', 'o', 0,
    'K', 'e', 'y', '_', 'C', 'D', 0,
    'K', 'e', 'y', '_', 'N', 'o', 0,
    'K', 'e', 'y', '_', 'A', 'E', 0,
    'K', 'e', 'y', '_', 'm', 'u', 0,
    'K', 'e', 'y', '_', 'A', 't', 0,
    'K', 'e', 'y', '_', 'F', '9', 0,
    'K', 'e', 'y', '_', 'F', '8', 0,
    'K', 'e', 'y', '_', 'F', '7', 0,
    'K', 'e', 'y', '_', 'F', '6', 0,
    'K', 'e', 'y', '_', 'F', '5', 0,
    'K', 'e', 'y', '_', 'F', '4', 0,
    'K', 'e', 'y', '_', 'F', '3', 0,
    'K', 'e', 'y', '_', 'F', '2', 0,
    'K', 'e', 'y', '_', 'F', '1', 0,
    'K', 'e', 'y', '_', 'U', 'p', 0,
    'D', 'r', 'a', 'w', 'e', 'r', 0,
    'y', 'e', 'l', 'l', 'o', 'w', 0,
    'c', 'o', 'l', 'o', 'r', '1', 0,
    'c', 'o', 'l', 'o', 'r', '0', 0,
    'q', 's', 'r', 'a', 'n', 'd', 0,
    '_', '_', 'n', 'e', '_', '_', 0,
    '_', '_', 'e', 'q', '_', '_', 0,
    '_', '_', 'o', 'r', '_', '_', 0,
    'Q', 'F', 'l', 'a', 'g', 's', 0,
    'q', 'R', 'o', 'u', 'n', 'd', 0,
    'i', 's', 'D', 'T', 'D', 0,
    'q', 'u', 'e', 'r', 'y', 0,
    't', 'o', 'A', 'c', 'e', 0,
    'a', 't', 'U', 't', 'c', 0,
    'f', 'i', 'x', 'e', 'd', 0,
    't', 'o', 'E', 'n', 'd', 0,
    's', 'c', 'a', 'l', 'e', 0,
    'c', 'o', 'd', 'e', 'c', 0,
    'M', 'a', 'c', 'O', 'S', 0,
    'Q', '_', 'A', 'R', 'G', 0,
    'q', 'Q', 'N', 'a', 'N', 0,
    'q', 'S', 'N', 'a', 'N', 0,
    'm', 'u', 't', 'e', 'x', 0,
    'S', 'C', 'h', 'a', 'r', 0,
    'Q', 'U', 'u', 'i', 'd', 0,
    'U', 'C', 'h', 'a', 'r', 0,
    'Q', 'I', 'c', 'o', 'n', 0,
    'Q', 'F', 'o', 'n', 't', 0,
    'Q', 'S', 'i', 'z', 'e', 0,
    'Q', 'R', 'e', 'c', 't', 0,
    's', 'c', 'o', 'p', 'e', 0,
    'f', 'a', 't', 'a', 'l', 0,
    'd', 'e', 'b', 'u', 'g', 0,
    's', 't', 'y', 'l', 'e', 0,
    'T', 'o', 'n', 'g', 'a', 0,
    'S', 'y', 'r', 'i', 'a', 0,
    'L', 'i', 'b', 'y', 'a', 0,
    'Y', 'e', 'm', 'e', 'n', 0,
    'S', 'p', 'a', 'i', 'n', 0,
    'Q', 'a', 't', 'a', 'r', 0,
    'P', 'a', 'l', 'a', 'u', 0,
    'N', 'i', 'g', 'e', 'r', 0,
    'N', 'e', 'p', 'a', 'l', 0,
    'M', 'a', 'l', 't', 'a', 0,
    'M', 'a', 'c', 'a', 'u', 0,
    'K', 'e', 'n', 'y', 'a', 0,
    'J', 'a', 'p', 'a', 'n', 0,
    'I', 't', 'a', 'l', 'y', 0,
    'I', 'n', 'd', 'i', 'a', 0,
    'H', 'a', 'i', 't', 'i', 0,
    'G', 'h', 'a', 'n', 'a', 0,
    'G', 'a', 'b', 'o', 'n', 0,
    'E', 'g', 'y', 'p', 't', 0,
    'C', 'h', 'i', 'n', 'a', 0,
    'C', 'h', 'i', 'l', 'e', 0,
    'B', 'e', 'n', 'i', 'n', 0,
    'A', 'r', 'u', 'b', 'a', 0,
    'O', 's', 'a', 'g', 'e', 0,
    'B', 'a', 's', 's', 'a', 0,
    'M', 'e', 'n', 'd', 'e', 0,
    'K', 'i', 'c', 'h', 'e', 0,
    'L', 'i', 'm', 'b', 'u', 0,
    'D', 'o', 'g', 'r', 'i', 0,
    'B', 'u', 'h', 'i', 'd', 0,
    'B', 'a', 'm', 'u', 'n', 0,
    'K', 'o', 'n', 'g', 'o', 0,
    'S', 'w', 'a', 't', 'i', 0,
    'S', 'a', 'n', 'g', 'o', 0,
    'K', 'h', 'm', 'e', 'r', 0,
    'O', 'r', 'o', 'm', 'o', 0,
    'S', 'a', 'n', 'g', 'u', 0,
    'S', 'a', 'k', 'h', 'a', 0,
    'B', 'a', 'f', 'i', 'a', 0,
    'D', 'u', 'a', 'l', 'a', 0,
    'Z', 'a', 'r', 'm', 'a', 0,
    'B', 'a', 's', 'a', 'a', 0,
    'A', 'g', 'h', 'e', 'm', 0,
    'R', 'u', 'n', 'd', 'i', 0,
    'C', 'h', 'i', 'g', 'a', 0,
    'L', 'u', 'y', 'i', 'a', 0,
    'M', 'a', 's', 'a', 'i', 0,
    'B', 'e', 'm', 'b', 'a', 0,
    'G', 'a', 'n', 'd', 'a', 0,
    'L', 'a', 'n', 'g', 'i', 0,
    'V', 'u', 'n', 'j', 'o', 0,
    'R', 'o', 'm', 'b', 'o', 0,
    'F', 'u', 'l', 'a', 'h', 0,
    'T', 'a', 'i', 't', 'a', 0,
    'G', 'u', 's', 'i', 'i', 0,
    'C', 'h', 'e', 'w', 'a', 0,
    'V', 'e', 'n', 'd', 'a', 0,
    'T', 'i', 'g', 'r', 'e', 0,
    'A', 't', 's', 'a', 'm', 0,
    'K', 'a', 'm', 'b', 'a', 0,
    'X', 'h', 'o', 's', 'a', 0,
    'W', 'o', 'l', 'o', 'f', 0,
    'W', 'e', 'l', 's', 'h', 0,
    'U', 'z', 'b', 'e', 'k', 0,
    'U', 'i', 'g', 'u', 'r', 0,
    'T', 'a', 't', 'a', 'r', 0,
    'T', 'a', 'm', 'i', 'l', 0,
    'T', 'a', 'j', 'i', 'k', 0,
    'S', 'h', 'o', 'n', 'a', 0,
    'O', 'r', 'i', 'y', 'a', 0,
    'M', 'a', 'o', 'r', 'i', 0,
    'M', 'a', 'l', 'a', 'y', 0,
    'H', 'i', 'n', 'd', 'i', 0,
    'H', 'a', 'u', 's', 'a', 0,
    'D', 'u', 't', 'c', 'h', 0,
    'C', 'z', 'e', 'c', 'h', 0,
    's', 'e', 't', 'P', '2', 0,
    's', 'e', 't', 'P', '1', 0,
    'Q', 'L', 'i', 'n', 'e', 0,
    'a', 'r', 'r', 'a', 'y', 0,
    'm', 'e', 'r', 'g', 'e', 0,
    'w', 'r', 'i', 't', 'e', 0,
    'f', 'i', 'l', 'e', 's', 0,
    'p', 'a', 't', 'h', 's', 0,
    'o', 'w', 'n', 'e', 'r', 0,
    'i', 's', 'D', 'i', 'r', 0,
    'u', 'n', 'm', 'a', 'p', 0,
    'e', 'r', 'r', 'o', 'r', 0,
    'Q', 'F', 'i', 'l', 'e', 0,
    'r', 'm', 'd', 'i', 'r', 0,
    'm', 'k', 'd', 'i', 'r', 0,
    'N', 'o', 'D', 'o', 't', 0,
    'F', 'i', 'l', 'e', 's', 0,
    'n', 's', 'e', 'c', 's', 0,
    't', 'o', 'U', 'T', 'C', 0,
    'Q', 'T', 'i', 'm', 'e', 0,
    'm', 'o', 'n', 't', 'h', 0,
    'Q', 'D', 'a', 't', 'e', 0,
    'r', 'e', 's', 'e', 't', 0,
    'a', 'd', 'd', 'e', 'd', 0,
    'P', 'a', 'i', 'n', 't', 0,
    'N', 'o', 'n', 'e', '_', 0,
    'e', 'x', 'e', 'c', '_', 0,
    'i', 's', 'S', 'e', 't', 0,
    'p', 'a', 'r', 's', 'e', 0,
    'n', 'a', 'm', 'e', 's', 0,
    'Q', 'C', 'h', 'a', 'r', 0,
    't', 'o', 'H', 'e', 'x', 0,
    't', 'o', 'I', 'n', 't', 0,
    's', 'p', 'l', 'i', 't', 0,
    'w', 'i', 'd', 't', 'h', 0,
    'a', 't', 'E', 'n', 'd', 0,
    'c', 'l', 'o', 's', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 0,
    'f', 'i', 'r', 's', 't', 0,
    'm', 'a', 't', 'c', 'h', 0,
    'b', 'u', 'd', 'd', 'y', 0,
    'o', 'r', 'd', 'e', 'r', 0,
    'c', 'o', 'u', 'n', 't', 0,
    'v', 'a', 'l', 'u', 'e', 0,
    'i', 'n', 'd', 'e', 'x', 0,
    'm', 'o', 'd', 'e', 'l', 0,
    'c', 'h', 'i', 'l', 'd', 0,
    'a', 'w', 'a', 'k', 'e', 0,
    'f', 'l', 'u', 's', 'h', 0,
    'f', 'l', 'a', 'g', 's', 0,
    'e', 'v', 'e', 'n', 't', 0,
    'm', 's', 'e', 'c', 's', 0,
    'p', 'a', 'u', 's', 'e', 0,
    'g', 'r', 'o', 'u', 'p', 0,
    'Z', 'A', 'x', 'i', 's', 0,
    'Y', 'A', 'x', 'i', 's', 0,
    'X', 'A', 'x', 'i', 's', 0,
    'N', 'o', 'P', 'e', 'n', 0,
    'K', 'e', 'y', '_', 'Z', 0,
    'K', 'e', 'y', '_', 'Y', 0,
    'K', 'e', 'y', '_', 'X', 0,
    'K', 'e', 'y', '_', 'W', 0,
    'K', 'e', 'y', '_', 'V', 0,
    'K', 'e', 'y', '_', 'U', 0,
    'K', 'e', 'y', '_', 'T', 0,
    'K', 'e', 'y', '_', 'S', 0,
    'K', 'e', 'y', '_', 'R', 0,
    'K', 'e', 'y', '_', 'Q', 0,
    'K', 'e', 'y', '_', 'P', 0,
    'K', 'e', 'y', '_', 'O', 0,
    'K', 'e', 'y', '_', 'N', 0,
    'K', 'e', 'y', '_', 'M', 0,
    'K', 'e', 'y', '_', 'L', 0,
    'K', 'e', 'y', '_', 'K', 0,
    'K', 'e', 'y', '_', 'J', 0,
    'K', 'e', 'y', '_', 'I', 0,
    'K', 'e', 'y', '_', 'H', 0,
    'K', 'e', 'y', '_', 'G', 0,
    'K', 'e', 'y', '_', 'F', 0,
    'K', 'e', 'y', '_', 'E', 0,
    'K', 'e', 'y', '_', 'D', 0,
    'K', 'e', 'y', '_', 'C', 0,
    'K', 'e', 'y', '_', 'B', 0,
    'K', 'e', 'y', '_', 'A', 0,
    'K', 'e', 'y', '_', '9', 0,
    'K', 'e', 'y', '_', '8', 0,
    'K', 'e', 'y', '_', '7', 0,
    'K', 'e', 'y', '_', '6', 0,
    'K', 'e', 'y', '_', '5', 0,
    'K', 'e', 'y', '_', '4', 0,
    'K', 'e', 'y', '_', '3', 0,
    'K', 'e', 'y', '_', '2', 0,
    'K', 'e', 'y', '_', '1', 0,
    'K', 'e', 'y', '_', '0', 0,
    'P', 'o', 'p', 'u', 'p', 0,
    'S', 'H', 'I', 'F', 'T', 0,
    'g', 'r', 'e', 'e', 'n', 0,
    'w', 'h', 'i', 't', 'e', 0,
    'b', 'l', 'a', 'c', 'k', 0,
    'q', 'r', 'a', 'n', 'd', 0,
    's', 'a', 'v', 'e', 0,
    'h', 'o', 's', 't', 0,
    'e', 'n', 'd', 'l', 0,
    'h', 'e', 'x', '_', 0,
    'o', 'c', 't', '_', 0,
    'b', 'i', 'n', '_', 0,
    's', 'y', 'n', 'c', 0,
    'k', 'i', 'l', 'l', 0,
    's', 'e', 't', 'Y', 0,
    's', 'e', 't', 'X', 0,
    'T', 'v', 'O', 'S', 0,
    'q', 'I', 'n', 'f', 0,
    'h', 't', 'm', 'l', 0,
    'u', 'r', 'l', 's', 0,
    'Q', 'P', 'e', 'n', 0,
    'Q', 'U', 'r', 'l', 0,
    'V', 'o', 'i', 'd', 0,
    'k', 'e', 'y', 's', 0,
    'i', 'n', 'f', 'o', 0,
    'L', 'a', 'o', 's', 0,
    'F', 'i', 'j', 'i', 0,
    'T', 'o', 'g', 'o', 0,
    'P', 'e', 'r', 'u', 0,
    'O', 'm', 'a', 'n', 0,
    'N', 'i', 'u', 'e', 0,
    'M', 'a', 'l', 'i', 0,
    'I', 'r', 'a', 'q', 0,
    'I', 'r', 'a', 'n', 0,
    'G', 'u', 'a', 'm', 0,
    'C', 'u', 'b', 'a', 0,
    'C', 'h', 'a', 'd', 0,
    'A', 'h', 'o', 'm', 0,
    'M', 'o', 'n', 'o', 0,
    'S', 'o', 'r', 'a', 0,
    'L', 'i', 's', 'u', 0,
    'K', 'a', 'k', 'o', 0,
    'P', 'a', 'l', 'i', 0,
    'K', 'o', 'm', 'i', 0,
    'C', 'r', 'e', 'e', 0,
    'N', 'u', 'e', 'r', 0,
    'B', 'o', 'd', 'o', 0,
    'S', 'a', 'h', 'o', 0,
    'T', 'e', 's', 'o', 0,
    'S', 'o', 'g', 'a', 0,
    'N', 'a', 'm', 'a', 0,
    'M', 'e', 'r', 'u', 0,
    'E', 'm', 'b', 'u', 0,
    'B', 'e', 'n', 'a', 0,
    'S', 'e', 'n', 'a', 0,
    'T', 'y', 'a', 'p', 0,
    'K', 'o', 'r', 'o', 0,
    'G', 'e', 'e', 'z', 0,
    'B', 'l', 'i', 'n', 0,
    'I', 'g', 'b', 'o', 0,
    'A', 'k', 'a', 'n', 0,
    'M', 'a', 'n', 'x', 0,
    'Z', 'u', 'l', 'u', 0,
    'U', 'r', 'd', 'u', 0,
    'A', 'f', 'a', 'r', 0,
    'A', 'f', 'a', 'n', 0,
    'p', 'e', 'e', 'k', 0,
    'f', 'i', 'l', 'e', 0,
    'c', 'o', 'p', 'y', 0,
    'l', 'i', 'n', 'k', 0,
    'n', 'e', 'x', 't', 0,
    't', 'e', 'm', 'p', 0,
    'r', 'o', 'o', 't', 0,
    'h', 'o', 'm', 'e', 0,
    'c', 'd', 'U', 'p', 0,
    'Q', 'D', 'i', 'r', 0,
    's', 'p', 'e', 'c', 0,
    't', 'i', 'm', 'e', 0,
    'h', 'o', 'u', 'r', 0,
    'y', 'e', 'a', 'r', 0,
    'h', 'a', 's', 'h', 0,
    'S', 'h', 'a', '1', 0,
    'S', 'h', 'o', 'w', 0,
    'q', 'u', 'i', 't', 0,
    'e', 'x', 'i', 't', 0,
    'e', 'x', 'e', 'c', 0,
    'm', 'o', 'd', 'e', 0,
    'c', 'h', 'o', 'p', 0,
    's', 'e', 'e', 'k', 0,
    'o', 'p', 'e', 'n', 0,
    'f', 'i', 'l', 'l', 0,
    'm', 's', 'e', 'c', 0,
    't', 'y', 'p', 'e', 0,
    'f', 'r', 'o', 'm', 0,
    'h', 'i', 'n', 't', 0,
    'l', 'a', 's', 't', 0,
    's', 'p', 'a', 'n', 0,
    'h', 'i', 't', 's', 0,
    's', 'o', 'r', 't', 0,
    's', 'w', 'a', 'p', 0,
    'd', 'a', 't', 'a', 0,
    'r', 'o', 'l', 'e', 0,
    's', 't', 'o', 'p', 0,
    'T', 'o', 'o', 'l', 0,
    'C', 'T', 'R', 'L', 0,
    'M', 'E', 'T', 'A', 0,
    'c', 'y', 'a', 'n', 0,
    'b', 'l', 'u', 'e', 0,
    'g', 'r', 'a', 'y', 0,
    'q', 'A', 'b', 's', 0,
    'D', 'C', 'E', 0,
    'N', 'C', 'S', 0,
    'u', 't', 'c', 0,
    'b', 'o', 'm', 0,
    'r', 'u', 'n', 0,
    'c', 'a', 'p', 0,
    'I', 'O', 'S', 0,
    'a', 'd', 'd', 0,
    'u', 'r', 'l', 0,
    't', 'a', 'g', 0,
    'p', 'i', 'd', 0,
    'M', 'r', 'u', 0,
    'N', 'k', 'o', 0,
    'L', 'a', 'o', 0,
    'V', 'a', 'i', 0,
    'L', 'u', 'o', 0,
    'R', 'w', 'a', 0,
    'A', 's', 'u', 0,
    'E', 'w', 'e', 0,
    'J', 'j', 'u', 0,
    'T', 'w', 'i', 0,
    'M', 'd', '5', 0,
    'M', 'd', '4', 0,
    'm', 'i', 'd', 0,
    'p', 'o', 's', 0,
    'A', 'L', 'T', 0,
    'H', 'o', 0,
    'L', 'u', 0,
    'G', 'a', 0,
    'd', 'x', 0,
    'y', '2', 0,
    'x', '2', 0,
    'y', '1', 0,
    'x', '1', 0,
    'c', 'd', 0,
    'O', 'k', 0,
    'p', '1', 0,
};
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
#include <qglobal.h>
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
static int PYQT_VERSION = 0x050900;
static const char *PYQT_VERSION_STR = "5.9";
#line 141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
QT_BEGIN_NAMESPACE
extern bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
extern bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
QT_END_NAMESPACE
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
#if QT_VERSION >= 0x050100
// The list of Python pre routines.
static PyObject *qtcore_PreRoutines = NULL;

// Call all of the registered Python pre routines.
static void qtcore_CallPreRoutines()
{
    for (Py_ssize_t i = 0; i < PyList_Size(qtcore_PreRoutines); ++i)
    {
        PyObject *pr = PyList_GetItem(qtcore_PreRoutines, i);

        if (pr != Py_None)
        {
            PyObject *res = PyObject_CallObject(pr, NULL);

            Py_XDECREF(res);
        }
    }
}
#endif


// The list of Python post routines.
static PyObject *qtcore_PostRoutines = NULL;

// Call all of the registered Python post routines.
static void qtcore_CallPostRoutines()
{
    for (Py_ssize_t i = 0; i < PyList_Size(qtcore_PostRoutines); ++i)
    {
        PyObject *pr = PyList_GetItem(qtcore_PostRoutines, i);

        if (pr != Py_None)
        {
            PyObject *res = PyObject_CallObject(pr, NULL);

            Py_XDECREF(res);
        }
    }
}
#line 254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
#include <QCoreApplication>
#include <QThread>

#if defined(Q_OS_WIN)
#include <conio.h>
#include <QTimer>
#else
#include <QSocketNotifier>
#endif

// This is the input hook that will process events while the interpreter is
// waiting for interactive input.
extern "C" {static int qtcore_input_hook();}

static int qtcore_input_hook()
{
    QCoreApplication *app = QCoreApplication::instance();

    if (app && app->thread() == QThread::currentThread())
    {
#if defined(Q_OS_WIN)
        QTimer timer;
        QObject::connect(&timer, SIGNAL(timeout()), app, SLOT(quit()));

        while (!_kbhit())
        {
            // The delay is based on feedback from users.
            timer.start(35);
            QCoreApplication::exec();
            timer.stop();
        }

        QObject::disconnect(&timer, SIGNAL(timeout()), app, SLOT(quit()));
#else
        QSocketNotifier notifier(0, QSocketNotifier::Read, 0);
        QObject::connect(&notifier, SIGNAL(activated(int)), app, SLOT(quit()));
        QCoreApplication::exec();
        QObject::disconnect(&notifier, SIGNAL(activated(int)), app, SLOT(quit()));
#endif
    }

    return 0;
}
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
#include <qlogging.h>
#line 178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
// The user supplied Python handler.
static PyObject *qtcore_PyMessageHandler = 0;

// The C++ wrapper around the Python handler.
static void qtcore_MessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)
{
    PyObject *res;

    SIP_BLOCK_THREADS
    
    res = sipCallMethod(0, qtcore_PyMessageHandler, "FDD", type, sipType_QtMsgType, &context, sipType_QMessageLogContext, NULL, &msg, sipType_QString, NULL);

    Py_XDECREF(res);

    if (res != NULL && res != Py_None)
    {
        PyErr_SetString(PyExc_TypeError, "invalid result type from PyQt message handler");
        res = NULL;
    }

    if (res == NULL)
        pyqt5_err_print();

    SIP_UNBLOCK_THREADS
}
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnumeric.sip"
#include <qnumeric.h>
#line 725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
// Disable the (supposedly) compulsory parts of the Qt support API.
#define sipQtCreateUniversalSlot    0
#define sipQtDestroyUniversalSlot   0
#define sipQtFindSlot               0
#define sipQtConnect                0
#define sipQtDisconnect             0
#define sipQtSameSignalSlotName     0
#define sipQtFindSipslot            0
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 5048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

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

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

    return sipRes;
}

 ::QString sipVH_QtCore_65(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const char*a0,const char*a1,const char*a2,int a3)
{
     ::QString sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "AAAi", a0, a1, a2, a3);

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

    return sipRes;
}

 ::qreal sipVH_QtCore_64(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0)
{
     ::qreal sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "i", a0);

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

    return sipRes;
}

 ::QString sipVH_QtCore_63(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const char*a0,int a1, ::QTextCodec::ConverterState*a2)
{
     ::QString sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "gD", a0, (SIP_SSIZE_T)a1, a2, sipType_QTextCodec_ConverterState, NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_QtCore_59(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,const  ::QModelIndex& a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iN", a0, new  ::QModelIndex(a1), sipType_QModelIndex, NULL);

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

    return sipRes;
}

 ::QVariant sipVH_QtCore_58(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QVariant& a0,const  ::QVariant& a1, ::qreal a2)
{
     ::QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NNd", new  ::QVariant(a0), sipType_QVariant, NULL, new  ::QVariant(a1), sipType_QVariant, NULL, a2);

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

    return sipRes;
}

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

 ::QVariant sipVH_QtCore_56(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QString& a0, ::QVariant::Type a1)
{
     ::QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NF", new  ::QString(a0), sipType_QString, NULL, a1, sipType_QVariant_Type);

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

    return sipRes;
}

bool sipVH_QtCore_55(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;
}

void sipVH_QtCore_54(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QItemSelection& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "NN", new  ::QItemSelection(a0), sipType_QItemSelection, NULL, new  ::QItemSelectionModel::SelectionFlags(a1), sipType_QItemSelectionModel_SelectionFlags, NULL);
}

void sipVH_QtCore_53(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "NN", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, new  ::QItemSelectionModel::SelectionFlags(a1), sipType_QItemSelectionModel_SelectionFlags, NULL);
}

bool sipVH_QtCore_52(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QFileDevice::Permissions a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QFileDevice::Permissions(a0), sipType_QFileDevice_Permissions, NULL);

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

    return sipRes;
}

 ::QFileDevice::Permissions sipVH_QtCore_51(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
     ::QFileDevice::Permissions sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

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

    return sipRes;
}

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

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

    return sipRes;
}

 ::qint64 sipVH_QtCore_49(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const char*a0,PY_LONG_LONG a1)
{
     ::qint64 sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "g", a0, (SIP_SSIZE_T)a1);

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

    return sipRes;
}

 ::qint64 sipVH_QtCore_48(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, char*a0, ::qint64 a1)
{
     ::qint64 sipRes = 0;
    int sipIsErr = 0;

#line 265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
        PyObject *result = sipCallMethod(&sipIsErr, sipMethod, "n", a1);
        
        if (result != NULL)
        {
            PyObject *buf;
        
            sipParseResult(&sipIsErr, sipMethod, result, "O", &buf);
        
            if (buf == Py_None)
                sipRes = -1L;
            else if (!SIPBytes_Check(buf))
            {
                sipBadCatcherResult(sipMethod);
                sipIsErr = 1;
            }
            else
            {
                memcpy(a0, SIPBytes_AsString(buf), SIPBytes_Size(buf));
                sipRes = SIPBytes_Size(buf);
            }
        
            Py_DECREF(buf);
            Py_DECREF(result);
        }
#line 5245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    Py_DECREF(sipMethod);

    if (sipIsErr)
        sipCallErrorHandler(sipErrorHandler, sipPySelf, sipGILState);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

 ::qint64 sipVH_QtCore_47(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, char*a0, ::qint64 a1)
{
     ::qint64 sipRes = 0;
    int sipIsErr = 0;

#line 200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
        PyObject *result = sipCallMethod(&sipIsErr, sipMethod, "n", a1);
        
        if (result != NULL)
        {
            PyObject *buf;
        
            sipParseResult(&sipIsErr, sipMethod, result, "O", &buf);
        
            if (buf == Py_None)
                sipRes = -1L;
            else if (!SIPBytes_Check(buf))
            {
                sipBadCatcherResult(sipMethod);
                sipIsErr = 1;
            }
            else
            {
                memcpy(a0, SIPBytes_AsString(buf), SIPBytes_Size(buf));
                sipRes = SIPBytes_Size(buf);
            }
        
            Py_DECREF(buf);
            Py_DECREF(result);
        }
#line 5287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    Py_DECREF(sipMethod);

    if (sipIsErr)
        sipCallErrorHandler(sipErrorHandler, sipPySelf, sipGILState);

    SIP_RELEASE_GIL(sipGILState)

    return sipRes;
}

bool sipVH_QtCore_46(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::qint64 a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "n", a0);

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

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_QtCore_44(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QIODevice::OpenMode a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QIODevice::OpenMode(a0), sipType_QIODevice_OpenMode, NULL);

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

    return sipRes;
}

 ::QItemSelection sipVH_QtCore_43(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QItemSelection& a0)
{
     ::QItemSelection sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QItemSelection(a0), sipType_QItemSelection, NULL);

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

    return sipRes;
}

void sipVH_QtCore_42(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QAbstractItemModel*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QAbstractItemModel, NULL);
}

bool sipVH_QtCore_41(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QByteArray& a0,void*a1,long*a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NV", new  ::QByteArray(a0), sipType_QByteArray, NULL, a1);

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

    return sipRes;
}

bool sipVH_QtCore_40(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NiiNi", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, a1, a2, new  ::QModelIndex(a3), sipType_QModelIndex, NULL, a4);

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

    return sipRes;
}

QHash<int, ::QByteArray> sipVH_QtCore_39(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    QHash<int, ::QByteArray> sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

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

    return sipRes;
}

 ::QSize sipVH_QtCore_38(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
     ::QSize sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

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

    return sipRes;
}

 ::QModelIndexList sipVH_QtCore_37(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,int a1,const  ::QVariant& a2,int a3, ::Qt::MatchFlags a4)
{
     ::QModelIndexList sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NiNiN", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, a1, new  ::QVariant(a2), sipType_QVariant, NULL, a3, new  ::Qt::MatchFlags(a4), sipType_Qt_MatchFlags, NULL);

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

    return sipRes;
}

void sipVH_QtCore_36(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0, ::Qt::SortOrder a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "iF", a0, a1, sipType_Qt_SortOrder);
}

 ::Qt::ItemFlags sipVH_QtCore_35(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
     ::Qt::ItemFlags sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

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

    return sipRes;
}

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

bool sipVH_QtCore_33(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1,const  ::QModelIndex& a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iiN", a0, a1, new  ::QModelIndex(a2), sipType_QModelIndex, NULL);

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

    return sipRes;
}

 ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
     ::Qt::DropActions sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

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

    return sipRes;
}

bool sipVH_QtCore_31(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DFiiN", const_cast< ::QMimeData *>(a0), sipType_QMimeData, NULL, a1, sipType_Qt_DropAction, a2, a3, new  ::QModelIndex(a4), sipType_QModelIndex, NULL);

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

    return sipRes;
}

 ::QMimeData* sipVH_QtCore_30(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndexList& a0)
{
     ::QMimeData* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndexList(a0), sipType_QList_0100QModelIndex, NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_QtCore_28(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, new QMap<int, ::QVariant>(a1), sipType_QMap_1800_0100QVariant, NULL);

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

    return sipRes;
}

QMap<int, ::QVariant> sipVH_QtCore_27(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
    QMap<int, ::QVariant> sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

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

    return sipRes;
}

bool sipVH_QtCore_26(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iFNi", a0, a1, sipType_Qt_Orientation, new  ::QVariant(a2), sipType_QVariant, NULL, a3);

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

    return sipRes;
}

 ::QVariant sipVH_QtCore_25(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0, ::Qt::Orientation a1,int a2)
{
     ::QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iFi", a0, a1, sipType_Qt_Orientation, a2);

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

    return sipRes;
}

bool sipVH_QtCore_24(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NNi", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, new  ::QVariant(a1), sipType_QVariant, NULL, a2);

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

    return sipRes;
}

 ::QVariant sipVH_QtCore_23(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0,int a1)
{
     ::QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "Ni", new  ::QModelIndex(a0), sipType_QModelIndex, NULL, a1);

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

    return sipRes;
}

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

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

    return sipRes;
}

int sipVH_QtCore_21(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

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

    return sipRes;
}

 ::QModelIndex sipVH_QtCore_20(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QModelIndex& a0)
{
     ::QModelIndex sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QModelIndex(a0), sipType_QModelIndex, NULL);

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

    return sipRes;
}

 ::QModelIndex sipVH_QtCore_19(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1,const  ::QModelIndex& a2)
{
     ::QModelIndex sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iiN", a0, a1, new  ::QModelIndex(a2), sipType_QModelIndex, NULL);

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

    return sipRes;
}

int sipVH_QtCore_18(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "i", a0);

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

    return sipRes;
}

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

QList< ::QAbstractEventDispatcher::TimerInfo> sipVH_QtCore_16(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QObject*a0)
{
    QList< ::QAbstractEventDispatcher::TimerInfo> sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D", a0, sipType_QObject, NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_QtCore_14(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "i", a0);

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

    return sipRes;
}

void sipVH_QtCore_13(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1, ::Qt::TimerType a2, ::QObject*a3)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "iiFD", a0, a1, a2, sipType_Qt_TimerType, a3, sipType_QObject, NULL);
}

void sipVH_QtCore_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QSocketNotifier*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QSocketNotifier, NULL);
}

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

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

    return sipRes;
}

bool sipVH_QtCore_10(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QEventLoop::ProcessEventsFlags a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N", new  ::QEventLoop::ProcessEventsFlags(a0), sipType_QEventLoop_ProcessEventsFlags, NULL);

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

    return sipRes;
}

void sipVH_QtCore_9(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QAbstractAnimation::Direction a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "F", a0, sipType_QAbstractAnimation_Direction);
}

void sipVH_QtCore_8(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "FF", a0, sipType_QAbstractAnimation_State, a1, sipType_QAbstractAnimation_State);
}

void sipVH_QtCore_7(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "i", a0);
}

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

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

    return sipRes;
}

void sipVH_QtCore_5(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);
}

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

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

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

bool sipVH_QtCore_1(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;
}

bool sipVH_QtCore_0(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;
}


void sipVEH_QtCore_PyQt5(sipSimpleWrapper *, sip_gilstate_t)
{
#line 22 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_virtual_error_handler.sip"
    pyqt5_err_print();
#line 5709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


PyDoc_STRVAR(doc_qSetRealNumberPrecision, "qSetRealNumberPrecision(int) -> QTextStreamManipulator");

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

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
             ::QTextStreamManipulator*sipRes;

            sipRes = new  ::QTextStreamManipulator(qSetRealNumberPrecision(a0));

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

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

    return NULL;
}


PyDoc_STRVAR(doc_qSetPadChar, "qSetPadChar(str) -> QTextStreamManipulator");

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

    {
         ::QChar* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QChar,&a0, &a0State))
        {
             ::QTextStreamManipulator*sipRes;

            sipRes = new  ::QTextStreamManipulator(qSetPadChar(*a0));
            sipReleaseType(a0,sipType_QChar,a0State);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_qSetFieldWidth, "qSetFieldWidth(int) -> QTextStreamManipulator");

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

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
             ::QTextStreamManipulator*sipRes;

            sipRes = new  ::QTextStreamManipulator(qSetFieldWidth(a0));

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

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

    return NULL;
}


PyDoc_STRVAR(doc_ws, "ws(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &ws(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_bom, "bom(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &bom(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_reset, "reset(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &reset(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_flush, "flush(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &flush(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_endl, "endl(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &endl(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_center, "center(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &center(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_right, "right(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &right(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_left, "left(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &left(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_scientific, "scientific(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &scientific(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_fixed, "fixed(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &fixed(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_lowercasedigits, "lowercasedigits(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &lowercasedigits(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_lowercasebase, "lowercasebase(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &lowercasebase(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_uppercasedigits, "uppercasedigits(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &uppercasedigits(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_uppercasebase, "uppercasebase(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &uppercasebase(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_noforcepoint, "noforcepoint(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &noforcepoint(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_noforcesign, "noforcesign(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &noforcesign(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_noshowbase, "noshowbase(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &noshowbase(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_forcepoint, "forcepoint(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &forcepoint(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_forcesign, "forcesign(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &forcesign(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_showbase, "showbase(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &showbase(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_hex_, "hex_(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &hex(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_dec, "dec(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &dec(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_oct_, "oct_(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &oct(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_bin_, "bin_(QTextStream) -> QTextStream");

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

    {
         ::QTextStream* a0;

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

            sipRes = &bin(*a0);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_Q_RETURN_ARG, "Q_RETURN_ARG(object) -> QGenericReturnArgument");

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "P0", &a0))
        {
            PyObject * sipRes = 0;

#line 172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
    sipRes = qpycore_ReturnFactory(a0);
#line 6488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_Q_ARG, "Q_ARG(object, object) -> QGenericArgument");

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

    {
        PyObject * a0;
        PyObject * a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "P0P0", &a0, &a1))
        {
            PyObject * sipRes = 0;

#line 155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
    sipRes = qpycore_ArgumentFactory(a0, a1);
#line 6519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_pyqtSlot, "@pyqtSlot(*types, name: Optional[str], result: Optional[str])\n"
    "\n"
    "This is a decorator applied to Python methods of a QObject that marks them\n"
    "as Qt slots.\n"
    "The non-keyword arguments are the types of the slot arguments and each may\n"
    "be a Python type object or a string specifying a C++ type.\n"
    "name is the name of the slot and defaults to the name of the method.\n"
    "result is type of the value returned by the slot.");

extern "C" {static PyObject *func_pyqtSlot(PyObject *,PyObject *, PyObject *);}
static PyObject *func_pyqtSlot(PyObject *,PyObject *sipArgs, PyObject *sipKwds)
{
#line 686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    return qpycore_pyqtslot(sipArgs, sipKwds);
#line 6546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


PyDoc_STRVAR(doc_QT_TRANSLATE_NOOP, "QT_TRANSLATE_NOOP(str, str) -> str");

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

    {
        PyObject * a0;
        PyObject * a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "P0P0", &a0, &a1))
        {
            PyObject * sipRes = 0;

#line 669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    Py_INCREF(a1);
    sipRes = a1;
#line 6569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QT_TR_NOOP_UTF8, "QT_TR_NOOP_UTF8(str) -> str");

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "P0", &a0))
        {
            PyObject * sipRes = 0;

#line 663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    Py_INCREF(a0);
    sipRes = a0;
#line 6600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QT_TR_NOOP, "QT_TR_NOOP(str) -> str");

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "P0", &a0))
        {
            PyObject * sipRes = 0;

#line 657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    Py_INCREF(a0);
    sipRes = a0;
#line 6631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_Q_FLAGS, "Q_FLAGS(*)");

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "W", &a0))
        {
            PyObject * sipRes = 0;

#line 652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    sipRes = qpycore_Flags(a0);
#line 6661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_DECREF(a0);

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_Q_ENUMS, "Q_ENUMS(*)");

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "W", &a0))
        {
            PyObject * sipRes = 0;

#line 647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    sipRes = qpycore_Enums(a0);
#line 6693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_DECREF(a0);

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_Q_CLASSINFO, "Q_CLASSINFO(str, str)");

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

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AAAA", &a0Keep, &a0, &a1Keep, &a1))
        {
            PyObject * sipRes = 0;

#line 642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    sipRes = qpycore_ClassInfo(a0, a1);
#line 6728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qFloatDistance, "qFloatDistance(float, float) -> int");

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

    {
        double a0;
        double a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "dd", &a0, &a1))
        {
             ::quint64 sipRes;

            sipRes = qFloatDistance(a0,a1);

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qQNaN, "qQNaN() -> float");

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

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

            sipRes = qQNaN();

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qSNaN, "qSNaN() -> float");

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

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

            sipRes = qSNaN();

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qInf, "qInf() -> float");

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

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

            sipRes = qInf();

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qIsNaN, "qIsNaN(float) -> bool");

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

    {
        double a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "d", &a0))
        {
            bool sipRes;

            sipRes = qIsNaN(a0);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qIsFinite, "qIsFinite(float) -> bool");

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

    {
        double a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "d", &a0))
        {
            bool sipRes;

            sipRes = qIsFinite(a0);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qIsInf, "qIsInf(float) -> bool");

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

    {
        double a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "d", &a0))
        {
            bool sipRes;

            sipRes = qIsInf(a0);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qFormatLogMessage, "qFormatLogMessage(QtMsgType, QMessageLogContext, str) -> str");

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

    {
         ::QtMsgType a0;
        const  ::QMessageLogContext* a1;
        const  ::QString* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ9J1", sipType_QtMsgType, &a0, sipType_QMessageLogContext, &a1, sipType_QString,&a2, &a2State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(qFormatLogMessage(a0,*a1,*a2));
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_qSetMessagePattern, "qSetMessagePattern(str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            qSetMessagePattern(*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. */
    sipNoFunction(sipParseErr, sipName_qSetMessagePattern, doc_qSetMessagePattern);

    return NULL;
}


PyDoc_STRVAR(doc_qInstallMessageHandler, "qInstallMessageHandler(Optional[Callable[[], None]]) -> Optional[Callable[[], None]]");

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "H", &a0))
        {
            PyObject * sipRes = 0;

#line 161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
    // Treat None as the default handler.
    QtMessageHandler old = qInstallMessageHandler((a0 != Py_None) ? qtcore_MessageHandler : 0);
    
    // If we recognise the old handler, then return it.  Otherwise return
    // the default handler.  This doesn't exactly mimic the Qt behaviour
    // but it is probably close enough for the way it will be used.
    sipRes = (old == qtcore_MessageHandler) ? qtcore_PyMessageHandler : Py_None;
    Py_INCREF(sipRes);
    
    // Save the new Python handler.
    Py_XDECREF(qtcore_PyMessageHandler);
    qtcore_PyMessageHandler = a0;
    Py_INCREF(qtcore_PyMessageHandler);
#line 7024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qWarning, "qWarning(str)");

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

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
#line 151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
    const char *file, *function;
    int line = qpycore_current_context(&file, &function);
    
    Py_BEGIN_ALLOW_THREADS
    QMessageLogger(file, line, function).warning("%s", a0);
    Py_END_ALLOW_THREADS
#line 7058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qFatal, "qFatal(str)");

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

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
#line 141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
    const char *file, *function;
    int line = qpycore_current_context(&file, &function);
    
    Py_BEGIN_ALLOW_THREADS
    QMessageLogger(file, line, function).fatal("%s", a0);
    Py_END_ALLOW_THREADS
#line 7094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qErrnoWarning, "qErrnoWarning(int, str)\n"
    "qErrnoWarning(str)");

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

    {
        int a0;
        const char* a1;
        PyObject *a1Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "iAA", &a0, &a1Keep, &a1))
        {
#line 127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
    Py_BEGIN_ALLOW_THREADS
    qErrnoWarning(a0, "%s", a1);
    Py_END_ALLOW_THREADS
#line 7130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a1Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
#line 134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
    Py_BEGIN_ALLOW_THREADS
    qErrnoWarning("%s", a0);
    Py_END_ALLOW_THREADS
#line 7148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qDebug, "qDebug(str)");

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

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
#line 117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
    const char *file, *function;
    int line = qpycore_current_context(&file, &function);
    
    Py_BEGIN_ALLOW_THREADS
    QMessageLogger(file, line, function).debug("%s", a0);
    Py_END_ALLOW_THREADS
#line 7184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qCritical, "qCritical(str)");

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

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
#line 107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
    const char *file, *function;
    int line = qpycore_current_context(&file, &function);
    
    Py_BEGIN_ALLOW_THREADS
    QMessageLogger(file, line, function).critical("%s", a0);
    Py_END_ALLOW_THREADS
#line 7220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_pyqtRestoreInputHook, "pyqtRestoreInputHook()");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
#line 249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
    // Restore the input hook.
    PyOS_InputHook = qtcore_input_hook;
#line 7249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_pyqtRemoveInputHook, "pyqtRemoveInputHook()");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
#line 243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
    // Clear the Python input hook installed when the module was initialised.
    PyOS_InputHook = 0;
#line 7277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qAddPreRoutine, "qAddPreRoutine(Callable[[], None])");

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "F", &a0))
        {
            int sipIsErr = 0;

#line 178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
    // Add it to the list of pre routines if it already exists.
    if (qtcore_PreRoutines != NULL)
    {
        if (PyList_Append(qtcore_PreRoutines, a0) < 0)
            sipIsErr = 1;
    }
    else if ((qtcore_PreRoutines = PyList_New(1)) != NULL)
    {
        Py_INCREF(a0);
        PyList_SetItem(qtcore_PreRoutines, 0, a0);
    
        qAddPreRoutine(qtcore_CallPreRoutines);
    }
    else
    {
        sipIsErr = 1;
    }
#line 7324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qRemovePostRoutine, "qRemovePostRoutine(Callable[..., None])");

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "F", &a0))
        {
#line 163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
    // Remove it from the list of post routines if it exists.
    if (qtcore_PostRoutines != NULL)
        for (Py_ssize_t i = 0; i < PyList_Size(qtcore_PostRoutines); ++i)
            if (PyList_GetItem(qtcore_PostRoutines, i) == a0)
            {
                Py_INCREF(Py_None);
                PyList_SetItem(qtcore_PostRoutines, i, Py_None);
    
                break;
            }
#line 7365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qAddPostRoutine, "qAddPostRoutine(Callable[..., None])");

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "F", &a0))
        {
            int sipIsErr = 0;

#line 128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
    // Add it to the list of post routines if it already exists.
    if (qtcore_PostRoutines != NULL)
    {
        // See if there is an empty slot.
        bool app = true;
    
        for (Py_ssize_t i = 0; i < PyList_Size(qtcore_PostRoutines); ++i)
            if (PyList_GetItem(qtcore_PostRoutines, i) == Py_None)
            {
                Py_INCREF(a0);
                PyList_SetItem(qtcore_PostRoutines, i, a0);
    
                app = false;
    
                break;
            }
    
        if (app && PyList_Append(qtcore_PostRoutines, a0) < 0)
            sipIsErr = 1;
    }
    else if ((qtcore_PostRoutines = PyList_New(1)) != NULL)
    {
        Py_INCREF(a0);
        PyList_SetItem(qtcore_PostRoutines, 0, a0);
    
        qAddPostRoutine(qtcore_CallPostRoutines);
    }
    else
    {
        sipIsErr = 1;
    }
#line 7426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qChecksum, "qChecksum(bytes) -> int\n"
    "qChecksum(bytes, Qt.ChecksumType) -> int");

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

    {
        const char* a0;
        SIP_SSIZE_T a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "k", &a0, &a1))
        {
             ::quint16 sipRes;

            sipRes = qChecksum(a0,(uint)a1);

#if PY_MAJOR_VERSION >= 3
            return PyLong_FromUnsignedLong(sipRes);
#else
            return PyInt_FromLong(sipRes);
#endif
        }
    }

    {
        const char* a0;
        SIP_SSIZE_T a1;
         ::Qt::ChecksumType a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "kE", &a0, &a1, sipType_Qt_ChecksumType, &a2))
        {
             ::quint16 sipRes;

            sipRes = qChecksum(a0,(uint)a1,a2);

#if PY_MAJOR_VERSION >= 3
            return PyLong_FromUnsignedLong(sipRes);
#else
            return PyInt_FromLong(sipRes);
#endif
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qUncompress, "qUncompress(Union[QByteArray, bytes, bytearray]) -> QByteArray");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(qUncompress(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_qCompress, "qCompress(Union[QByteArray, bytes, bytearray], compressionLevel: int = -1) -> QByteArray");

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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        int a1 = -1;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|i", sipType_QByteArray, &a0, &a0State, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(qCompress(*a0,a1));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

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

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

    return NULL;
}


PyDoc_STRVAR(doc_pyqtPickleProtocol, "pyqtPickleProtocol() -> Optional[int]");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            PyObject * sipRes = 0;

#line 222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
    sipRes = qpycore_pickle_protocol;
    if (!sipRes)
        sipRes = Py_None;
    
    Py_INCREF(sipRes);
#line 7582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_pyqtSetPickleProtocol, "pyqtSetPickleProtocol(Optional[int])");

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

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "P0", &a0))
        {
#line 215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
    Py_XDECREF(qpycore_pickle_protocol);
    qpycore_pickle_protocol = a0;
    Py_INCREF(qpycore_pickle_protocol);
#line 7612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qrand, "qrand() -> int");

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

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

            sipRes = qrand();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qsrand, "qsrand(int)");

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

    {
         ::uint a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "u", &a0))
        {
            qsrand(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qIsNull, "qIsNull(float) -> bool");

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

    {
        double a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "d", &a0))
        {
            bool sipRes;

            sipRes = qIsNull(a0);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qFuzzyCompare, "qFuzzyCompare(float, float) -> bool");

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

    {
        double a0;
        double a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "dd", &a0, &a1))
        {
            bool sipRes;

            sipRes = qFuzzyCompare(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qUnregisterResourceData, "qUnregisterResourceData(int, bytes, bytes, bytes) -> bool");

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

    {
        int a0;
        const unsigned char* a1;
        const unsigned char* a2;
        const unsigned char* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "isss", &a0, &a1, &a2, &a3))
        {
            bool sipRes;

            sipRes = qUnregisterResourceData(a0,a1,a2,a3);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qRegisterResourceData, "qRegisterResourceData(int, bytes, bytes, bytes) -> bool");

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

    {
        int a0;
        const unsigned char* a1;
        const unsigned char* a2;
        const unsigned char* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "isss", &a0, &a1, &a2, &a3))
        {
            bool sipRes;

            sipRes = qRegisterResourceData(a0,a1,a2,a3);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qSharedBuild, "qSharedBuild() -> bool");

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

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

            sipRes = qSharedBuild();

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qVersion, "qVersion() -> str");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            const char*sipRes;

            sipRes = qVersion();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qRound64, "qRound64(float) -> int");

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

    {
         ::qreal a0;

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

            sipRes = qRound64(a0);

            return PyLong_FromLongLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qRound, "qRound(float) -> int");

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

    {
         ::qreal a0;

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

            sipRes = qRound(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qAbs, "qAbs(float) -> float");

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

    {
        double a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "d", &a0))
        {
            double sipRes;

            sipRes = qAbs(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

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

    return NULL;
}


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

#line 311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QSettings, &sipType_QSettings, -1, 1},
        {sipName_QAbstractAnimation, &sipType_QAbstractAnimation, 25, 2},
        {sipName_QAbstractState, &sipType_QAbstractState, 31, 3},
    #if QT_VERSION >= 0x050200
        {sipName_QFileSelector, &sipType_QFileSelector, -1, 4},
    #else
        {0, 0, -1, 4},
    #endif
        {sipName_QTimer, &sipType_QTimer, -1, 5},
        {sipName_QItemSelectionModel, &sipType_QItemSelectionModel, -1, 6},
        {sipName_QSocketNotifier, &sipType_QSocketNotifier, -1, 7},
        {sipName_QIODevice, &sipType_QIODevice, 35, 8},
        {sipName_QObjectCleanupHandler, &sipType_QObjectCleanupHandler, -1, 9},
        {sipName_QAbstractTransition, &sipType_QAbstractTransition, 41, 10},
        {sipName_QThread, &sipType_QThread, -1, 11},
        {sipName_QTranslator, &sipType_QTranslator, -1, 12},
        {sipName_QPluginLoader, &sipType_QPluginLoader, -1, 13},
    #if defined(Q_OS_WIN)
        {sipName_QWinEventNotifier, &sipType_QWinEventNotifier, -1, 14},
    #else
        {0, 0, -1, 14},
    #endif
        {sipName_QMimeData, &sipType_QMimeData, -1, 15},
        {sipName_QSignalMapper, &sipType_QSignalMapper, -1, 16},
        {sipName_QAbstractEventDispatcher, &sipType_QAbstractEventDispatcher, -1, 17},
        {sipName_QThreadPool, &sipType_QThreadPool, -1, 18},
        {sipName_QCoreApplication, &sipType_QCoreApplication, -1, 19},
        {sipName_QFileSystemWatcher, &sipType_QFileSystemWatcher, -1, 20},
        {sipName_QSharedMemory, &sipType_QSharedMemory, -1, 21},
        {sipName_QAbstractItemModel, &sipType_QAbstractItemModel, 43, 22},
        {sipName_QEventLoop, &sipType_QEventLoop, -1, 23},
        {sipName_QLibrary, &sipType_QLibrary, -1, 24},
        {sipName_QTimeLine, &sipType_QTimeLine, -1, -1},
        {sipName_QPauseAnimation, &sipType_QPauseAnimation, -1, 26},
        {sipName_QAnimationGroup, &sipType_QAnimationGroup, 28, 27},
        {sipName_QVariantAnimation, &sipType_QVariantAnimation, 30, -1},
        {sipName_QSequentialAnimationGroup, &sipType_QSequentialAnimationGroup, -1, 29},
        {sipName_QParallelAnimationGroup, &sipType_QParallelAnimationGroup, -1, -1},
        {sipName_QPropertyAnimation, &sipType_QPropertyAnimation, -1, -1},
        {sipName_QHistoryState, &sipType_QHistoryState, -1, 32},
        {sipName_QFinalState, &sipType_QFinalState, -1, 33},
        {sipName_QState, &sipType_QState, 34, -1},
        {sipName_QStateMachine, &sipType_QStateMachine, -1, -1},
        {sipName_QBuffer, &sipType_QBuffer, -1, 36},
        {sipName_QFileDevice, &sipType_QFileDevice, 38, 37},
    #if !defined(QT_NO_PROCESS)
        {sipName_QProcess, &sipType_QProcess, -1, -1},
    #else
        {0, 0, -1, -1},
    #endif
    #if QT_VERSION >= 0x050100
        {sipName_QSaveFile, &sipType_QSaveFile, -1, 39},
    #else
        {0, 0, -1, 39},
    #endif
        {sipName_QFile, &sipType_QFile, 40, -1},
        {sipName_QTemporaryFile, &sipType_QTemporaryFile, -1, -1},
        {sipName_QSignalTransition, &sipType_QSignalTransition, -1, 42},
        {sipName_QEventTransition, &sipType_QEventTransition, -1, -1},
        {sipName_QAbstractListModel, &sipType_QAbstractListModel, 46, 44},
        {sipName_QAbstractProxyModel, &sipType_QAbstractProxyModel, 47, 45},
        {sipName_QAbstractTableModel, &sipType_QAbstractTableModel, -1, -1},
        {sipName_QStringListModel, &sipType_QStringListModel, -1, -1},
        {sipName_QSortFilterProxyModel, &sipType_QSortFilterProxyModel, -1, 48},
        {sipName_QIdentityProxyModel, &sipType_QIdentityProxyModel, -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 8037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipType;
}


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

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
    switch (sipCpp->type())
    {
    case QEvent::Timer:
        sipType = sipType_QTimerEvent;
        break;
    
    case QEvent::ChildAdded:
    case QEvent::ChildPolished:
    case QEvent::ChildRemoved:
        sipType = sipType_QChildEvent;
        break;
    
    case QEvent::DynamicPropertyChange:
        sipType = sipType_QDynamicPropertyChangeEvent;
        break;
    
    case QEvent::StateMachineSignal:
        sipType = sipType_QStateMachine_SignalEvent;
        break;
    
    case QEvent::StateMachineWrapped:
        sipType = sipType_QStateMachine_WrappedEvent;
        break;
    
    default:
        sipType = 0;
    }
#line 8078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipType;
}


/* This defines each external type declared in this module, */
static sipExternalTypeDef externalTypesTable[] = {
    {307, "QWidget"},
    {-1, NULL}
};


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

    {
         ::QUrl::ComponentFormattingOption a0;
         ::QUrl::ComponentFormattingOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QUrl_ComponentFormattingOption, &a0, sipType_QUrl_ComponentFormattingOptions, &a1, &a1State))
        {
             ::QUrl::ComponentFormattingOptions*sipRes;

            sipRes = new  ::QUrl::ComponentFormattingOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QUrl_ComponentFormattingOptions,a1State);

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

    {
         ::QUrl::ComponentFormattingOption a0;
         ::QUrl::FormattingOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QUrl_ComponentFormattingOption, &a0, sipType_QUrl_FormattingOptions, &a1, &a1State))
        {
             ::QUrl::FormattingOptions*sipRes;

            sipRes = new  ::QUrl::FormattingOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QUrl_FormattingOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QUrl_ComponentFormattingOption[] = {
    {(void *)slot_QUrl_ComponentFormattingOption___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QUrl::UrlFormattingOption a0;
         ::QUrl::FormattingOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QUrl_UrlFormattingOption, &a0, sipType_QUrl_FormattingOptions, &a1, &a1State))
        {
             ::QUrl::FormattingOptions*sipRes;

            sipRes = new  ::QUrl::FormattingOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QUrl_FormattingOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QUrl_UrlFormattingOption[] = {
    {(void *)slot_QUrl_UrlFormattingOption___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QTextStream::NumberFlag a0;
         ::QTextStream::NumberFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QTextStream_NumberFlag, &a0, sipType_QTextStream_NumberFlags, &a1, &a1State))
        {
             ::QTextStream::NumberFlags*sipRes;

            sipRes = new  ::QTextStream::NumberFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QTextStream_NumberFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QTextStream_NumberFlag[] = {
    {(void *)slot_QTextStream_NumberFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QTextCodec::ConversionFlag a0;
         ::QTextCodec::ConversionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QTextCodec_ConversionFlag, &a0, sipType_QTextCodec_ConversionFlags, &a1, &a1State))
        {
             ::QTextCodec::ConversionFlags*sipRes;

            sipRes = new  ::QTextCodec::ConversionFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QTextCodec_ConversionFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QTextCodec_ConversionFlag[] = {
    {(void *)slot_QTextCodec_ConversionFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QTextBoundaryFinder::BoundaryReason a0;
         ::QTextBoundaryFinder::BoundaryReasons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QTextBoundaryFinder_BoundaryReason, &a0, sipType_QTextBoundaryFinder_BoundaryReasons, &a1, &a1State))
        {
             ::QTextBoundaryFinder::BoundaryReasons*sipRes;

            sipRes = new  ::QTextBoundaryFinder::BoundaryReasons((a0 | *a1));
            sipReleaseType(a1,sipType_QTextBoundaryFinder_BoundaryReasons,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QTextBoundaryFinder_BoundaryReason[] = {
    {(void *)slot_QTextBoundaryFinder_BoundaryReason___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QStandardPaths::LocateOption a0;
         ::QStandardPaths::LocateOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QStandardPaths_LocateOption, &a0, sipType_QStandardPaths_LocateOptions, &a1, &a1State))
        {
             ::QStandardPaths::LocateOptions*sipRes;

            sipRes = new  ::QStandardPaths::LocateOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QStandardPaths_LocateOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QStandardPaths_LocateOption[] = {
    {(void *)slot_QStandardPaths_LocateOption___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QRegularExpression::MatchOption a0;
         ::QRegularExpression::MatchOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QRegularExpression_MatchOption, &a0, sipType_QRegularExpression_MatchOptions, &a1, &a1State))
        {
             ::QRegularExpression::MatchOptions*sipRes;

            sipRes = new  ::QRegularExpression::MatchOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QRegularExpression_MatchOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QRegularExpression_MatchOption[] = {
    {(void *)slot_QRegularExpression_MatchOption___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QRegularExpression::PatternOption a0;
         ::QRegularExpression::PatternOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QRegularExpression_PatternOption, &a0, sipType_QRegularExpression_PatternOptions, &a1, &a1State))
        {
             ::QRegularExpression::PatternOptions*sipRes;

            sipRes = new  ::QRegularExpression::PatternOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QRegularExpression_PatternOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QRegularExpression_PatternOption[] = {
    {(void *)slot_QRegularExpression_PatternOption___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QMetaType::TypeFlag a0;
         ::QMetaType::TypeFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QMetaType_TypeFlag, &a0, sipType_QMetaType_TypeFlags, &a1, &a1State))
        {
             ::QMetaType::TypeFlags*sipRes;

            sipRes = new  ::QMetaType::TypeFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QMetaType_TypeFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QMetaType_TypeFlag[] = {
    {(void *)slot_QMetaType_TypeFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QLocale::NumberOption a0;
         ::QLocale::NumberOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QLocale_NumberOption, &a0, sipType_QLocale_NumberOptions, &a1, &a1State))
        {
             ::QLocale::NumberOptions*sipRes;

            sipRes = new  ::QLocale::NumberOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QLocale_NumberOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QLocale_NumberOption[] = {
    {(void *)slot_QLocale_NumberOption___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QLibrary::LoadHint a0;
         ::QLibrary::LoadHints* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QLibrary_LoadHint, &a0, sipType_QLibrary_LoadHints, &a1, &a1State))
        {
             ::QLibrary::LoadHints*sipRes;

            sipRes = new  ::QLibrary::LoadHints((a0 | *a1));
            sipReleaseType(a1,sipType_QLibrary_LoadHints,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QLibrary_LoadHint[] = {
    {(void *)slot_QLibrary_LoadHint___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QItemSelectionModel::SelectionFlag a0;
         ::QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QItemSelectionModel_SelectionFlag, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
             ::QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new  ::QItemSelectionModel::SelectionFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QItemSelectionModel_SelectionFlag[] = {
    {(void *)slot_QItemSelectionModel_SelectionFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QIODevice::OpenModeFlag a0;
         ::QIODevice::OpenMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QIODevice_OpenModeFlag, &a0, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
             ::QIODevice::OpenMode*sipRes;

            sipRes = new  ::QIODevice::OpenMode((a0 | *a1));
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QIODevice_OpenModeFlag[] = {
    {(void *)slot_QIODevice_OpenModeFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QFileDevice::Permission a0;
         ::QFileDevice::Permissions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QFileDevice_Permission, &a0, sipType_QFileDevice_Permissions, &a1, &a1State))
        {
             ::QFileDevice::Permissions*sipRes;

            sipRes = new  ::QFileDevice::Permissions((a0 | *a1));
            sipReleaseType(a1,sipType_QFileDevice_Permissions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QFileDevice_Permission[] = {
    {(void *)slot_QFileDevice_Permission___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QEventLoop::ProcessEventsFlag a0;
         ::QEventLoop::ProcessEventsFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QEventLoop_ProcessEventsFlag, &a0, sipType_QEventLoop_ProcessEventsFlags, &a1, &a1State))
        {
             ::QEventLoop::ProcessEventsFlags*sipRes;

            sipRes = new  ::QEventLoop::ProcessEventsFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QEventLoop_ProcessEventsFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QEventLoop_ProcessEventsFlag[] = {
    {(void *)slot_QEventLoop_ProcessEventsFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QDirIterator::IteratorFlag a0;
         ::QDirIterator::IteratorFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QDirIterator_IteratorFlag, &a0, sipType_QDirIterator_IteratorFlags, &a1, &a1State))
        {
             ::QDirIterator::IteratorFlags*sipRes;

            sipRes = new  ::QDirIterator::IteratorFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QDirIterator_IteratorFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QDirIterator_IteratorFlag[] = {
    {(void *)slot_QDirIterator_IteratorFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QDir::SortFlag a0;
         ::QDir::SortFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QDir_SortFlag, &a0, sipType_QDir_SortFlags, &a1, &a1State))
        {
             ::QDir::SortFlags*sipRes;

            sipRes = new  ::QDir::SortFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QDir_SortFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QDir_SortFlag[] = {
    {(void *)slot_QDir_SortFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QDir::Filter a0;
         ::QDir::Filters* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QDir_Filter, &a0, sipType_QDir_Filters, &a1, &a1State))
        {
             ::QDir::Filters*sipRes;

            sipRes = new  ::QDir::Filters((a0 | *a1));
            sipReleaseType(a1,sipType_QDir_Filters,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QDir_Filter[] = {
    {(void *)slot_QDir_Filter___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QCommandLineOption::Flag a0;
         ::QCommandLineOption::Flags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QCommandLineOption_Flag, &a0, sipType_QCommandLineOption_Flags, &a1, &a1State))
        {
             ::QCommandLineOption::Flags*sipRes;

            sipRes = new  ::QCommandLineOption::Flags((a0 | *a1));
            sipReleaseType(a1,sipType_QCommandLineOption_Flags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QCommandLineOption_Flag[] = {
    {(void *)slot_QCommandLineOption_Flag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::QByteArray::Base64Option a0;
         ::QByteArray::Base64Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QByteArray_Base64Option, &a0, sipType_QByteArray_Base64Options, &a1, &a1State))
        {
             ::QByteArray::Base64Options*sipRes;

            sipRes = new  ::QByteArray::Base64Options((a0 | *a1));
            sipReleaseType(a1,sipType_QByteArray_Base64Options,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_QByteArray_Base64Option[] = {
    {(void *)slot_QByteArray_Base64Option___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::MouseEventFlag a0;
         ::Qt::MouseEventFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_MouseEventFlag, &a0, sipType_Qt_MouseEventFlags, &a1, &a1State))
        {
             ::Qt::MouseEventFlags*sipRes;

            sipRes = new  ::Qt::MouseEventFlags((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_MouseEventFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_MouseEventFlag[] = {
    {(void *)slot_Qt_MouseEventFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::Edge a0;
         ::Qt::Edges* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_Edge, &a0, sipType_Qt_Edges, &a1, &a1State))
        {
             ::Qt::Edges*sipRes;

            sipRes = new  ::Qt::Edges((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_Edges,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_Edge[] = {
    {(void *)slot_Qt_Edge___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::ScreenOrientation a0;
         ::Qt::ScreenOrientations* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_ScreenOrientation, &a0, sipType_Qt_ScreenOrientations, &a1, &a1State))
        {
             ::Qt::ScreenOrientations*sipRes;

            sipRes = new  ::Qt::ScreenOrientations((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_ScreenOrientations,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_ScreenOrientation[] = {
    {(void *)slot_Qt_ScreenOrientation___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::GestureFlag a0;
         ::Qt::GestureFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_GestureFlag, &a0, sipType_Qt_GestureFlags, &a1, &a1State))
        {
             ::Qt::GestureFlags*sipRes;

            sipRes = new  ::Qt::GestureFlags((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_GestureFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_GestureFlag[] = {
    {(void *)slot_Qt_GestureFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::TouchPointState a0;
         ::Qt::TouchPointStates* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_TouchPointState, &a0, sipType_Qt_TouchPointStates, &a1, &a1State))
        {
             ::Qt::TouchPointStates*sipRes;

            sipRes = new  ::Qt::TouchPointStates((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_TouchPointStates,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_TouchPointState[] = {
    {(void *)slot_Qt_TouchPointState___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::InputMethodHint a0;
         ::Qt::InputMethodHints* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_InputMethodHint, &a0, sipType_Qt_InputMethodHints, &a1, &a1State))
        {
             ::Qt::InputMethodHints*sipRes;

            sipRes = new  ::Qt::InputMethodHints((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_InputMethodHints,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_InputMethodHint[] = {
    {(void *)slot_Qt_InputMethodHint___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::TextInteractionFlag a0;
         ::Qt::TextInteractionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_TextInteractionFlag, &a0, sipType_Qt_TextInteractionFlags, &a1, &a1State))
        {
             ::Qt::TextInteractionFlags*sipRes;

            sipRes = new  ::Qt::TextInteractionFlags((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_TextInteractionFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_TextInteractionFlag[] = {
    {(void *)slot_Qt_TextInteractionFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::MatchFlag a0;
         ::Qt::MatchFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_MatchFlag, &a0, sipType_Qt_MatchFlags, &a1, &a1State))
        {
             ::Qt::MatchFlags*sipRes;

            sipRes = new  ::Qt::MatchFlags((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_MatchFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_MatchFlag[] = {
    {(void *)slot_Qt_MatchFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::ItemFlag a0;
         ::Qt::ItemFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_ItemFlag, &a0, sipType_Qt_ItemFlags, &a1, &a1State))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_ItemFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_ItemFlag[] = {
    {(void *)slot_Qt_ItemFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::DropAction a0;
         ::Qt::DropActions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_DropAction, &a0, sipType_Qt_DropActions, &a1, &a1State))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_DropActions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_DropAction[] = {
    {(void *)slot_Qt_DropAction___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::InputMethodQuery a0;
         ::Qt::InputMethodQueries* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_InputMethodQuery, &a0, sipType_Qt_InputMethodQueries, &a1, &a1State))
        {
             ::Qt::InputMethodQueries*sipRes;

            sipRes = new  ::Qt::InputMethodQueries((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_InputMethodQueries,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_InputMethodQuery[] = {
    {(void *)slot_Qt_InputMethodQuery___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::ToolBarArea a0;
         ::Qt::ToolBarAreas* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_ToolBarArea, &a0, sipType_Qt_ToolBarAreas, &a1, &a1State))
        {
             ::Qt::ToolBarAreas*sipRes;

            sipRes = new  ::Qt::ToolBarAreas((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_ToolBarAreas,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_ToolBarArea[] = {
    {(void *)slot_Qt_ToolBarArea___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::DockWidgetArea a0;
         ::Qt::DockWidgetAreas* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_DockWidgetArea, &a0, sipType_Qt_DockWidgetAreas, &a1, &a1State))
        {
             ::Qt::DockWidgetAreas*sipRes;

            sipRes = new  ::Qt::DockWidgetAreas((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_DockWidgetAreas,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_DockWidgetArea[] = {
    {(void *)slot_Qt_DockWidgetArea___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::ImageConversionFlag a0;
         ::Qt::ImageConversionFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_ImageConversionFlag, &a0, sipType_Qt_ImageConversionFlags, &a1, &a1State))
        {
             ::Qt::ImageConversionFlags*sipRes;

            sipRes = new  ::Qt::ImageConversionFlags((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_ImageConversionFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_ImageConversionFlag[] = {
    {(void *)slot_Qt_ImageConversionFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::WindowState a0;
         ::Qt::WindowStates* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_WindowState, &a0, sipType_Qt_WindowStates, &a1, &a1State))
        {
             ::Qt::WindowStates*sipRes;

            sipRes = new  ::Qt::WindowStates((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_WindowStates,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_WindowState[] = {
    {(void *)slot_Qt_WindowState___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::WindowType a0;
         ::Qt::WindowFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_WindowType, &a0, sipType_Qt_WindowFlags, &a1, &a1State))
        {
             ::Qt::WindowFlags*sipRes;

            sipRes = new  ::Qt::WindowFlags((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_WindowType[] = {
    {(void *)slot_Qt_WindowType___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::AlignmentFlag a0;
         ::Qt::Alignment* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_AlignmentFlag, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
             ::Qt::Alignment*sipRes;

            sipRes = new  ::Qt::Alignment((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_AlignmentFlag[] = {
    {(void *)slot_Qt_AlignmentFlag___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::Orientation a0;
         ::Qt::Orientations* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_Orientation, &a0, sipType_Qt_Orientations, &a1, &a1State))
        {
             ::Qt::Orientations*sipRes;

            sipRes = new  ::Qt::Orientations((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_Orientations,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_Orientation[] = {
    {(void *)slot_Qt_Orientation___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::MouseButton a0;
         ::Qt::MouseButtons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_MouseButton, &a0, sipType_Qt_MouseButtons, &a1, &a1State))
        {
             ::Qt::MouseButtons*sipRes;

            sipRes = new  ::Qt::MouseButtons((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_MouseButtons,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_MouseButton[] = {
    {(void *)slot_Qt_MouseButton___or__, or_slot},
    {0, (sipPySlotType)0}
};



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

    {
         ::Qt::KeyboardModifier a0;
         ::Qt::KeyboardModifiers* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_Qt_KeyboardModifier, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
             ::Qt::KeyboardModifiers*sipRes;

            sipRes = new  ::Qt::KeyboardModifiers((a0 | *a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotDef slots_Qt_KeyboardModifier[] = {
    {(void *)slot_Qt_KeyboardModifier___or__, or_slot},
    {0, (sipPySlotType)0}
};

static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSysInfo__Endian, {0}, 0}, sipNameNr_Endian, 243, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSysInfo__Sizes, {0}, 0}, sipNameNr_Sizes, 243, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QXmlStreamReader__Error, {0}, 0}, sipNameNr_Error, 315, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QXmlStreamReader__ReadElementTextBehaviour, {0}, 0}, sipNameNr_ReadElementTextBehaviour, 315, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QXmlStreamReader__TokenType, {0}, 0}, sipNameNr_TokenType, 315, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QVariant__Type, {0}, 0}, sipNameNr_Type, 295, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUuid__Version, {0}, 0}, sipNameNr_Version, 292, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUuid__Variant, {0}, 0}, sipNameNr_Variant, 292, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUrl__UserInputResolutionOption, {0}, 0}, sipNameNr_UserInputResolutionOption, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUrl__ComponentFormattingOption, {0}, 0}, sipNameNr_ComponentFormattingOption, 283, slots_QUrl_ComponentFormattingOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUrl__UrlFormattingOption, {0}, 0}, sipNameNr_UrlFormattingOption, 283, slots_QUrl_UrlFormattingOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QUrl__ParsingMode, {0}, 0}, sipNameNr_ParsingMode, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeZone__NameType, {0}, 0}, sipNameNr_NameType, 276, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeZone__TimeType, {0}, 0}, sipNameNr_TimeType, 276, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeLine__State, {0}, 0}, sipNameNr_State, 272, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeLine__Direction, {0}, 0}, sipNameNr_Direction, 272, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTimeLine__CurveShape, {0}, 0}, sipNameNr_CurveShape, 272, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QThread__Priority, {0}, 0}, sipNameNr_Priority, 268, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__Status, {0}, 0}, sipNameNr_Status, 261, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__NumberFlag, {0}, 0}, sipNameNr_NumberFlag, 261, slots_QTextStream_NumberFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__FieldAlignment, {0}, 0}, sipNameNr_FieldAlignment, 261, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextStream__RealNumberNotation, {0}, 0}, sipNameNr_RealNumberNotation, 261, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextCodec__ConversionFlag, {0}, 0}, sipNameNr_ConversionFlag, 255, slots_QTextCodec_ConversionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextBoundaryFinder__BoundaryType, {0}, 0}, sipNameNr_BoundaryType, 251, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextBoundaryFinder__BoundaryReason, {0}, 0}, sipNameNr_BoundaryReason, 251, slots_QTextBoundaryFinder_BoundaryReason},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemSemaphore__SystemSemaphoreError, {0}, 0}, sipNameNr_SystemSemaphoreError, 246, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemSemaphore__AccessMode, {0}, 0}, sipNameNr_AccessMode, 246, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStateMachine__Error, {0}, 0}, sipNameNr_Error, 233, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStateMachine__EventPriority, {0}, 0}, sipNameNr_EventPriority, 233, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QState__RestorePolicy, {0}, 0}, sipNameNr_RestorePolicy, 230, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QState__ChildMode, {0}, 0}, sipNameNr_ChildMode, 230, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStandardPaths__LocateOption, {0}, 0}, sipNameNr_LocateOption, 226, slots_QStandardPaths_LocateOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStandardPaths__StandardLocation, {0}, 0}, sipNameNr_StandardLocation, 226, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSocketNotifier__Type, {0}, 0}, sipNameNr_Type, 223, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSharedMemory__SharedMemoryError, {0}, 0}, sipNameNr_SharedMemoryError, 215, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSharedMemory__AccessMode, {0}, 0}, sipNameNr_AccessMode, 215, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSettings__Scope, {0}, 0}, sipNameNr_Scope, 211, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSettings__Format, {0}, 0}, sipNameNr_Format, 211, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSettings__Status, {0}, 0}, sipNameNr_Status, 211, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegularExpression__MatchOption, {0}, 0}, sipNameNr_MatchOption, 197, slots_QRegularExpression_MatchOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegularExpression__MatchType, {0}, 0}, sipNameNr_MatchType, 197, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegularExpression__PatternOption, {0}, 0}, sipNameNr_PatternOption, 197, slots_QRegularExpression_PatternOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegExp__CaretMode, {0}, 0}, sipNameNr_CaretMode, 194, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRegExp__PatternSyntax, {0}, 0}, sipNameNr_PatternSyntax, 194, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QReadWriteLock__RecursionMode, {0}, 0}, sipNameNr_RecursionMode, 190, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__InputChannelMode, {0}, 0}, sipNameNr_InputChannelMode, 180, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessChannelMode, {0}, 0}, sipNameNr_ProcessChannelMode, 180, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessChannel, {0}, 0}, sipNameNr_ProcessChannel, 180, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessState, {0}, 0}, sipNameNr_ProcessState, 180, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ProcessError, {0}, 0}, sipNameNr_ProcessError, 180, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProcess__ExitStatus, {0}, 0}, sipNameNr_ExitStatus, 180, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QOperatingSystemVersion__OSType, {0}, 0}, sipNameNr_OSType, 171, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMutex__RecursionMode, {0}, 0}, sipNameNr_RecursionMode, 166, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMimeDatabase__MatchMode, {0}, 0}, sipNameNr_MatchMode, 162, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaType__TypeFlag, {0}, 0}, sipNameNr_TypeFlag, 157, slots_QMetaType_TypeFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaType__Type, {0}, 0}, sipNameNr_Type, 157, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaMethod__MethodType, {0}, 0}, sipNameNr_MethodType, 152, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMetaMethod__Access, {0}, 0}, sipNameNr_Access, 152, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QtMsgType, {0}, 0}, sipNameNr_QtMsgType, -1, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLockFile__LockError, {0}, 0}, sipNameNr_LockError, 141, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__FloatingPointPrecisionOption, {0}, 0}, sipNameNr_FloatingPointPrecisionOption, 130, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__QuotationStyle, {0}, 0}, sipNameNr_QuotationStyle, 130, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__CurrencySymbolFormat, {0}, 0}, sipNameNr_CurrencySymbolFormat, 130, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__Script, {0}, 0}, sipNameNr_Script, 130, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__MeasurementSystem, {0}, 0}, sipNameNr_MeasurementSystem, 130, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__FormatType, {0}, 0}, sipNameNr_FormatType, 130, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__NumberOption, {0}, 0}, sipNameNr_NumberOption, 130, slots_QLocale_NumberOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__Country, {0}, 0}, sipNameNr_Country, 130, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLocale__Language, {0}, 0}, sipNameNr_Language, 130, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLineF__IntersectType, {0}, 0}, sipNameNr_IntersectType, 108, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLibraryInfo__LibraryLocation, {0}, 0}, sipNameNr_LibraryLocation, 105, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLibrary__LoadHint, {0}, 0}, sipNameNr_LoadHint, 102, slots_QLibrary_LoadHint},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QJsonValue__Type, {0}, 0}, sipNameNr_Type, 100, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QJsonDocument__JsonFormat, {0}, 0}, sipNameNr_JsonFormat, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QJsonDocument__DataValidation, {0}, 0}, sipNameNr_DataValidation, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QJsonParseError__ParseError, {0}, 0}, sipNameNr_ParseError, 98, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QItemSelectionModel__SelectionFlag, {0}, 0}, sipNameNr_SelectionFlag, 89, slots_QItemSelectionModel_SelectionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QIODevice__OpenModeFlag, {0}, 0}, sipNameNr_OpenModeFlag, 84, slots_QIODevice_OpenModeFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QHistoryState__HistoryType, {0}, 0}, sipNameNr_HistoryType, 82, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDevice__MemoryMapFlags, {0}, 0}, sipNameNr_MemoryMapFlags, 67, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDevice__FileHandleFlag, {0}, 0}, sipNameNr_FileHandleFlag, 67, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDevice__Permission, {0}, 0}, sipNameNr_Permission, 67, slots_QFileDevice_Permission},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDevice__FileError, {0}, 0}, sipNameNr_FileError, 67, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QEventLoop__ProcessEventsFlag, {0}, 0}, sipNameNr_ProcessEventsFlag, 61, slots_QEventLoop_ProcessEventsFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QElapsedTimer__ClockType, {0}, 0}, sipNameNr_ClockType, 57, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QEasingCurve__Type, {0}, 0}, sipNameNr_Type, 55, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDirIterator__IteratorFlag, {0}, 0}, sipNameNr_IteratorFlag, 51, slots_QDirIterator_IteratorFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDir__SortFlag, {0}, 0}, sipNameNr_SortFlag, 46, slots_QDir_SortFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDir__Filter, {0}, 0}, sipNameNr_Filter, 46, slots_QDir_Filter},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDeadlineTimer__ForeverConstant, {0}, 0}, sipNameNr_ForeverConstant, 44, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDate__MonthNameType, {0}, 0}, sipNameNr_MonthNameType, 41, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__FloatingPointPrecision, {0}, 0}, sipNameNr_FloatingPointPrecision, 36, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__Status, {0}, 0}, sipNameNr_Status, 36, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__ByteOrder, {0}, 0}, sipNameNr_ByteOrder, 36, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataStream__Version, {0}, 0}, sipNameNr_Version, 36, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCryptographicHash__Algorithm, {0}, 0}, sipNameNr_Algorithm, 34, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QEvent__Type, {0}, 0}, sipNameNr_Type, 59, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCommandLineParser__OptionsAfterPositionalArgumentsMode, {0}, 0}, sipNameNr_OptionsAfterPositionalArgumentsMode, 30, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCommandLineParser__SingleDashWordOptionMode, {0}, 0}, sipNameNr_SingleDashWordOptionMode, 30, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCommandLineOption__Flag, {0}, 0}, sipNameNr_Flag, 27, slots_QCommandLineOption_Flag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QByteArray__Base64Option, {0}, 0}, sipNameNr_Base64Option, 19, slots_QByteArray_Base64Option},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractTransition__TransitionType, {0}, 0}, sipNameNr_TransitionType, 13, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemModel__LayoutChangeHint, {0}, 0}, sipNameNr_LayoutChangeHint, 6, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractAnimation__DeletionPolicy, {0}, 0}, sipNameNr_DeletionPolicy, 0, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractAnimation__State, {0}, 0}, sipNameNr_State, 0, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractAnimation__Direction, {0}, 0}, sipNameNr_Direction, 0, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ChecksumType, {0}, 0}, sipNameNr_ChecksumType, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__EnterKeyType, {0}, 0}, sipNameNr_EnterKeyType, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ItemSelectionOperation, {0}, 0}, sipNameNr_ItemSelectionOperation, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TabFocusBehavior, {0}, 0}, sipNameNr_TabFocusBehavior, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MouseEventFlag, {0}, 0}, sipNameNr_MouseEventFlag, 320, slots_Qt_MouseEventFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MouseEventSource, {0}, 0}, sipNameNr_MouseEventSource, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ScrollPhase, {0}, 0}, sipNameNr_ScrollPhase, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__NativeGestureType, {0}, 0}, sipNameNr_NativeGestureType, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Edge, {0}, 0}, sipNameNr_Edge, 320, slots_Qt_Edge},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ApplicationState, {0}, 0}, sipNameNr_ApplicationState, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__HitTestAccuracy, {0}, 0}, sipNameNr_HitTestAccuracy, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WhiteSpaceMode, {0}, 0}, sipNameNr_WhiteSpaceMode, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FindChildOption, {0}, 0}, sipNameNr_FindChildOption, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ScreenOrientation, {0}, 0}, sipNameNr_ScreenOrientation, 320, slots_Qt_ScreenOrientation},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CursorMoveStyle, {0}, 0}, sipNameNr_CursorMoveStyle, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__NavigationMode, {0}, 0}, sipNameNr_NavigationMode, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GestureFlag, {0}, 0}, sipNameNr_GestureFlag, 320, slots_Qt_GestureFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GestureType, {0}, 0}, sipNameNr_GestureType, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GestureState, {0}, 0}, sipNameNr_GestureState, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TouchPointState, {0}, 0}, sipNameNr_TouchPointState, 320, slots_Qt_TouchPointState},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CoordinateSystem, {0}, 0}, sipNameNr_CoordinateSystem, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__AnchorPoint, {0}, 0}, sipNameNr_AnchorPoint, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__InputMethodHint, {0}, 0}, sipNameNr_InputMethodHint, 320, slots_Qt_InputMethodHint},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TileRule, {0}, 0}, sipNameNr_TileRule, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowFrameSection, {0}, 0}, sipNameNr_WindowFrameSection, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__SizeHint, {0}, 0}, sipNameNr_SizeHint, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__SizeMode, {0}, 0}, sipNameNr_SizeMode, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__EventPriority, {0}, 0}, sipNameNr_EventPriority, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Axis, {0}, 0}, sipNameNr_Axis, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MaskMode, {0}, 0}, sipNameNr_MaskMode, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextInteractionFlag, {0}, 0}, sipNameNr_TextInteractionFlag, 320, slots_Qt_TextInteractionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ItemSelectionMode, {0}, 0}, sipNameNr_ItemSelectionMode, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ApplicationAttribute, {0}, 0}, sipNameNr_ApplicationAttribute, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowModality, {0}, 0}, sipNameNr_WindowModality, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MatchFlag, {0}, 0}, sipNameNr_MatchFlag, 320, slots_Qt_MatchFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ItemFlag, {0}, 0}, sipNameNr_ItemFlag, 320, slots_Qt_ItemFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ItemDataRole, {0}, 0}, sipNameNr_ItemDataRole, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CheckState, {0}, 0}, sipNameNr_CheckState, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DropAction, {0}, 0}, sipNameNr_DropAction, 320, slots_Qt_DropAction},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__LayoutDirection, {0}, 0}, sipNameNr_LayoutDirection, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ToolButtonStyle, {0}, 0}, sipNameNr_ToolButtonStyle, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__InputMethodQuery, {0}, 0}, sipNameNr_InputMethodQuery, 320, slots_Qt_InputMethodQuery},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ContextMenuPolicy, {0}, 0}, sipNameNr_ContextMenuPolicy, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FocusReason, {0}, 0}, sipNameNr_FocusReason, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TransformationMode, {0}, 0}, sipNameNr_TransformationMode, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ClipOperation, {0}, 0}, sipNameNr_ClipOperation, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FillRule, {0}, 0}, sipNameNr_FillRule, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ShortcutContext, {0}, 0}, sipNameNr_ShortcutContext, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ConnectionType, {0}, 0}, sipNameNr_ConnectionType, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Corner, {0}, 0}, sipNameNr_Corner, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CaseSensitivity, {0}, 0}, sipNameNr_CaseSensitivity, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ScrollBarPolicy, {0}, 0}, sipNameNr_ScrollBarPolicy, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DayOfWeek, {0}, 0}, sipNameNr_DayOfWeek, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TimeSpec, {0}, 0}, sipNameNr_TimeSpec, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DateFormat, {0}, 0}, sipNameNr_DateFormat, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ToolBarArea, {0}, 0}, sipNameNr_ToolBarArea, 320, slots_Qt_ToolBarArea},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TimerType, {0}, 0}, sipNameNr_TimerType, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__DockWidgetArea, {0}, 0}, sipNameNr_DockWidgetArea, 320, slots_Qt_DockWidgetArea},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__AspectRatioMode, {0}, 0}, sipNameNr_AspectRatioMode, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextFormat, {0}, 0}, sipNameNr_TextFormat, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__CursorShape, {0}, 0}, sipNameNr_CursorShape, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__UIEffect, {0}, 0}, sipNameNr_UIEffect, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__BrushStyle, {0}, 0}, sipNameNr_BrushStyle, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__PenJoinStyle, {0}, 0}, sipNameNr_PenJoinStyle, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__PenCapStyle, {0}, 0}, sipNameNr_PenCapStyle, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__PenStyle, {0}, 0}, sipNameNr_PenStyle, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ArrowType, {0}, 0}, sipNameNr_ArrowType, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Key, {0}, 0}, sipNameNr_Key, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__BGMode, {0}, 0}, sipNameNr_BGMode, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__ImageConversionFlag, {0}, 0}, sipNameNr_ImageConversionFlag, 320, slots_Qt_ImageConversionFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WidgetAttribute, {0}, 0}, sipNameNr_WidgetAttribute, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowState, {0}, 0}, sipNameNr_WindowState, 320, slots_Qt_WindowState},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__WindowType, {0}, 0}, sipNameNr_WindowType, 320, slots_Qt_WindowType},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextElideMode, {0}, 0}, sipNameNr_TextElideMode, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__TextFlag, {0}, 0}, sipNameNr_TextFlag, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__AlignmentFlag, {0}, 0}, sipNameNr_AlignmentFlag, 320, slots_Qt_AlignmentFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__SortOrder, {0}, 0}, sipNameNr_SortOrder, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__FocusPolicy, {0}, 0}, sipNameNr_FocusPolicy, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Orientation, {0}, 0}, sipNameNr_Orientation, 320, slots_Qt_Orientation},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__MouseButton, {0}, 0}, sipNameNr_MouseButton, 320, slots_Qt_MouseButton},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__Modifier, {0}, 0}, sipNameNr_Modifier, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__KeyboardModifier, {0}, 0}, sipNameNr_KeyboardModifier, 320, slots_Qt_KeyboardModifier},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_Qt__GlobalColor, {0}, 0}, sipNameNr_GlobalColor, 320, NULL},
};

/* These are the enum members of all global enums. */
static sipEnumMemberDef enummembers[] = {
    {sipName_QtCriticalMsg, static_cast<int>(QtCriticalMsg), 426},
    {sipName_QtDebugMsg, static_cast<int>(QtDebugMsg), 426},
    {sipName_QtFatalMsg, static_cast<int>(QtFatalMsg), 426},
    {sipName_QtInfoMsg, static_cast<int>(QtInfoMsg), 426},
    {sipName_QtSystemMsg, static_cast<int>(QtSystemMsg), 426},
    {sipName_QtWarningMsg, static_cast<int>(QtWarningMsg), 426},
};


/*
 * This defines each type in this module.
 */
sipTypeDef *sipExportedTypes_QtCore[] = {
    &sipTypeDef_QtCore_QAbstractAnimation.ctd_base,
    &enumTypes[103].etd_base,
    &enumTypes[105].etd_base,
    &enumTypes[104].etd_base,
    &sipTypeDef_QtCore_QAbstractEventDispatcher.ctd_base,
    &sipTypeDef_QtCore_QAbstractEventDispatcher_TimerInfo.ctd_base,
    &sipTypeDef_QtCore_QAbstractItemModel.ctd_base,
    &enumTypes[102].etd_base,
    &sipTypeDef_QtCore_QAbstractListModel.ctd_base,
    &sipTypeDef_QtCore_QAbstractNativeEventFilter.ctd_base,
    &sipTypeDef_QtCore_QAbstractProxyModel.ctd_base,
    &sipTypeDef_QtCore_QAbstractState.ctd_base,
    &sipTypeDef_QtCore_QAbstractTableModel.ctd_base,
    &sipTypeDef_QtCore_QAbstractTransition.ctd_base,
    &enumTypes[101].etd_base,
    &sipTypeDef_QtCore_QAnimationGroup.ctd_base,
    &sipTypeDef_QtCore_QBasicTimer.ctd_base,
    &sipTypeDef_QtCore_QBitArray.ctd_base,
    &sipTypeDef_QtCore_QBuffer.ctd_base,
    &sipTypeDef_QtCore_QByteArray.ctd_base,
    &enumTypes[100].etd_base,
    &sipTypeDef_QtCore_QByteArray_Base64Options.ctd_base,
    &sipTypeDef_QtCore_QByteArrayMatcher.ctd_base,
    &sipTypeDef_QtCore_QChar.mtd_base,
    &sipTypeDef_QtCore_QChildEvent.ctd_base,
    &sipTypeDef_QtCore_QCollator.ctd_base,
    &sipTypeDef_QtCore_QCollatorSortKey.ctd_base,
    &sipTypeDef_QtCore_QCommandLineOption.ctd_base,
    &enumTypes[99].etd_base,
    &sipTypeDef_QtCore_QCommandLineOption_Flags.ctd_base,
    &sipTypeDef_QtCore_QCommandLineParser.ctd_base,
    &enumTypes[97].etd_base,
    &enumTypes[98].etd_base,
    &sipTypeDef_QtCore_QCoreApplication.ctd_base,
    &sipTypeDef_QtCore_QCryptographicHash.ctd_base,
    &enumTypes[95].etd_base,
    &sipTypeDef_QtCore_QDataStream.ctd_base,
    &enumTypes[93].etd_base,
    &enumTypes[91].etd_base,
    &enumTypes[92].etd_base,
    &enumTypes[94].etd_base,
    &sipTypeDef_QtCore_QDate.ctd_base,
    &enumTypes[90].etd_base,
    &sipTypeDef_QtCore_QDateTime.ctd_base,
    &sipTypeDef_QtCore_QDeadlineTimer.ctd_base,
    &enumTypes[89].etd_base,
    &sipTypeDef_QtCore_QDir.ctd_base,
    &enumTypes[88].etd_base,
    &sipTypeDef_QtCore_QDir_Filters.ctd_base,
    &enumTypes[87].etd_base,
    &sipTypeDef_QtCore_QDir_SortFlags.ctd_base,
    &sipTypeDef_QtCore_QDirIterator.ctd_base,
    &enumTypes[86].etd_base,
    &sipTypeDef_QtCore_QDirIterator_IteratorFlags.ctd_base,
    &sipTypeDef_QtCore_QDynamicPropertyChangeEvent.ctd_base,
    &sipTypeDef_QtCore_QEasingCurve.ctd_base,
    &enumTypes[85].etd_base,
    &sipTypeDef_QtCore_QElapsedTimer.ctd_base,
    &enumTypes[84].etd_base,
    &sipTypeDef_QtCore_QEvent.ctd_base,
    &enumTypes[96].etd_base,
    &sipTypeDef_QtCore_QEventLoop.ctd_base,
    &enumTypes[83].etd_base,
    &sipTypeDef_QtCore_QEventLoop_ProcessEventsFlags.ctd_base,
    &sipTypeDef_QtCore_QEventLoopLocker.ctd_base,
    &sipTypeDef_QtCore_QEventTransition.ctd_base,
    &sipTypeDef_QtCore_QFile.ctd_base,
    &sipTypeDef_QtCore_QFileDevice.ctd_base,
    &enumTypes[82].etd_base,
    &enumTypes[80].etd_base,
    &sipTypeDef_QtCore_QFileDevice_FileHandleFlags.ctd_base,
    &enumTypes[79].etd_base,
    &enumTypes[81].etd_base,
    &sipTypeDef_QtCore_QFileDevice_Permissions.ctd_base,
    &sipTypeDef_QtCore_QFileInfo.ctd_base,
    &sipTypeDef_QtCore_QFileSelector.ctd_base,
    &sipTypeDef_QtCore_QFileSystemWatcher.ctd_base,
    &sipTypeDef_QtCore_QFinalState.ctd_base,
    &sipTypeDef_QtCore_QGenericArgument.ctd_base,
    &sipTypeDef_QtCore_QGenericReturnArgument.ctd_base,
    &sipTypeDef_QtCore_QHash_0100QString_0100QVariant.mtd_base,
    &sipTypeDef_QtCore_QHash_1800_0100QByteArray.mtd_base,
    &sipTypeDef_QtCore_QHistoryState.ctd_base,
    &enumTypes[78].etd_base,
    &sipTypeDef_QtCore_QIODevice.ctd_base,
    &sipTypeDef_QtCore_QIODevice_OpenMode.ctd_base,
    &enumTypes[77].etd_base,
    &sipTypeDef_QtCore_QIdentityProxyModel.ctd_base,
    &sipTypeDef_QtCore_QItemSelection.ctd_base,
    &sipTypeDef_QtCore_QItemSelectionModel.ctd_base,
    &enumTypes[76].etd_base,
    &sipTypeDef_QtCore_QItemSelectionModel_SelectionFlags.ctd_base,
    &sipTypeDef_QtCore_QItemSelectionRange.ctd_base,
    &sipTypeDef_QtCore_QJsonArray.mtd_base,
    &sipTypeDef_QtCore_QJsonDocument.ctd_base,
    &enumTypes[74].etd_base,
    &enumTypes[73].etd_base,
    &sipTypeDef_QtCore_QJsonObject.mtd_base,
    &sipTypeDef_QtCore_QJsonParseError.ctd_base,
    &enumTypes[75].etd_base,
    &sipTypeDef_QtCore_QJsonValue.ctd_base,
    &enumTypes[72].etd_base,
    &sipTypeDef_QtCore_QLibrary.ctd_base,
    &enumTypes[71].etd_base,
    &sipTypeDef_QtCore_QLibrary_LoadHints.ctd_base,
    &sipTypeDef_QtCore_QLibraryInfo.ctd_base,
    &enumTypes[70].etd_base,
    &sipTypeDef_QtCore_QLine.ctd_base,
    &sipTypeDef_QtCore_QLineF.ctd_base,
    &enumTypes[69].etd_base,
    &sipTypeDef_QtCore_QList_0101QAbstractAnimation.mtd_base,
    &sipTypeDef_QtCore_QList_0100QAbstractEventDispatcher_TimerInfo.mtd_base,
    &sipTypeDef_QtCore_QList_0101QAbstractState.mtd_base,
    &sipTypeDef_QtCore_QList_0101QAbstractTransition.mtd_base,
    &sipTypeDef_QtCore_QList_0100QByteArray.mtd_base,
    &sipTypeDef_QtCore_QList_0100QCommandLineOption.mtd_base,
    &sipTypeDef_QtCore_QList_0100QFileInfo.mtd_base,
    &sipTypeDef_QtCore_QList_0100QLocale.mtd_base,
    &sipTypeDef_QtCore_QList_0100QMimeType.mtd_base,
    &sipTypeDef_QtCore_QList_0100QModelIndex.mtd_base,
    &sipTypeDef_QtCore_QList_0101QObject.mtd_base,
    &sipTypeDef_QtCore_QList_0600QPair_0100QString_0100QString.mtd_base,
    &sipTypeDef_QtCore_QList_0600QPair_1800_1800.mtd_base,
    &sipTypeDef_QtCore_QList_0100QPersistentModelIndex.mtd_base,
    &sipTypeDef_QtCore_QList_0100QStorageInfo.mtd_base,
    &sipTypeDef_QtCore_QList_0100QUrl.mtd_base,
    &sipTypeDef_QtCore_QList_0100QVariant.mtd_base,
    &sipTypeDef_QtCore_QList_0100Qt_DayOfWeek.mtd_base,
    &sipTypeDef_QtCore_QList_1800.mtd_base,
    &sipTypeDef_QtCore_QList_2400.mtd_base,
    &sipTypeDef_QtCore_QLocale.ctd_base,
    &enumTypes[67].etd_base,
    &enumTypes[62].etd_base,
    &enumTypes[60].etd_base,
    &enumTypes[65].etd_base,
    &enumTypes[68].etd_base,
    &enumTypes[64].etd_base,
    &enumTypes[66].etd_base,
    &sipTypeDef_QtCore_QLocale_NumberOptions.ctd_base,
    &enumTypes[61].etd_base,
    &enumTypes[63].etd_base,
    &sipTypeDef_QtCore_QLockFile.ctd_base,
    &enumTypes[59].etd_base,
    &sipTypeDef_QtCore_QMap_0100QString_0100QVariant.mtd_base,
    &sipTypeDef_QtCore_QMap_1800_0100QVariant.mtd_base,
    &sipTypeDef_QtCore_QMargins.ctd_base,
    &sipTypeDef_QtCore_QMarginsF.ctd_base,
    &sipTypeDef_QtCore_QMessageAuthenticationCode.ctd_base,
    &sipTypeDef_QtCore_QMessageLogContext.ctd_base,
    &sipTypeDef_QtCore_QMessageLogger.ctd_base,
    &sipTypeDef_QtCore_QMetaClassInfo.ctd_base,
    &sipTypeDef_QtCore_QMetaEnum.ctd_base,
    &sipTypeDef_QtCore_QMetaMethod.ctd_base,
    &enumTypes[57].etd_base,
    &enumTypes[56].etd_base,
    &sipTypeDef_QtCore_QMetaObject.ctd_base,
    &sipTypeDef_QtCore_QMetaProperty.ctd_base,
    &sipTypeDef_QtCore_QMetaType.ctd_base,
    &enumTypes[55].etd_base,
    &enumTypes[54].etd_base,
    &sipTypeDef_QtCore_QMetaType_TypeFlags.ctd_base,
    &sipTypeDef_QtCore_QMimeData.ctd_base,
    &sipTypeDef_QtCore_QMimeDatabase.ctd_base,
    &enumTypes[53].etd_base,
    &sipTypeDef_QtCore_QMimeType.ctd_base,
    &sipTypeDef_QtCore_QModelIndex.ctd_base,
    &sipTypeDef_QtCore_QMutex.ctd_base,
    &enumTypes[52].etd_base,
    &sipTypeDef_QtCore_QMutexLocker.ctd_base,
    &sipTypeDef_QtCore_QObject.ctd_base,
    &sipTypeDef_QtCore_QObjectCleanupHandler.ctd_base,
    &sipTypeDef_QtCore_QOperatingSystemVersion.ctd_base,
    &enumTypes[51].etd_base,
    &sipTypeDef_QtCore_QPair_1800_1800.mtd_base,
    &sipTypeDef_QtCore_QParallelAnimationGroup.ctd_base,
    &sipTypeDef_QtCore_QPauseAnimation.ctd_base,
    &sipTypeDef_QtCore_QPersistentModelIndex.ctd_base,
    &sipTypeDef_QtCore_QPluginLoader.ctd_base,
    &sipTypeDef_QtCore_QPoint.ctd_base,
    &sipTypeDef_QtCore_QPointF.ctd_base,
    &sipTypeDef_QtCore_QProcess.ctd_base,
    &enumTypes[50].etd_base,
    &enumTypes[45].etd_base,
    &enumTypes[47].etd_base,
    &enumTypes[46].etd_base,
    &enumTypes[49].etd_base,
    &enumTypes[48].etd_base,
    &sipTypeDef_QtCore_QProcessEnvironment.ctd_base,
    &sipTypeDef_QtCore_QPropertyAnimation.ctd_base,
    &sipTypeDef_QtCore_QReadLocker.ctd_base,
    &sipTypeDef_QtCore_QReadWriteLock.ctd_base,
    &enumTypes[44].etd_base,
    &sipTypeDef_QtCore_QRect.ctd_base,
    &sipTypeDef_QtCore_QRectF.ctd_base,
    &sipTypeDef_QtCore_QRegExp.ctd_base,
    &enumTypes[42].etd_base,
    &enumTypes[43].etd_base,
    &sipTypeDef_QtCore_QRegularExpression.ctd_base,
    &enumTypes[39].etd_base,
    &sipTypeDef_QtCore_QRegularExpression_MatchOptions.ctd_base,
    &enumTypes[40].etd_base,
    &enumTypes[41].etd_base,
    &sipTypeDef_QtCore_QRegularExpression_PatternOptions.ctd_base,
    &sipTypeDef_QtCore_QRegularExpressionMatch.ctd_base,
    &sipTypeDef_QtCore_QRegularExpressionMatchIterator.ctd_base,
    &sipTypeDef_QtCore_QResource.ctd_base,
    &sipTypeDef_QtCore_QRunnable.ctd_base,
    &sipTypeDef_QtCore_QSaveFile.ctd_base,
    &sipTypeDef_QtCore_QSemaphore.ctd_base,
    &sipTypeDef_QtCore_QSequentialAnimationGroup.ctd_base,
    &sipTypeDef_QtCore_QSet_0101QAbstractState.mtd_base,
    &sipTypeDef_QtCore_QSettings.ctd_base,
    &enumTypes[37].etd_base,
    &enumTypes[36].etd_base,
    &enumTypes[38].etd_base,
    &sipTypeDef_QtCore_QSharedMemory.ctd_base,
    &enumTypes[35].etd_base,
    &enumTypes[34].etd_base,
    &sipTypeDef_QtCore_QSignalBlocker.ctd_base,
    &sipTypeDef_QtCore_QSignalMapper.ctd_base,
    &sipTypeDef_QtCore_QSignalTransition.ctd_base,
    &sipTypeDef_QtCore_QSize.ctd_base,
    &sipTypeDef_QtCore_QSizeF.ctd_base,
    &sipTypeDef_QtCore_QSocketNotifier.ctd_base,
    &enumTypes[33].etd_base,
    &sipTypeDef_QtCore_QSortFilterProxyModel.ctd_base,
    &sipTypeDef_QtCore_QStandardPaths.ctd_base,
    &enumTypes[31].etd_base,
    &sipTypeDef_QtCore_QStandardPaths_LocateOptions.ctd_base,
    &enumTypes[32].etd_base,
    &sipTypeDef_QtCore_QState.ctd_base,
    &enumTypes[30].etd_base,
    &enumTypes[29].etd_base,
    &sipTypeDef_QtCore_QStateMachine.ctd_base,
    &enumTypes[27].etd_base,
    &enumTypes[28].etd_base,
    &sipTypeDef_QtCore_QStateMachine_SignalEvent.ctd_base,
    &sipTypeDef_QtCore_QStateMachine_WrappedEvent.ctd_base,
    &sipTypeDef_QtCore_QStorageInfo.ctd_base,
    &sipTypeDef_QtCore_QString.mtd_base,
    &sipTypeDef_QtCore_QStringList.mtd_base,
    &sipTypeDef_QtCore_QStringListModel.ctd_base,
    &sipTypeDef_QtCore_QStringRef.mtd_base,
    &sipTypeDef_QtCore_QSysInfo.ctd_base,
    &enumTypes[0].etd_base,
    &enumTypes[1].etd_base,
    &sipTypeDef_QtCore_QSystemSemaphore.ctd_base,
    &enumTypes[26].etd_base,
    &enumTypes[25].etd_base,
    &sipTypeDef_QtCore_QTemporaryDir.ctd_base,
    &sipTypeDef_QtCore_QTemporaryFile.ctd_base,
    &sipTypeDef_QtCore_QTextBoundaryFinder.ctd_base,
    &enumTypes[24].etd_base,
    &sipTypeDef_QtCore_QTextBoundaryFinder_BoundaryReasons.ctd_base,
    &enumTypes[23].etd_base,
    &sipTypeDef_QtCore_QTextCodec.ctd_base,
    &enumTypes[22].etd_base,
    &sipTypeDef_QtCore_QTextCodec_ConversionFlags.ctd_base,
    &sipTypeDef_QtCore_QTextCodec_ConverterState.ctd_base,
    &sipTypeDef_QtCore_QTextDecoder.ctd_base,
    &sipTypeDef_QtCore_QTextEncoder.ctd_base,
    &sipTypeDef_QtCore_QTextStream.ctd_base,
    &enumTypes[20].etd_base,
    &enumTypes[19].etd_base,
    &sipTypeDef_QtCore_QTextStream_NumberFlags.ctd_base,
    &enumTypes[21].etd_base,
    &enumTypes[18].etd_base,
    &sipTypeDef_QtCore_QTextStreamManipulator.ctd_base,
    &sipTypeDef_QtCore_QThread.ctd_base,
    &enumTypes[17].etd_base,
    &sipTypeDef_QtCore_QThreadPool.ctd_base,
    &sipTypeDef_QtCore_QTime.ctd_base,
    &sipTypeDef_QtCore_QTimeLine.ctd_base,
    &enumTypes[16].etd_base,
    &enumTypes[15].etd_base,
    &enumTypes[14].etd_base,
    &sipTypeDef_QtCore_QTimeZone.ctd_base,
    &enumTypes[12].etd_base,
    &sipTypeDef_QtCore_QTimeZone_OffsetData.ctd_base,
    &enumTypes[13].etd_base,
    &sipTypeDef_QtCore_QTimer.ctd_base,
    &sipTypeDef_QtCore_QTimerEvent.ctd_base,
    &sipTypeDef_QtCore_QTranslator.ctd_base,
    &sipTypeDef_QtCore_QUrl.ctd_base,
    &enumTypes[9].etd_base,
    &sipTypeDef_QtCore_QUrl_ComponentFormattingOptions.ctd_base,
    &sipTypeDef_QtCore_QUrl_FormattingOptions.ctd_base,
    &enumTypes[11].etd_base,
    &enumTypes[10].etd_base,
    &enumTypes[8].etd_base,
    &sipTypeDef_QtCore_QUrl_UserInputResolutionOptions.ctd_base,
    &sipTypeDef_QtCore_QUrlQuery.ctd_base,
    &sipTypeDef_QtCore_QUuid.ctd_base,
    &enumTypes[7].etd_base,
    &enumTypes[6].etd_base,
    &sipTypeDef_QtCore_QVariant.ctd_base,
    &enumTypes[5].etd_base,
    &sipTypeDef_QtCore_QVariantAnimation.ctd_base,
    &sipTypeDef_QtCore_QVector_0600QPair_2400_0100QVariant.mtd_base,
    &sipTypeDef_QtCore_QVector_0100QPointF.mtd_base,
    &sipTypeDef_QtCore_QVector_0100QTimeZone_OffsetData.mtd_base,
    &sipTypeDef_QtCore_QVector_0100QXmlStreamEntityDeclaration.mtd_base,
    &sipTypeDef_QtCore_QVector_0100QXmlStreamNamespaceDeclaration.mtd_base,
    &sipTypeDef_QtCore_QVector_0100QXmlStreamNotationDeclaration.mtd_base,
    &sipTypeDef_QtCore_QVector_1800.mtd_base,
    &sipTypeDef_QtCore_QVersionNumber.ctd_base,
    &sipTypeDef_QtCore_QWaitCondition.ctd_base,
    0,
    &sipTypeDef_QtCore_QWriteLocker.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamAttribute.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamAttributes.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamEntityDeclaration.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamEntityResolver.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamNamespaceDeclaration.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamNotationDeclaration.ctd_base,
    &sipTypeDef_QtCore_QXmlStreamReader.ctd_base,
    &enumTypes[2].etd_base,
    &enumTypes[3].etd_base,
    &enumTypes[4].etd_base,
    &sipTypeDef_QtCore_QXmlStreamWriter.ctd_base,
    &sipTypeDef_QtCore_Qt.ctd_base,
    &sipTypeDef_QtCore_Qt_Alignment.ctd_base,
    &enumTypes[181].etd_base,
    &enumTypes[127].etd_base,
    &enumTypes[138].etd_base,
    &enumTypes[115].etd_base,
    &sipTypeDef_QtCore_Qt_ApplicationStates.ctd_base,
    &enumTypes[172].etd_base,
    &enumTypes[164].etd_base,
    &enumTypes[134].etd_base,
    &enumTypes[174].etd_base,
    &enumTypes[168].etd_base,
    &enumTypes[156].etd_base,
    &enumTypes[143].etd_base,
    &enumTypes[106].etd_base,
    &enumTypes[151].etd_base,
    &enumTypes[154].etd_base,
    &enumTypes[148].etd_base,
    &enumTypes[126].etd_base,
    &enumTypes[155].etd_base,
    &enumTypes[120].etd_base,
    &enumTypes[166].etd_base,
    &enumTypes[160].etd_base,
    &enumTypes[158].etd_base,
    &enumTypes[163].etd_base,
    &sipTypeDef_QtCore_Qt_DockWidgetAreas.ctd_base,
    &enumTypes[144].etd_base,
    &sipTypeDef_QtCore_Qt_DropActions.ctd_base,
    &enumTypes[114].etd_base,
    &sipTypeDef_QtCore_Qt_Edges.ctd_base,
    &enumTypes[107].etd_base,
    &enumTypes[133].etd_base,
    &enumTypes[152].etd_base,
    &enumTypes[118].etd_base,
    &sipTypeDef_QtCore_Qt_FindChildOptions.ctd_base,
    &enumTypes[183].etd_base,
    &enumTypes[149].etd_base,
    &enumTypes[122].etd_base,
    &sipTypeDef_QtCore_Qt_GestureFlags.ctd_base,
    &enumTypes[124].etd_base,
    &enumTypes[123].etd_base,
    &enumTypes[188].etd_base,
    &enumTypes[116].etd_base,
    &enumTypes[175].etd_base,
    &sipTypeDef_QtCore_Qt_ImageConversionFlags.ctd_base,
    &enumTypes[128].etd_base,
    &sipTypeDef_QtCore_Qt_InputMethodHints.ctd_base,
    &sipTypeDef_QtCore_Qt_InputMethodQueries.ctd_base,
    &enumTypes[147].etd_base,
    &enumTypes[142].etd_base,
    &enumTypes[141].etd_base,
    &sipTypeDef_QtCore_Qt_ItemFlags.ctd_base,
    &enumTypes[137].etd_base,
    &enumTypes[108].etd_base,
    &enumTypes[173].etd_base,
    &enumTypes[187].etd_base,
    &sipTypeDef_QtCore_Qt_KeyboardModifiers.ctd_base,
    &enumTypes[145].etd_base,
    &enumTypes[135].etd_base,
    &enumTypes[140].etd_base,
    &sipTypeDef_QtCore_Qt_MatchFlags.ctd_base,
    &enumTypes[186].etd_base,
    &enumTypes[185].etd_base,
    &sipTypeDef_QtCore_Qt_MouseButtons.ctd_base,
    &enumTypes[110].etd_base,
    &sipTypeDef_QtCore_Qt_MouseEventFlags.ctd_base,
    &enumTypes[111].etd_base,
    &enumTypes[113].etd_base,
    &enumTypes[121].etd_base,
    &enumTypes[184].etd_base,
    &sipTypeDef_QtCore_Qt_Orientations.ctd_base,
    &enumTypes[170].etd_base,
    &enumTypes[169].etd_base,
    &enumTypes[171].etd_base,
    &enumTypes[119].etd_base,
    &sipTypeDef_QtCore_Qt_ScreenOrientations.ctd_base,
    &enumTypes[157].etd_base,
    &enumTypes[112].etd_base,
    &enumTypes[153].etd_base,
    &enumTypes[131].etd_base,
    &enumTypes[132].etd_base,
    &enumTypes[182].etd_base,
    &enumTypes[109].etd_base,
    &enumTypes[179].etd_base,
    &enumTypes[180].etd_base,
    &enumTypes[165].etd_base,
    &enumTypes[136].etd_base,
    &sipTypeDef_QtCore_Qt_TextInteractionFlags.ctd_base,
    &enumTypes[129].etd_base,
    &enumTypes[159].etd_base,
    &enumTypes[162].etd_base,
    &enumTypes[161].etd_base,
    &sipTypeDef_QtCore_Qt_ToolBarAreas.ctd_base,
    &enumTypes[146].etd_base,
    &enumTypes[125].etd_base,
    &sipTypeDef_QtCore_Qt_TouchPointStates.ctd_base,
    &enumTypes[150].etd_base,
    &enumTypes[167].etd_base,
    &enumTypes[117].etd_base,
    &enumTypes[176].etd_base,
    &sipTypeDef_QtCore_Qt_WindowFlags.ctd_base,
    &enumTypes[130].etd_base,
    &enumTypes[139].etd_base,
    &enumTypes[177].etd_base,
    &sipTypeDef_QtCore_Qt_WindowStates.ctd_base,
    &enumTypes[178].etd_base,
    &enumTypes[58].etd_base,
    &sipTypeDef_QtCore_qintptr.mtd_base,
    &sipTypeDef_QtCore_quintptr.mtd_base,
};


/*
 * These define each typedef in this module.
 */
static sipTypedefDef typedefsTable[] = {
    {"QFileInfoList", "QList<QFileInfo>"},
    {"QFunctionPointer", "void*"},
    {"QModelIndexList", "QList<QModelIndex>"},
    {"QObjectList", "QList<QObject*>"},
    {"QTimeZone::OffsetDataList", "QVector<QTimeZone::OffsetData>"},
    {"QVariantAnimation::KeyValues", "QVector<QPair<qreal,QVariant> >"},
    {"QVariantHash", "QHash<QString,QVariant>"},
    {"QVariantList", "QList<QVariant>"},
    {"QVariantMap", "QMap<QString,QVariant>"},
    {"QXmlStreamEntityDeclarations", "QVector<QXmlStreamEntityDeclaration>"},
    {"QXmlStreamNamespaceDeclarations", "QVector<QXmlStreamNamespaceDeclaration>"},
    {"QXmlStreamNotationDeclarations", "QVector<QXmlStreamNotationDeclaration>"},
    {"Q_PID", "long long"},
    {"Qt::HANDLE", "void*"},
    {"qint16", "short"},
    {"qint32", "int"},
    {"qint64", "long long"},
    {"qint8", "signed char"},
    {"qlonglong", "long long"},
    {"qreal", "double"},
    {"quint16", "unsigned short"},
    {"quint32", "uint"},
    {"quint64", "unsigned long long"},
    {"quint8", "unsigned char"},
    {"qulonglong", "unsigned long long"},
    {"uchar", "unsigned char"},
    {"uint", "uint"},
    {"ulong", "unsigned long"},
    {"ushort", "unsigned short"},
};


/*
 * This defines the virtual error handlers that this module implements and
 * can be used by other modules.
 */
static sipVirtErrorHandlerDef virtErrorHandlersTable[] = {
    {"PyQt5", sipVEH_QtCore_PyQt5},
    {NULL, NULL}
};


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_QObject, {169, 255, 0}, NULL},
    {sipSubClass_QEvent, {59, 255, 0}, NULL},
    {NULL, {0, 0, 0}, NULL}
};


/* Define the module's license. */
static sipLicenseDef module_license = {
    "gpl",
    NULL,
    NULL,
    NULL
};


/* Define the strings to be added to this module dictionary. */
static sipStringInstanceDef stringInstances[] = {
    {sipName_PYQT_VERSION_STR, PYQT_VERSION_STR, 'A'},
    {sipName_QT_VERSION_STR, QT_VERSION_STR, 'A'},
    {0, 0, 0}
};


/* Define the ints to be added to this module dictionary. */
static sipIntInstanceDef intInstances[] = {
    {sipName_PYQT_VERSION, PYQT_VERSION},
    {sipName_QT_VERSION, QT_VERSION},
    {0, 0}
};


/* This defines the Qt support API. */

static sipQtAPI qtAPI = {
    &sipExportedTypes_QtCore[169],
    sipQtCreateUniversalSignal,
    sipQtFindUniversalSignal,
    sipQtCreateUniversalSlot,
    sipQtDestroyUniversalSlot,
    sipQtFindSlot,
    sipQtConnect,
    sipQtDisconnect,
    sipQtSameSignalSlotName,
    sipQtFindSipslot,
    sipQtEmitSignal,
    sipQtConnectPySignal,
    sipQtDisconnectPySignal
};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtCore = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt5_QtCore,
    0,
    sipStrings_QtCore,
    NULL,
    &qtAPI,
    429,
    sipExportedTypes_QtCore,
    externalTypesTable,
    6,
    enummembers,
    29,
    typedefsTable,
    virtErrorHandlersTable,
    convertorsTable,
    {NULL, NULL, NULL, stringInstances, intInstances, NULL, NULL, NULL, NULL, NULL},
    &module_license,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
};


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

sip_qt_metaobject_func sip_QtCore_qt_metaobject;
sip_qt_metacall_func sip_QtCore_qt_metacall;
sip_qt_metacast_func sip_QtCore_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_QtCore
#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        initQtCore
#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_qSetRealNumberPrecision), func_qSetRealNumberPrecision, METH_VARARGS, SIP_MLDOC_CAST(doc_qSetRealNumberPrecision)},
        {SIP_MLNAME_CAST(sipName_qSetPadChar), func_qSetPadChar, METH_VARARGS, SIP_MLDOC_CAST(doc_qSetPadChar)},
        {SIP_MLNAME_CAST(sipName_qSetFieldWidth), func_qSetFieldWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_qSetFieldWidth)},
        {SIP_MLNAME_CAST(sipName_ws), func_ws, METH_VARARGS, SIP_MLDOC_CAST(doc_ws)},
        {SIP_MLNAME_CAST(sipName_bom), func_bom, METH_VARARGS, SIP_MLDOC_CAST(doc_bom)},
        {SIP_MLNAME_CAST(sipName_reset), func_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_reset)},
        {SIP_MLNAME_CAST(sipName_flush), func_flush, METH_VARARGS, SIP_MLDOC_CAST(doc_flush)},
        {SIP_MLNAME_CAST(sipName_endl), func_endl, METH_VARARGS, SIP_MLDOC_CAST(doc_endl)},
        {SIP_MLNAME_CAST(sipName_center), func_center, METH_VARARGS, SIP_MLDOC_CAST(doc_center)},
        {SIP_MLNAME_CAST(sipName_right), func_right, METH_VARARGS, SIP_MLDOC_CAST(doc_right)},
        {SIP_MLNAME_CAST(sipName_left), func_left, METH_VARARGS, SIP_MLDOC_CAST(doc_left)},
        {SIP_MLNAME_CAST(sipName_scientific), func_scientific, METH_VARARGS, SIP_MLDOC_CAST(doc_scientific)},
        {SIP_MLNAME_CAST(sipName_fixed), func_fixed, METH_VARARGS, SIP_MLDOC_CAST(doc_fixed)},
        {SIP_MLNAME_CAST(sipName_lowercasedigits), func_lowercasedigits, METH_VARARGS, SIP_MLDOC_CAST(doc_lowercasedigits)},
        {SIP_MLNAME_CAST(sipName_lowercasebase), func_lowercasebase, METH_VARARGS, SIP_MLDOC_CAST(doc_lowercasebase)},
        {SIP_MLNAME_CAST(sipName_uppercasedigits), func_uppercasedigits, METH_VARARGS, SIP_MLDOC_CAST(doc_uppercasedigits)},
        {SIP_MLNAME_CAST(sipName_uppercasebase), func_uppercasebase, METH_VARARGS, SIP_MLDOC_CAST(doc_uppercasebase)},
        {SIP_MLNAME_CAST(sipName_noforcepoint), func_noforcepoint, METH_VARARGS, SIP_MLDOC_CAST(doc_noforcepoint)},
        {SIP_MLNAME_CAST(sipName_noforcesign), func_noforcesign, METH_VARARGS, SIP_MLDOC_CAST(doc_noforcesign)},
        {SIP_MLNAME_CAST(sipName_noshowbase), func_noshowbase, METH_VARARGS, SIP_MLDOC_CAST(doc_noshowbase)},
        {SIP_MLNAME_CAST(sipName_forcepoint), func_forcepoint, METH_VARARGS, SIP_MLDOC_CAST(doc_forcepoint)},
        {SIP_MLNAME_CAST(sipName_forcesign), func_forcesign, METH_VARARGS, SIP_MLDOC_CAST(doc_forcesign)},
        {SIP_MLNAME_CAST(sipName_showbase), func_showbase, METH_VARARGS, SIP_MLDOC_CAST(doc_showbase)},
        {SIP_MLNAME_CAST(sipName_hex_), func_hex_, METH_VARARGS, SIP_MLDOC_CAST(doc_hex_)},
        {SIP_MLNAME_CAST(sipName_dec), func_dec, METH_VARARGS, SIP_MLDOC_CAST(doc_dec)},
        {SIP_MLNAME_CAST(sipName_oct_), func_oct_, METH_VARARGS, SIP_MLDOC_CAST(doc_oct_)},
        {SIP_MLNAME_CAST(sipName_bin_), func_bin_, METH_VARARGS, SIP_MLDOC_CAST(doc_bin_)},
        {SIP_MLNAME_CAST(sipName_Q_RETURN_ARG), func_Q_RETURN_ARG, METH_VARARGS, SIP_MLDOC_CAST(doc_Q_RETURN_ARG)},
        {SIP_MLNAME_CAST(sipName_Q_ARG), func_Q_ARG, METH_VARARGS, SIP_MLDOC_CAST(doc_Q_ARG)},
        {SIP_MLNAME_CAST(sipName_pyqtSlot), (PyCFunction)func_pyqtSlot, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_pyqtSlot)},
        {SIP_MLNAME_CAST(sipName_QT_TRANSLATE_NOOP), func_QT_TRANSLATE_NOOP, METH_VARARGS, SIP_MLDOC_CAST(doc_QT_TRANSLATE_NOOP)},
        {SIP_MLNAME_CAST(sipName_QT_TR_NOOP_UTF8), func_QT_TR_NOOP_UTF8, METH_VARARGS, SIP_MLDOC_CAST(doc_QT_TR_NOOP_UTF8)},
        {SIP_MLNAME_CAST(sipName_QT_TR_NOOP), func_QT_TR_NOOP, METH_VARARGS, SIP_MLDOC_CAST(doc_QT_TR_NOOP)},
        {SIP_MLNAME_CAST(sipName_Q_FLAGS), func_Q_FLAGS, METH_VARARGS, SIP_MLDOC_CAST(doc_Q_FLAGS)},
        {SIP_MLNAME_CAST(sipName_Q_ENUMS), func_Q_ENUMS, METH_VARARGS, SIP_MLDOC_CAST(doc_Q_ENUMS)},
        {SIP_MLNAME_CAST(sipName_Q_CLASSINFO), func_Q_CLASSINFO, METH_VARARGS, SIP_MLDOC_CAST(doc_Q_CLASSINFO)},
        {SIP_MLNAME_CAST(sipName_qFloatDistance), func_qFloatDistance, METH_VARARGS, SIP_MLDOC_CAST(doc_qFloatDistance)},
        {SIP_MLNAME_CAST(sipName_qQNaN), func_qQNaN, METH_VARARGS, SIP_MLDOC_CAST(doc_qQNaN)},
        {SIP_MLNAME_CAST(sipName_qSNaN), func_qSNaN, METH_VARARGS, SIP_MLDOC_CAST(doc_qSNaN)},
        {SIP_MLNAME_CAST(sipName_qInf), func_qInf, METH_VARARGS, SIP_MLDOC_CAST(doc_qInf)},
        {SIP_MLNAME_CAST(sipName_qIsNaN), func_qIsNaN, METH_VARARGS, SIP_MLDOC_CAST(doc_qIsNaN)},
        {SIP_MLNAME_CAST(sipName_qIsFinite), func_qIsFinite, METH_VARARGS, SIP_MLDOC_CAST(doc_qIsFinite)},
        {SIP_MLNAME_CAST(sipName_qIsInf), func_qIsInf, METH_VARARGS, SIP_MLDOC_CAST(doc_qIsInf)},
        {SIP_MLNAME_CAST(sipName_qFormatLogMessage), func_qFormatLogMessage, METH_VARARGS, SIP_MLDOC_CAST(doc_qFormatLogMessage)},
        {SIP_MLNAME_CAST(sipName_qSetMessagePattern), func_qSetMessagePattern, METH_VARARGS, SIP_MLDOC_CAST(doc_qSetMessagePattern)},
        {SIP_MLNAME_CAST(sipName_qInstallMessageHandler), func_qInstallMessageHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_qInstallMessageHandler)},
        {SIP_MLNAME_CAST(sipName_qWarning), func_qWarning, METH_VARARGS, SIP_MLDOC_CAST(doc_qWarning)},
        {SIP_MLNAME_CAST(sipName_qFatal), func_qFatal, METH_VARARGS, SIP_MLDOC_CAST(doc_qFatal)},
        {SIP_MLNAME_CAST(sipName_qErrnoWarning), func_qErrnoWarning, METH_VARARGS, SIP_MLDOC_CAST(doc_qErrnoWarning)},
        {SIP_MLNAME_CAST(sipName_qDebug), func_qDebug, METH_VARARGS, SIP_MLDOC_CAST(doc_qDebug)},
        {SIP_MLNAME_CAST(sipName_qCritical), func_qCritical, METH_VARARGS, SIP_MLDOC_CAST(doc_qCritical)},
        {SIP_MLNAME_CAST(sipName_pyqtRestoreInputHook), func_pyqtRestoreInputHook, METH_VARARGS, SIP_MLDOC_CAST(doc_pyqtRestoreInputHook)},
        {SIP_MLNAME_CAST(sipName_pyqtRemoveInputHook), func_pyqtRemoveInputHook, METH_VARARGS, SIP_MLDOC_CAST(doc_pyqtRemoveInputHook)},
        {SIP_MLNAME_CAST(sipName_qAddPreRoutine), func_qAddPreRoutine, METH_VARARGS, SIP_MLDOC_CAST(doc_qAddPreRoutine)},
        {SIP_MLNAME_CAST(sipName_qRemovePostRoutine), func_qRemovePostRoutine, METH_VARARGS, SIP_MLDOC_CAST(doc_qRemovePostRoutine)},
        {SIP_MLNAME_CAST(sipName_qAddPostRoutine), func_qAddPostRoutine, METH_VARARGS, SIP_MLDOC_CAST(doc_qAddPostRoutine)},
        {SIP_MLNAME_CAST(sipName_qChecksum), func_qChecksum, METH_VARARGS, SIP_MLDOC_CAST(doc_qChecksum)},
        {SIP_MLNAME_CAST(sipName_qUncompress), func_qUncompress, METH_VARARGS, SIP_MLDOC_CAST(doc_qUncompress)},
        {SIP_MLNAME_CAST(sipName_qCompress), (PyCFunction)func_qCompress, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_qCompress)},
        {SIP_MLNAME_CAST(sipName_pyqtPickleProtocol), func_pyqtPickleProtocol, METH_VARARGS, SIP_MLDOC_CAST(doc_pyqtPickleProtocol)},
        {SIP_MLNAME_CAST(sipName_pyqtSetPickleProtocol), func_pyqtSetPickleProtocol, METH_VARARGS, SIP_MLDOC_CAST(doc_pyqtSetPickleProtocol)},
        {SIP_MLNAME_CAST(sipName_qrand), func_qrand, METH_VARARGS, SIP_MLDOC_CAST(doc_qrand)},
        {SIP_MLNAME_CAST(sipName_qsrand), func_qsrand, METH_VARARGS, SIP_MLDOC_CAST(doc_qsrand)},
        {SIP_MLNAME_CAST(sipName_qIsNull), func_qIsNull, METH_VARARGS, SIP_MLDOC_CAST(doc_qIsNull)},
        {SIP_MLNAME_CAST(sipName_qFuzzyCompare), func_qFuzzyCompare, METH_VARARGS, SIP_MLDOC_CAST(doc_qFuzzyCompare)},
        {SIP_MLNAME_CAST(sipName_qUnregisterResourceData), func_qUnregisterResourceData, METH_VARARGS, SIP_MLDOC_CAST(doc_qUnregisterResourceData)},
        {SIP_MLNAME_CAST(sipName_qRegisterResourceData), func_qRegisterResourceData, METH_VARARGS, SIP_MLDOC_CAST(doc_qRegisterResourceData)},
        {SIP_MLNAME_CAST(sipName_qSharedBuild), func_qSharedBuild, METH_VARARGS, SIP_MLDOC_CAST(doc_qSharedBuild)},
        {SIP_MLNAME_CAST(sipName_qVersion), func_qVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_qVersion)},
        {SIP_MLNAME_CAST(sipName_qRound64), func_qRound64, METH_VARARGS, SIP_MLDOC_CAST(doc_qRound64)},
        {SIP_MLNAME_CAST(sipName_qRound), func_qRound, METH_VARARGS, SIP_MLDOC_CAST(doc_qRound)},
        {SIP_MLNAME_CAST(sipName_qAbs), func_qAbs, METH_VARARGS, SIP_MLDOC_CAST(doc_qAbs)},
        {0, 0, 0, 0}
    };

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

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

#line 736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
qpycore_init();
#line 10528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
    /* Export the module and publish it's API. */
    if (sipExportModule(&sipModuleAPI_QtCore,SIP_API_MAJOR_NR,SIP_API_MINOR_NR,0) < 0)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(0);
    }

    sip_QtCore_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtCore_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtCore_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

    /* Initialise the module now all its dependencies have been set up. */
    if (sipInitModule(&sipModuleAPI_QtCore,sipModuleDict) < 0)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(0);
    }
#line 300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
// Process events from the input hook.
PyOS_InputHook = qtcore_input_hook;
#line 740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
qpycore_post_init(sipModuleDict);
#line 10554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    SIP_MODULE_RETURN(sipModule);
}

#line 261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 10562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



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


extern "C" {static void *array_QList_0600QPair_0100QString_0100QString(SIP_SSIZE_T);}
static void *array_QList_0600QPair_0100QString_0100QString(SIP_SSIZE_T sipNrElem)
{
    return new QList<QPair<QString,QString> >[sipNrElem];
}


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


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



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

#line 295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QPair<QString, QString> > *ql = new QList<QPair<QString, QString> >;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *seq = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        Py_ssize_t sub_len;

        if (PySequence_Check(seq)
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(seq)
#endif
                && !PyUnicode_Check(seq))
            sub_len = PySequence_Size(seq);
        else
            sub_len = -1;

        if (sub_len != 2)
        {
            if (sub_len < 0)
                PyErr_Format(PyExc_TypeError,
                        "index %zd has type '%s' but a 2 element non-string sequence is expected",
                        i, sipPyTypeName(Py_TYPE(seq)));
            else
                PyErr_Format(PyExc_TypeError,
                        "index %zd is a sequence of %zd sub-elements but 2 sub-elements are expected",
                        i, sub_len);

            Py_DECREF(seq);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        PyObject *itm1 = PySequence_GetItem(seq, 0);

        if (!itm1)
        {
            Py_DECREF(seq);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        int state1;
        QString *s1 = reinterpret_cast<QString *>(
                sipForceConvertToType(itm1, sipType_QString, sipTransferObj,
                        SIP_NOT_NONE, &state1, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "the first sub-element of index %zd has type '%s' but 'QString' is expected",
                    i, sipPyTypeName(Py_TYPE(itm1)));

            Py_DECREF(itm1);
            Py_DECREF(seq);
            delete ql;
            Py_DECREF(iter);

            return 0;
        }

        PyObject *itm2 = PySequence_GetItem(seq, 1);

        if (!itm2)
        {
            sipReleaseType(s1, sipType_QString, state1);
            Py_DECREF(itm1);
            Py_DECREF(seq);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        int state2;
        QString *s2 = reinterpret_cast<QString *>(
                sipForceConvertToType(itm2, sipType_QString, sipTransferObj,
                        SIP_NOT_NONE, &state2, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "the second sub-element of index %zd has type '%s' but 'QString' is expected",
                    i, sipPyTypeName(Py_TYPE(itm2)));

            Py_DECREF(itm2);
            sipReleaseType(s1, sipType_QString, state1);
            Py_DECREF(itm1);
            Py_DECREF(seq);
            delete ql;
            Py_DECREF(iter);

            return 0;
        }

        ql->append(QPair<QString, QString>(*s1, *s2));

        sipReleaseType(s2, sipType_QString, state2);
        Py_DECREF(itm2);
        sipReleaseType(s1, sipType_QString, state1);
        Py_DECREF(itm1);
        Py_DECREF(seq);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0600QPair_0100QString_0100QString(void *, PyObject *);}
static PyObject *convertFrom_QList_0600QPair_0100QString_0100QString(void *sipCppV, PyObject *sipTransferObj)
{
   QList<QPair<QString,QString> > *sipCpp = reinterpret_cast<QList<QPair<QString,QString> > *>(sipCppV);

#line 266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        const QPair<QString, QString> &p = sipCpp->at(i);
        QString *s1 = new QString(p.first);
        QString *s2 = new QString(p.second);
        PyObject *pobj = sipBuildResult(NULL, "(NN)", s1, sipType_QString,
                sipTransferObj, s2, sipType_QString, sipTransferObj);

        if (!pobj)
        {
            delete s1;
            delete s2;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, pobj);
    }

    return l;
#line 10789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0600QPair_0100QString_0100QString = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2120,     /* QList<QPair<QString,QString> > */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0600QPair_0100QString_0100QString,
    array_QList_0600QPair_0100QString_0100QString,
    copy_QList_0600QPair_0100QString_0100QString,
    release_QList_0600QPair_0100QString_0100QString,
    convertTo_QList_0600QPair_0100QString_0100QString,
    convertFrom_QList_0600QPair_0100QString_0100QString
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstorageinfo.sip"
#include <qstorageinfo.h>
#line 10825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QStorageInfo> *ql = new QList<QStorageInfo>;
 
    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;
        QStorageInfo *t = reinterpret_cast<QStorageInfo *>(
                sipForceConvertToType(itm, sipType_QStorageInfo, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 10967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QStorageInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_13880,     /* QList<QStorageInfo> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QStorageInfo,
    array_QList_0100QStorageInfo,
    copy_QList_0100QStorageInfo,
    release_QList_0100QStorageInfo,
    convertTo_QList_0100QStorageInfo,
    convertFrom_QList_0100QStorageInfo
};

#line 143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qset.sip"
#include <qset.h>
#line 10999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 11003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


extern "C" {static void *array_QSet_0101QAbstractState(SIP_SSIZE_T);}
static void *array_QSet_0101QAbstractState(SIP_SSIZE_T sipNrElem)
{
    return new QSet< ::QAbstractState*>[sipNrElem];
}


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


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



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

#line 181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qset.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;
    }

    QSet<QAbstractState *> *qs = new QSet<QAbstractState *>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        QAbstractState *t = reinterpret_cast<QAbstractState *>(
                sipForceConvertToType(itm, sipType_QAbstractState, sipTransferObj, 0,
                        0, sipIsErr));

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

            Py_DECREF(itm);
            delete qs;
            Py_DECREF(iter);

            return 0;
        }

        qs->insert(t);

        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = qs;
 
    return sipGetState(sipTransferObj);
#line 11110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QSet_0101QAbstractState(void *, PyObject *);}
static PyObject *convertFrom_QSet_0101QAbstractState(void *sipCppV, PyObject *sipTransferObj)
{
   QSet< ::QAbstractState*> *sipCpp = reinterpret_cast<QSet< ::QAbstractState*> *>(sipCppV);

#line 147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qset.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *s = PySet_New(0);

    if (s)
    {
        QSet<QAbstractState *>::const_iterator it = sipCpp->constBegin();
        QSet<QAbstractState *>::const_iterator end = sipCpp->constEnd();

        while (it != end)
        {
            // The explicit (void *) cast allows QAbstractState to be const.
            PyObject *tobj = sipConvertFromType((void *)*it, sipType_QAbstractState,
                    sipTransferObj);

            if (!tobj)
            {
                Py_DECREF(s);
                s = 0;

                break;
            }

            PySet_Add(s, tobj);

            ++it;
        }
    }

    sipEnableGC(gc_enabled);

    return s;
#line 11151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QSet_0101QAbstractState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_9864,     /* QSet<QAbstractState*> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QSet_0101QAbstractState,
    array_QSet_0101QAbstractState,
    copy_QSet_0101QAbstractState,
    release_QSet_0101QAbstractState,
    convertTo_QSet_0101QAbstractState,
    convertFrom_QSet_0101QAbstractState
};

#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 11187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QAbstractTransition *> *ql = new QList<QAbstractTransition *>;
 
    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;
        }

        QAbstractTransition *t = reinterpret_cast<QAbstractTransition *>(
                sipForceConvertToType(itm, sipType_QAbstractTransition, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QAbstractTransition' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            QAbstractTransition *t = sipCpp->at(i);

            // The explicit (void *) cast allows QAbstractTransition to be const.
            PyObject *tobj = sipConvertFromType((void *)t, sipType_QAbstractTransition,
                    sipTransferObj);

            if (!tobj)
            {
                Py_DECREF(l);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 11332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QAbstractTransition = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3395,     /* QList<QAbstractTransition*> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QAbstractTransition,
    array_QList_0101QAbstractTransition,
    copy_QList_0101QAbstractTransition,
    release_QList_0101QAbstractTransition,
    convertTo_QList_0101QAbstractTransition,
    convertFrom_QList_0101QAbstractTransition
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimetype.sip"
#include <qmimetype.h>
#line 11368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QMimeType> *ql = new QList<QMimeType>;
 
    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;
        QMimeType *t = reinterpret_cast<QMimeType *>(
                sipForceConvertToType(itm, sipType_QMimeType, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 11510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QMimeType = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_21974,     /* QList<QMimeType> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QMimeType,
    array_QList_0100QMimeType,
    copy_QList_0100QMimeType,
    release_QList_0100QMimeType,
    convertTo_QList_0100QMimeType,
    convertFrom_QList_0100QMimeType
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 11546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QUrl> *ql = new QList<QUrl>;
 
    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;
        QUrl *t = reinterpret_cast<QUrl *>(
                sipForceConvertToType(itm, sipType_QUrl, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 11688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QUrl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_40772,     /* QList<QUrl> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QUrl,
    array_QList_0100QUrl,
    copy_QList_0100QUrl,
    release_QList_0100QUrl,
    convertTo_QList_0100QUrl,
    convertFrom_QList_0100QUrl
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 11724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QLocale> *ql = new QList<QLocale>;
 
    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;
        QLocale *t = reinterpret_cast<QLocale *>(
                sipForceConvertToType(itm, sipType_QLocale, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 11866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QLocale = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_28595,     /* QList<QLocale> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QLocale,
    array_QList_0100QLocale,
    copy_QList_0100QLocale,
    release_QList_0100QLocale,
    convertTo_QList_0100QLocale,
    convertFrom_QList_0100QLocale
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 11898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 11902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


extern "C" {static void *array_QVector_0100QPointF(SIP_SSIZE_T);}
static void *array_QVector_0100QPointF(SIP_SSIZE_T sipNrElem)
{
    return new QVector< ::QPointF>[sipNrElem];
}


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


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



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

#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.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;
    }

    QVector<QPointF> *qv = new QVector<QPointF>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            Py_DECREF(itm);
            delete qv;
            Py_DECREF(iter);

            return 0;
        }

        qv->append(*t);

        sipReleaseType(t, sipType_QPointF, state);
        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 12011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVector_0100QPointF(void *, PyObject *);}
static PyObject *convertFrom_QVector_0100QPointF(void *sipCppV, PyObject *sipTransferObj)
{
   QVector< ::QPointF> *sipCpp = reinterpret_cast<QVector< ::QPointF> *>(sipCppV);

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 12044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QPointF = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_21991,     /* QVector<QPointF> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_0100QPointF,
    array_QVector_0100QPointF,
    copy_QVector_0100QPointF,
    release_QVector_0100QPointF,
    convertTo_QVector_0100QPointF,
    convertFrom_QVector_0100QPointF
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 12080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QCommandLineOption> *ql = new QList<QCommandLineOption>;
 
    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;
        QCommandLineOption *t = reinterpret_cast<QCommandLineOption *>(
                sipForceConvertToType(itm, sipType_QCommandLineOption, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 12222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QCommandLineOption = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_4985,     /* QList<QCommandLineOption> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QCommandLineOption,
    array_QList_0100QCommandLineOption,
    copy_QList_0100QCommandLineOption,
    release_QList_0100QCommandLineOption,
    convertTo_QList_0100QCommandLineOption,
    convertFrom_QList_0100QCommandLineOption
};

#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 12258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QAbstractAnimation *> *ql = new QList<QAbstractAnimation *>;
 
    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;
        }

        QAbstractAnimation *t = reinterpret_cast<QAbstractAnimation *>(
                sipForceConvertToType(itm, sipType_QAbstractAnimation, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QAbstractAnimation' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            QAbstractAnimation *t = sipCpp->at(i);

            // The explicit (void *) cast allows QAbstractAnimation to be const.
            PyObject *tobj = sipConvertFromType((void *)t, sipType_QAbstractAnimation,
                    sipTransferObj);

            if (!tobj)
            {
                Py_DECREF(l);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 12403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QAbstractAnimation = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_4067,     /* QList<QAbstractAnimation*> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QAbstractAnimation,
    array_QList_0101QAbstractAnimation,
    copy_QList_0101QAbstractAnimation,
    release_QList_0101QAbstractAnimation,
    convertTo_QList_0101QAbstractAnimation,
    convertFrom_QList_0101QAbstractAnimation
};

#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 12439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QAbstractState *> *ql = new QList<QAbstractState *>;
 
    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;
        }

        QAbstractState *t = reinterpret_cast<QAbstractState *>(
                sipForceConvertToType(itm, sipType_QAbstractState, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QAbstractState' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            QAbstractState *t = sipCpp->at(i);

            // The explicit (void *) cast allows QAbstractState to be const.
            PyObject *tobj = sipConvertFromType((void *)t, sipType_QAbstractState,
                    sipTransferObj);

            if (!tobj)
            {
                Py_DECREF(l);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 12584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QAbstractState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_8346,     /* QList<QAbstractState*> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QAbstractState,
    array_QList_0101QAbstractState,
    copy_QList_0101QAbstractState,
    release_QList_0101QAbstractState,
    convertTo_QList_0101QAbstractState,
    convertFrom_QList_0101QAbstractState
};

#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 12616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 12620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static void assign_QHash_1800_0100QByteArray(void *, SIP_SSIZE_T, const void *);}
static void assign_QHash_1800_0100QByteArray(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QHash<int, ::QByteArray> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QHash<int, ::QByteArray> *>(sipSrc);
}


extern "C" {static void *array_QHash_1800_0100QByteArray(SIP_SSIZE_T);}
static void *array_QHash_1800_0100QByteArray(SIP_SSIZE_T sipNrElem)
{
    return new QHash<int, ::QByteArray>[sipNrElem];
}


extern "C" {static void *copy_QHash_1800_0100QByteArray(const void *, SIP_SSIZE_T);}
static void *copy_QHash_1800_0100QByteArray(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QHash<int, ::QByteArray>(reinterpret_cast<const QHash<int, ::QByteArray> *>(sipSrc)[sipSrcIdx]);
}


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



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

#line 330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QHash<int, QByteArray> *qh = new QHash<int, QByteArray>;

    Py_ssize_t pos = 0;
    PyObject *kobj, *vobj;
 
    while (PyDict_Next(sipPy, &pos, &kobj, &vobj))
    {
        PyErr_Clear();
        int k = SIPLong_AsLong(kobj);

        if (PyErr_Occurred())
        {
            PyErr_Format(PyExc_TypeError,
                    "a dict key has type '%s' but 'int' is expected",
                    sipPyTypeName(Py_TYPE(kobj)));

            delete qh;
            *sipIsErr = 1;

            return 0;
        }

        int vstate;
        QByteArray *v = reinterpret_cast<QByteArray *>(
                sipForceConvertToType(vobj, sipType_QByteArray, sipTransferObj,
                        SIP_NOT_NONE, &vstate, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "a dict value has type '%s' but 'QByteArray' is expected",
                    sipPyTypeName(Py_TYPE(vobj)));

            delete qh;

            return 0;
        }

        qh->insert(k, *v);

        sipReleaseType(v, sipType_QByteArray, vstate);
    }
 
    *sipCppPtr = qh;
 
    return sipGetState(sipTransferObj);
#line 12708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QHash_1800_0100QByteArray(void *, PyObject *);}
static PyObject *convertFrom_QHash_1800_0100QByteArray(void *sipCppV, PyObject *sipTransferObj)
{
   QHash<int, ::QByteArray> *sipCpp = reinterpret_cast<QHash<int, ::QByteArray> *>(sipCppV);

#line 279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
    PyObject *d = PyDict_New();

    if (!d)
        return 0;

    QHash<int, QByteArray>::const_iterator it = sipCpp->constBegin();
    QHash<int, QByteArray>::const_iterator end = sipCpp->constEnd();

    while (it != end)
    {
        PyObject *kobj = SIPLong_FromLong(it.key());

        if (!kobj)
        {
            Py_DECREF(d);

            return 0;
        }

        QByteArray *v = new QByteArray(it.value());
        PyObject *vobj = sipConvertFromNewType(v, sipType_QByteArray,
                sipTransferObj);

        if (!vobj)
        {
            delete v;
            Py_DECREF(kobj);
            Py_DECREF(d);

            return 0;
        }

        int rc = PyDict_SetItem(d, kobj, vobj);

        Py_DECREF(vobj);
        Py_DECREF(kobj);

        if (rc < 0)
        {
            Py_DECREF(d);

            return 0;
        }

        ++it;
    }

    return d;
#line 12766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QHash_1800_0100QByteArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_9886,     /* QHash<int,QByteArray> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QHash_1800_0100QByteArray,
    array_QHash_1800_0100QByteArray,
    copy_QHash_1800_0100QByteArray,
    release_QHash_1800_0100QByteArray,
    convertTo_QHash_1800_0100QByteArray,
    convertFrom_QHash_1800_0100QByteArray
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 12802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QPersistentModelIndex> *ql = new QList<QPersistentModelIndex>;
 
    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;
        QPersistentModelIndex *t = reinterpret_cast<QPersistentModelIndex *>(
                sipForceConvertToType(itm, sipType_QPersistentModelIndex, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 12944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QPersistentModelIndex = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2786,     /* QList<QPersistentModelIndex> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QPersistentModelIndex,
    array_QList_0100QPersistentModelIndex,
    copy_QList_0100QPersistentModelIndex,
    release_QList_0100QPersistentModelIndex,
    convertTo_QList_0100QPersistentModelIndex,
    convertFrom_QList_0100QPersistentModelIndex
};

#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 12976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 12980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static void assign_QMap_1800_0100QVariant(void *, SIP_SSIZE_T, const void *);}
static void assign_QMap_1800_0100QVariant(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QMap<int, ::QVariant> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QMap<int, ::QVariant> *>(sipSrc);
}


extern "C" {static void *array_QMap_1800_0100QVariant(SIP_SSIZE_T);}
static void *array_QMap_1800_0100QVariant(SIP_SSIZE_T sipNrElem)
{
    return new QMap<int, ::QVariant>[sipNrElem];
}


extern "C" {static void *copy_QMap_1800_0100QVariant(const void *, SIP_SSIZE_T);}
static void *copy_QMap_1800_0100QVariant(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QMap<int, ::QVariant>(reinterpret_cast<const QMap<int, ::QVariant> *>(sipSrc)[sipSrcIdx]);
}


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



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

#line 201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QMap<int, QVariant> *qm = new QMap<int, QVariant>;

    Py_ssize_t pos = 0;
    PyObject *kobj, *vobj;
 
    while (PyDict_Next(sipPy, &pos, &kobj, &vobj))
    {
        PyErr_Clear();
        int k = SIPLong_AsLong(kobj);

        if (PyErr_Occurred())
        {
            PyErr_Format(PyExc_TypeError,
                    "a dict key has type '%s' but 'int' is expected",
                    sipPyTypeName(Py_TYPE(kobj)));

            delete qm;
            *sipIsErr = 1;

            return 0;
        }

        int vstate;
        QVariant *v = reinterpret_cast<QVariant *>(
                sipForceConvertToType(vobj, sipType_QVariant, sipTransferObj,
                        SIP_NOT_NONE, &vstate, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "a dict value has type '%s' but 'QVariant' is expected",
                    sipPyTypeName(Py_TYPE(vobj)));

            delete qm;

            return 0;
        }

        qm->insert(k, *v);

        sipReleaseType(v, sipType_QVariant, vstate);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 13068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QMap_1800_0100QVariant(void *, PyObject *);}
static PyObject *convertFrom_QMap_1800_0100QVariant(void *sipCppV, PyObject *sipTransferObj)
{
   QMap<int, ::QVariant> *sipCpp = reinterpret_cast<QMap<int, ::QVariant> *>(sipCppV);

#line 150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
    PyObject *d = PyDict_New();

    if (!d)
        return 0;

    QMap<int, QVariant>::const_iterator it = sipCpp->constBegin();
    QMap<int, QVariant>::const_iterator end = sipCpp->constEnd();

    while (it != end)
    {
        PyObject *kobj = SIPLong_FromLong(it.key());

        if (!kobj)
        {
            Py_DECREF(d);

            return 0;
        }

        QVariant *v = new QVariant(it.value());
        PyObject *vobj = sipConvertFromNewType(v, sipType_QVariant,
                sipTransferObj);

        if (!vobj)
        {
            delete v;
            Py_DECREF(kobj);
            Py_DECREF(d);

            return 0;
        }

        int rc = PyDict_SetItem(d, kobj, vobj);

        Py_DECREF(vobj);
        Py_DECREF(kobj);

        if (rc < 0)
        {
            Py_DECREF(d);

            return 0;
        }

        ++it;
    }

    return d;
#line 13126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QMap_1800_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_16260,     /* QMap<int,QVariant> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QMap_1800_0100QVariant,
    array_QMap_1800_0100QVariant,
    copy_QMap_1800_0100QVariant,
    release_QMap_1800_0100QVariant,
    convertTo_QMap_1800_0100QVariant,
    convertFrom_QMap_1800_0100QVariant
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 13164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QAbstractEventDispatcher::TimerInfo> *ql = new QList<QAbstractEventDispatcher::TimerInfo>;
 
    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;
        QAbstractEventDispatcher::TimerInfo *t = reinterpret_cast<QAbstractEventDispatcher::TimerInfo *>(
                sipForceConvertToType(itm, sipType_QAbstractEventDispatcher_TimerInfo, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 13306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QAbstractEventDispatcher_TimerInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_101,     /* QList<QAbstractEventDispatcher::TimerInfo> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QAbstractEventDispatcher_TimerInfo,
    array_QList_0100QAbstractEventDispatcher_TimerInfo,
    copy_QList_0100QAbstractEventDispatcher_TimerInfo,
    release_QList_0100QAbstractEventDispatcher_TimerInfo,
    convertTo_QList_0100QAbstractEventDispatcher_TimerInfo,
    convertFrom_QList_0100QAbstractEventDispatcher_TimerInfo
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QByteArray> *ql = new QList<QByteArray>;
 
    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;
        QByteArray *t = reinterpret_cast<QByteArray *>(
                sipForceConvertToType(itm, sipType_QByteArray, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 13451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 13484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QByteArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_19148,     /* QList<QByteArray> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QByteArray,
    array_QList_0100QByteArray,
    copy_QList_0100QByteArray,
    release_QList_0100QByteArray,
    convertTo_QList_0100QByteArray,
    convertFrom_QList_0100QByteArray
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 13516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 13520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


extern "C" {static void *array_QVector_0100QXmlStreamNotationDeclaration(SIP_SSIZE_T);}
static void *array_QVector_0100QXmlStreamNotationDeclaration(SIP_SSIZE_T sipNrElem)
{
    return new QVector< ::QXmlStreamNotationDeclaration>[sipNrElem];
}


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


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



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

#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.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;
    }

    QVector<QXmlStreamNotationDeclaration> *qv = new QVector<QXmlStreamNotationDeclaration>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            Py_DECREF(itm);
            delete qv;
            Py_DECREF(iter);

            return 0;
        }

        qv->append(*t);

        sipReleaseType(t, sipType_QXmlStreamNotationDeclaration, state);
        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 13629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVector_0100QXmlStreamNotationDeclaration(void *, PyObject *);}
static PyObject *convertFrom_QVector_0100QXmlStreamNotationDeclaration(void *sipCppV, PyObject *sipTransferObj)
{
   QVector< ::QXmlStreamNotationDeclaration> *sipCpp = reinterpret_cast<QVector< ::QXmlStreamNotationDeclaration> *>(sipCppV);

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 13662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QXmlStreamNotationDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_436,     /* QVector<QXmlStreamNotationDeclaration> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_0100QXmlStreamNotationDeclaration,
    array_QVector_0100QXmlStreamNotationDeclaration,
    copy_QVector_0100QXmlStreamNotationDeclaration,
    release_QVector_0100QXmlStreamNotationDeclaration,
    convertTo_QVector_0100QXmlStreamNotationDeclaration,
    convertFrom_QVector_0100QXmlStreamNotationDeclaration
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 13694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 13698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


extern "C" {static void *array_QVector_0100QXmlStreamNamespaceDeclaration(SIP_SSIZE_T);}
static void *array_QVector_0100QXmlStreamNamespaceDeclaration(SIP_SSIZE_T sipNrElem)
{
    return new QVector< ::QXmlStreamNamespaceDeclaration>[sipNrElem];
}


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


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



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

#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.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;
    }

    QVector<QXmlStreamNamespaceDeclaration> *qv = new QVector<QXmlStreamNamespaceDeclaration>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            Py_DECREF(itm);
            delete qv;
            Py_DECREF(iter);

            return 0;
        }

        qv->append(*t);

        sipReleaseType(t, sipType_QXmlStreamNamespaceDeclaration, state);
        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 13807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVector_0100QXmlStreamNamespaceDeclaration(void *, PyObject *);}
static PyObject *convertFrom_QVector_0100QXmlStreamNamespaceDeclaration(void *sipCppV, PyObject *sipTransferObj)
{
   QVector< ::QXmlStreamNamespaceDeclaration> *sipCpp = reinterpret_cast<QVector< ::QXmlStreamNamespaceDeclaration> *>(sipCppV);

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 13840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QXmlStreamNamespaceDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_356,     /* QVector<QXmlStreamNamespaceDeclaration> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_0100QXmlStreamNamespaceDeclaration,
    array_QVector_0100QXmlStreamNamespaceDeclaration,
    copy_QVector_0100QXmlStreamNamespaceDeclaration,
    release_QVector_0100QXmlStreamNamespaceDeclaration,
    convertTo_QVector_0100QXmlStreamNamespaceDeclaration,
    convertFrom_QVector_0100QXmlStreamNamespaceDeclaration
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 13872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 13876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


extern "C" {static void *array_QVector_0100QXmlStreamEntityDeclaration(SIP_SSIZE_T);}
static void *array_QVector_0100QXmlStreamEntityDeclaration(SIP_SSIZE_T sipNrElem)
{
    return new QVector< ::QXmlStreamEntityDeclaration>[sipNrElem];
}


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


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



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

#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.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;
    }

    QVector<QXmlStreamEntityDeclaration> *qv = new QVector<QXmlStreamEntityDeclaration>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

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

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

            Py_DECREF(itm);
            delete qv;
            Py_DECREF(iter);

            return 0;
        }

        qv->append(*t);

        sipReleaseType(t, sipType_QXmlStreamEntityDeclaration, state);
        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 13985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVector_0100QXmlStreamEntityDeclaration(void *, PyObject *);}
static PyObject *convertFrom_QVector_0100QXmlStreamEntityDeclaration(void *sipCppV, PyObject *sipTransferObj)
{
   QVector< ::QXmlStreamEntityDeclaration> *sipCpp = reinterpret_cast<QVector< ::QXmlStreamEntityDeclaration> *>(sipCppV);

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 14018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QXmlStreamEntityDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_630,     /* QVector<QXmlStreamEntityDeclaration> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_0100QXmlStreamEntityDeclaration,
    array_QVector_0100QXmlStreamEntityDeclaration,
    copy_QVector_0100QXmlStreamEntityDeclaration,
    release_QVector_0100QXmlStreamEntityDeclaration,
    convertTo_QVector_0100QXmlStreamEntityDeclaration,
    convertFrom_QVector_0100QXmlStreamEntityDeclaration
};

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 14050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static void assign_QMap_0100QString_0100QVariant(void *, SIP_SSIZE_T, const void *);}
static void assign_QMap_0100QString_0100QVariant(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QMap< ::QString, ::QVariant> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QMap< ::QString, ::QVariant> *>(sipSrc);
}


extern "C" {static void *array_QMap_0100QString_0100QVariant(SIP_SSIZE_T);}
static void *array_QMap_0100QString_0100QVariant(SIP_SSIZE_T sipNrElem)
{
    return new QMap< ::QString, ::QVariant>[sipNrElem];
}


extern "C" {static void *copy_QMap_0100QString_0100QVariant(const void *, SIP_SSIZE_T);}
static void *copy_QMap_0100QString_0100QVariant(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QMap< ::QString, ::QVariant>(reinterpret_cast<const QMap< ::QString, ::QVariant> *>(sipSrc)[sipSrcIdx]);
}


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



extern "C" {static int convertTo_QMap_0100QString_0100QVariant(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMap_0100QString_0100QVariant(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QMap< ::QString, ::QVariant> **sipCppPtr = reinterpret_cast<QMap< ::QString, ::QVariant> **>(sipCppPtrV);

#line 85 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QMap<QString, QVariant> *qm = new QMap<QString, QVariant>;

    Py_ssize_t pos = 0;
    PyObject *kobj, *vobj;
 
    while (PyDict_Next(sipPy, &pos, &kobj, &vobj))
    {
        int kstate;
        QString *k = reinterpret_cast<QString *>(
                sipForceConvertToType(kobj, sipType_QString, sipTransferObj,
                        SIP_NOT_NONE, &kstate, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "a dict key has type '%s' but 'QString' is expected",
                    sipPyTypeName(Py_TYPE(kobj)));

            delete qm;

            return 0;
        }

        int vstate;
        QVariant *v = reinterpret_cast<QVariant *>(
                sipForceConvertToType(vobj, sipType_QVariant, sipTransferObj,
                        SIP_NOT_NONE, &vstate, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "a dict value has type '%s' but 'QVariant' is expected",
                    sipPyTypeName(Py_TYPE(vobj)));

            sipReleaseType(k, sipType_QString, kstate);
            delete qm;

            return 0;
        }

        qm->insert(*k, *v);

        sipReleaseType(v, sipType_QVariant, vstate);
        sipReleaseType(k, sipType_QString, kstate);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 14148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QMap_0100QString_0100QVariant(void *, PyObject *);}
static PyObject *convertFrom_QMap_0100QString_0100QVariant(void *sipCppV, PyObject *sipTransferObj)
{
   QMap< ::QString, ::QVariant> *sipCpp = reinterpret_cast<QMap< ::QString, ::QVariant> *>(sipCppV);

#line 31 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
    PyObject *d = PyDict_New();

    if (!d)
        return 0;

    QMap<QString, QVariant>::const_iterator it = sipCpp->constBegin();
    QMap<QString, QVariant>::const_iterator end = sipCpp->constEnd();

    while (it != end)
    {
        QString *k = new QString(it.key());
        PyObject *kobj = sipConvertFromNewType(k, sipType_QString,
                sipTransferObj);

        if (!kobj)
        {
            delete k;
            Py_DECREF(d);

            return 0;
        }

        QVariant *v = new QVariant(it.value());
        PyObject *vobj = sipConvertFromNewType(v, sipType_QVariant,
                sipTransferObj);

        if (!vobj)
        {
            delete v;
            Py_DECREF(kobj);
            Py_DECREF(d);

            return 0;
        }

        int rc = PyDict_SetItem(d, kobj, vobj);

        Py_DECREF(vobj);
        Py_DECREF(kobj);

        if (rc < 0)
        {
            Py_DECREF(d);

            return 0;
        }

        ++it;
    }

    return d;
#line 14209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QMap_0100QString_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_8369,     /* QMap<QString,QVariant> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QMap_0100QString_0100QVariant,
    array_QMap_0100QString_0100QVariant,
    copy_QMap_0100QString_0100QVariant,
    release_QMap_0100QString_0100QVariant,
    convertTo_QMap_0100QString_0100QVariant,
    convertFrom_QMap_0100QString_0100QVariant
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 14241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QVariant> *ql = new QList<QVariant>;
 
    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;
        QVariant *t = reinterpret_cast<QVariant *>(
                sipForceConvertToType(itm, sipType_QVariant, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 14354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 14387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_25187,     /* QList<QVariant> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QVariant,
    array_QList_0100QVariant,
    copy_QList_0100QVariant,
    release_QList_0100QVariant,
    convertTo_QList_0100QVariant,
    convertFrom_QList_0100QVariant
};

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 14419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static void assign_QHash_0100QString_0100QVariant(void *, SIP_SSIZE_T, const void *);}
static void assign_QHash_0100QString_0100QVariant(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QHash< ::QString, ::QVariant> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QHash< ::QString, ::QVariant> *>(sipSrc);
}


extern "C" {static void *array_QHash_0100QString_0100QVariant(SIP_SSIZE_T);}
static void *array_QHash_0100QString_0100QVariant(SIP_SSIZE_T sipNrElem)
{
    return new QHash< ::QString, ::QVariant>[sipNrElem];
}


extern "C" {static void *copy_QHash_0100QString_0100QVariant(const void *, SIP_SSIZE_T);}
static void *copy_QHash_0100QString_0100QVariant(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QHash< ::QString, ::QVariant>(reinterpret_cast<const QHash< ::QString, ::QVariant> *>(sipSrc)[sipSrcIdx]);
}


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



extern "C" {static int convertTo_QHash_0100QString_0100QVariant(PyObject *, void **, int *, PyObject *);}
static int convertTo_QHash_0100QString_0100QVariant(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QHash< ::QString, ::QVariant> **sipCppPtr = reinterpret_cast<QHash< ::QString, ::QVariant> **>(sipCppPtrV);

#line 85 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QHash<QString, QVariant> *qh = new QHash<QString, QVariant>;

    Py_ssize_t pos = 0;
    PyObject *kobj, *vobj;
 
    while (PyDict_Next(sipPy, &pos, &kobj, &vobj))
    {
        int kstate;
        QString *k = reinterpret_cast<QString *>(
                sipForceConvertToType(kobj, sipType_QString, sipTransferObj,
                        SIP_NOT_NONE, &kstate, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "a dict key has type '%s' but 'QString' is expected",
                    sipPyTypeName(Py_TYPE(kobj)));

            delete qh;

            return 0;
        }

        int vstate;
        QVariant *v = reinterpret_cast<QVariant *>(
                sipForceConvertToType(vobj, sipType_QVariant, sipTransferObj,
                        SIP_NOT_NONE, &vstate, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "a dict value has type '%s' but 'QVariant' is expected",
                    sipPyTypeName(Py_TYPE(vobj)));

            sipReleaseType(k, sipType_QString, kstate);
            delete qh;

            return 0;
        }

        qh->insert(*k, *v);

        sipReleaseType(v, sipType_QVariant, vstate);
        sipReleaseType(k, sipType_QString, kstate);
    }
 
    *sipCppPtr = qh;
 
    return sipGetState(sipTransferObj);
#line 14517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QHash_0100QString_0100QVariant(void *, PyObject *);}
static PyObject *convertFrom_QHash_0100QString_0100QVariant(void *sipCppV, PyObject *sipTransferObj)
{
   QHash< ::QString, ::QVariant> *sipCpp = reinterpret_cast<QHash< ::QString, ::QVariant> *>(sipCppV);

#line 31 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
    PyObject *d = PyDict_New();

    if (!d)
        return 0;

    QHash<QString, QVariant>::const_iterator it = sipCpp->constBegin();
    QHash<QString, QVariant>::const_iterator end = sipCpp->constEnd();

    while (it != end)
    {
        QString *k = new QString(it.key());
        PyObject *kobj = sipConvertFromNewType(k, sipType_QString,
                sipTransferObj);

        if (!kobj)
        {
            delete k;
            Py_DECREF(d);

            return 0;
        }

        QVariant *v = new QVariant(it.value());
        PyObject *vobj = sipConvertFromNewType(v, sipType_QVariant,
                sipTransferObj);

        if (!vobj)
        {
            delete v;
            Py_DECREF(kobj);
            Py_DECREF(d);

            return 0;
        }

        int rc = PyDict_SetItem(d, kobj, vobj);

        Py_DECREF(vobj);
        Py_DECREF(kobj);

        if (rc < 0)
        {
            Py_DECREF(d);

            return 0;
        }

        ++it;
    }

    return d;
#line 14578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QHash_0100QString_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7098,     /* QHash<QString,QVariant> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QHash_0100QString_0100QVariant,
    array_QHash_0100QString_0100QVariant,
    copy_QHash_0100QString_0100QVariant,
    release_QHash_0100QString_0100QVariant,
    convertTo_QHash_0100QString_0100QVariant,
    convertFrom_QHash_0100QString_0100QVariant
};

#line 138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 14611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 14615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static void assign_QVector_0600QPair_2400_0100QVariant(void *, SIP_SSIZE_T, const void *);}
static void assign_QVector_0600QPair_2400_0100QVariant(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QVector<QPair< ::qreal,QVariant> > *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QVector<QPair< ::qreal,QVariant> > *>(sipSrc);
}


extern "C" {static void *array_QVector_0600QPair_2400_0100QVariant(SIP_SSIZE_T);}
static void *array_QVector_0600QPair_2400_0100QVariant(SIP_SSIZE_T sipNrElem)
{
    return new QVector<QPair< ::qreal,QVariant> >[sipNrElem];
}


extern "C" {static void *copy_QVector_0600QPair_2400_0100QVariant(const void *, SIP_SSIZE_T);}
static void *copy_QVector_0600QPair_2400_0100QVariant(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QVector<QPair< ::qreal,QVariant> >(reinterpret_cast<const QVector<QPair< ::qreal,QVariant> > *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QVector_0600QPair_2400_0100QVariant(void *, int);}
static void release_QVector_0600QPair_2400_0100QVariant(void *ptr, int)
{
    delete reinterpret_cast<QVector<QPair< ::qreal,QVariant> > *>(ptr);
}



extern "C" {static int convertTo_QVector_0600QPair_2400_0100QVariant(PyObject *, void **, int *, PyObject *);}
static int convertTo_QVector_0600QPair_2400_0100QVariant(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QVector<QPair< ::qreal,QVariant> > **sipCppPtr = reinterpret_cast<QVector<QPair< ::qreal,QVariant> > **>(sipCppPtrV);

#line 170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.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;
    }

    QVector<QPair<qreal, QVariant> > *qv = new QVector<QPair<qreal, QVariant> >;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *seq = PyIter_Next(iter);

        if (!seq)
        {
            if (PyErr_Occurred())
            {
                delete qv;
                Py_DECREF(iter);
                *sipIsErr = 1;

                return 0;
            }

            break;
        }

        Py_ssize_t sub_len;

        if (PySequence_Check(seq)
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(seq)
#endif
                && !PyUnicode_Check(seq))
            sub_len = PySequence_Size(seq);
        else
            sub_len = -1;

        if (sub_len != 2)
        {
            if (sub_len < 0)
                PyErr_Format(PyExc_TypeError,
                        "index %zd has type '%s' but a 2 element non-string sequence is expected",
                        i, sipPyTypeName(Py_TYPE(seq)));
            else
                PyErr_Format(PyExc_TypeError,
                        "index %zd is a sequence of %zd sub-elements but 2 sub-elements are expected",
                        i, sub_len);

            Py_DECREF(seq);
            delete qv;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        PyObject *itm1 = PySequence_GetItem(seq, 0);

        if (!itm1)
        {
            Py_DECREF(seq);
            delete qv;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        PyErr_Clear();
        qreal s1 = PyFloat_AsDouble(itm1);

        if (PyErr_Occurred())
        {
            PyErr_Format(PyExc_TypeError,
                    "the first sub-element of index %zd has type '%s' but 'float' is expected",
                    i, sipPyTypeName(Py_TYPE(itm1)));

            Py_DECREF(itm1);
            Py_DECREF(seq);
            delete qv;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        PyObject *itm2 = PySequence_GetItem(seq, 1);

        if (!itm2)
        {
            Py_DECREF(itm1);
            Py_DECREF(seq);
            delete qv;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        int state2;
        QVariant *s2 = reinterpret_cast<QVariant *>(
                sipForceConvertToType(itm2, sipType_QVariant, sipTransferObj,
                        SIP_NOT_NONE, &state2, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "the second sub-element of index %zd has type '%s' but 'QVariant' is expected",
                    i, sipPyTypeName(Py_TYPE(itm2)));

            Py_DECREF(itm2);
            Py_DECREF(itm1);
            Py_DECREF(seq);
            delete qv;
            Py_DECREF(iter);

            return 0;
        }

        qv->append(QPair<qreal, QVariant>(s1, *s2));

        sipReleaseType(s2, sipType_QVariant, state2);
        Py_DECREF(itm2);
        Py_DECREF(itm1);
        Py_DECREF(seq);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 14801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVector_0600QPair_2400_0100QVariant(void *, PyObject *);}
static PyObject *convertFrom_QVector_0600QPair_2400_0100QVariant(void *sipCppV, PyObject *sipTransferObj)
{
   QVector<QPair< ::qreal,QVariant> > *sipCpp = reinterpret_cast<QVector<QPair< ::qreal,QVariant> > *>(sipCppV);

#line 143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        const QPair<qreal, QVariant> &p = sipCpp->at(i);
        QVariant *s2 = new QVariant(p.second);
        PyObject *pobj = sipBuildResult(NULL, "(dN)", (double)p.first, s2,
                sipType_QVariant, sipTransferObj);

        if (!pobj)
        {
            delete s2;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, pobj);
    }

    return l;
#line 14835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0600QPair_2400_0100QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1768,     /* QVector<QPair<qreal,QVariant> > */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_0600QPair_2400_0100QVariant,
    array_QVector_0600QPair_2400_0100QVariant,
    copy_QVector_0600QPair_2400_0100QVariant,
    release_QVector_0600QPair_2400_0100QVariant,
    convertTo_QVector_0600QPair_2400_0100QVariant,
    convertFrom_QVector_0600QPair_2400_0100QVariant
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 14867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 14873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static void assign_QVector_0100QTimeZone_OffsetData(void *, SIP_SSIZE_T, const void *);}
static void assign_QVector_0100QTimeZone_OffsetData(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QVector< ::QTimeZone::OffsetData> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QVector< ::QTimeZone::OffsetData> *>(sipSrc);
}


extern "C" {static void *array_QVector_0100QTimeZone_OffsetData(SIP_SSIZE_T);}
static void *array_QVector_0100QTimeZone_OffsetData(SIP_SSIZE_T sipNrElem)
{
    return new QVector< ::QTimeZone::OffsetData>[sipNrElem];
}


extern "C" {static void *copy_QVector_0100QTimeZone_OffsetData(const void *, SIP_SSIZE_T);}
static void *copy_QVector_0100QTimeZone_OffsetData(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QVector< ::QTimeZone::OffsetData>(reinterpret_cast<const QVector< ::QTimeZone::OffsetData> *>(sipSrc)[sipSrcIdx]);
}


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



extern "C" {static int convertTo_QVector_0100QTimeZone_OffsetData(PyObject *, void **, int *, PyObject *);}
static int convertTo_QVector_0100QTimeZone_OffsetData(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QVector< ::QTimeZone::OffsetData> **sipCppPtr = reinterpret_cast<QVector< ::QTimeZone::OffsetData> **>(sipCppPtrV);

#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.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;
    }

    QVector<QTimeZone::OffsetData> *qv = new QVector<QTimeZone::OffsetData>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        int state;
        QTimeZone::OffsetData *t = reinterpret_cast<QTimeZone::OffsetData *>(
                sipForceConvertToType(itm, sipType_QTimeZone_OffsetData, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

            Py_DECREF(itm);
            delete qv;
            Py_DECREF(iter);

            return 0;
        }

        qv->append(*t);

        sipReleaseType(t, sipType_QTimeZone_OffsetData, state);
        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 14982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVector_0100QTimeZone_OffsetData(void *, PyObject *);}
static PyObject *convertFrom_QVector_0100QTimeZone_OffsetData(void *sipCppV, PyObject *sipTransferObj)
{
   QVector< ::QTimeZone::OffsetData> *sipCpp = reinterpret_cast<QVector< ::QTimeZone::OffsetData> *>(sipCppV);

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 15015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_0100QTimeZone_OffsetData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2151,     /* QVector<QTimeZone::OffsetData> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_0100QTimeZone_OffsetData,
    array_QVector_0100QTimeZone_OffsetData,
    copy_QVector_0100QTimeZone_OffsetData,
    release_QVector_0100QTimeZone_OffsetData,
    convertTo_QVector_0100QTimeZone_OffsetData,
    convertFrom_QVector_0100QTimeZone_OffsetData
};

#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 15047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 15051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QObject *> *ql = new QList<QObject *>;
 
    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;
        }

        QObject *t = reinterpret_cast<QObject *>(
                sipForceConvertToType(itm, sipType_QObject, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QObject' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 15158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    int gc_enabled = sipEnableGC(0);
    PyObject *l = PyList_New(sipCpp->size());

    if (l)
    {
        for (int i = 0; i < sipCpp->size(); ++i)
        {
            QObject *t = sipCpp->at(i);

            // The explicit (void *) cast allows QObject to be const.
            PyObject *tobj = sipConvertFromType((void *)t, sipType_QObject,
                    sipTransferObj);

            if (!tobj)
            {
                Py_DECREF(l);
                l = 0;

                break;
            }

            PyList_SetItem(l, i, tobj);
        }
    }

    sipEnableGC(gc_enabled);

    return l;
#line 15196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0101QObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_25203,     /* QList<QObject*> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QObject,
    array_QList_0101QObject,
    copy_QList_0101QObject,
    release_QList_0101QObject,
    convertTo_QList_0101QObject,
    convertFrom_QList_0101QObject
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 15228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QModelIndex> *ql = new QList<QModelIndex>;
 
    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;
        QModelIndex *t = reinterpret_cast<QModelIndex *>(
                sipForceConvertToType(itm, sipType_QModelIndex, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 15341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 15374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QModelIndex = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_16279,     /* QList<QModelIndex> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QModelIndex,
    array_QList_0100QModelIndex,
    copy_QList_0100QModelIndex,
    release_QList_0100QModelIndex,
    convertTo_QList_0100QModelIndex,
    convertFrom_QList_0100QModelIndex
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 15406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 15410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QFileInfo> *ql = new QList<QFileInfo>;
 
    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;
        QFileInfo *t = reinterpret_cast<QFileInfo *>(
                sipForceConvertToType(itm, sipType_QFileInfo, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 15519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 15552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100QFileInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_22008,     /* QList<QFileInfo> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QFileInfo,
    array_QList_0100QFileInfo,
    copy_QList_0100QFileInfo,
    release_QList_0100QFileInfo,
    convertTo_QList_0100QFileInfo,
    convertFrom_QList_0100QFileInfo
};

#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsysinfo.sip"
#include <qsysinfo.h>
#line 15584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QSysInfo_buildAbi, "buildAbi() -> str");

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

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

            sipRes = new  ::QString( ::QSysInfo::buildAbi());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSysInfo, sipName_buildAbi, doc_QSysInfo_buildAbi);

    return NULL;
}


PyDoc_STRVAR(doc_QSysInfo_buildCpuArchitecture, "buildCpuArchitecture() -> str");

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

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

            sipRes = new  ::QString( ::QSysInfo::buildCpuArchitecture());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSysInfo, sipName_buildCpuArchitecture, doc_QSysInfo_buildCpuArchitecture);

    return NULL;
}


PyDoc_STRVAR(doc_QSysInfo_currentCpuArchitecture, "currentCpuArchitecture() -> str");

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

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

            sipRes = new  ::QString( ::QSysInfo::currentCpuArchitecture());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSysInfo, sipName_currentCpuArchitecture, doc_QSysInfo_currentCpuArchitecture);

    return NULL;
}


PyDoc_STRVAR(doc_QSysInfo_kernelType, "kernelType() -> str");

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

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

            sipRes = new  ::QString( ::QSysInfo::kernelType());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSysInfo, sipName_kernelType, doc_QSysInfo_kernelType);

    return NULL;
}


PyDoc_STRVAR(doc_QSysInfo_kernelVersion, "kernelVersion() -> str");

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

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

            sipRes = new  ::QString( ::QSysInfo::kernelVersion());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSysInfo, sipName_kernelVersion, doc_QSysInfo_kernelVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QSysInfo_prettyProductName, "prettyProductName() -> str");

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

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

            sipRes = new  ::QString( ::QSysInfo::prettyProductName());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSysInfo, sipName_prettyProductName, doc_QSysInfo_prettyProductName);

    return NULL;
}


PyDoc_STRVAR(doc_QSysInfo_productType, "productType() -> str");

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

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

            sipRes = new  ::QString( ::QSysInfo::productType());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSysInfo, sipName_productType, doc_QSysInfo_productType);

    return NULL;
}


PyDoc_STRVAR(doc_QSysInfo_productVersion, "productVersion() -> str");

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

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

            sipRes = new  ::QString( ::QSysInfo::productVersion());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSysInfo, sipName_productVersion, doc_QSysInfo_productVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QSysInfo_machineHostName, "machineHostName() -> str");

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

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

            sipRes = new  ::QString( ::QSysInfo::machineHostName());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSysInfo, sipName_machineHostName, doc_QSysInfo_machineHostName);

    return NULL;
}


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


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


extern "C" {static void *array_QSysInfo(SIP_SSIZE_T);}
static void *array_QSysInfo(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSysInfo[sipNrElem];
}


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


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


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

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

            return sipCpp;
        }
    }

    {
        const  ::QSysInfo* a0;

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

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSysInfo[] = {
    {SIP_MLNAME_CAST(sipName_buildAbi), meth_QSysInfo_buildAbi, METH_VARARGS, SIP_MLDOC_CAST(doc_QSysInfo_buildAbi)},
    {SIP_MLNAME_CAST(sipName_buildCpuArchitecture), meth_QSysInfo_buildCpuArchitecture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSysInfo_buildCpuArchitecture)},
    {SIP_MLNAME_CAST(sipName_currentCpuArchitecture), meth_QSysInfo_currentCpuArchitecture, METH_VARARGS, SIP_MLDOC_CAST(doc_QSysInfo_currentCpuArchitecture)},
    {SIP_MLNAME_CAST(sipName_kernelType), meth_QSysInfo_kernelType, METH_VARARGS, SIP_MLDOC_CAST(doc_QSysInfo_kernelType)},
    {SIP_MLNAME_CAST(sipName_kernelVersion), meth_QSysInfo_kernelVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QSysInfo_kernelVersion)},
    {SIP_MLNAME_CAST(sipName_machineHostName), meth_QSysInfo_machineHostName, METH_VARARGS, SIP_MLDOC_CAST(doc_QSysInfo_machineHostName)},
    {SIP_MLNAME_CAST(sipName_prettyProductName), meth_QSysInfo_prettyProductName, METH_VARARGS, SIP_MLDOC_CAST(doc_QSysInfo_prettyProductName)},
    {SIP_MLNAME_CAST(sipName_productType), meth_QSysInfo_productType, METH_VARARGS, SIP_MLDOC_CAST(doc_QSysInfo_productType)},
    {SIP_MLNAME_CAST(sipName_productVersion), meth_QSysInfo_productVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QSysInfo_productVersion)}
};

static sipEnumMemberDef enummembers_QSysInfo[] = {
    {sipName_BigEndian, static_cast<int>( ::QSysInfo::BigEndian), 244},
    {sipName_ByteOrder, static_cast<int>( ::QSysInfo::ByteOrder), 244},
    {sipName_LittleEndian, static_cast<int>( ::QSysInfo::LittleEndian), 244},
    {sipName_WordSize, static_cast<int>( ::QSysInfo::WordSize), 245},
};

PyDoc_STRVAR(doc_QSysInfo, "\1QSysInfo()\n"
    "QSysInfo(QSysInfo)");


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


sipClassTypeDef sipTypeDef_QtCore_QSysInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSysInfo,
        {0},
        &plugin_QSysInfo
    },
    {
        sipNameNr_QSysInfo,
        {0, 0, 1},
        9, methods_QSysInfo,
        4, enummembers_QSysInfo,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSysInfo,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSysInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSysInfo,
    assign_QSysInfo,
    array_QSysInfo,
    copy_QSysInfo,
    release_QSysInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



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


extern "C" {static void *array_QStringList(SIP_SSIZE_T);}
static void *array_QStringList(SIP_SSIZE_T sipNrElem)
{
    return new  ::QStringList[sipNrElem];
}


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


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



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

#line 66 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.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;
    }

    QStringList *ql = new QStringList;
 
    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;
        QString *t = reinterpret_cast<QString *>(
                sipForceConvertToType(itm, sipType_QString, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 16086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 40 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 16119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QStringList = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_QStringList,     /* QStringList */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QStringList,
    array_QStringList,
    copy_QStringList,
    release_QStringList,
    convertTo_QStringList,
    convertFrom_QStringList
};

#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 16151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



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


extern "C" {static void *array_QVector_1800(SIP_SSIZE_T);}
static void *array_QVector_1800(SIP_SSIZE_T sipNrElem)
{
    return new  ::QVector<int>[sipNrElem];
}


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


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



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

#line 353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.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;
    }

    QVector<int> *qv = new QVector<int>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        PyErr_Clear();
        long val = SIPLong_AsLong(itm);

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

            Py_DECREF(itm);
            delete qv;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        qv->append(val);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = qv;
 
    return sipGetState(sipTransferObj);
#line 16259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVector_1800(void *, PyObject *);}
static PyObject *convertFrom_QVector_1800(void *sipCppV, PyObject *)
{
    ::QVector<int> *sipCpp = reinterpret_cast< ::QVector<int> *>(sipCppV);

#line 330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj = SIPLong_FromLong(sipCpp->value(i));

        if (!pobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, pobj);
    }

    return l;
#line 16289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QVector_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_36469,     /* QVector<int> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QVector_1800,
    array_QVector_1800,
    copy_QVector_1800,
    release_QVector_1800,
    convertTo_QVector_1800,
    convertFrom_QVector_1800
};

#line 133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qpair.sip"
#include <qpair.h>
#line 16321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



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


extern "C" {static void *array_QPair_1800_1800(SIP_SSIZE_T);}
static void *array_QPair_1800_1800(SIP_SSIZE_T sipNrElem)
{
    return new  ::QPair<int,int>[sipNrElem];
}


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


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



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

#line 141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qpair.sip"
    if (!sipIsErr)
        return (PySequence_Check(sipPy)
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(sipPy)
#endif
                && !PyUnicode_Check(sipPy));

    Py_ssize_t len = PySequence_Size(sipPy);

    if (len != 2)
    {
        // A negative length should only be an internal error so let the
        // original exception stand.
        if (len >= 0)
            PyErr_Format(PyExc_TypeError,
                    "sequence has %zd elements but 2 elements are expected",
                    len);

        *sipIsErr = 1;

        return 0;
    }

    PyObject *firstobj = PySequence_GetItem(sipPy, 0);

    if (!firstobj)
    {
        *sipIsErr = 1;

        return 0;
    }

    PyErr_Clear();
    int first = SIPLong_AsLong(firstobj);

    if (PyErr_Occurred())
    {
        PyErr_Format(PyExc_TypeError,
                "the first element has type '%s' but 'int' is expected",
                sipPyTypeName(Py_TYPE(firstobj)));

        *sipIsErr = 1;

        return 0;
    }

    PyObject *secondobj = PySequence_GetItem(sipPy, 1);

    if (!secondobj)
    {
        Py_DECREF(firstobj);
        *sipIsErr = 1;

        return 0;
    }

    PyErr_Clear();
    int second = SIPLong_AsLong(secondobj);

    if (PyErr_Occurred())
    {
        PyErr_Format(PyExc_TypeError,
                "the second element has type '%s' but 'int' is expected",
                sipPyTypeName(Py_TYPE(secondobj)));

        Py_DECREF(secondobj);
        Py_DECREF(firstobj);
        *sipIsErr = 1;

        return 0;
    }

    *sipCppPtr = new QPair<int, int>(first, second);;

    Py_DECREF(secondobj);
    Py_DECREF(firstobj);
 
    return sipGetState(sipTransferObj);
#line 16439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QPair_1800_1800(void *, PyObject *);}
static PyObject *convertFrom_QPair_1800_1800(void *sipCppV, PyObject *)
{
    ::QPair<int,int> *sipCpp = reinterpret_cast< ::QPair<int,int> *>(sipCppV);

#line 137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qpair.sip"
    return Py_BuildValue("(ii)", sipCpp->first, sipCpp->second);
#line 16450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QPair_1800_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_28625,     /* QPair<int,int> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QPair_1800_1800,
    array_QPair_1800_1800,
    copy_QPair_1800_1800,
    release_QPair_1800_1800,
    convertTo_QPair_1800_1800,
    convertFrom_QPair_1800_1800
};

#line 850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <Qt>
#line 16482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 16486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


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


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


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


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



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

#line 878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<Qt::DayOfWeek> *ql = new QList<Qt::DayOfWeek>;

    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;
        }

        if (!sipCanConvertToEnum(itm, sipType_Qt_DayOfWeek))
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'Qt.DayOfWeek' is expected",
                    i, sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        ql->append(static_cast<Qt::DayOfWeek>(SIPLong_AsLong(itm)));

        Py_DECREF(itm);
    }

    Py_DECREF(iter);

    *sipCppPtr = ql;

    return sipGetState(sipTransferObj);
#line 16590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100Qt_DayOfWeek(void *, PyObject *);}
static PyObject *convertFrom_QList_0100Qt_DayOfWeek(void *sipCppV, PyObject *)
{
    ::QList< ::Qt::DayOfWeek> *sipCpp = reinterpret_cast< ::QList< ::Qt::DayOfWeek> *>(sipCppV);

#line 854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *eobj = sipConvertFromEnum(sipCpp->at(i),
                sipType_Qt_DayOfWeek);

        if (!eobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, eobj);
    }

    return l;
#line 16621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0100Qt_DayOfWeek = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_11843,     /* QList<Qt::DayOfWeek> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100Qt_DayOfWeek,
    array_QList_0100Qt_DayOfWeek,
    copy_QList_0100Qt_DayOfWeek,
    release_QList_0100Qt_DayOfWeek,
    convertTo_QList_0100Qt_DayOfWeek,
    convertFrom_QList_0100Qt_DayOfWeek
};

#line 746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 16653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



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


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


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


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



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

#line 773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<qreal> *ql = new QList<qreal>;
 
    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;
        }

        PyErr_Clear();
        double val = PyFloat_AsDouble(itm);
        
        if (PyErr_Occurred())
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'float' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        ql->append(val);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 16761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj = PyFloat_FromDouble(sipCpp->value(i));

        if (!pobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, pobj);
    }

    return l;
#line 16791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_2400 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_36482,     /* QList<qreal> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_2400,
    array_QList_2400,
    copy_QList_2400,
    release_QList_2400,
    convertTo_QList_2400,
    convertFrom_QList_2400
};

#line 642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 16823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



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


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


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


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



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

#line 669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<int> *ql = new QList<int>;
 
    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;
        }

        PyErr_Clear();
        long val = SIPLong_AsLong(itm);

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

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        ql->append(val);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 16931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj = SIPLong_FromLong(sipCpp->value(i));

        if (!pobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, pobj);
    }

    return l;
#line 16961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_44671,     /* QList<int> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_1800,
    array_QList_1800,
    copy_QList_1800,
    release_QList_1800,
    convertTo_QList_1800,
    convertFrom_QList_1800
};

#line 457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 16994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



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


extern "C" {static void *array_QList_0600QPair_1800_1800(SIP_SSIZE_T);}
static void *array_QList_0600QPair_1800_1800(SIP_SSIZE_T sipNrElem)
{
    return new  ::QList<QPair<int,int> >[sipNrElem];
}


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


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



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

#line 486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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<QPair<int, int> > *ql = new QList<QPair<int, int> >;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *seq = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        Py_ssize_t sub_len;

        if (PySequence_Check(seq)
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(seq)
#endif
                && !PyUnicode_Check(seq))
            sub_len = PySequence_Size(seq);
        else
            sub_len = -1;

        if (sub_len != 2)
        {
            if (sub_len < 0)
                PyErr_Format(PyExc_TypeError,
                        "index %zd has type '%s' but a 2 element non-string sequence is expected",
                        i, sipPyTypeName(Py_TYPE(seq)));
            else
                PyErr_Format(PyExc_TypeError,
                        "index %zd is a sequence of %zd sub-elements but 2 sub-elements are expected",
                        i, sub_len);

            Py_DECREF(seq);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        PyObject *itm1 = PySequence_GetItem(seq, 0);

        if (!itm1)
        {
            Py_DECREF(seq);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        PyErr_Clear();
        int first = SIPLong_AsLong(itm1);

        if (PyErr_Occurred())
        {
            PyErr_Format(PyExc_TypeError,
                    "the first sub-element of index %zd has type '%s' but 'int' is expected",
                    i, sipPyTypeName(Py_TYPE(itm1)));

            Py_DECREF(itm1);
            Py_DECREF(seq);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        PyObject *itm2 = PySequence_GetItem(seq, 1);

        if (!itm2)
        {
            Py_DECREF(itm1);
            Py_DECREF(seq);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        PyErr_Clear();
        int second = SIPLong_AsLong(itm2);

        if (PyErr_Occurred())
        {
            PyErr_Format(PyExc_TypeError,
                    "the second sub-element of index %zd has type '%s' but 'int' is expected",
                    i, sipPyTypeName(Py_TYPE(itm2)));

            Py_DECREF(itm2);
            Py_DECREF(itm1);
            Py_DECREF(seq);
            delete ql;
            Py_DECREF(iter);
            *sipIsErr = 1;

            return 0;
        }

        ql->append(QPair<int, int>(first, second));

        Py_DECREF(itm2);
        Py_DECREF(itm1);
        Py_DECREF(seq);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 17179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0600QPair_1800_1800(void *, PyObject *);}
static PyObject *convertFrom_QList_0600QPair_1800_1800(void *sipCppV, PyObject *)
{
    ::QList<QPair<int,int> > *sipCpp = reinterpret_cast< ::QList<QPair<int,int> > *>(sipCppV);

#line 462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        const QPair<int, int> &p = sipCpp->at(i);
        PyObject *pobj = Py_BuildValue((char *)"ii", p.first, p.second);

        if (!pobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, pobj);
    }

    return l;
#line 17210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QList_0600QPair_1800_1800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_8415,     /* QList<QPair<int,int> > */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0600QPair_1800_1800,
    array_QList_0600QPair_1800_1800,
    copy_QList_0600QPair_1800_1800,
    release_QList_0600QPair_1800_1800,
    convertTo_QList_0600QPair_1800_1800,
    convertFrom_QList_0600QPair_1800_1800
};

#line 25 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonobject.sip"
#include <qjsonobject.h>
#line 17242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



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


extern "C" {static void *array_QJsonObject(SIP_SSIZE_T);}
static void *array_QJsonObject(SIP_SSIZE_T sipNrElem)
{
    return new  ::QJsonObject[sipNrElem];
}


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


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



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

#line 83 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonobject.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QJsonObject *jo = new QJsonObject;

    Py_ssize_t pos = 0;
    PyObject *kobj, *vobj;
 
    while (PyDict_Next(sipPy, &pos, &kobj, &vobj))
    {
        int kstate;
        QString *k = reinterpret_cast<QString *>(
                sipForceConvertToType(kobj, sipType_QString, sipTransferObj,
                        SIP_NOT_NONE, &kstate, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "a key has type '%s' but 'str' is expected",
                    sipPyTypeName(Py_TYPE(kobj)));

            delete jo;

            return 0;
        }

        int vstate;
        QJsonValue *v = reinterpret_cast<QJsonValue *>(
                sipForceConvertToType(vobj, sipType_QJsonValue, sipTransferObj,
                        SIP_NOT_NONE, &vstate, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "a value has type '%s' but 'QJsonValue' is expected",
                    sipPyTypeName(Py_TYPE(vobj)));

            sipReleaseType(k, sipType_QString, kstate);
            delete jo;

            return 0;
        }

        jo->insert(*k, *v);

        sipReleaseType(v, sipType_QJsonValue, vstate);
        sipReleaseType(k, sipType_QString, kstate);
    }
 
    *sipCppPtr = jo;
 
    return sipGetState(sipTransferObj);
#line 17334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonobject.sip"
    PyObject *d = PyDict_New();

    if (!d)
        return 0;

    QJsonObject::const_iterator it = sipCpp->constBegin();
    QJsonObject::const_iterator end = sipCpp->constEnd();

    while (it != end)
    {
        QString *k = new QString(it.key());
        PyObject *kobj = sipConvertFromNewType(k, sipType_QString,
                sipTransferObj);

        if (!kobj)
        {
            delete k;
            Py_DECREF(d);

            return 0;
        }

        QJsonValue *v = new QJsonValue(it.value());
        PyObject *vobj = sipConvertFromNewType(v, sipType_QJsonValue,
                sipTransferObj);

        if (!vobj)
        {
            delete v;
            Py_DECREF(kobj);
            Py_DECREF(d);

            return 0;
        }

        int rc = PyDict_SetItem(d, kobj, vobj);

        Py_DECREF(vobj);
        Py_DECREF(kobj);

        if (rc < 0)
        {
            Py_DECREF(d);

            return 0;
        }

        ++it;
    }

    return d;
#line 17395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QJsonObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_QJsonObject,     /* QJsonObject */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QJsonObject,
    array_QJsonObject,
    copy_QJsonObject,
    release_QJsonObject,
    convertTo_QJsonObject,
    convertFrom_QJsonObject
};

#line 31 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonarray.sip"
#include <qjsonarray.h>
#line 17427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



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


extern "C" {static void *array_QJsonArray(SIP_SSIZE_T);}
static void *array_QJsonArray(SIP_SSIZE_T sipNrElem)
{
    return new  ::QJsonArray[sipNrElem];
}


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


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



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

#line 61 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonarray.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;
    }

    QJsonArray *ql = new QJsonArray;
 
    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;
        QJsonValue *t = reinterpret_cast<QJsonValue *>(
                sipForceConvertToType(itm, sipType_QJsonValue, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

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

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 17537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


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

#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonarray.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 17570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QJsonArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_QJsonArray,     /* QJsonArray */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QJsonArray,
    array_QJsonArray,
    copy_QJsonArray,
    release_QJsonArray,
    convertTo_QJsonArray,
    convertFrom_QJsonArray
};

#line 411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 17606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 48 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 17621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 17624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamWriter_setDevice, "setDevice(self, QIODevice)");

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

    {
         ::QIODevice* a0;
         ::QXmlStreamWriter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QIODevice, &a0))
        {
            sipCpp->setDevice(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_setDevice, doc_QXmlStreamWriter_setDevice);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_device, "device(self) -> QIODevice");

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

    {
        const  ::QXmlStreamWriter *sipCpp;

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

            sipRes = sipCpp->device();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_device, doc_QXmlStreamWriter_device);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_setCodec, "setCodec(self, QTextCodec)\n"
    "setCodec(self, str)");

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

    {
         ::QTextCodec* a0;
        PyObject *a0Keep;
         ::QXmlStreamWriter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, &a0Keep, sipType_QTextCodec, &a0))
        {
            sipCpp->setCodec(a0);

            sipKeepReference(sipSelf, -11, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
         ::QXmlStreamWriter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, &a0Keep, &a0))
        {
            sipCpp->setCodec(a0);
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_setCodec, doc_QXmlStreamWriter_setCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_codec, "codec(self) -> QTextCodec");

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

    {
        const  ::QXmlStreamWriter *sipCpp;

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

            sipRes = sipCpp->codec();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_codec, doc_QXmlStreamWriter_codec);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_setAutoFormatting, "setAutoFormatting(self, bool)");

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

    {
        bool a0;
         ::QXmlStreamWriter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, &a0))
        {
            sipCpp->setAutoFormatting(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_setAutoFormatting, doc_QXmlStreamWriter_setAutoFormatting);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_autoFormatting, "autoFormatting(self) -> bool");

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

    {
        const  ::QXmlStreamWriter *sipCpp;

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

            sipRes = sipCpp->autoFormatting();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_autoFormatting, doc_QXmlStreamWriter_autoFormatting);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_setAutoFormattingIndent, "setAutoFormattingIndent(self, int)");

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

    {
        int a0;
         ::QXmlStreamWriter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, &a0))
        {
            sipCpp->setAutoFormattingIndent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_setAutoFormattingIndent, doc_QXmlStreamWriter_setAutoFormattingIndent);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_autoFormattingIndent, "autoFormattingIndent(self) -> int");

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

    {
        const  ::QXmlStreamWriter *sipCpp;

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

            sipRes = sipCpp->autoFormattingIndent();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_autoFormattingIndent, doc_QXmlStreamWriter_autoFormattingIndent);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeAttribute, "writeAttribute(self, str, str)\n"
    "writeAttribute(self, str, str, str)\n"
    "writeAttribute(self, QXmlStreamAttribute)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->writeAttribute(*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;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            sipCpp->writeAttribute(*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;
        }
    }

    {
        const  ::QXmlStreamAttribute* a0;
         ::QXmlStreamWriter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QXmlStreamAttribute, &a0))
        {
            sipCpp->writeAttribute(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_writeAttribute, doc_QXmlStreamWriter_writeAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeAttributes, "writeAttributes(self, QXmlStreamAttributes)");

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

    {
        const  ::QXmlStreamAttributes* a0;
         ::QXmlStreamWriter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QXmlStreamAttributes, &a0))
        {
            sipCpp->writeAttributes(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_writeAttributes, doc_QXmlStreamWriter_writeAttributes);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeCDATA, "writeCDATA(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->writeCDATA(*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_QXmlStreamWriter, sipName_writeCDATA, doc_QXmlStreamWriter_writeCDATA);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeCharacters, "writeCharacters(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->writeCharacters(*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_QXmlStreamWriter, sipName_writeCharacters, doc_QXmlStreamWriter_writeCharacters);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeComment, "writeComment(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->writeComment(*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_QXmlStreamWriter, sipName_writeComment, doc_QXmlStreamWriter_writeComment);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeDTD, "writeDTD(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->writeDTD(*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_QXmlStreamWriter, sipName_writeDTD, doc_QXmlStreamWriter_writeDTD);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeEmptyElement, "writeEmptyElement(self, str)\n"
    "writeEmptyElement(self, str, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->writeEmptyElement(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->writeEmptyElement(*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_QXmlStreamWriter, sipName_writeEmptyElement, doc_QXmlStreamWriter_writeEmptyElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeTextElement, "writeTextElement(self, str, str)\n"
    "writeTextElement(self, str, str, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->writeTextElement(*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;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            sipCpp->writeTextElement(*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_QXmlStreamWriter, sipName_writeTextElement, doc_QXmlStreamWriter_writeTextElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeEndDocument, "writeEndDocument(self)");

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

    {
         ::QXmlStreamWriter *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_writeEndDocument, doc_QXmlStreamWriter_writeEndDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeEndElement, "writeEndElement(self)");

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

    {
         ::QXmlStreamWriter *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_writeEndElement, doc_QXmlStreamWriter_writeEndElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeEntityReference, "writeEntityReference(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->writeEntityReference(*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_QXmlStreamWriter, sipName_writeEntityReference, doc_QXmlStreamWriter_writeEntityReference);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeNamespace, "writeNamespace(self, str, prefix: str = '')");

extern "C" {static PyObject *meth_QXmlStreamWriter_writeNamespace(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamWriter_writeNamespace(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;
         ::QXmlStreamWriter *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->writeNamespace(*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_QXmlStreamWriter, sipName_writeNamespace, doc_QXmlStreamWriter_writeNamespace);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeDefaultNamespace, "writeDefaultNamespace(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->writeDefaultNamespace(*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_QXmlStreamWriter, sipName_writeDefaultNamespace, doc_QXmlStreamWriter_writeDefaultNamespace);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeProcessingInstruction, "writeProcessingInstruction(self, str, data: str = '')");

extern "C" {static PyObject *meth_QXmlStreamWriter_writeProcessingInstruction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamWriter_writeProcessingInstruction(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;
         ::QXmlStreamWriter *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->writeProcessingInstruction(*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_QXmlStreamWriter, sipName_writeProcessingInstruction, doc_QXmlStreamWriter_writeProcessingInstruction);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeStartDocument, "writeStartDocument(self)\n"
    "writeStartDocument(self, str)\n"
    "writeStartDocument(self, str, bool)");

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

    {
         ::QXmlStreamWriter *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->writeStartDocument(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            sipCpp->writeStartDocument(*a0,a1);
            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_QXmlStreamWriter, sipName_writeStartDocument, doc_QXmlStreamWriter_writeStartDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeStartElement, "writeStartElement(self, str)\n"
    "writeStartElement(self, str, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->writeStartElement(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->writeStartElement(*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_QXmlStreamWriter, sipName_writeStartElement, doc_QXmlStreamWriter_writeStartElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_writeCurrentToken, "writeCurrentToken(self, QXmlStreamReader)");

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

    {
        const  ::QXmlStreamReader* a0;
         ::QXmlStreamWriter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlStreamWriter, &sipCpp, sipType_QXmlStreamReader, &a0))
        {
            sipCpp->writeCurrentToken(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_writeCurrentToken, doc_QXmlStreamWriter_writeCurrentToken);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamWriter_hasError, "hasError(self) -> bool");

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

    {
        const  ::QXmlStreamWriter *sipCpp;

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

            sipRes = sipCpp->hasError();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamWriter, sipName_hasError, doc_QXmlStreamWriter_hasError);

    return NULL;
}


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


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


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

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

            return sipCpp;
        }
    }

    {
         ::QIODevice* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            sipCpp = new  ::QXmlStreamWriter(a0);

            return sipCpp;
        }
    }

    {
         ::QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J0", sipType_QByteArray, &a0, &a0State))
        {
            sipCpp = new  ::QXmlStreamWriter(a0);
            sipReleaseType(a0,sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlStreamWriter[] = {
    {SIP_MLNAME_CAST(sipName_autoFormatting), meth_QXmlStreamWriter_autoFormatting, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_autoFormatting)},
    {SIP_MLNAME_CAST(sipName_autoFormattingIndent), meth_QXmlStreamWriter_autoFormattingIndent, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_autoFormattingIndent)},
    {SIP_MLNAME_CAST(sipName_codec), meth_QXmlStreamWriter_codec, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_codec)},
    {SIP_MLNAME_CAST(sipName_device), meth_QXmlStreamWriter_device, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_device)},
    {SIP_MLNAME_CAST(sipName_hasError), meth_QXmlStreamWriter_hasError, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_hasError)},
    {SIP_MLNAME_CAST(sipName_setAutoFormatting), meth_QXmlStreamWriter_setAutoFormatting, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_setAutoFormatting)},
    {SIP_MLNAME_CAST(sipName_setAutoFormattingIndent), meth_QXmlStreamWriter_setAutoFormattingIndent, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_setAutoFormattingIndent)},
    {SIP_MLNAME_CAST(sipName_setCodec), meth_QXmlStreamWriter_setCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_setCodec)},
    {SIP_MLNAME_CAST(sipName_setDevice), meth_QXmlStreamWriter_setDevice, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_setDevice)},
    {SIP_MLNAME_CAST(sipName_writeAttribute), meth_QXmlStreamWriter_writeAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeAttribute)},
    {SIP_MLNAME_CAST(sipName_writeAttributes), meth_QXmlStreamWriter_writeAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeAttributes)},
    {SIP_MLNAME_CAST(sipName_writeCDATA), meth_QXmlStreamWriter_writeCDATA, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeCDATA)},
    {SIP_MLNAME_CAST(sipName_writeCharacters), meth_QXmlStreamWriter_writeCharacters, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeCharacters)},
    {SIP_MLNAME_CAST(sipName_writeComment), meth_QXmlStreamWriter_writeComment, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeComment)},
    {SIP_MLNAME_CAST(sipName_writeCurrentToken), meth_QXmlStreamWriter_writeCurrentToken, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeCurrentToken)},
    {SIP_MLNAME_CAST(sipName_writeDTD), meth_QXmlStreamWriter_writeDTD, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeDTD)},
    {SIP_MLNAME_CAST(sipName_writeDefaultNamespace), meth_QXmlStreamWriter_writeDefaultNamespace, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeDefaultNamespace)},
    {SIP_MLNAME_CAST(sipName_writeEmptyElement), meth_QXmlStreamWriter_writeEmptyElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeEmptyElement)},
    {SIP_MLNAME_CAST(sipName_writeEndDocument), meth_QXmlStreamWriter_writeEndDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeEndDocument)},
    {SIP_MLNAME_CAST(sipName_writeEndElement), meth_QXmlStreamWriter_writeEndElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeEndElement)},
    {SIP_MLNAME_CAST(sipName_writeEntityReference), meth_QXmlStreamWriter_writeEntityReference, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeEntityReference)},
    {SIP_MLNAME_CAST(sipName_writeNamespace), (PyCFunction)meth_QXmlStreamWriter_writeNamespace, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeNamespace)},
    {SIP_MLNAME_CAST(sipName_writeProcessingInstruction), (PyCFunction)meth_QXmlStreamWriter_writeProcessingInstruction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeProcessingInstruction)},
    {SIP_MLNAME_CAST(sipName_writeStartDocument), meth_QXmlStreamWriter_writeStartDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeStartDocument)},
    {SIP_MLNAME_CAST(sipName_writeStartElement), meth_QXmlStreamWriter_writeStartElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeStartElement)},
    {SIP_MLNAME_CAST(sipName_writeTextElement), meth_QXmlStreamWriter_writeTextElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamWriter_writeTextElement)}
};

PyDoc_STRVAR(doc_QXmlStreamWriter, "\1QXmlStreamWriter()\n"
    "QXmlStreamWriter(QIODevice)\n"
    "QXmlStreamWriter(Union[QByteArray, bytes, bytearray])");


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


sipClassTypeDef sipTypeDef_QtCore_QXmlStreamWriter = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamWriter,
        {0},
        &plugin_QXmlStreamWriter
    },
    {
        sipNameNr_QXmlStreamWriter,
        {0, 0, 1},
        26, methods_QXmlStreamWriter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamWriter,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlStreamWriter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlStreamWriter,
    0,
    0,
    0,
    release_QXmlStreamWriter,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 18714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 18717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 18729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 18735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 18741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 48 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 18747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamReader_setDevice, "setDevice(self, QIODevice)");

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

    {
         ::QIODevice* a0;
         ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QXmlStreamReader, &sipCpp, sipType_QIODevice, &a0))
        {
            sipCpp->setDevice(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_setDevice, doc_QXmlStreamReader_setDevice);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_device, "device(self) -> QIODevice");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->device();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_device, doc_QXmlStreamReader_device);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_addData, "addData(self, Union[QByteArray, bytes, bytearray])\n"
    "addData(self, str)");

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

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamReader, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->addData(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamReader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->addData(*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_QXmlStreamReader, sipName_addData, doc_QXmlStreamReader_addData);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_clear, "clear(self)");

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

    {
         ::QXmlStreamReader *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_clear, doc_QXmlStreamReader_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_atEnd, "atEnd(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->atEnd();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_atEnd, doc_QXmlStreamReader_atEnd);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_readNext, "readNext(self) -> QXmlStreamReader.TokenType");

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

    {
         ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
             ::QXmlStreamReader::TokenType sipRes;

            sipRes = sipCpp->readNext();

            return sipConvertFromEnum(sipRes,sipType_QXmlStreamReader_TokenType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_readNext, doc_QXmlStreamReader_readNext);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_tokenType, "tokenType(self) -> QXmlStreamReader.TokenType");

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

    {
        const  ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
             ::QXmlStreamReader::TokenType sipRes;

            sipRes = sipCpp->tokenType();

            return sipConvertFromEnum(sipRes,sipType_QXmlStreamReader_TokenType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_tokenType, doc_QXmlStreamReader_tokenType);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_tokenString, "tokenString(self) -> str");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_tokenString, doc_QXmlStreamReader_tokenString);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_setNamespaceProcessing, "setNamespaceProcessing(self, bool)");

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

    {
        bool a0;
         ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QXmlStreamReader, &sipCpp, &a0))
        {
            sipCpp->setNamespaceProcessing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_setNamespaceProcessing, doc_QXmlStreamReader_setNamespaceProcessing);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_namespaceProcessing, "namespaceProcessing(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->namespaceProcessing();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_namespaceProcessing, doc_QXmlStreamReader_namespaceProcessing);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isStartDocument, "isStartDocument(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isStartDocument();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isStartDocument, doc_QXmlStreamReader_isStartDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isEndDocument, "isEndDocument(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isEndDocument();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isEndDocument, doc_QXmlStreamReader_isEndDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isStartElement, "isStartElement(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isStartElement();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isStartElement, doc_QXmlStreamReader_isStartElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isEndElement, "isEndElement(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isEndElement();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isEndElement, doc_QXmlStreamReader_isEndElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isCharacters, "isCharacters(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isCharacters();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isCharacters, doc_QXmlStreamReader_isCharacters);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isWhitespace, "isWhitespace(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isWhitespace();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isWhitespace, doc_QXmlStreamReader_isWhitespace);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isCDATA, "isCDATA(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isCDATA();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isCDATA, doc_QXmlStreamReader_isCDATA);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isComment, "isComment(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isComment();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isComment, doc_QXmlStreamReader_isComment);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isDTD, "isDTD(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isDTD();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isDTD, doc_QXmlStreamReader_isDTD);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isEntityReference, "isEntityReference(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isEntityReference();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isEntityReference, doc_QXmlStreamReader_isEntityReference);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isProcessingInstruction, "isProcessingInstruction(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isProcessingInstruction();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isProcessingInstruction, doc_QXmlStreamReader_isProcessingInstruction);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_isStandaloneDocument, "isStandaloneDocument(self) -> bool");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->isStandaloneDocument();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_isStandaloneDocument, doc_QXmlStreamReader_isStandaloneDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_documentVersion, "documentVersion(self) -> str");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QStringRef(sipCpp->documentVersion());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_documentVersion, doc_QXmlStreamReader_documentVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_documentEncoding, "documentEncoding(self) -> str");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QStringRef(sipCpp->documentEncoding());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_documentEncoding, doc_QXmlStreamReader_documentEncoding);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_lineNumber, "lineNumber(self) -> int");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->lineNumber();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_lineNumber, doc_QXmlStreamReader_lineNumber);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_columnNumber, "columnNumber(self) -> int");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->columnNumber();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_columnNumber, doc_QXmlStreamReader_columnNumber);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_characterOffset, "characterOffset(self) -> int");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = sipCpp->characterOffset();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_characterOffset, doc_QXmlStreamReader_characterOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_attributes, "attributes(self) -> QXmlStreamAttributes");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QXmlStreamAttributes(sipCpp->attributes());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_attributes, doc_QXmlStreamReader_attributes);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_readElementText, "readElementText(self, behaviour: QXmlStreamReader.ReadElementTextBehaviour = QXmlStreamReader.ErrorOnUnexpectedElement) -> str");

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

    {
         ::QXmlStreamReader::ReadElementTextBehaviour a0 = QXmlStreamReader::ErrorOnUnexpectedElement;
         ::QXmlStreamReader *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QXmlStreamReader, &sipCpp, sipType_QXmlStreamReader_ReadElementTextBehaviour, &a0))
        {
             ::QString*sipRes;

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_readElementText, doc_QXmlStreamReader_readElementText);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_name, "name(self) -> str");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QStringRef(sipCpp->name());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_name, doc_QXmlStreamReader_name);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_namespaceUri, "namespaceUri(self) -> str");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QStringRef(sipCpp->namespaceUri());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_namespaceUri, doc_QXmlStreamReader_namespaceUri);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_qualifiedName, "qualifiedName(self) -> str");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QStringRef(sipCpp->qualifiedName());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_qualifiedName, doc_QXmlStreamReader_qualifiedName);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_prefix, "prefix(self) -> str");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QStringRef(sipCpp->prefix());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_prefix, doc_QXmlStreamReader_prefix);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_processingInstructionTarget, "processingInstructionTarget(self) -> str");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QStringRef(sipCpp->processingInstructionTarget());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_processingInstructionTarget, doc_QXmlStreamReader_processingInstructionTarget);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_processingInstructionData, "processingInstructionData(self) -> str");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QStringRef(sipCpp->processingInstructionData());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_processingInstructionData, doc_QXmlStreamReader_processingInstructionData);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_text, "text(self) -> str");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QStringRef(sipCpp->text());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_text, doc_QXmlStreamReader_text);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_namespaceDeclarations, "namespaceDeclarations(self) -> object");

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

    {
        const  ::QXmlStreamReader *sipCpp;

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

            sipRes = new  ::QXmlStreamNamespaceDeclarations(sipCpp->namespaceDeclarations());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_namespaceDeclarations, doc_QXmlStreamReader_namespaceDeclarations);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_addExtraNamespaceDeclaration, "addExtraNamespaceDeclaration(self, QXmlStreamNamespaceDeclaration)");

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

    {
        const  ::QXmlStreamNamespaceDeclaration* a0;
         ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlStreamReader, &sipCpp, sipType_QXmlStreamNamespaceDeclaration, &a0))
        {
            sipCpp->addExtraNamespaceDeclaration(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_addExtraNamespaceDeclaration, doc_QXmlStreamReader_addExtraNamespaceDeclaration);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_addExtraNamespaceDeclarations, "addExtraNamespaceDeclarations(self, object)");

extern "C" {static PyObject *meth_QXmlStreamReader_addExtraNamespaceDeclarations(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_addExtraNamespaceDeclarations(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamNamespaceDeclarations* a0;
        int a0State = 0;
         ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamReader, &sipCpp, sipType_QVector_0100QXmlStreamNamespaceDeclaration,&a0, &a0State))
        {
            sipCpp->addExtraNamespaceDeclarations(*a0);
            sipReleaseType(const_cast< ::QXmlStreamNamespaceDeclarations *>(a0),sipType_QVector_0100QXmlStreamNamespaceDeclaration,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_addExtraNamespaceDeclarations, doc_QXmlStreamReader_addExtraNamespaceDeclarations);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_notationDeclarations, "notationDeclarations(self) -> object");

extern "C" {static PyObject *meth_QXmlStreamReader_notationDeclarations(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_notationDeclarations(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
             ::QXmlStreamNotationDeclarations*sipRes;

            sipRes = new  ::QXmlStreamNotationDeclarations(sipCpp->notationDeclarations());

            return sipConvertFromNewType(sipRes,sipType_QVector_0100QXmlStreamNotationDeclaration,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_notationDeclarations, doc_QXmlStreamReader_notationDeclarations);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_entityDeclarations, "entityDeclarations(self) -> object");

extern "C" {static PyObject *meth_QXmlStreamReader_entityDeclarations(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_entityDeclarations(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
             ::QXmlStreamEntityDeclarations*sipRes;

            sipRes = new  ::QXmlStreamEntityDeclarations(sipCpp->entityDeclarations());

            return sipConvertFromNewType(sipRes,sipType_QVector_0100QXmlStreamEntityDeclaration,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_entityDeclarations, doc_QXmlStreamReader_entityDeclarations);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_dtdName, "dtdName(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamReader_dtdName(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_dtdName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->dtdName());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_dtdName, doc_QXmlStreamReader_dtdName);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_dtdPublicId, "dtdPublicId(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamReader_dtdPublicId(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_dtdPublicId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->dtdPublicId());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_dtdPublicId, doc_QXmlStreamReader_dtdPublicId);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_dtdSystemId, "dtdSystemId(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamReader_dtdSystemId(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_dtdSystemId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->dtdSystemId());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_dtdSystemId, doc_QXmlStreamReader_dtdSystemId);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_raiseError, "raiseError(self, message: str = '')");

extern "C" {static PyObject *meth_QXmlStreamReader_raiseError(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_raiseError(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
         ::QXmlStreamReader *sipCpp;

        static const char *sipKwdList[] = {
            sipName_message,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QXmlStreamReader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->raiseError(*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_QXmlStreamReader, sipName_raiseError, doc_QXmlStreamReader_raiseError);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamReader_errorString(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_errorString, doc_QXmlStreamReader_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_error, "error(self) -> QXmlStreamReader.Error");

extern "C" {static PyObject *meth_QXmlStreamReader_error(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
             ::QXmlStreamReader::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QXmlStreamReader_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_error, doc_QXmlStreamReader_error);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_hasError, "hasError(self) -> bool");

extern "C" {static PyObject *meth_QXmlStreamReader_hasError(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_hasError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasError();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_hasError, doc_QXmlStreamReader_hasError);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_setEntityResolver, "setEntityResolver(self, QXmlStreamEntityResolver)");

extern "C" {static PyObject *meth_QXmlStreamReader_setEntityResolver(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_setEntityResolver(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QXmlStreamEntityResolver* a0;
        PyObject *a0Keep;
         ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlStreamReader, &sipCpp, &a0Keep, sipType_QXmlStreamEntityResolver, &a0))
        {
            sipCpp->setEntityResolver(a0);

            sipKeepReference(sipSelf, -10, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_setEntityResolver, doc_QXmlStreamReader_setEntityResolver);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_entityResolver, "entityResolver(self) -> QXmlStreamEntityResolver");

extern "C" {static PyObject *meth_QXmlStreamReader_entityResolver(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_entityResolver(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
             ::QXmlStreamEntityResolver*sipRes;

            sipRes = sipCpp->entityResolver();

            return sipConvertFromType(sipRes,sipType_QXmlStreamEntityResolver,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_entityResolver, doc_QXmlStreamReader_entityResolver);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_readNextStartElement, "readNextStartElement(self) -> bool");

extern "C" {static PyObject *meth_QXmlStreamReader_readNextStartElement(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_readNextStartElement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->readNextStartElement();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_readNextStartElement, doc_QXmlStreamReader_readNextStartElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamReader_skipCurrentElement, "skipCurrentElement(self)");

extern "C" {static PyObject *meth_QXmlStreamReader_skipCurrentElement(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamReader_skipCurrentElement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QXmlStreamReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamReader, &sipCpp))
        {
            sipCpp->skipCurrentElement();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamReader, sipName_skipCurrentElement, doc_QXmlStreamReader_skipCurrentElement);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlStreamReader(void *, int);}
static void release_QXmlStreamReader(void *sipCppV, int)
{
    delete reinterpret_cast< ::QXmlStreamReader *>(sipCppV);
}


extern "C" {static void dealloc_QXmlStreamReader(sipSimpleWrapper *);}
static void dealloc_QXmlStreamReader(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QXmlStreamReader(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QXmlStreamReader(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlStreamReader(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QXmlStreamReader *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QXmlStreamReader();

            return sipCpp;
        }
    }

    {
         ::QIODevice* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            sipCpp = new  ::QXmlStreamReader(a0);

            return sipCpp;
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QByteArray, &a0, &a0State))
        {
            sipCpp = new  ::QXmlStreamReader(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new  ::QXmlStreamReader(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlStreamReader[] = {
    {SIP_MLNAME_CAST(sipName_addData), meth_QXmlStreamReader_addData, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_addData)},
    {SIP_MLNAME_CAST(sipName_addExtraNamespaceDeclaration), meth_QXmlStreamReader_addExtraNamespaceDeclaration, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_addExtraNamespaceDeclaration)},
    {SIP_MLNAME_CAST(sipName_addExtraNamespaceDeclarations), meth_QXmlStreamReader_addExtraNamespaceDeclarations, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_addExtraNamespaceDeclarations)},
    {SIP_MLNAME_CAST(sipName_atEnd), meth_QXmlStreamReader_atEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_atEnd)},
    {SIP_MLNAME_CAST(sipName_attributes), meth_QXmlStreamReader_attributes, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_attributes)},
    {SIP_MLNAME_CAST(sipName_characterOffset), meth_QXmlStreamReader_characterOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_characterOffset)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QXmlStreamReader_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_clear)},
    {SIP_MLNAME_CAST(sipName_columnNumber), meth_QXmlStreamReader_columnNumber, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_columnNumber)},
    {SIP_MLNAME_CAST(sipName_device), meth_QXmlStreamReader_device, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_device)},
    {SIP_MLNAME_CAST(sipName_documentEncoding), meth_QXmlStreamReader_documentEncoding, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_documentEncoding)},
    {SIP_MLNAME_CAST(sipName_documentVersion), meth_QXmlStreamReader_documentVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_documentVersion)},
    {SIP_MLNAME_CAST(sipName_dtdName), meth_QXmlStreamReader_dtdName, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_dtdName)},
    {SIP_MLNAME_CAST(sipName_dtdPublicId), meth_QXmlStreamReader_dtdPublicId, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_dtdPublicId)},
    {SIP_MLNAME_CAST(sipName_dtdSystemId), meth_QXmlStreamReader_dtdSystemId, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_dtdSystemId)},
    {SIP_MLNAME_CAST(sipName_entityDeclarations), meth_QXmlStreamReader_entityDeclarations, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_entityDeclarations)},
    {SIP_MLNAME_CAST(sipName_entityResolver), meth_QXmlStreamReader_entityResolver, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_entityResolver)},
    {SIP_MLNAME_CAST(sipName_error), meth_QXmlStreamReader_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QXmlStreamReader_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_errorString)},
    {SIP_MLNAME_CAST(sipName_hasError), meth_QXmlStreamReader_hasError, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_hasError)},
    {SIP_MLNAME_CAST(sipName_isCDATA), meth_QXmlStreamReader_isCDATA, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isCDATA)},
    {SIP_MLNAME_CAST(sipName_isCharacters), meth_QXmlStreamReader_isCharacters, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isCharacters)},
    {SIP_MLNAME_CAST(sipName_isComment), meth_QXmlStreamReader_isComment, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isComment)},
    {SIP_MLNAME_CAST(sipName_isDTD), meth_QXmlStreamReader_isDTD, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isDTD)},
    {SIP_MLNAME_CAST(sipName_isEndDocument), meth_QXmlStreamReader_isEndDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isEndDocument)},
    {SIP_MLNAME_CAST(sipName_isEndElement), meth_QXmlStreamReader_isEndElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isEndElement)},
    {SIP_MLNAME_CAST(sipName_isEntityReference), meth_QXmlStreamReader_isEntityReference, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isEntityReference)},
    {SIP_MLNAME_CAST(sipName_isProcessingInstruction), meth_QXmlStreamReader_isProcessingInstruction, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isProcessingInstruction)},
    {SIP_MLNAME_CAST(sipName_isStandaloneDocument), meth_QXmlStreamReader_isStandaloneDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isStandaloneDocument)},
    {SIP_MLNAME_CAST(sipName_isStartDocument), meth_QXmlStreamReader_isStartDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isStartDocument)},
    {SIP_MLNAME_CAST(sipName_isStartElement), meth_QXmlStreamReader_isStartElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isStartElement)},
    {SIP_MLNAME_CAST(sipName_isWhitespace), meth_QXmlStreamReader_isWhitespace, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_isWhitespace)},
    {SIP_MLNAME_CAST(sipName_lineNumber), meth_QXmlStreamReader_lineNumber, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_lineNumber)},
    {SIP_MLNAME_CAST(sipName_name), meth_QXmlStreamReader_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_name)},
    {SIP_MLNAME_CAST(sipName_namespaceDeclarations), meth_QXmlStreamReader_namespaceDeclarations, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_namespaceDeclarations)},
    {SIP_MLNAME_CAST(sipName_namespaceProcessing), meth_QXmlStreamReader_namespaceProcessing, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_namespaceProcessing)},
    {SIP_MLNAME_CAST(sipName_namespaceUri), meth_QXmlStreamReader_namespaceUri, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_namespaceUri)},
    {SIP_MLNAME_CAST(sipName_notationDeclarations), meth_QXmlStreamReader_notationDeclarations, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_notationDeclarations)},
    {SIP_MLNAME_CAST(sipName_prefix), meth_QXmlStreamReader_prefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_prefix)},
    {SIP_MLNAME_CAST(sipName_processingInstructionData), meth_QXmlStreamReader_processingInstructionData, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_processingInstructionData)},
    {SIP_MLNAME_CAST(sipName_processingInstructionTarget), meth_QXmlStreamReader_processingInstructionTarget, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_processingInstructionTarget)},
    {SIP_MLNAME_CAST(sipName_qualifiedName), meth_QXmlStreamReader_qualifiedName, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_qualifiedName)},
    {SIP_MLNAME_CAST(sipName_raiseError), (PyCFunction)meth_QXmlStreamReader_raiseError, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QXmlStreamReader_raiseError)},
    {SIP_MLNAME_CAST(sipName_readElementText), (PyCFunction)meth_QXmlStreamReader_readElementText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QXmlStreamReader_readElementText)},
    {SIP_MLNAME_CAST(sipName_readNext), meth_QXmlStreamReader_readNext, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_readNext)},
    {SIP_MLNAME_CAST(sipName_readNextStartElement), meth_QXmlStreamReader_readNextStartElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_readNextStartElement)},
    {SIP_MLNAME_CAST(sipName_setDevice), meth_QXmlStreamReader_setDevice, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_setDevice)},
    {SIP_MLNAME_CAST(sipName_setEntityResolver), meth_QXmlStreamReader_setEntityResolver, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_setEntityResolver)},
    {SIP_MLNAME_CAST(sipName_setNamespaceProcessing), meth_QXmlStreamReader_setNamespaceProcessing, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_setNamespaceProcessing)},
    {SIP_MLNAME_CAST(sipName_skipCurrentElement), meth_QXmlStreamReader_skipCurrentElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_skipCurrentElement)},
    {SIP_MLNAME_CAST(sipName_text), meth_QXmlStreamReader_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_text)},
    {SIP_MLNAME_CAST(sipName_tokenString), meth_QXmlStreamReader_tokenString, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_tokenString)},
    {SIP_MLNAME_CAST(sipName_tokenType), meth_QXmlStreamReader_tokenType, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamReader_tokenType)}
};

static sipEnumMemberDef enummembers_QXmlStreamReader[] = {
    {sipName_Characters, static_cast<int>( ::QXmlStreamReader::Characters), 318},
    {sipName_Comment, static_cast<int>( ::QXmlStreamReader::Comment), 318},
    {sipName_CustomError, static_cast<int>( ::QXmlStreamReader::CustomError), 316},
    {sipName_DTD, static_cast<int>( ::QXmlStreamReader::DTD), 318},
    {sipName_EndDocument, static_cast<int>( ::QXmlStreamReader::EndDocument), 318},
    {sipName_EndElement, static_cast<int>( ::QXmlStreamReader::EndElement), 318},
    {sipName_EntityReference, static_cast<int>( ::QXmlStreamReader::EntityReference), 318},
    {sipName_ErrorOnUnexpectedElement, static_cast<int>( ::QXmlStreamReader::ErrorOnUnexpectedElement), 317},
    {sipName_IncludeChildElements, static_cast<int>( ::QXmlStreamReader::IncludeChildElements), 317},
    {sipName_Invalid, static_cast<int>( ::QXmlStreamReader::Invalid), 318},
    {sipName_NoError, static_cast<int>( ::QXmlStreamReader::NoError), 316},
    {sipName_NoToken, static_cast<int>( ::QXmlStreamReader::NoToken), 318},
    {sipName_NotWellFormedError, static_cast<int>( ::QXmlStreamReader::NotWellFormedError), 316},
    {sipName_PrematureEndOfDocumentError, static_cast<int>( ::QXmlStreamReader::PrematureEndOfDocumentError), 316},
    {sipName_ProcessingInstruction, static_cast<int>( ::QXmlStreamReader::ProcessingInstruction), 318},
    {sipName_SkipChildElements, static_cast<int>( ::QXmlStreamReader::SkipChildElements), 317},
    {sipName_StartDocument, static_cast<int>( ::QXmlStreamReader::StartDocument), 318},
    {sipName_StartElement, static_cast<int>( ::QXmlStreamReader::StartElement), 318},
    {sipName_UnexpectedElementError, static_cast<int>( ::QXmlStreamReader::UnexpectedElementError), 316},
};

PyDoc_STRVAR(doc_QXmlStreamReader, "\1QXmlStreamReader()\n"
    "QXmlStreamReader(QIODevice)\n"
    "QXmlStreamReader(Union[QByteArray, bytes, bytearray])\n"
    "QXmlStreamReader(str)");


static pyqt5ClassPluginDef plugin_QXmlStreamReader = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QXmlStreamReader = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamReader,
        {0},
        &plugin_QXmlStreamReader
    },
    {
        sipNameNr_QXmlStreamReader,
        {0, 0, 1},
        52, methods_QXmlStreamReader,
        19, enummembers_QXmlStreamReader,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamReader,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlStreamReader,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlStreamReader,
    0,
    0,
    0,
    release_QXmlStreamReader,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 20456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQXmlStreamEntityResolver : public  ::QXmlStreamEntityResolver
{
public:
    sipQXmlStreamEntityResolver();
    sipQXmlStreamEntityResolver(const  ::QXmlStreamEntityResolver&);
    virtual ~sipQXmlStreamEntityResolver();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QString resolveUndeclaredEntity(const  ::QString&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQXmlStreamEntityResolver(const sipQXmlStreamEntityResolver &);
    sipQXmlStreamEntityResolver &operator = (const sipQXmlStreamEntityResolver &);

    char sipPyMethods[1];
};

sipQXmlStreamEntityResolver::sipQXmlStreamEntityResolver():  ::QXmlStreamEntityResolver(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlStreamEntityResolver::sipQXmlStreamEntityResolver(const  ::QXmlStreamEntityResolver& a0):  ::QXmlStreamEntityResolver(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlStreamEntityResolver::~sipQXmlStreamEntityResolver()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QString sipQXmlStreamEntityResolver::resolveUndeclaredEntity(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_resolveUndeclaredEntity);

    if (!sipMeth)
        return  ::QXmlStreamEntityResolver::resolveUndeclaredEntity(a0);

    extern  ::QString sipVH_QtCore_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_QtCore_66(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QXmlStreamEntityResolver_resolveUndeclaredEntity, "resolveUndeclaredEntity(self, str) -> str");

extern "C" {static PyObject *meth_QXmlStreamEntityResolver_resolveUndeclaredEntity(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamEntityResolver_resolveUndeclaredEntity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QXmlStreamEntityResolver *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamEntityResolver, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::QXmlStreamEntityResolver::resolveUndeclaredEntity(*a0) : sipCpp->resolveUndeclaredEntity(*a0)));
            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_QXmlStreamEntityResolver, sipName_resolveUndeclaredEntity, doc_QXmlStreamEntityResolver_resolveUndeclaredEntity);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlStreamEntityResolver(void *, int);}
static void release_QXmlStreamEntityResolver(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlStreamEntityResolver *>(sipCppV);
    else
        delete reinterpret_cast< ::QXmlStreamEntityResolver *>(sipCppV);
}


extern "C" {static void assign_QXmlStreamEntityResolver(void *, SIP_SSIZE_T, const void *);}
static void assign_QXmlStreamEntityResolver(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QXmlStreamEntityResolver *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QXmlStreamEntityResolver *>(sipSrc);
}


extern "C" {static void *array_QXmlStreamEntityResolver(SIP_SSIZE_T);}
static void *array_QXmlStreamEntityResolver(SIP_SSIZE_T sipNrElem)
{
    return new  ::QXmlStreamEntityResolver[sipNrElem];
}


extern "C" {static void *copy_QXmlStreamEntityResolver(const void *, SIP_SSIZE_T);}
static void *copy_QXmlStreamEntityResolver(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QXmlStreamEntityResolver(reinterpret_cast<const  ::QXmlStreamEntityResolver *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QXmlStreamEntityResolver(sipSimpleWrapper *);}
static void dealloc_QXmlStreamEntityResolver(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQXmlStreamEntityResolver *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QXmlStreamEntityResolver(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QXmlStreamEntityResolver(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlStreamEntityResolver(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlStreamEntityResolver *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQXmlStreamEntityResolver();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QXmlStreamEntityResolver* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlStreamEntityResolver, &a0))
        {
            sipCpp = new sipQXmlStreamEntityResolver(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlStreamEntityResolver[] = {
    {SIP_MLNAME_CAST(sipName_resolveUndeclaredEntity), meth_QXmlStreamEntityResolver_resolveUndeclaredEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamEntityResolver_resolveUndeclaredEntity)}
};

PyDoc_STRVAR(doc_QXmlStreamEntityResolver, "\1QXmlStreamEntityResolver()\n"
    "QXmlStreamEntityResolver(QXmlStreamEntityResolver)");


static pyqt5ClassPluginDef plugin_QXmlStreamEntityResolver = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QXmlStreamEntityResolver = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamEntityResolver,
        {0},
        &plugin_QXmlStreamEntityResolver
    },
    {
        sipNameNr_QXmlStreamEntityResolver,
        {0, 0, 1},
        1, methods_QXmlStreamEntityResolver,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamEntityResolver,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlStreamEntityResolver,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlStreamEntityResolver,
    assign_QXmlStreamEntityResolver,
    array_QXmlStreamEntityResolver,
    copy_QXmlStreamEntityResolver,
    release_QXmlStreamEntityResolver,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 20696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamEntityDeclaration_name, "name(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamEntityDeclaration_name(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamEntityDeclaration_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamEntityDeclaration *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamEntityDeclaration, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->name());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamEntityDeclaration, sipName_name, doc_QXmlStreamEntityDeclaration_name);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamEntityDeclaration_notationName, "notationName(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamEntityDeclaration_notationName(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamEntityDeclaration_notationName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamEntityDeclaration *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamEntityDeclaration, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->notationName());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamEntityDeclaration, sipName_notationName, doc_QXmlStreamEntityDeclaration_notationName);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamEntityDeclaration_systemId, "systemId(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamEntityDeclaration_systemId(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamEntityDeclaration_systemId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamEntityDeclaration *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamEntityDeclaration, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->systemId());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamEntityDeclaration, sipName_systemId, doc_QXmlStreamEntityDeclaration_systemId);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamEntityDeclaration_publicId, "publicId(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamEntityDeclaration_publicId(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamEntityDeclaration_publicId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamEntityDeclaration *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamEntityDeclaration, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->publicId());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamEntityDeclaration, sipName_publicId, doc_QXmlStreamEntityDeclaration_publicId);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamEntityDeclaration_value, "value(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamEntityDeclaration_value(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamEntityDeclaration_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamEntityDeclaration *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamEntityDeclaration, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->value());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamEntityDeclaration, sipName_value, doc_QXmlStreamEntityDeclaration_value);

    return NULL;
}


extern "C" {static PyObject *slot_QXmlStreamEntityDeclaration___ne__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamEntityDeclaration___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamEntityDeclaration *sipCpp = reinterpret_cast< ::QXmlStreamEntityDeclaration *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamEntityDeclaration));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamEntityDeclaration* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamEntityDeclaration, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QXmlStreamEntityDeclaration::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QXmlStreamEntityDeclaration, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QXmlStreamEntityDeclaration___eq__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamEntityDeclaration___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamEntityDeclaration *sipCpp = reinterpret_cast< ::QXmlStreamEntityDeclaration *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamEntityDeclaration));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamEntityDeclaration* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamEntityDeclaration, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QXmlStreamEntityDeclaration::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QXmlStreamEntityDeclaration, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlStreamEntityDeclaration(void *, int);}
static void release_QXmlStreamEntityDeclaration(void *sipCppV, int)
{
    delete reinterpret_cast< ::QXmlStreamEntityDeclaration *>(sipCppV);
}


extern "C" {static void assign_QXmlStreamEntityDeclaration(void *, SIP_SSIZE_T, const void *);}
static void assign_QXmlStreamEntityDeclaration(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QXmlStreamEntityDeclaration *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QXmlStreamEntityDeclaration *>(sipSrc);
}


extern "C" {static void *array_QXmlStreamEntityDeclaration(SIP_SSIZE_T);}
static void *array_QXmlStreamEntityDeclaration(SIP_SSIZE_T sipNrElem)
{
    return new  ::QXmlStreamEntityDeclaration[sipNrElem];
}


extern "C" {static void *copy_QXmlStreamEntityDeclaration(const void *, SIP_SSIZE_T);}
static void *copy_QXmlStreamEntityDeclaration(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QXmlStreamEntityDeclaration(reinterpret_cast<const  ::QXmlStreamEntityDeclaration *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QXmlStreamEntityDeclaration(sipSimpleWrapper *);}
static void dealloc_QXmlStreamEntityDeclaration(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QXmlStreamEntityDeclaration(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QXmlStreamEntityDeclaration(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlStreamEntityDeclaration(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QXmlStreamEntityDeclaration *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QXmlStreamEntityDeclaration();

            return sipCpp;
        }
    }

    {
        const  ::QXmlStreamEntityDeclaration* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlStreamEntityDeclaration, &a0))
        {
            sipCpp = new  ::QXmlStreamEntityDeclaration(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QXmlStreamEntityDeclaration[] = {
    {(void *)slot_QXmlStreamEntityDeclaration___ne__, ne_slot},
    {(void *)slot_QXmlStreamEntityDeclaration___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QXmlStreamEntityDeclaration[] = {
    {SIP_MLNAME_CAST(sipName_name), meth_QXmlStreamEntityDeclaration_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamEntityDeclaration_name)},
    {SIP_MLNAME_CAST(sipName_notationName), meth_QXmlStreamEntityDeclaration_notationName, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamEntityDeclaration_notationName)},
    {SIP_MLNAME_CAST(sipName_publicId), meth_QXmlStreamEntityDeclaration_publicId, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamEntityDeclaration_publicId)},
    {SIP_MLNAME_CAST(sipName_systemId), meth_QXmlStreamEntityDeclaration_systemId, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamEntityDeclaration_systemId)},
    {SIP_MLNAME_CAST(sipName_value), meth_QXmlStreamEntityDeclaration_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamEntityDeclaration_value)}
};

PyDoc_STRVAR(doc_QXmlStreamEntityDeclaration, "\1QXmlStreamEntityDeclaration()\n"
    "QXmlStreamEntityDeclaration(QXmlStreamEntityDeclaration)");


static pyqt5ClassPluginDef plugin_QXmlStreamEntityDeclaration = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QXmlStreamEntityDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamEntityDeclaration,
        {0},
        &plugin_QXmlStreamEntityDeclaration
    },
    {
        sipNameNr_QXmlStreamEntityDeclaration,
        {0, 0, 1},
        5, methods_QXmlStreamEntityDeclaration,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamEntityDeclaration,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QXmlStreamEntityDeclaration,
    init_type_QXmlStreamEntityDeclaration,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlStreamEntityDeclaration,
    assign_QXmlStreamEntityDeclaration,
    array_QXmlStreamEntityDeclaration,
    copy_QXmlStreamEntityDeclaration,
    release_QXmlStreamEntityDeclaration,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 21055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamNotationDeclaration_name, "name(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamNotationDeclaration_name(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamNotationDeclaration_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamNotationDeclaration *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamNotationDeclaration, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->name());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamNotationDeclaration, sipName_name, doc_QXmlStreamNotationDeclaration_name);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamNotationDeclaration_systemId, "systemId(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamNotationDeclaration_systemId(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamNotationDeclaration_systemId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamNotationDeclaration *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamNotationDeclaration, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->systemId());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamNotationDeclaration, sipName_systemId, doc_QXmlStreamNotationDeclaration_systemId);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamNotationDeclaration_publicId, "publicId(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamNotationDeclaration_publicId(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamNotationDeclaration_publicId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamNotationDeclaration *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamNotationDeclaration, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->publicId());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamNotationDeclaration, sipName_publicId, doc_QXmlStreamNotationDeclaration_publicId);

    return NULL;
}


extern "C" {static PyObject *slot_QXmlStreamNotationDeclaration___ne__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamNotationDeclaration___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamNotationDeclaration *sipCpp = reinterpret_cast< ::QXmlStreamNotationDeclaration *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamNotationDeclaration));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamNotationDeclaration* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamNotationDeclaration, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QXmlStreamNotationDeclaration::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QXmlStreamNotationDeclaration, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QXmlStreamNotationDeclaration___eq__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamNotationDeclaration___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamNotationDeclaration *sipCpp = reinterpret_cast< ::QXmlStreamNotationDeclaration *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamNotationDeclaration));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamNotationDeclaration* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamNotationDeclaration, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QXmlStreamNotationDeclaration::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QXmlStreamNotationDeclaration, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlStreamNotationDeclaration(void *, int);}
static void release_QXmlStreamNotationDeclaration(void *sipCppV, int)
{
    delete reinterpret_cast< ::QXmlStreamNotationDeclaration *>(sipCppV);
}


extern "C" {static void assign_QXmlStreamNotationDeclaration(void *, SIP_SSIZE_T, const void *);}
static void assign_QXmlStreamNotationDeclaration(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QXmlStreamNotationDeclaration *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QXmlStreamNotationDeclaration *>(sipSrc);
}


extern "C" {static void *array_QXmlStreamNotationDeclaration(SIP_SSIZE_T);}
static void *array_QXmlStreamNotationDeclaration(SIP_SSIZE_T sipNrElem)
{
    return new  ::QXmlStreamNotationDeclaration[sipNrElem];
}


extern "C" {static void *copy_QXmlStreamNotationDeclaration(const void *, SIP_SSIZE_T);}
static void *copy_QXmlStreamNotationDeclaration(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QXmlStreamNotationDeclaration(reinterpret_cast<const  ::QXmlStreamNotationDeclaration *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QXmlStreamNotationDeclaration(sipSimpleWrapper *);}
static void dealloc_QXmlStreamNotationDeclaration(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QXmlStreamNotationDeclaration(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QXmlStreamNotationDeclaration(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlStreamNotationDeclaration(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QXmlStreamNotationDeclaration *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QXmlStreamNotationDeclaration();

            return sipCpp;
        }
    }

    {
        const  ::QXmlStreamNotationDeclaration* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlStreamNotationDeclaration, &a0))
        {
            sipCpp = new  ::QXmlStreamNotationDeclaration(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QXmlStreamNotationDeclaration[] = {
    {(void *)slot_QXmlStreamNotationDeclaration___ne__, ne_slot},
    {(void *)slot_QXmlStreamNotationDeclaration___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QXmlStreamNotationDeclaration[] = {
    {SIP_MLNAME_CAST(sipName_name), meth_QXmlStreamNotationDeclaration_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamNotationDeclaration_name)},
    {SIP_MLNAME_CAST(sipName_publicId), meth_QXmlStreamNotationDeclaration_publicId, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamNotationDeclaration_publicId)},
    {SIP_MLNAME_CAST(sipName_systemId), meth_QXmlStreamNotationDeclaration_systemId, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamNotationDeclaration_systemId)}
};

PyDoc_STRVAR(doc_QXmlStreamNotationDeclaration, "\1QXmlStreamNotationDeclaration()\n"
    "QXmlStreamNotationDeclaration(QXmlStreamNotationDeclaration)");


static pyqt5ClassPluginDef plugin_QXmlStreamNotationDeclaration = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QXmlStreamNotationDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamNotationDeclaration,
        {0},
        &plugin_QXmlStreamNotationDeclaration
    },
    {
        sipNameNr_QXmlStreamNotationDeclaration,
        {0, 0, 1},
        3, methods_QXmlStreamNotationDeclaration,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamNotationDeclaration,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QXmlStreamNotationDeclaration,
    init_type_QXmlStreamNotationDeclaration,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlStreamNotationDeclaration,
    assign_QXmlStreamNotationDeclaration,
    array_QXmlStreamNotationDeclaration,
    copy_QXmlStreamNotationDeclaration,
    release_QXmlStreamNotationDeclaration,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 21356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamNamespaceDeclaration_prefix, "prefix(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamNamespaceDeclaration_prefix(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamNamespaceDeclaration_prefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamNamespaceDeclaration *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamNamespaceDeclaration, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->prefix());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamNamespaceDeclaration, sipName_prefix, doc_QXmlStreamNamespaceDeclaration_prefix);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamNamespaceDeclaration_namespaceUri, "namespaceUri(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamNamespaceDeclaration_namespaceUri(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamNamespaceDeclaration_namespaceUri(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamNamespaceDeclaration *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamNamespaceDeclaration, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->namespaceUri());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamNamespaceDeclaration, sipName_namespaceUri, doc_QXmlStreamNamespaceDeclaration_namespaceUri);

    return NULL;
}


extern "C" {static PyObject *slot_QXmlStreamNamespaceDeclaration___ne__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamNamespaceDeclaration___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamNamespaceDeclaration *sipCpp = reinterpret_cast< ::QXmlStreamNamespaceDeclaration *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamNamespaceDeclaration));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamNamespaceDeclaration* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamNamespaceDeclaration, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QXmlStreamNamespaceDeclaration::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QXmlStreamNamespaceDeclaration, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QXmlStreamNamespaceDeclaration___eq__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamNamespaceDeclaration___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamNamespaceDeclaration *sipCpp = reinterpret_cast< ::QXmlStreamNamespaceDeclaration *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamNamespaceDeclaration));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamNamespaceDeclaration* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamNamespaceDeclaration, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QXmlStreamNamespaceDeclaration::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QXmlStreamNamespaceDeclaration, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlStreamNamespaceDeclaration(void *, int);}
static void release_QXmlStreamNamespaceDeclaration(void *sipCppV, int)
{
    delete reinterpret_cast< ::QXmlStreamNamespaceDeclaration *>(sipCppV);
}


extern "C" {static void assign_QXmlStreamNamespaceDeclaration(void *, SIP_SSIZE_T, const void *);}
static void assign_QXmlStreamNamespaceDeclaration(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QXmlStreamNamespaceDeclaration *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QXmlStreamNamespaceDeclaration *>(sipSrc);
}


extern "C" {static void *array_QXmlStreamNamespaceDeclaration(SIP_SSIZE_T);}
static void *array_QXmlStreamNamespaceDeclaration(SIP_SSIZE_T sipNrElem)
{
    return new  ::QXmlStreamNamespaceDeclaration[sipNrElem];
}


extern "C" {static void *copy_QXmlStreamNamespaceDeclaration(const void *, SIP_SSIZE_T);}
static void *copy_QXmlStreamNamespaceDeclaration(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QXmlStreamNamespaceDeclaration(reinterpret_cast<const  ::QXmlStreamNamespaceDeclaration *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QXmlStreamNamespaceDeclaration(sipSimpleWrapper *);}
static void dealloc_QXmlStreamNamespaceDeclaration(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QXmlStreamNamespaceDeclaration(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QXmlStreamNamespaceDeclaration(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlStreamNamespaceDeclaration(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QXmlStreamNamespaceDeclaration *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QXmlStreamNamespaceDeclaration();

            return sipCpp;
        }
    }

    {
        const  ::QXmlStreamNamespaceDeclaration* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlStreamNamespaceDeclaration, &a0))
        {
            sipCpp = new  ::QXmlStreamNamespaceDeclaration(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp = new  ::QXmlStreamNamespaceDeclaration(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QXmlStreamNamespaceDeclaration[] = {
    {(void *)slot_QXmlStreamNamespaceDeclaration___ne__, ne_slot},
    {(void *)slot_QXmlStreamNamespaceDeclaration___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QXmlStreamNamespaceDeclaration[] = {
    {SIP_MLNAME_CAST(sipName_namespaceUri), meth_QXmlStreamNamespaceDeclaration_namespaceUri, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamNamespaceDeclaration_namespaceUri)},
    {SIP_MLNAME_CAST(sipName_prefix), meth_QXmlStreamNamespaceDeclaration_prefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamNamespaceDeclaration_prefix)}
};

PyDoc_STRVAR(doc_QXmlStreamNamespaceDeclaration, "\1QXmlStreamNamespaceDeclaration()\n"
    "QXmlStreamNamespaceDeclaration(QXmlStreamNamespaceDeclaration)\n"
    "QXmlStreamNamespaceDeclaration(str, str)");


static pyqt5ClassPluginDef plugin_QXmlStreamNamespaceDeclaration = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QXmlStreamNamespaceDeclaration = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamNamespaceDeclaration,
        {0},
        &plugin_QXmlStreamNamespaceDeclaration
    },
    {
        sipNameNr_QXmlStreamNamespaceDeclaration,
        {0, 0, 1},
        2, methods_QXmlStreamNamespaceDeclaration,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamNamespaceDeclaration,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QXmlStreamNamespaceDeclaration,
    init_type_QXmlStreamNamespaceDeclaration,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlStreamNamespaceDeclaration,
    assign_QXmlStreamNamespaceDeclaration,
    array_QXmlStreamNamespaceDeclaration,
    copy_QXmlStreamNamespaceDeclaration,
    release_QXmlStreamNamespaceDeclaration,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 48 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 21648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 21652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamAttributes_value, "value(self, str, str) -> str\n"
    "value(self, str) -> str");

extern "C" {static PyObject *meth_QXmlStreamAttributes_value(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->value(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->value(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_value, doc_QXmlStreamAttributes_value);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_append, "append(self, str, str, str)\n"
    "append(self, str, str)\n"
    "append(self, QXmlStreamAttribute)");

extern "C" {static PyObject *meth_QXmlStreamAttributes_append(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_append(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            sipCpp->append(*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;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->append(*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;
        }
    }

    {
        const  ::QXmlStreamAttribute* a0;
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QXmlStreamAttribute, &a0))
        {
            sipCpp->append(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_append, doc_QXmlStreamAttributes_append);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_hasAttribute, "hasAttribute(self, str) -> bool\n"
    "hasAttribute(self, str, str) -> bool");

extern "C" {static PyObject *meth_QXmlStreamAttributes_hasAttribute(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_hasAttribute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->hasAttribute(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->hasAttribute(*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_QXmlStreamAttributes, sipName_hasAttribute, doc_QXmlStreamAttributes_hasAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_at, "at(self, int) -> QXmlStreamAttribute");

extern "C" {static PyObject *meth_QXmlStreamAttributes_at(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_at(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, &a0))
        {
             ::QXmlStreamAttribute*sipRes;

            sipRes = new  ::QXmlStreamAttribute(sipCpp->at(a0));

            return sipConvertFromNewType(sipRes,sipType_QXmlStreamAttribute,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_at, doc_QXmlStreamAttributes_at);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_clear, "clear(self)");

extern "C" {static PyObject *meth_QXmlStreamAttributes_clear(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_clear, doc_QXmlStreamAttributes_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_contains, "contains(self, QXmlStreamAttribute) -> bool");

extern "C" {static PyObject *meth_QXmlStreamAttributes_contains(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute* a0;
        const  ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QXmlStreamAttribute, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->contains(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_contains, doc_QXmlStreamAttributes_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_count, "count(self, QXmlStreamAttribute) -> int\n"
    "count(self) -> int");

extern "C" {static PyObject *meth_QXmlStreamAttributes_count(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute* a0;
        const  ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QXmlStreamAttribute, &a0))
        {
            int sipRes;

            sipRes = sipCpp->count(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const  ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_count, doc_QXmlStreamAttributes_count);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_data, "data(self) -> sip.voidptr");

extern "C" {static PyObject *meth_QXmlStreamAttributes_data(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp))
        {
            void*sipRes;

            sipRes = sipCpp->data();

            return sipConvertFromVoidPtr(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_data, doc_QXmlStreamAttributes_data);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_fill, "fill(self, QXmlStreamAttribute, size: int = -1)");

extern "C" {static PyObject *meth_QXmlStreamAttributes_fill(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_fill(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute* a0;
        int a1 = -1;
         ::QXmlStreamAttributes *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_size,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QXmlStreamAttribute, &a0, &a1))
        {
            sipCpp->fill(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_fill, doc_QXmlStreamAttributes_fill);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_first, "first(self) -> QXmlStreamAttribute");

extern "C" {static PyObject *meth_QXmlStreamAttributes_first(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_first(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp))
        {
             ::QXmlStreamAttribute*sipRes;

            sipRes = &sipCpp->first();

            return sipConvertFromType(sipRes,sipType_QXmlStreamAttribute,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_first, doc_QXmlStreamAttributes_first);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_indexOf, "indexOf(self, QXmlStreamAttribute, from_: int = 0) -> int");

extern "C" {static PyObject *meth_QXmlStreamAttributes_indexOf(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_indexOf(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute* a0;
        int a1 = 0;
        const  ::QXmlStreamAttributes *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_from,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QXmlStreamAttribute, &a0, &a1))
        {
            int sipRes;

            sipRes = sipCpp->indexOf(*a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_indexOf, doc_QXmlStreamAttributes_indexOf);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_insert, "insert(self, int, QXmlStreamAttribute)");

extern "C" {static PyObject *meth_QXmlStreamAttributes_insert(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_insert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QXmlStreamAttribute* a1;
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, &a0, sipType_QXmlStreamAttribute, &a1))
        {
            sipCpp->insert(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_insert, doc_QXmlStreamAttributes_insert);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QXmlStreamAttributes_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_isEmpty, doc_QXmlStreamAttributes_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_last, "last(self) -> QXmlStreamAttribute");

extern "C" {static PyObject *meth_QXmlStreamAttributes_last(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_last(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp))
        {
             ::QXmlStreamAttribute*sipRes;

            sipRes = &sipCpp->last();

            return sipConvertFromType(sipRes,sipType_QXmlStreamAttribute,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_last, doc_QXmlStreamAttributes_last);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_lastIndexOf, "lastIndexOf(self, QXmlStreamAttribute, from_: int = -1) -> int");

extern "C" {static PyObject *meth_QXmlStreamAttributes_lastIndexOf(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_lastIndexOf(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute* a0;
        int a1 = -1;
        const  ::QXmlStreamAttributes *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_from,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QXmlStreamAttribute, &a0, &a1))
        {
            int sipRes;

            sipRes = sipCpp->lastIndexOf(*a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_lastIndexOf, doc_QXmlStreamAttributes_lastIndexOf);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_prepend, "prepend(self, QXmlStreamAttribute)");

extern "C" {static PyObject *meth_QXmlStreamAttributes_prepend(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_prepend(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute* a0;
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, sipType_QXmlStreamAttribute, &a0))
        {
            sipCpp->prepend(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_prepend, doc_QXmlStreamAttributes_prepend);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_remove, "remove(self, int)\n"
    "remove(self, int, int)");

extern "C" {static PyObject *meth_QXmlStreamAttributes_remove(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, &a0))
        {
            sipCpp->remove(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, &a0, &a1))
        {
            sipCpp->remove(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_remove, doc_QXmlStreamAttributes_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_replace, "replace(self, int, QXmlStreamAttribute)");

extern "C" {static PyObject *meth_QXmlStreamAttributes_replace(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_replace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QXmlStreamAttribute* a1;
         ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp, &a0, sipType_QXmlStreamAttribute, &a1))
        {
            sipCpp->replace(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_replace, doc_QXmlStreamAttributes_replace);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttributes_size, "size(self) -> int");

extern "C" {static PyObject *meth_QXmlStreamAttributes_size(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttributes_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttributes, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->size();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName_size, doc_QXmlStreamAttributes_size);

    return NULL;
}


extern "C" {static int slot_QXmlStreamAttributes___contains__(PyObject *,PyObject *);}
static int slot_QXmlStreamAttributes___contains__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamAttributes *sipCpp = reinterpret_cast< ::QXmlStreamAttributes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamAttributes));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamAttribute, &a0))
        {
            int sipRes = 0;

#line 230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
// It looks like you can't assign QBool to int.
sipRes = bool(sipCpp->contains(*a0));
#line 22359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName___contains__, NULL);

    return -1;
}


extern "C" {static int slot_QXmlStreamAttributes___delitem__(PyObject *,PyObject *);}
static int slot_QXmlStreamAttributes___delitem__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamAttributes *sipCpp = reinterpret_cast< ::QXmlStreamAttributes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamAttributes));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            int sipIsErr = 0;

#line 174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
int len;

len = sipCpp->count();

if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
    sipIsErr = 1;
else
    sipCpp->remove(a0);
#line 22398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
            int sipIsErr = 0;

#line 186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
Py_ssize_t len, start, stop, step, slicelength, i;

len = sipCpp->count();

#if PY_VERSION_HEX >= 0x03020000
if (PySlice_GetIndicesEx(a0, len, &start, &stop, &step, &slicelength) < 0)
#else
if (PySlice_GetIndicesEx((PySliceObject *)a0, len, &start, &stop, &step, &slicelength) < 0)
#endif
    sipIsErr = 1;
else
    for (i = 0; i < slicelength; ++i)
    {
        sipCpp->remove(start);
        start += step - 1;
    }
#line 22431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName___delitem__, NULL);

    return -1;
}


extern "C" {static int slot_QXmlStreamAttributes___setitem__(PyObject *,PyObject *);}
static int slot_QXmlStreamAttributes___setitem__(PyObject *sipSelf,PyObject *sipArgs)
{
     ::QXmlStreamAttributes *sipCpp = reinterpret_cast< ::QXmlStreamAttributes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamAttributes));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QXmlStreamAttribute* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ9", &a0, sipType_QXmlStreamAttribute, &a1))
        {
            int sipIsErr = 0;

#line 127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
int len;

len = sipCpp->count();

if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
    sipIsErr = 1;
else
    (*sipCpp)[a0] = *a1;
#line 22474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;
        const  ::QXmlStreamAttributes* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "TJ9", &PySlice_Type, &a0, sipType_QXmlStreamAttributes, &a1))
        {
            int sipIsErr = 0;

#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
Py_ssize_t len, start, stop, step, slicelength, i;

len = sipCpp->count();

#if PY_VERSION_HEX >= 0x03020000
if (PySlice_GetIndicesEx(a0, len, &start, &stop, &step, &slicelength) < 0)
#else
if (PySlice_GetIndicesEx((PySliceObject *)a0, len, &start, &stop, &step, &slicelength) < 0)
#endif
    sipIsErr = 1;
else
{
    int vlen = a1->count();

    if (vlen != slicelength)
    {
        sipBadLengthForSlice(vlen, slicelength);
        sipIsErr = 1;
    }
    else
    {
        QVector<QXmlStreamAttribute>::const_iterator it = a1->begin();

        for (i = 0; i < slicelength; ++i)
        {
            (*sipCpp)[start] = *it;
            start += step;
            ++it;
        }
    }
}
#line 22523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName___setitem__, NULL);

    return -1;
}


extern "C" {static PyObject *slot_QXmlStreamAttributes___getitem__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamAttributes___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamAttributes *sipCpp = reinterpret_cast< ::QXmlStreamAttributes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamAttributes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
             ::QXmlStreamAttribute*sipRes = 0;
            int sipIsErr = 0;

#line 115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count());

if (idx < 0)
    sipIsErr = 1;
else
    sipRes = new QXmlStreamAttribute(sipCpp->operator[]((int)idx));
#line 22564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromType(sipRes,sipType_QXmlStreamAttribute,NULL);
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
             ::QXmlStreamAttributes*sipRes = 0;
            int sipIsErr = 0;

#line 206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
Py_ssize_t len, start, stop, step, slicelength, i;

len = sipCpp->count();

#if PY_VERSION_HEX >= 0x03020000
if (PySlice_GetIndicesEx(a0, len, &start, &stop, &step, &slicelength) < 0)
#else
if (PySlice_GetIndicesEx((PySliceObject *)a0, len, &start, &stop, &step, &slicelength) < 0)
#endif
    sipIsErr = 1;
else
{
    sipRes = new QXmlStreamAttributes();

    for (i = 0; i < slicelength; ++i)
    {
        (*sipRes) += (*sipCpp)[start];
        start += step;
    }
}
#line 22602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromType(sipRes,sipType_QXmlStreamAttributes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttributes, sipName___getitem__, NULL);

    return 0;
}


extern "C" {static PyObject *slot_QXmlStreamAttributes___eq__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamAttributes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamAttributes *sipCpp = reinterpret_cast< ::QXmlStreamAttributes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamAttributes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttributes* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamAttributes, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QXmlStreamAttributes::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QXmlStreamAttributes, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QXmlStreamAttributes___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamAttributes___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamAttributes *sipCpp = reinterpret_cast< ::QXmlStreamAttributes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamAttributes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttributes* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamAttributes, &a0))
        {
            sipCpp-> ::QXmlStreamAttributes::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        const  ::QXmlStreamAttribute* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamAttribute, &a0))
        {
            sipCpp-> ::QXmlStreamAttributes::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_QXmlStreamAttributes___ne__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamAttributes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamAttributes *sipCpp = reinterpret_cast< ::QXmlStreamAttributes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamAttributes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttributes* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamAttributes, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QXmlStreamAttributes::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QXmlStreamAttributes, sipSelf, sipArg);
}


extern "C" {static SIP_SSIZE_T slot_QXmlStreamAttributes___len__(PyObject *);}
static SIP_SSIZE_T slot_QXmlStreamAttributes___len__(PyObject *sipSelf)
{
     ::QXmlStreamAttributes *sipCpp = reinterpret_cast< ::QXmlStreamAttributes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamAttributes));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 22738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlStreamAttributes(void *, int);}
static void release_QXmlStreamAttributes(void *sipCppV, int)
{
    delete reinterpret_cast< ::QXmlStreamAttributes *>(sipCppV);
}


extern "C" {static void assign_QXmlStreamAttributes(void *, SIP_SSIZE_T, const void *);}
static void assign_QXmlStreamAttributes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QXmlStreamAttributes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QXmlStreamAttributes *>(sipSrc);
}


extern "C" {static void *array_QXmlStreamAttributes(SIP_SSIZE_T);}
static void *array_QXmlStreamAttributes(SIP_SSIZE_T sipNrElem)
{
    return new  ::QXmlStreamAttributes[sipNrElem];
}


extern "C" {static void *copy_QXmlStreamAttributes(const void *, SIP_SSIZE_T);}
static void *copy_QXmlStreamAttributes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QXmlStreamAttributes(reinterpret_cast<const  ::QXmlStreamAttributes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QXmlStreamAttributes(sipSimpleWrapper *);}
static void dealloc_QXmlStreamAttributes(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QXmlStreamAttributes(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QXmlStreamAttributes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlStreamAttributes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QXmlStreamAttributes *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QXmlStreamAttributes();

            return sipCpp;
        }
    }

    {
        const  ::QXmlStreamAttributes* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlStreamAttributes, &a0))
        {
            sipCpp = new  ::QXmlStreamAttributes(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QXmlStreamAttributes[] = {
    {(void *)slot_QXmlStreamAttributes___contains__, contains_slot},
    {(void *)slot_QXmlStreamAttributes___delitem__, delitem_slot},
    {(void *)slot_QXmlStreamAttributes___setitem__, setitem_slot},
    {(void *)slot_QXmlStreamAttributes___getitem__, getitem_slot},
    {(void *)slot_QXmlStreamAttributes___eq__, eq_slot},
    {(void *)slot_QXmlStreamAttributes___iadd__, iconcat_slot},
    {(void *)slot_QXmlStreamAttributes___ne__, ne_slot},
    {(void *)slot_QXmlStreamAttributes___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QXmlStreamAttributes[] = {
    {SIP_MLNAME_CAST(sipName_append), meth_QXmlStreamAttributes_append, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_append)},
    {SIP_MLNAME_CAST(sipName_at), meth_QXmlStreamAttributes_at, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_at)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QXmlStreamAttributes_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_clear)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QXmlStreamAttributes_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_contains)},
    {SIP_MLNAME_CAST(sipName_count), meth_QXmlStreamAttributes_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_count)},
    {SIP_MLNAME_CAST(sipName_data), meth_QXmlStreamAttributes_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_data)},
    {SIP_MLNAME_CAST(sipName_fill), (PyCFunction)meth_QXmlStreamAttributes_fill, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_fill)},
    {SIP_MLNAME_CAST(sipName_first), meth_QXmlStreamAttributes_first, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_first)},
    {SIP_MLNAME_CAST(sipName_hasAttribute), meth_QXmlStreamAttributes_hasAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_hasAttribute)},
    {SIP_MLNAME_CAST(sipName_indexOf), (PyCFunction)meth_QXmlStreamAttributes_indexOf, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_indexOf)},
    {SIP_MLNAME_CAST(sipName_insert), meth_QXmlStreamAttributes_insert, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_insert)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QXmlStreamAttributes_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_isEmpty)},
    {SIP_MLNAME_CAST(sipName_last), meth_QXmlStreamAttributes_last, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_last)},
    {SIP_MLNAME_CAST(sipName_lastIndexOf), (PyCFunction)meth_QXmlStreamAttributes_lastIndexOf, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_lastIndexOf)},
    {SIP_MLNAME_CAST(sipName_prepend), meth_QXmlStreamAttributes_prepend, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_prepend)},
    {SIP_MLNAME_CAST(sipName_remove), meth_QXmlStreamAttributes_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_remove)},
    {SIP_MLNAME_CAST(sipName_replace), meth_QXmlStreamAttributes_replace, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_replace)},
    {SIP_MLNAME_CAST(sipName_size), meth_QXmlStreamAttributes_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_size)},
    {SIP_MLNAME_CAST(sipName_value), meth_QXmlStreamAttributes_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttributes_value)}
};

PyDoc_STRVAR(doc_QXmlStreamAttributes, "\1QXmlStreamAttributes()\n"
    "QXmlStreamAttributes(QXmlStreamAttributes)");


static pyqt5ClassPluginDef plugin_QXmlStreamAttributes = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QXmlStreamAttributes = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamAttributes,
        {0},
        &plugin_QXmlStreamAttributes
    },
    {
        sipNameNr_QXmlStreamAttributes,
        {0, 0, 1},
        19, methods_QXmlStreamAttributes,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamAttributes,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QXmlStreamAttributes,
    init_type_QXmlStreamAttributes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlStreamAttributes,
    assign_QXmlStreamAttributes,
    array_QXmlStreamAttributes,
    copy_QXmlStreamAttributes,
    release_QXmlStreamAttributes,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qxmlstream.sip"
#include <qxmlstream.h>
#line 22916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 22923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QXmlStreamAttribute_namespaceUri, "namespaceUri(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamAttribute_namespaceUri(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttribute_namespaceUri(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttribute, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->namespaceUri());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttribute, sipName_namespaceUri, doc_QXmlStreamAttribute_namespaceUri);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttribute_name, "name(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamAttribute_name(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttribute_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttribute, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->name());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttribute, sipName_name, doc_QXmlStreamAttribute_name);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttribute_qualifiedName, "qualifiedName(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamAttribute_qualifiedName(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttribute_qualifiedName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttribute, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->qualifiedName());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttribute, sipName_qualifiedName, doc_QXmlStreamAttribute_qualifiedName);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttribute_prefix, "prefix(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamAttribute_prefix(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttribute_prefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttribute, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->prefix());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttribute, sipName_prefix, doc_QXmlStreamAttribute_prefix);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttribute_value, "value(self) -> str");

extern "C" {static PyObject *meth_QXmlStreamAttribute_value(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttribute_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttribute, &sipCpp))
        {
             ::QStringRef*sipRes;

            sipRes = new  ::QStringRef(sipCpp->value());

            return sipConvertFromNewType(sipRes,sipType_QStringRef,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttribute, sipName_value, doc_QXmlStreamAttribute_value);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlStreamAttribute_isDefault, "isDefault(self) -> bool");

extern "C" {static PyObject *meth_QXmlStreamAttribute_isDefault(PyObject *, PyObject *);}
static PyObject *meth_QXmlStreamAttribute_isDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlStreamAttribute, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDefault();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlStreamAttribute, sipName_isDefault, doc_QXmlStreamAttribute_isDefault);

    return NULL;
}


extern "C" {static PyObject *slot_QXmlStreamAttribute___ne__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamAttribute___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamAttribute *sipCpp = reinterpret_cast< ::QXmlStreamAttribute *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamAttribute));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamAttribute, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QXmlStreamAttribute::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QXmlStreamAttribute, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QXmlStreamAttribute___eq__(PyObject *,PyObject *);}
static PyObject *slot_QXmlStreamAttribute___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QXmlStreamAttribute *sipCpp = reinterpret_cast< ::QXmlStreamAttribute *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlStreamAttribute));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QXmlStreamAttribute* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QXmlStreamAttribute, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QXmlStreamAttribute::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QXmlStreamAttribute, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlStreamAttribute(void *, int);}
static void release_QXmlStreamAttribute(void *sipCppV, int)
{
    delete reinterpret_cast< ::QXmlStreamAttribute *>(sipCppV);
}


extern "C" {static void assign_QXmlStreamAttribute(void *, SIP_SSIZE_T, const void *);}
static void assign_QXmlStreamAttribute(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QXmlStreamAttribute *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QXmlStreamAttribute *>(sipSrc);
}


extern "C" {static void *array_QXmlStreamAttribute(SIP_SSIZE_T);}
static void *array_QXmlStreamAttribute(SIP_SSIZE_T sipNrElem)
{
    return new  ::QXmlStreamAttribute[sipNrElem];
}


extern "C" {static void *copy_QXmlStreamAttribute(const void *, SIP_SSIZE_T);}
static void *copy_QXmlStreamAttribute(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QXmlStreamAttribute(reinterpret_cast<const  ::QXmlStreamAttribute *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QXmlStreamAttribute(sipSimpleWrapper *);}
static void dealloc_QXmlStreamAttribute(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QXmlStreamAttribute(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QXmlStreamAttribute(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlStreamAttribute(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QXmlStreamAttribute *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QXmlStreamAttribute();

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp = new  ::QXmlStreamAttribute(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            sipCpp = new  ::QXmlStreamAttribute(*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 sipCpp;
        }
    }

    {
        const  ::QXmlStreamAttribute* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlStreamAttribute, &a0))
        {
            sipCpp = new  ::QXmlStreamAttribute(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QXmlStreamAttribute[] = {
    {(void *)slot_QXmlStreamAttribute___ne__, ne_slot},
    {(void *)slot_QXmlStreamAttribute___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QXmlStreamAttribute[] = {
    {SIP_MLNAME_CAST(sipName_isDefault), meth_QXmlStreamAttribute_isDefault, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttribute_isDefault)},
    {SIP_MLNAME_CAST(sipName_name), meth_QXmlStreamAttribute_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttribute_name)},
    {SIP_MLNAME_CAST(sipName_namespaceUri), meth_QXmlStreamAttribute_namespaceUri, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttribute_namespaceUri)},
    {SIP_MLNAME_CAST(sipName_prefix), meth_QXmlStreamAttribute_prefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttribute_prefix)},
    {SIP_MLNAME_CAST(sipName_qualifiedName), meth_QXmlStreamAttribute_qualifiedName, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttribute_qualifiedName)},
    {SIP_MLNAME_CAST(sipName_value), meth_QXmlStreamAttribute_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlStreamAttribute_value)}
};

PyDoc_STRVAR(doc_QXmlStreamAttribute, "\1QXmlStreamAttribute()\n"
    "QXmlStreamAttribute(str, str)\n"
    "QXmlStreamAttribute(str, str, str)\n"
    "QXmlStreamAttribute(QXmlStreamAttribute)");


static pyqt5ClassPluginDef plugin_QXmlStreamAttribute = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QXmlStreamAttribute = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QXmlStreamAttribute,
        {0},
        &plugin_QXmlStreamAttribute
    },
    {
        sipNameNr_QXmlStreamAttribute,
        {0, 0, 1},
        6, methods_QXmlStreamAttribute,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlStreamAttribute,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QXmlStreamAttribute,
    init_type_QXmlStreamAttribute,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlStreamAttribute,
    assign_QXmlStreamAttribute,
    array_QXmlStreamAttribute,
    copy_QXmlStreamAttribute,
    release_QXmlStreamAttribute,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qwaitcondition.sip"
#include <qwaitcondition.h>
#line 23344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 54 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 23348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 23351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QWaitCondition_wait, "wait(self, QMutex, msecs: int = ULONG_MAX) -> bool\n"
    "wait(self, QReadWriteLock, msecs: int = ULONG_MAX) -> bool");

extern "C" {static PyObject *meth_QWaitCondition_wait(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWaitCondition_wait(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMutex* a0;
        unsigned long a1 = ULONG_MAX;
         ::QWaitCondition *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|m", &sipSelf, sipType_QWaitCondition, &sipCpp, sipType_QMutex, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wait(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
         ::QReadWriteLock* a0;
        unsigned long a1 = ULONG_MAX;
         ::QWaitCondition *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|m", &sipSelf, sipType_QWaitCondition, &sipCpp, sipType_QReadWriteLock, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wait(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWaitCondition, sipName_wait, doc_QWaitCondition_wait);

    return NULL;
}


PyDoc_STRVAR(doc_QWaitCondition_wakeOne, "wakeOne(self)");

extern "C" {static PyObject *meth_QWaitCondition_wakeOne(PyObject *, PyObject *);}
static PyObject *meth_QWaitCondition_wakeOne(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWaitCondition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWaitCondition, &sipCpp))
        {
            sipCpp->wakeOne();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWaitCondition, sipName_wakeOne, doc_QWaitCondition_wakeOne);

    return NULL;
}


PyDoc_STRVAR(doc_QWaitCondition_wakeAll, "wakeAll(self)");

extern "C" {static PyObject *meth_QWaitCondition_wakeAll(PyObject *, PyObject *);}
static PyObject *meth_QWaitCondition_wakeAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWaitCondition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWaitCondition, &sipCpp))
        {
            sipCpp->wakeAll();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWaitCondition, sipName_wakeAll, doc_QWaitCondition_wakeAll);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWaitCondition(void *, int);}
static void release_QWaitCondition(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWaitCondition *>(sipCppV);
}


extern "C" {static void dealloc_QWaitCondition(sipSimpleWrapper *);}
static void dealloc_QWaitCondition(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWaitCondition(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWaitCondition(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWaitCondition(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWaitCondition *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QWaitCondition();

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QWaitCondition[] = {
    {SIP_MLNAME_CAST(sipName_wait), (PyCFunction)meth_QWaitCondition_wait, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWaitCondition_wait)},
    {SIP_MLNAME_CAST(sipName_wakeAll), meth_QWaitCondition_wakeAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QWaitCondition_wakeAll)},
    {SIP_MLNAME_CAST(sipName_wakeOne), meth_QWaitCondition_wakeOne, METH_VARARGS, SIP_MLDOC_CAST(doc_QWaitCondition_wakeOne)}
};

PyDoc_STRVAR(doc_QWaitCondition, "\1QWaitCondition()");


static pyqt5ClassPluginDef plugin_QWaitCondition = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QWaitCondition = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWaitCondition,
        {0},
        &plugin_QWaitCondition
    },
    {
        sipNameNr_QWaitCondition,
        {0, 0, 1},
        3, methods_QWaitCondition,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWaitCondition,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QWaitCondition,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWaitCondition,
    0,
    0,
    0,
    release_QWaitCondition,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 34 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qversionnumber.sip"
#include <qversionnumber.h>
#line 23574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 23578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QVersionNumber_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QVersionNumber_isNull(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVersionNumber, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_isNull, doc_QVersionNumber_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_isNormalized, "isNormalized(self) -> bool");

extern "C" {static PyObject *meth_QVersionNumber_isNormalized(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_isNormalized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVersionNumber, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNormalized();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_isNormalized, doc_QVersionNumber_isNormalized);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_majorVersion, "majorVersion(self) -> int");

extern "C" {static PyObject *meth_QVersionNumber_majorVersion(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_majorVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVersionNumber, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->majorVersion();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_majorVersion, doc_QVersionNumber_majorVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_minorVersion, "minorVersion(self) -> int");

extern "C" {static PyObject *meth_QVersionNumber_minorVersion(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_minorVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVersionNumber, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minorVersion();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_minorVersion, doc_QVersionNumber_minorVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_microVersion, "microVersion(self) -> int");

extern "C" {static PyObject *meth_QVersionNumber_microVersion(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_microVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVersionNumber, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->microVersion();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_microVersion, doc_QVersionNumber_microVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_normalized, "normalized(self) -> QVersionNumber");

extern "C" {static PyObject *meth_QVersionNumber_normalized(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_normalized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVersionNumber, &sipCpp))
        {
             ::QVersionNumber*sipRes;

            sipRes = new  ::QVersionNumber(sipCpp->normalized());

            return sipConvertFromNewType(sipRes,sipType_QVersionNumber,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_normalized, doc_QVersionNumber_normalized);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_segments, "segments(self) -> List[int]");

extern "C" {static PyObject *meth_QVersionNumber_segments(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_segments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVersionNumber, &sipCpp))
        {
             ::QVector<int>*sipRes;

            sipRes = new  ::QVector<int>(sipCpp->segments());

            return sipConvertFromNewType(sipRes,sipType_QVector_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_segments, doc_QVersionNumber_segments);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_segmentAt, "segmentAt(self, int) -> int");

extern "C" {static PyObject *meth_QVersionNumber_segmentAt(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_segmentAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVersionNumber, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->segmentAt(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_segmentAt, doc_QVersionNumber_segmentAt);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_segmentCount, "segmentCount(self) -> int");

extern "C" {static PyObject *meth_QVersionNumber_segmentCount(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_segmentCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVersionNumber, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->segmentCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_segmentCount, doc_QVersionNumber_segmentCount);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_isPrefixOf, "isPrefixOf(self, QVersionNumber) -> bool");

extern "C" {static PyObject *meth_QVersionNumber_isPrefixOf(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_isPrefixOf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber* a0;
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QVersionNumber, &sipCpp, sipType_QVersionNumber, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isPrefixOf(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_isPrefixOf, doc_QVersionNumber_isPrefixOf);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_compare, "compare(QVersionNumber, QVersionNumber) -> int");

extern "C" {static PyObject *meth_QVersionNumber_compare(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_compare(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber* a0;
        const  ::QVersionNumber* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_QVersionNumber, &a0, sipType_QVersionNumber, &a1))
        {
            int sipRes;

            sipRes =  ::QVersionNumber::compare(*a0,*a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_compare, doc_QVersionNumber_compare);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_commonPrefix, "commonPrefix(QVersionNumber, QVersionNumber) -> QVersionNumber");

extern "C" {static PyObject *meth_QVersionNumber_commonPrefix(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_commonPrefix(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber* a0;
        const  ::QVersionNumber* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_QVersionNumber, &a0, sipType_QVersionNumber, &a1))
        {
             ::QVersionNumber*sipRes;

            sipRes = new  ::QVersionNumber( ::QVersionNumber::commonPrefix(*a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QVersionNumber,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_commonPrefix, doc_QVersionNumber_commonPrefix);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_toString, "toString(self) -> str");

extern "C" {static PyObject *meth_QVersionNumber_toString(PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_toString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVersionNumber, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_toString, doc_QVersionNumber_toString);

    return NULL;
}


PyDoc_STRVAR(doc_QVersionNumber_fromString, "fromString(str) -> Tuple[QVersionNumber, int]");

extern "C" {static PyObject *meth_QVersionNumber_fromString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVersionNumber_fromString(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1", sipType_QString,&a0, &a0State))
        {
             ::QVersionNumber*sipRes;

            sipRes = new  ::QVersionNumber( ::QVersionNumber::fromString(*a0,&a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QVersionNumber,NULL);
            return sipBuildResult(0,"(Ri)",sipResObj,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVersionNumber, sipName_fromString, doc_QVersionNumber_fromString);

    return NULL;
}


extern "C" {static PyObject *slot_QVersionNumber___eq__(PyObject *,PyObject *);}
static PyObject *slot_QVersionNumber___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVersionNumber *sipCpp = reinterpret_cast< ::QVersionNumber *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVersionNumber));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVersionNumber, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QVersionNumber, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVersionNumber___ne__(PyObject *,PyObject *);}
static PyObject *slot_QVersionNumber___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVersionNumber *sipCpp = reinterpret_cast< ::QVersionNumber *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVersionNumber));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVersionNumber, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QVersionNumber, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVersionNumber___lt__(PyObject *,PyObject *);}
static PyObject *slot_QVersionNumber___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVersionNumber *sipCpp = reinterpret_cast< ::QVersionNumber *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVersionNumber));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVersionNumber, &a0))
        {
            bool sipRes;

            sipRes = operator<((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QVersionNumber, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVersionNumber___le__(PyObject *,PyObject *);}
static PyObject *slot_QVersionNumber___le__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVersionNumber *sipCpp = reinterpret_cast< ::QVersionNumber *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVersionNumber));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVersionNumber, &a0))
        {
            bool sipRes;

            sipRes = operator<=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, le_slot, sipType_QVersionNumber, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVersionNumber___gt__(PyObject *,PyObject *);}
static PyObject *slot_QVersionNumber___gt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVersionNumber *sipCpp = reinterpret_cast< ::QVersionNumber *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVersionNumber));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVersionNumber, &a0))
        {
            bool sipRes;

            sipRes = operator>((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, gt_slot, sipType_QVersionNumber, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVersionNumber___ge__(PyObject *,PyObject *);}
static PyObject *slot_QVersionNumber___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVersionNumber *sipCpp = reinterpret_cast< ::QVersionNumber *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVersionNumber));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVersionNumber* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QVersionNumber, &a0))
        {
            bool sipRes;

            sipRes = operator>=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QVersionNumber, sipSelf, sipArg);
}


extern "C" {static long slot_QVersionNumber___hash__(PyObject *);}
static long slot_QVersionNumber___hash__(PyObject *sipSelf)
{
     ::QVersionNumber *sipCpp = reinterpret_cast< ::QVersionNumber *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVersionNumber));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 59 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qversionnumber.sip"
        sipRes = qHash(*sipCpp);
#line 24195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QVersionNumber(void *, int);}
static void release_QVersionNumber(void *sipCppV, int)
{
    delete reinterpret_cast< ::QVersionNumber *>(sipCppV);
}


extern "C" {static void assign_QVersionNumber(void *, SIP_SSIZE_T, const void *);}
static void assign_QVersionNumber(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QVersionNumber *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QVersionNumber *>(sipSrc);
}


extern "C" {static void *array_QVersionNumber(SIP_SSIZE_T);}
static void *array_QVersionNumber(SIP_SSIZE_T sipNrElem)
{
    return new  ::QVersionNumber[sipNrElem];
}


extern "C" {static void *copy_QVersionNumber(const void *, SIP_SSIZE_T);}
static void *copy_QVersionNumber(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QVersionNumber(reinterpret_cast<const  ::QVersionNumber *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QVersionNumber(sipSimpleWrapper *);}
static void dealloc_QVersionNumber(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVersionNumber(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QVersionNumber(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVersionNumber(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QVersionNumber *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QVersionNumber();

            return sipCpp;
        }
    }

    {
        const  ::QVector<int>* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QVector_1800,&a0, &a0State))
        {
            sipCpp = new  ::QVersionNumber(*a0);
            sipReleaseType(const_cast< ::QVector<int> *>(a0),sipType_QVector_1800,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QVersionNumber(a0);

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "ii", &a0, &a1))
        {
            sipCpp = new  ::QVersionNumber(a0,a1);

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iii", &a0, &a1, &a2))
        {
            sipCpp = new  ::QVersionNumber(a0,a1,a2);

            return sipCpp;
        }
    }

    {
        const  ::QVersionNumber* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QVersionNumber, &a0))
        {
            sipCpp = new  ::QVersionNumber(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QVersionNumber[] = {
    {(void *)slot_QVersionNumber___eq__, eq_slot},
    {(void *)slot_QVersionNumber___ne__, ne_slot},
    {(void *)slot_QVersionNumber___lt__, lt_slot},
    {(void *)slot_QVersionNumber___le__, le_slot},
    {(void *)slot_QVersionNumber___gt__, gt_slot},
    {(void *)slot_QVersionNumber___ge__, ge_slot},
    {(void *)slot_QVersionNumber___hash__, hash_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QVersionNumber[] = {
    {SIP_MLNAME_CAST(sipName_commonPrefix), meth_QVersionNumber_commonPrefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_commonPrefix)},
    {SIP_MLNAME_CAST(sipName_compare), meth_QVersionNumber_compare, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_compare)},
    {SIP_MLNAME_CAST(sipName_fromString), (PyCFunction)meth_QVersionNumber_fromString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVersionNumber_fromString)},
    {SIP_MLNAME_CAST(sipName_isNormalized), meth_QVersionNumber_isNormalized, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_isNormalized)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QVersionNumber_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_isNull)},
    {SIP_MLNAME_CAST(sipName_isPrefixOf), meth_QVersionNumber_isPrefixOf, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_isPrefixOf)},
    {SIP_MLNAME_CAST(sipName_majorVersion), meth_QVersionNumber_majorVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_majorVersion)},
    {SIP_MLNAME_CAST(sipName_microVersion), meth_QVersionNumber_microVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_microVersion)},
    {SIP_MLNAME_CAST(sipName_minorVersion), meth_QVersionNumber_minorVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_minorVersion)},
    {SIP_MLNAME_CAST(sipName_normalized), meth_QVersionNumber_normalized, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_normalized)},
    {SIP_MLNAME_CAST(sipName_segmentAt), meth_QVersionNumber_segmentAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_segmentAt)},
    {SIP_MLNAME_CAST(sipName_segmentCount), meth_QVersionNumber_segmentCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_segmentCount)},
    {SIP_MLNAME_CAST(sipName_segments), meth_QVersionNumber_segments, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_segments)},
    {SIP_MLNAME_CAST(sipName_toString), meth_QVersionNumber_toString, METH_VARARGS, SIP_MLDOC_CAST(doc_QVersionNumber_toString)}
};

PyDoc_STRVAR(doc_QVersionNumber, "\1QVersionNumber()\n"
    "QVersionNumber(Iterable[int])\n"
    "QVersionNumber(int)\n"
    "QVersionNumber(int, int)\n"
    "QVersionNumber(int, int, int)\n"
    "QVersionNumber(QVersionNumber)");


static pyqt5ClassPluginDef plugin_QVersionNumber = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QVersionNumber = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVersionNumber,
        {0},
        &plugin_QVersionNumber
    },
    {
        sipNameNr_QVersionNumber,
        {0, 0, 1},
        14, methods_QVersionNumber,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVersionNumber,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QVersionNumber,
    init_type_QVersionNumber,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVersionNumber,
    assign_QVersionNumber,
    array_QVersionNumber,
    copy_QVersionNumber,
    release_QVersionNumber,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 24420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 24424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QVariant_value, "value(self) -> object");

extern "C" {static PyObject *meth_QVariant_value(PyObject *, PyObject *);}
static PyObject *meth_QVariant_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
        sipRes = qpycore_PyObject_FromQVariant(*sipCpp);
#line 24444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_value, doc_QVariant_value);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_type, "type(self) -> QVariant.Type");

extern "C" {static PyObject *meth_QVariant_type(PyObject *, PyObject *);}
static PyObject *meth_QVariant_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
             ::QVariant::Type sipRes;

            sipRes = sipCpp->type();

            return sipConvertFromEnum(sipRes,sipType_QVariant_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_type, doc_QVariant_type);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_userType, "userType(self) -> int");

extern "C" {static PyObject *meth_QVariant_userType(PyObject *, PyObject *);}
static PyObject *meth_QVariant_userType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->userType();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_userType, doc_QVariant_userType);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_typeName, "typeName(self) -> str");

extern "C" {static PyObject *meth_QVariant_typeName(PyObject *, PyObject *);}
static PyObject *meth_QVariant_typeName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->typeName();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_typeName, doc_QVariant_typeName);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_canConvert, "canConvert(self, int) -> bool");

extern "C" {static PyObject *meth_QVariant_canConvert(PyObject *, PyObject *);}
static PyObject *meth_QVariant_canConvert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVariant, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->canConvert(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_canConvert, doc_QVariant_canConvert);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_convert, "convert(self, int) -> bool");

extern "C" {static PyObject *meth_QVariant_convert(PyObject *, PyObject *);}
static PyObject *meth_QVariant_convert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVariant, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->convert(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_convert, doc_QVariant_convert);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QVariant_isValid(PyObject *, PyObject *);}
static PyObject *meth_QVariant_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_isValid, doc_QVariant_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QVariant_isNull(PyObject *, PyObject *);}
static PyObject *meth_QVariant_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_isNull, doc_QVariant_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_clear, "clear(self)");

extern "C" {static PyObject *meth_QVariant_clear(PyObject *, PyObject *);}
static PyObject *meth_QVariant_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariant, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_clear, doc_QVariant_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_load, "load(self, QDataStream)");

extern "C" {static PyObject *meth_QVariant_load(PyObject *, PyObject *);}
static PyObject *meth_QVariant_load(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream* a0;
         ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QVariant, &sipCpp, sipType_QDataStream, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->load(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_load, doc_QVariant_load);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_save, "save(self, QDataStream)");

extern "C" {static PyObject *meth_QVariant_save(PyObject *, PyObject *);}
static PyObject *meth_QVariant_save(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream* a0;
        const  ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QVariant, &sipCpp, sipType_QDataStream, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->save(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_save, doc_QVariant_save);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_typeToName, "typeToName(int) -> str");

extern "C" {static PyObject *meth_QVariant_typeToName(PyObject *, PyObject *);}
static PyObject *meth_QVariant_typeToName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            const char*sipRes;

            sipRes =  ::QVariant::typeToName(a0);

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_typeToName, doc_QVariant_typeToName);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_nameToType, "nameToType(str) -> QVariant.Type");

extern "C" {static PyObject *meth_QVariant_nameToType(PyObject *, PyObject *);}
static PyObject *meth_QVariant_nameToType(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
             ::QVariant::Type sipRes;

            sipRes =  ::QVariant::nameToType(a0);
            Py_DECREF(a0Keep);

            return sipConvertFromEnum(sipRes,sipType_QVariant_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_nameToType, doc_QVariant_nameToType);

    return NULL;
}


PyDoc_STRVAR(doc_QVariant_swap, "swap(self, QVariant)");

extern "C" {static PyObject *meth_QVariant_swap(PyObject *, PyObject *);}
static PyObject *meth_QVariant_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QVariant* a0;
         ::QVariant *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QVariant, &sipCpp, sipType_QVariant, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariant, sipName_swap, doc_QVariant_swap);

    return NULL;
}


extern "C" {static PyObject *slot_QVariant___ge__(PyObject *,PyObject *);}
static PyObject *slot_QVariant___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVariant *sipCpp = reinterpret_cast< ::QVariant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVariant));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QVariant, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVariant::operator>=(*a0);
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QVariant, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVariant___gt__(PyObject *,PyObject *);}
static PyObject *slot_QVariant___gt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVariant *sipCpp = reinterpret_cast< ::QVariant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVariant));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QVariant, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVariant::operator>(*a0);
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, gt_slot, sipType_QVariant, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVariant___le__(PyObject *,PyObject *);}
static PyObject *slot_QVariant___le__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVariant *sipCpp = reinterpret_cast< ::QVariant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVariant));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QVariant, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVariant::operator<=(*a0);
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, le_slot, sipType_QVariant, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVariant___lt__(PyObject *,PyObject *);}
static PyObject *slot_QVariant___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVariant *sipCpp = reinterpret_cast< ::QVariant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVariant));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QVariant, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVariant::operator<(*a0);
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QVariant, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVariant___ne__(PyObject *,PyObject *);}
static PyObject *slot_QVariant___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVariant *sipCpp = reinterpret_cast< ::QVariant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVariant));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QVariant, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVariant::operator!=(*a0);
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QVariant, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QVariant___eq__(PyObject *,PyObject *);}
static PyObject *slot_QVariant___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QVariant *sipCpp = reinterpret_cast< ::QVariant *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QVariant));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QVariant, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QVariant::operator==(*a0);
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QVariant, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QVariant(void *, int);}
static void release_QVariant(void *sipCppV, int)
{
    delete reinterpret_cast< ::QVariant *>(sipCppV);
}


extern "C" {static void assign_QVariant(void *, SIP_SSIZE_T, const void *);}
static void assign_QVariant(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QVariant *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QVariant *>(sipSrc);
}


extern "C" {static void *array_QVariant(SIP_SSIZE_T);}
static void *array_QVariant(SIP_SSIZE_T sipNrElem)
{
    return new  ::QVariant[sipNrElem];
}


extern "C" {static void *copy_QVariant(const void *, SIP_SSIZE_T);}
static void *copy_QVariant(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QVariant(reinterpret_cast<const  ::QVariant *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QVariant(sipSimpleWrapper *);}
static void dealloc_QVariant(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVariant(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QVariant(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVariant(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QVariant *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QVariant();

            return sipCpp;
        }
    }

    {
         ::QVariant::Type a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "XE", sipType_QVariant_Type, &a0))
        {
            sipCpp = new  ::QVariant(a0);

            return sipCpp;
        }
    }

    {
        PyObject * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "P0", &a0))
        {
#line 128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
        int is_err = 0;
        QVariant var = qpycore_PyObject_AsQVariant(a0, &is_err);
        
        if (is_err)
            sipCpp = 0;
        else
            sipCpp = new QVariant(var);
#line 25121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipCpp;
        }
    }

    {
        const  ::QVariant* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QVariant, &a0, &a0State))
        {
            sipCpp = new  ::QVariant(*a0);
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QVariant(PyObject *, void **, int *, PyObject *);}
static int convertTo_QVariant(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QVariant **sipCppPtr = reinterpret_cast< ::QVariant **>(sipCppPtrV);

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
if (sipIsErr == NULL)
    // We can convert everything to a QVariant.
    return 1;

// If it is already a QVariant then just return it.
if (Py_TYPE(sipPy) == sipTypeAsPyTypeObject(sipType_QVariant))
{
    *sipCppPtr = reinterpret_cast<QVariant *>(sipConvertToType(sipPy,
            sipType_QVariant, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

    return 0;
}

// Convert it to a QVariant.
QVariant var = qpycore_PyObject_AsQVariant(sipPy, sipIsErr);

if (*sipIsErr)
    return 0;

*sipCppPtr = new QVariant(var);

return sipGetState(sipTransferObj);
#line 25172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QVariant(void *, PyObject *);}
static PyObject *convertFrom_QVariant(void *sipCppV, PyObject *)
{
    ::QVariant *sipCpp = reinterpret_cast< ::QVariant *>(sipCppV);

#line 55 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
return qpycore_PyObject_FromQVariant(*sipCpp);
#line 25183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QVariant[] = {
    {(void *)slot_QVariant___ge__, ge_slot},
    {(void *)slot_QVariant___gt__, gt_slot},
    {(void *)slot_QVariant___le__, le_slot},
    {(void *)slot_QVariant___lt__, lt_slot},
    {(void *)slot_QVariant___ne__, ne_slot},
    {(void *)slot_QVariant___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QVariant[] = {
    {SIP_MLNAME_CAST(sipName_canConvert), meth_QVariant_canConvert, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_canConvert)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QVariant_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_clear)},
    {SIP_MLNAME_CAST(sipName_convert), meth_QVariant_convert, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_convert)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QVariant_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_isNull)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QVariant_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_isValid)},
    {SIP_MLNAME_CAST(sipName_load), meth_QVariant_load, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_load)},
    {SIP_MLNAME_CAST(sipName_nameToType), meth_QVariant_nameToType, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_nameToType)},
    {SIP_MLNAME_CAST(sipName_save), meth_QVariant_save, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_save)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QVariant_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_swap)},
    {SIP_MLNAME_CAST(sipName_type), meth_QVariant_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_type)},
    {SIP_MLNAME_CAST(sipName_typeName), meth_QVariant_typeName, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_typeName)},
    {SIP_MLNAME_CAST(sipName_typeToName), meth_QVariant_typeToName, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_typeToName)},
    {SIP_MLNAME_CAST(sipName_userType), meth_QVariant_userType, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_userType)},
    {SIP_MLNAME_CAST(sipName_value), meth_QVariant_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariant_value)}
};

static sipEnumMemberDef enummembers_QVariant[] = {
    {sipName_BitArray, static_cast<int>( ::QVariant::BitArray), 296},
    {sipName_Bitmap, static_cast<int>( ::QVariant::Bitmap), 296},
    {sipName_Bool, static_cast<int>( ::QVariant::Bool), 296},
    {sipName_Brush, static_cast<int>( ::QVariant::Brush), 296},
    {sipName_ByteArray, static_cast<int>( ::QVariant::ByteArray), 296},
    {sipName_Char, static_cast<int>( ::QVariant::Char), 296},
    {sipName_Color, static_cast<int>( ::QVariant::Color), 296},
    {sipName_Cursor, static_cast<int>( ::QVariant::Cursor), 296},
    {sipName_Date, static_cast<int>( ::QVariant::Date), 296},
    {sipName_DateTime, static_cast<int>( ::QVariant::DateTime), 296},
    {sipName_Double, static_cast<int>( ::QVariant::Double), 296},
    {sipName_EasingCurve, static_cast<int>( ::QVariant::EasingCurve), 296},
    {sipName_Font, static_cast<int>( ::QVariant::Font), 296},
    {sipName_Hash, static_cast<int>( ::QVariant::Hash), 296},
    {sipName_Icon, static_cast<int>( ::QVariant::Icon), 296},
    {sipName_Image, static_cast<int>( ::QVariant::Image), 296},
    {sipName_Int, static_cast<int>( ::QVariant::Int), 296},
    {sipName_Invalid, static_cast<int>( ::QVariant::Invalid), 296},
    {sipName_KeySequence, static_cast<int>( ::QVariant::KeySequence), 296},
    {sipName_Line, static_cast<int>( ::QVariant::Line), 296},
    {sipName_LineF, static_cast<int>( ::QVariant::LineF), 296},
    {sipName_List, static_cast<int>( ::QVariant::List), 296},
    {sipName_Locale, static_cast<int>( ::QVariant::Locale), 296},
    {sipName_LongLong, static_cast<int>( ::QVariant::LongLong), 296},
    {sipName_Map, static_cast<int>( ::QVariant::Map), 296},
    {sipName_Matrix, static_cast<int>( ::QVariant::Matrix), 296},
    {sipName_Matrix4x4, static_cast<int>( ::QVariant::Matrix4x4), 296},
    {sipName_ModelIndex, static_cast<int>( ::QVariant::ModelIndex), 296},
    {sipName_Palette, static_cast<int>( ::QVariant::Palette), 296},
    {sipName_Pen, static_cast<int>( ::QVariant::Pen), 296},
    {sipName_PersistentModelIndex, static_cast<int>( ::QVariant::PersistentModelIndex), 296},
    {sipName_Pixmap, static_cast<int>( ::QVariant::Pixmap), 296},
    {sipName_Point, static_cast<int>( ::QVariant::Point), 296},
    {sipName_PointF, static_cast<int>( ::QVariant::PointF), 296},
    {sipName_Polygon, static_cast<int>( ::QVariant::Polygon), 296},
    {sipName_PolygonF, static_cast<int>( ::QVariant::PolygonF), 296},
    {sipName_Quaternion, static_cast<int>( ::QVariant::Quaternion), 296},
    {sipName_Rect, static_cast<int>( ::QVariant::Rect), 296},
    {sipName_RectF, static_cast<int>( ::QVariant::RectF), 296},
    {sipName_RegExp, static_cast<int>( ::QVariant::RegExp), 296},
    {sipName_Region, static_cast<int>( ::QVariant::Region), 296},
    {sipName_RegularExpression, static_cast<int>( ::QVariant::RegularExpression), 296},
    {sipName_Size, static_cast<int>( ::QVariant::Size), 296},
    {sipName_SizeF, static_cast<int>( ::QVariant::SizeF), 296},
    {sipName_SizePolicy, static_cast<int>( ::QVariant::SizePolicy), 296},
    {sipName_String, static_cast<int>( ::QVariant::String), 296},
    {sipName_StringList, static_cast<int>( ::QVariant::StringList), 296},
    {sipName_TextFormat, static_cast<int>( ::QVariant::TextFormat), 296},
    {sipName_TextLength, static_cast<int>( ::QVariant::TextLength), 296},
    {sipName_Time, static_cast<int>( ::QVariant::Time), 296},
    {sipName_Transform, static_cast<int>( ::QVariant::Transform), 296},
    {sipName_UInt, static_cast<int>( ::QVariant::UInt), 296},
    {sipName_ULongLong, static_cast<int>( ::QVariant::ULongLong), 296},
    {sipName_Url, static_cast<int>( ::QVariant::Url), 296},
    {sipName_UserType, static_cast<int>( ::QVariant::UserType), 296},
    {sipName_Uuid, static_cast<int>( ::QVariant::Uuid), 296},
    {sipName_Vector2D, static_cast<int>( ::QVariant::Vector2D), 296},
    {sipName_Vector3D, static_cast<int>( ::QVariant::Vector3D), 296},
    {sipName_Vector4D, static_cast<int>( ::QVariant::Vector4D), 296},
};

PyDoc_STRVAR(doc_QVariant, "\1QVariant()\n"
    "QVariant(QVariant.Type)\n"
    "QVariant(object)\n"
    "QVariant(QVariant)");


static pyqt5ClassPluginDef plugin_QVariant = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QVariant = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ALLOW_NONE|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVariant,
        {0},
        &plugin_QVariant
    },
    {
        sipNameNr_QVariant,
        {0, 0, 1},
        14, methods_QVariant,
        59, enummembers_QVariant,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVariant,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QVariant,
    init_type_QVariant,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVariant,
    assign_QVariant,
    array_QVariant,
    copy_QVariant,
    release_QVariant,
    0,
    convertTo_QVariant,
    convertFrom_QVariant,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 25344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 25348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 25351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QUuid_toString, "toString(self) -> str");

extern "C" {static PyObject *meth_QUuid_toString(PyObject *, PyObject *);}
static PyObject *meth_QUuid_toString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUuid, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUuid, sipName_toString, doc_QUuid_toString);

    return NULL;
}


PyDoc_STRVAR(doc_QUuid_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QUuid_isNull(PyObject *, PyObject *);}
static PyObject *meth_QUuid_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUuid, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUuid, sipName_isNull, doc_QUuid_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QUuid_createUuid, "createUuid() -> QUuid");

extern "C" {static PyObject *meth_QUuid_createUuid(PyObject *, PyObject *);}
static PyObject *meth_QUuid_createUuid(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QUuid*sipRes;

            sipRes = new  ::QUuid( ::QUuid::createUuid());

            return sipConvertFromNewType(sipRes,sipType_QUuid,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUuid, sipName_createUuid, doc_QUuid_createUuid);

    return NULL;
}


PyDoc_STRVAR(doc_QUuid_createUuidV3, "createUuidV3(QUuid, Union[QByteArray, bytes, bytearray]) -> QUuid\n"
    "createUuidV3(QUuid, str) -> QUuid");

extern "C" {static PyObject *meth_QUuid_createUuidV3(PyObject *, PyObject *);}
static PyObject *meth_QUuid_createUuidV3(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid* a0;
        const  ::QByteArray* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1", sipType_QUuid, &a0, sipType_QByteArray, &a1, &a1State))
        {
             ::QUuid*sipRes;

            sipRes = new  ::QUuid( ::QUuid::createUuidV3(*a0,*a1));
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromNewType(sipRes,sipType_QUuid,NULL);
        }
    }

    {
        const  ::QUuid* a0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1", sipType_QUuid, &a0, sipType_QString,&a1, &a1State))
        {
             ::QUuid*sipRes;

            sipRes = new  ::QUuid( ::QUuid::createUuidV3(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QUuid,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUuid, sipName_createUuidV3, doc_QUuid_createUuidV3);

    return NULL;
}


PyDoc_STRVAR(doc_QUuid_createUuidV5, "createUuidV5(QUuid, Union[QByteArray, bytes, bytearray]) -> QUuid\n"
    "createUuidV5(QUuid, str) -> QUuid");

extern "C" {static PyObject *meth_QUuid_createUuidV5(PyObject *, PyObject *);}
static PyObject *meth_QUuid_createUuidV5(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid* a0;
        const  ::QByteArray* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1", sipType_QUuid, &a0, sipType_QByteArray, &a1, &a1State))
        {
             ::QUuid*sipRes;

            sipRes = new  ::QUuid( ::QUuid::createUuidV5(*a0,*a1));
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromNewType(sipRes,sipType_QUuid,NULL);
        }
    }

    {
        const  ::QUuid* a0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J1", sipType_QUuid, &a0, sipType_QString,&a1, &a1State))
        {
             ::QUuid*sipRes;

            sipRes = new  ::QUuid( ::QUuid::createUuidV5(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QUuid,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUuid, sipName_createUuidV5, doc_QUuid_createUuidV5);

    return NULL;
}


PyDoc_STRVAR(doc_QUuid_variant, "variant(self) -> QUuid.Variant");

extern "C" {static PyObject *meth_QUuid_variant(PyObject *, PyObject *);}
static PyObject *meth_QUuid_variant(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUuid, &sipCpp))
        {
             ::QUuid::Variant sipRes;

            sipRes = sipCpp->variant();

            return sipConvertFromEnum(sipRes,sipType_QUuid_Variant);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUuid, sipName_variant, doc_QUuid_variant);

    return NULL;
}


PyDoc_STRVAR(doc_QUuid_version, "version(self) -> QUuid.Version");

extern "C" {static PyObject *meth_QUuid_version(PyObject *, PyObject *);}
static PyObject *meth_QUuid_version(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUuid, &sipCpp))
        {
             ::QUuid::Version sipRes;

            sipRes = sipCpp->version();

            return sipConvertFromEnum(sipRes,sipType_QUuid_Version);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUuid, sipName_version, doc_QUuid_version);

    return NULL;
}


PyDoc_STRVAR(doc_QUuid_toByteArray, "toByteArray(self) -> QByteArray");

extern "C" {static PyObject *meth_QUuid_toByteArray(PyObject *, PyObject *);}
static PyObject *meth_QUuid_toByteArray(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUuid, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toByteArray());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUuid, sipName_toByteArray, doc_QUuid_toByteArray);

    return NULL;
}


PyDoc_STRVAR(doc_QUuid_toRfc4122, "toRfc4122(self) -> QByteArray");

extern "C" {static PyObject *meth_QUuid_toRfc4122(PyObject *, PyObject *);}
static PyObject *meth_QUuid_toRfc4122(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUuid, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toRfc4122());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUuid, sipName_toRfc4122, doc_QUuid_toRfc4122);

    return NULL;
}


PyDoc_STRVAR(doc_QUuid_fromRfc4122, "fromRfc4122(Union[QByteArray, bytes, bytearray]) -> QUuid");

extern "C" {static PyObject *meth_QUuid_fromRfc4122(PyObject *, PyObject *);}
static PyObject *meth_QUuid_fromRfc4122(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QUuid*sipRes;

            sipRes = new  ::QUuid( ::QUuid::fromRfc4122(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUuid,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUuid, sipName_fromRfc4122, doc_QUuid_fromRfc4122);

    return NULL;
}


extern "C" {static PyObject *slot_QUuid___le__(PyObject *,PyObject *);}
static PyObject *slot_QUuid___le__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUuid *sipCpp = reinterpret_cast< ::QUuid *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUuid));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUuid, &a0))
        {
            bool sipRes;

            sipRes = operator<=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, le_slot, sipType_QUuid, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUuid___ge__(PyObject *,PyObject *);}
static PyObject *slot_QUuid___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUuid *sipCpp = reinterpret_cast< ::QUuid *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUuid));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUuid, &a0))
        {
            bool sipRes;

            sipRes = operator>=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QUuid, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUuid___gt__(PyObject *,PyObject *);}
static PyObject *slot_QUuid___gt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUuid *sipCpp = reinterpret_cast< ::QUuid *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUuid));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUuid, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QUuid::operator>(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, gt_slot, sipType_QUuid, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUuid___lt__(PyObject *,PyObject *);}
static PyObject *slot_QUuid___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUuid *sipCpp = reinterpret_cast< ::QUuid *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUuid));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUuid, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QUuid::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QUuid, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUuid___ne__(PyObject *,PyObject *);}
static PyObject *slot_QUuid___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUuid *sipCpp = reinterpret_cast< ::QUuid *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUuid));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUuid, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QUuid::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QUuid, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUuid___eq__(PyObject *,PyObject *);}
static PyObject *slot_QUuid___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUuid *sipCpp = reinterpret_cast< ::QUuid *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUuid));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUuid* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUuid, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QUuid::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QUuid, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUuid___repr__(PyObject *);}
static PyObject *slot_QUuid___repr__(PyObject *sipSelf)
{
     ::QUuid *sipCpp = reinterpret_cast< ::QUuid *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUuid));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 61 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/quuid.sip"
        PyObject *uni = qpycore_PyObject_FromQString(sipCpp->toString());
        
        if (uni)
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QUuid(%R)", uni);
        #else
            sipRes = PyString_FromFormat("PyQt5.QtCore.QUuid(");
            PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni));
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
            Py_DECREF(uni);
        }
#line 25896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static long slot_QUuid___hash__(PyObject *);}
static long slot_QUuid___hash__(PyObject *sipSelf)
{
     ::QUuid *sipCpp = reinterpret_cast< ::QUuid *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUuid));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 56 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/quuid.sip"
        sipRes = qHash(*sipCpp);
#line 25921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QUuid(void *, int);}
static void release_QUuid(void *sipCppV, int)
{
    delete reinterpret_cast< ::QUuid *>(sipCppV);
}


extern "C" {static void assign_QUuid(void *, SIP_SSIZE_T, const void *);}
static void assign_QUuid(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QUuid *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QUuid *>(sipSrc);
}


extern "C" {static void *array_QUuid(SIP_SSIZE_T);}
static void *array_QUuid(SIP_SSIZE_T sipNrElem)
{
    return new  ::QUuid[sipNrElem];
}


extern "C" {static void *copy_QUuid(const void *, SIP_SSIZE_T);}
static void *copy_QUuid(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QUuid(reinterpret_cast<const  ::QUuid *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QUuid(sipSimpleWrapper *);}
static void dealloc_QUuid(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QUuid(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QUuid(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUuid(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QUuid *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QUuid();

            return sipCpp;
        }
    }

    {
         ::uint a0;
         ::ushort a1;
         ::ushort a2;
         ::uchar a3;
         ::uchar a4;
         ::uchar a5;
         ::uchar a6;
         ::uchar a7;
         ::uchar a8;
         ::uchar a9;
         ::uchar a10;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "uttMMMMMMMM", &a0, &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10))
        {
            sipCpp = new  ::QUuid(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new  ::QUuid(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QByteArray, &a0, &a0State))
        {
            sipCpp = new  ::QUuid(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QUuid* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QUuid, &a0))
        {
            sipCpp = new  ::QUuid(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QUuid[] = {
    {(void *)slot_QUuid___le__, le_slot},
    {(void *)slot_QUuid___ge__, ge_slot},
    {(void *)slot_QUuid___gt__, gt_slot},
    {(void *)slot_QUuid___lt__, lt_slot},
    {(void *)slot_QUuid___ne__, ne_slot},
    {(void *)slot_QUuid___eq__, eq_slot},
    {(void *)slot_QUuid___repr__, repr_slot},
    {(void *)slot_QUuid___hash__, hash_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QUuid[] = {
    {SIP_MLNAME_CAST(sipName_createUuid), meth_QUuid_createUuid, METH_VARARGS, SIP_MLDOC_CAST(doc_QUuid_createUuid)},
    {SIP_MLNAME_CAST(sipName_createUuidV3), meth_QUuid_createUuidV3, METH_VARARGS, SIP_MLDOC_CAST(doc_QUuid_createUuidV3)},
    {SIP_MLNAME_CAST(sipName_createUuidV5), meth_QUuid_createUuidV5, METH_VARARGS, SIP_MLDOC_CAST(doc_QUuid_createUuidV5)},
    {SIP_MLNAME_CAST(sipName_fromRfc4122), meth_QUuid_fromRfc4122, METH_VARARGS, SIP_MLDOC_CAST(doc_QUuid_fromRfc4122)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QUuid_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QUuid_isNull)},
    {SIP_MLNAME_CAST(sipName_toByteArray), meth_QUuid_toByteArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QUuid_toByteArray)},
    {SIP_MLNAME_CAST(sipName_toRfc4122), meth_QUuid_toRfc4122, METH_VARARGS, SIP_MLDOC_CAST(doc_QUuid_toRfc4122)},
    {SIP_MLNAME_CAST(sipName_toString), meth_QUuid_toString, METH_VARARGS, SIP_MLDOC_CAST(doc_QUuid_toString)},
    {SIP_MLNAME_CAST(sipName_variant), meth_QUuid_variant, METH_VARARGS, SIP_MLDOC_CAST(doc_QUuid_variant)},
    {SIP_MLNAME_CAST(sipName_version), meth_QUuid_version, METH_VARARGS, SIP_MLDOC_CAST(doc_QUuid_version)}
};

static sipEnumMemberDef enummembers_QUuid[] = {
    {sipName_DCE, static_cast<int>( ::QUuid::DCE), 293},
    {sipName_EmbeddedPOSIX, static_cast<int>( ::QUuid::EmbeddedPOSIX), 294},
    {sipName_Md5, static_cast<int>( ::QUuid::Md5), 294},
    {sipName_Microsoft, static_cast<int>( ::QUuid::Microsoft), 293},
    {sipName_NCS, static_cast<int>( ::QUuid::NCS), 293},
    {sipName_Name, static_cast<int>( ::QUuid::Name), 294},
    {sipName_Random, static_cast<int>( ::QUuid::Random), 294},
    {sipName_Reserved, static_cast<int>( ::QUuid::Reserved), 293},
    {sipName_Sha1, static_cast<int>( ::QUuid::Sha1), 294},
    {sipName_Time, static_cast<int>( ::QUuid::Time), 294},
    {sipName_VarUnknown, static_cast<int>( ::QUuid::VarUnknown), 293},
    {sipName_VerUnknown, static_cast<int>( ::QUuid::VerUnknown), 294},
};

PyDoc_STRVAR(doc_QUuid, "\1QUuid()\n"
    "QUuid(int, int, int, int, int, int, int, int, int, int, int)\n"
    "QUuid(str)\n"
    "QUuid(Union[QByteArray, bytes, bytearray])\n"
    "QUuid(QUuid)");


static pyqt5ClassPluginDef plugin_QUuid = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QUuid = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QUuid,
        {0},
        &plugin_QUuid
    },
    {
        sipNameNr_QUuid,
        {0, 0, 1},
        10, methods_QUuid,
        12, enummembers_QUuid,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUuid,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QUuid,
    init_type_QUuid,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUuid,
    assign_QUuid,
    array_QUuid,
    copy_QUuid,
    release_QUuid,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurlquery.sip"
#include <qurlquery.h>
#line 26155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 26159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 26162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 26165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 26168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 26171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 26175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QUrlQuery_swap, "swap(self, QUrlQuery)");

extern "C" {static PyObject *meth_QUrlQuery_swap(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrlQuery* a0;
         ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QUrlQuery, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_swap, doc_QUrlQuery_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QUrlQuery_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrlQuery, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_isEmpty, doc_QUrlQuery_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_isDetached, "isDetached(self) -> bool");

extern "C" {static PyObject *meth_QUrlQuery_isDetached(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_isDetached(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrlQuery, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDetached();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_isDetached, doc_QUrlQuery_isDetached);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_clear, "clear(self)");

extern "C" {static PyObject *meth_QUrlQuery_clear(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrlQuery, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_clear, doc_QUrlQuery_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_query, "query(self, options: Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption] = QUrl.PrettyDecoded) -> str");

extern "C" {static PyObject *meth_QUrlQuery_query(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_query(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::PrettyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrlQuery *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->query(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_query, doc_QUrlQuery_query);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_setQuery, "setQuery(self, str)");

extern "C" {static PyObject *meth_QUrlQuery_setQuery(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_setQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setQuery(*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_QUrlQuery, sipName_setQuery, doc_QUrlQuery_setQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_toString, "toString(self, options: Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption] = QUrl.PrettyDecoded) -> str");

extern "C" {static PyObject *meth_QUrlQuery_toString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_toString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::PrettyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrlQuery *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_toString, doc_QUrlQuery_toString);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_setQueryDelimiters, "setQueryDelimiters(self, str, str)");

extern "C" {static PyObject *meth_QUrlQuery_setQueryDelimiters(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_setQueryDelimiters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QChar* a0;
        int a0State = 0;
         ::QChar* a1;
        int a1State = 0;
         ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QChar,&a0, &a0State, sipType_QChar,&a1, &a1State))
        {
            sipCpp->setQueryDelimiters(*a0,*a1);
            sipReleaseType(a0,sipType_QChar,a0State);
            sipReleaseType(a1,sipType_QChar,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_setQueryDelimiters, doc_QUrlQuery_setQueryDelimiters);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_queryValueDelimiter, "queryValueDelimiter(self) -> str");

extern "C" {static PyObject *meth_QUrlQuery_queryValueDelimiter(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_queryValueDelimiter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrlQuery, &sipCpp))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar(sipCpp->queryValueDelimiter());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_queryValueDelimiter, doc_QUrlQuery_queryValueDelimiter);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_queryPairDelimiter, "queryPairDelimiter(self) -> str");

extern "C" {static PyObject *meth_QUrlQuery_queryPairDelimiter(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_queryPairDelimiter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrlQuery, &sipCpp))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar(sipCpp->queryPairDelimiter());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_queryPairDelimiter, doc_QUrlQuery_queryPairDelimiter);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_setQueryItems, "setQueryItems(self, object)");

extern "C" {static PyObject *meth_QUrlQuery_setQueryItems(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_setQueryItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QPair<QString,QString> >* a0;
        int a0State = 0;
         ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QList_0600QPair_0100QString_0100QString,&a0, &a0State))
        {
            sipCpp->setQueryItems(*a0);
            sipReleaseType(const_cast<QList<QPair<QString,QString> > *>(a0),sipType_QList_0600QPair_0100QString_0100QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_setQueryItems, doc_QUrlQuery_setQueryItems);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_queryItems, "queryItems(self, options: Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption] = QUrl.PrettyDecoded) -> List[Tuple[str, str]]");

extern "C" {static PyObject *meth_QUrlQuery_queryItems(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_queryItems(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::PrettyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrlQuery *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
            QList<QPair<QString,QString> >*sipRes;

            sipRes = new QList<QPair<QString,QString> >(sipCpp->queryItems(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0600QPair_0100QString_0100QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_queryItems, doc_QUrlQuery_queryItems);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_hasQueryItem, "hasQueryItem(self, str) -> bool");

extern "C" {static PyObject *meth_QUrlQuery_hasQueryItem(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_hasQueryItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->hasQueryItem(*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_QUrlQuery, sipName_hasQueryItem, doc_QUrlQuery_hasQueryItem);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_addQueryItem, "addQueryItem(self, str, str)");

extern "C" {static PyObject *meth_QUrlQuery_addQueryItem(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_addQueryItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->addQueryItem(*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_QUrlQuery, sipName_addQueryItem, doc_QUrlQuery_addQueryItem);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_removeQueryItem, "removeQueryItem(self, str)");

extern "C" {static PyObject *meth_QUrlQuery_removeQueryItem(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_removeQueryItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->removeQueryItem(*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_QUrlQuery, sipName_removeQueryItem, doc_QUrlQuery_removeQueryItem);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_queryItemValue, "queryItemValue(self, str, options: Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption] = QUrl.PrettyDecoded) -> str");

extern "C" {static PyObject *meth_QUrlQuery_queryItemValue(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_queryItemValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ComponentFormattingOptions a1def = QUrl::PrettyDecoded;
         ::QUrl::ComponentFormattingOptions* a1 = &a1def;
        int a1State = 0;
        const  ::QUrlQuery *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ComponentFormattingOptions, &a1, &a1State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->queryItemValue(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QUrl_ComponentFormattingOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_queryItemValue, doc_QUrlQuery_queryItemValue);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_allQueryItemValues, "allQueryItemValues(self, str, options: Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption] = QUrl.PrettyDecoded) -> List[str]");

extern "C" {static PyObject *meth_QUrlQuery_allQueryItemValues(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_allQueryItemValues(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ComponentFormattingOptions a1def = QUrl::PrettyDecoded;
         ::QUrl::ComponentFormattingOptions* a1 = &a1def;
        int a1State = 0;
        const  ::QUrlQuery *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ComponentFormattingOptions, &a1, &a1State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->allQueryItemValues(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QUrl_ComponentFormattingOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_allQueryItemValues, doc_QUrlQuery_allQueryItemValues);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_removeAllQueryItems, "removeAllQueryItems(self, str)");

extern "C" {static PyObject *meth_QUrlQuery_removeAllQueryItems(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_removeAllQueryItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrlQuery *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrlQuery, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->removeAllQueryItems(*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_QUrlQuery, sipName_removeAllQueryItems, doc_QUrlQuery_removeAllQueryItems);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_defaultQueryValueDelimiter, "defaultQueryValueDelimiter() -> str");

extern "C" {static PyObject *meth_QUrlQuery_defaultQueryValueDelimiter(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_defaultQueryValueDelimiter(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar( ::QUrlQuery::defaultQueryValueDelimiter());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_defaultQueryValueDelimiter, doc_QUrlQuery_defaultQueryValueDelimiter);

    return NULL;
}


PyDoc_STRVAR(doc_QUrlQuery_defaultQueryPairDelimiter, "defaultQueryPairDelimiter() -> str");

extern "C" {static PyObject *meth_QUrlQuery_defaultQueryPairDelimiter(PyObject *, PyObject *);}
static PyObject *meth_QUrlQuery_defaultQueryPairDelimiter(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar( ::QUrlQuery::defaultQueryPairDelimiter());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrlQuery, sipName_defaultQueryPairDelimiter, doc_QUrlQuery_defaultQueryPairDelimiter);

    return NULL;
}


extern "C" {static long slot_QUrlQuery___hash__(PyObject *);}
static long slot_QUrlQuery___hash__(PyObject *sipSelf)
{
     ::QUrlQuery *sipCpp = reinterpret_cast< ::QUrlQuery *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrlQuery));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 60 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurlquery.sip"
        sipRes = qHash(*sipCpp);
#line 26817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QUrlQuery___ne__(PyObject *,PyObject *);}
static PyObject *slot_QUrlQuery___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrlQuery *sipCpp = reinterpret_cast< ::QUrlQuery *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrlQuery));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrlQuery* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUrlQuery, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QUrlQuery::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QUrlQuery, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrlQuery___eq__(PyObject *,PyObject *);}
static PyObject *slot_QUrlQuery___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrlQuery *sipCpp = reinterpret_cast< ::QUrlQuery *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrlQuery));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrlQuery* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUrlQuery, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QUrlQuery::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QUrlQuery, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QUrlQuery(void *, int);}
static void release_QUrlQuery(void *sipCppV, int)
{
    delete reinterpret_cast< ::QUrlQuery *>(sipCppV);
}


extern "C" {static void assign_QUrlQuery(void *, SIP_SSIZE_T, const void *);}
static void assign_QUrlQuery(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QUrlQuery *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QUrlQuery *>(sipSrc);
}


extern "C" {static void *array_QUrlQuery(SIP_SSIZE_T);}
static void *array_QUrlQuery(SIP_SSIZE_T sipNrElem)
{
    return new  ::QUrlQuery[sipNrElem];
}


extern "C" {static void *copy_QUrlQuery(const void *, SIP_SSIZE_T);}
static void *copy_QUrlQuery(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QUrlQuery(reinterpret_cast<const  ::QUrlQuery *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QUrlQuery(sipSimpleWrapper *);}
static void dealloc_QUrlQuery(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QUrlQuery(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QUrlQuery(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUrlQuery(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QUrlQuery *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QUrlQuery();

            return sipCpp;
        }
    }

    {
        const  ::QUrl* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QUrl, &a0))
        {
            sipCpp = new  ::QUrlQuery(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new  ::QUrlQuery(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QUrlQuery* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QUrlQuery, &a0))
        {
            sipCpp = new  ::QUrlQuery(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QUrlQuery[] = {
    {(void *)slot_QUrlQuery___hash__, hash_slot},
    {(void *)slot_QUrlQuery___ne__, ne_slot},
    {(void *)slot_QUrlQuery___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QUrlQuery[] = {
    {SIP_MLNAME_CAST(sipName_addQueryItem), meth_QUrlQuery_addQueryItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_addQueryItem)},
    {SIP_MLNAME_CAST(sipName_allQueryItemValues), (PyCFunction)meth_QUrlQuery_allQueryItemValues, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrlQuery_allQueryItemValues)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QUrlQuery_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_clear)},
    {SIP_MLNAME_CAST(sipName_defaultQueryPairDelimiter), meth_QUrlQuery_defaultQueryPairDelimiter, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_defaultQueryPairDelimiter)},
    {SIP_MLNAME_CAST(sipName_defaultQueryValueDelimiter), meth_QUrlQuery_defaultQueryValueDelimiter, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_defaultQueryValueDelimiter)},
    {SIP_MLNAME_CAST(sipName_hasQueryItem), meth_QUrlQuery_hasQueryItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_hasQueryItem)},
    {SIP_MLNAME_CAST(sipName_isDetached), meth_QUrlQuery_isDetached, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_isDetached)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QUrlQuery_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_isEmpty)},
    {SIP_MLNAME_CAST(sipName_query), (PyCFunction)meth_QUrlQuery_query, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrlQuery_query)},
    {SIP_MLNAME_CAST(sipName_queryItemValue), (PyCFunction)meth_QUrlQuery_queryItemValue, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrlQuery_queryItemValue)},
    {SIP_MLNAME_CAST(sipName_queryItems), (PyCFunction)meth_QUrlQuery_queryItems, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrlQuery_queryItems)},
    {SIP_MLNAME_CAST(sipName_queryPairDelimiter), meth_QUrlQuery_queryPairDelimiter, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_queryPairDelimiter)},
    {SIP_MLNAME_CAST(sipName_queryValueDelimiter), meth_QUrlQuery_queryValueDelimiter, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_queryValueDelimiter)},
    {SIP_MLNAME_CAST(sipName_removeAllQueryItems), meth_QUrlQuery_removeAllQueryItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_removeAllQueryItems)},
    {SIP_MLNAME_CAST(sipName_removeQueryItem), meth_QUrlQuery_removeQueryItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_removeQueryItem)},
    {SIP_MLNAME_CAST(sipName_setQuery), meth_QUrlQuery_setQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_setQuery)},
    {SIP_MLNAME_CAST(sipName_setQueryDelimiters), meth_QUrlQuery_setQueryDelimiters, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_setQueryDelimiters)},
    {SIP_MLNAME_CAST(sipName_setQueryItems), meth_QUrlQuery_setQueryItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_setQueryItems)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QUrlQuery_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrlQuery_swap)},
    {SIP_MLNAME_CAST(sipName_toString), (PyCFunction)meth_QUrlQuery_toString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrlQuery_toString)}
};

PyDoc_STRVAR(doc_QUrlQuery, "\1QUrlQuery()\n"
    "QUrlQuery(QUrl)\n"
    "QUrlQuery(str)\n"
    "QUrlQuery(QUrlQuery)");


static pyqt5ClassPluginDef plugin_QUrlQuery = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QUrlQuery = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QUrlQuery,
        {0},
        &plugin_QUrlQuery
    },
    {
        sipNameNr_QUrlQuery,
        {0, 0, 1},
        20, methods_QUrlQuery,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUrlQuery,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QUrlQuery,
    init_type_QUrlQuery,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUrlQuery,
    assign_QUrlQuery,
    array_QUrlQuery,
    copy_QUrlQuery,
    release_QUrlQuery,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QUrl_UserInputResolutionOptions___hash__(PyObject *);}
static long slot_QUrl_UserInputResolutionOptions___hash__(PyObject *sipSelf)
{
     ::QUrl::UserInputResolutionOptions *sipCpp = reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_UserInputResolutionOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QUrl::UserInputResolutionOptions::Int();
#line 27103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QUrl_UserInputResolutionOptions___bool__(PyObject *);}
static int slot_QUrl_UserInputResolutionOptions___bool__(PyObject *sipSelf)
{
     ::QUrl::UserInputResolutionOptions *sipCpp = reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_UserInputResolutionOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::UserInputResolutionOptions::Int() != 0);
#line 27128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QUrl_UserInputResolutionOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrl::UserInputResolutionOptions *sipCpp = reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_UserInputResolutionOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::UserInputResolutionOptions::Int() != a0->operator QUrl::UserInputResolutionOptions::Int());
#line 27158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QUrl::UserInputResolutionOptions *>(a0),sipType_QUrl_UserInputResolutionOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QUrl_UserInputResolutionOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrl_UserInputResolutionOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrl::UserInputResolutionOptions *sipCpp = reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_UserInputResolutionOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::UserInputResolutionOptions::Int() == a0->operator QUrl::UserInputResolutionOptions::Int());
#line 27194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QUrl::UserInputResolutionOptions *>(a0),sipType_QUrl_UserInputResolutionOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QUrl_UserInputResolutionOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrl_UserInputResolutionOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QUrl_UserInputResolutionOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QUrl::UserInputResolutionOptions *sipCpp = reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_UserInputResolutionOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QUrl::UserInputResolutionOptions(*sipCpp ^ a0);
#line 27233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QUrl_UserInputResolutionOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State, &a1))
        {
             ::QUrl::UserInputResolutionOptions*sipRes;

            sipRes = new  ::QUrl::UserInputResolutionOptions((*a0 ^ a1));
            sipReleaseType(a0,sipType_QUrl_UserInputResolutionOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl_UserInputResolutionOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QUrl_UserInputResolutionOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QUrl_UserInputResolutionOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QUrl::UserInputResolutionOptions *sipCpp = reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_UserInputResolutionOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QUrl::UserInputResolutionOptions(*sipCpp | a0);
#line 27305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QUrl_UserInputResolutionOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State, &a1))
        {
             ::QUrl::UserInputResolutionOptions*sipRes;

            sipRes = new  ::QUrl::UserInputResolutionOptions((*a0 | a1));
            sipReleaseType(a0,sipType_QUrl_UserInputResolutionOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl_UserInputResolutionOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QUrl_UserInputResolutionOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QUrl_UserInputResolutionOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QUrl::UserInputResolutionOptions *sipCpp = reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_UserInputResolutionOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QUrl::UserInputResolutionOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QUrl_UserInputResolutionOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State, &a1))
        {
             ::QUrl::UserInputResolutionOptions*sipRes;

            sipRes = new  ::QUrl::UserInputResolutionOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QUrl_UserInputResolutionOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl_UserInputResolutionOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QUrl_UserInputResolutionOptions___invert__(PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___invert__(PyObject *sipSelf)
{
     ::QUrl::UserInputResolutionOptions *sipCpp = reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_UserInputResolutionOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QUrl::UserInputResolutionOptions*sipRes;

            sipRes = new  ::QUrl::UserInputResolutionOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QUrl_UserInputResolutionOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QUrl_UserInputResolutionOptions___int__(PyObject *);}
static PyObject *slot_QUrl_UserInputResolutionOptions___int__(PyObject *sipSelf)
{
     ::QUrl::UserInputResolutionOptions *sipCpp = reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_UserInputResolutionOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QUrl_UserInputResolutionOptions(void *, int);}
static void release_QUrl_UserInputResolutionOptions(void *sipCppV, int)
{
    delete reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipCppV);
}


extern "C" {static void assign_QUrl_UserInputResolutionOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QUrl_UserInputResolutionOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QUrl::UserInputResolutionOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QUrl::UserInputResolutionOptions *>(sipSrc);
}


extern "C" {static void *array_QUrl_UserInputResolutionOptions(SIP_SSIZE_T);}
static void *array_QUrl_UserInputResolutionOptions(SIP_SSIZE_T sipNrElem)
{
    return new  ::QUrl::UserInputResolutionOptions[sipNrElem];
}


extern "C" {static void *copy_QUrl_UserInputResolutionOptions(const void *, SIP_SSIZE_T);}
static void *copy_QUrl_UserInputResolutionOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QUrl::UserInputResolutionOptions(reinterpret_cast<const  ::QUrl::UserInputResolutionOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QUrl_UserInputResolutionOptions(sipSimpleWrapper *);}
static void dealloc_QUrl_UserInputResolutionOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QUrl_UserInputResolutionOptions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QUrl_UserInputResolutionOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUrl_UserInputResolutionOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QUrl::UserInputResolutionOptions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QUrl::UserInputResolutionOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QUrl::UserInputResolutionOptions(a0);

            return sipCpp;
        }
    }

    {
        const  ::QUrl::UserInputResolutionOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QUrl_UserInputResolutionOptions, &a0, &a0State))
        {
            sipCpp = new  ::QUrl::UserInputResolutionOptions(*a0);
            sipReleaseType(const_cast< ::QUrl::UserInputResolutionOptions *>(a0),sipType_QUrl_UserInputResolutionOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QUrl_UserInputResolutionOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QUrl_UserInputResolutionOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QUrl::UserInputResolutionOptions **sipCppPtr = reinterpret_cast< ::QUrl::UserInputResolutionOptions **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QUrl::UserInputResolutionOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QUrl_UserInputResolutionOption)) ||
            sipCanConvertToType(sipPy, sipType_QUrl_UserInputResolutionOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QUrl_UserInputResolutionOption)))
{
    *sipCppPtr = new QUrl::UserInputResolutionOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QUrl::UserInputResolutionOptions *>(sipConvertToType(sipPy, sipType_QUrl_UserInputResolutionOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 27573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QUrl_UserInputResolutionOptions[] = {
    {(void *)slot_QUrl_UserInputResolutionOptions___hash__, hash_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___bool__, bool_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___ne__, ne_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___eq__, eq_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___ixor__, ixor_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___xor__, xor_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___ior__, ior_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___or__, or_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___iand__, iand_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___and__, and_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___invert__, invert_slot},
    {(void *)slot_QUrl_UserInputResolutionOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QUrl_UserInputResolutionOptions, "\1QUrl.UserInputResolutionOptions()\n"
    "QUrl.UserInputResolutionOptions(Union[QUrl.UserInputResolutionOptions, QUrl.UserInputResolutionOption])\n"
    "QUrl.UserInputResolutionOptions(QUrl.UserInputResolutionOptions)");


static pyqt5ClassPluginDef plugin_QUrl_UserInputResolutionOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QUrl_UserInputResolutionOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QUrl__UserInputResolutionOptions,
        {0},
        &plugin_QUrl_UserInputResolutionOptions
    },
    {
        sipNameNr_UserInputResolutionOptions,
        {283, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUrl_UserInputResolutionOptions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QUrl_UserInputResolutionOptions,
    init_type_QUrl_UserInputResolutionOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUrl_UserInputResolutionOptions,
    assign_QUrl_UserInputResolutionOptions,
    array_QUrl_UserInputResolutionOptions,
    copy_QUrl_UserInputResolutionOptions,
    release_QUrl_UserInputResolutionOptions,
    0,
    convertTo_QUrl_UserInputResolutionOptions,
    0,
    0,
    0,
    0,
    0
};

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 27663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QUrl_ComponentFormattingOptions___hash__(PyObject *);}
static long slot_QUrl_ComponentFormattingOptions___hash__(PyObject *sipSelf)
{
     ::QUrl::ComponentFormattingOptions *sipCpp = reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_ComponentFormattingOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QUrl::ComponentFormattingOptions::Int();
#line 27681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QUrl_ComponentFormattingOptions___bool__(PyObject *);}
static int slot_QUrl_ComponentFormattingOptions___bool__(PyObject *sipSelf)
{
     ::QUrl::ComponentFormattingOptions *sipCpp = reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_ComponentFormattingOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::ComponentFormattingOptions::Int() != 0);
#line 27706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QUrl_ComponentFormattingOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrl::ComponentFormattingOptions *sipCpp = reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_ComponentFormattingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl::ComponentFormattingOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::ComponentFormattingOptions::Int() != a0->operator QUrl::ComponentFormattingOptions::Int());
#line 27736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QUrl::ComponentFormattingOptions *>(a0),sipType_QUrl_ComponentFormattingOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QUrl_ComponentFormattingOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrl_ComponentFormattingOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrl::ComponentFormattingOptions *sipCpp = reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_ComponentFormattingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl::ComponentFormattingOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QUrl::ComponentFormattingOptions::Int() == a0->operator QUrl::ComponentFormattingOptions::Int());
#line 27772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QUrl::ComponentFormattingOptions *>(a0),sipType_QUrl_ComponentFormattingOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QUrl_ComponentFormattingOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrl_ComponentFormattingOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QUrl_ComponentFormattingOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QUrl::ComponentFormattingOptions *sipCpp = reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_ComponentFormattingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QUrl::ComponentFormattingOptions(*sipCpp ^ a0);
#line 27811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QUrl_ComponentFormattingOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_ComponentFormattingOptions, &a0, &a0State, &a1))
        {
             ::QUrl::ComponentFormattingOptions*sipRes;

            sipRes = new  ::QUrl::ComponentFormattingOptions((*a0 ^ a1));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl_ComponentFormattingOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QUrl_ComponentFormattingOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QUrl_ComponentFormattingOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QUrl::ComponentFormattingOptions *sipCpp = reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_ComponentFormattingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QUrl::ComponentFormattingOptions(*sipCpp | a0);
#line 27883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QUrl_ComponentFormattingOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_ComponentFormattingOptions, &a0, &a0State, &a1))
        {
             ::QUrl::ComponentFormattingOptions*sipRes;

            sipRes = new  ::QUrl::ComponentFormattingOptions((*a0 | a1));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl_ComponentFormattingOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QUrl_ComponentFormattingOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QUrl_ComponentFormattingOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QUrl::ComponentFormattingOptions *sipCpp = reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_ComponentFormattingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QUrl::ComponentFormattingOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QUrl_ComponentFormattingOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_ComponentFormattingOptions, &a0, &a0State, &a1))
        {
             ::QUrl::ComponentFormattingOptions*sipRes;

            sipRes = new  ::QUrl::ComponentFormattingOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl_ComponentFormattingOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QUrl_ComponentFormattingOptions___invert__(PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___invert__(PyObject *sipSelf)
{
     ::QUrl::ComponentFormattingOptions *sipCpp = reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_ComponentFormattingOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QUrl::ComponentFormattingOptions*sipRes;

            sipRes = new  ::QUrl::ComponentFormattingOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QUrl_ComponentFormattingOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QUrl_ComponentFormattingOptions___int__(PyObject *);}
static PyObject *slot_QUrl_ComponentFormattingOptions___int__(PyObject *sipSelf)
{
     ::QUrl::ComponentFormattingOptions *sipCpp = reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_ComponentFormattingOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QUrl_ComponentFormattingOptions(void *, int);}
static void release_QUrl_ComponentFormattingOptions(void *sipCppV, int)
{
    delete reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipCppV);
}


extern "C" {static void assign_QUrl_ComponentFormattingOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QUrl_ComponentFormattingOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QUrl::ComponentFormattingOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QUrl::ComponentFormattingOptions *>(sipSrc);
}


extern "C" {static void *array_QUrl_ComponentFormattingOptions(SIP_SSIZE_T);}
static void *array_QUrl_ComponentFormattingOptions(SIP_SSIZE_T sipNrElem)
{
    return new  ::QUrl::ComponentFormattingOptions[sipNrElem];
}


extern "C" {static void *copy_QUrl_ComponentFormattingOptions(const void *, SIP_SSIZE_T);}
static void *copy_QUrl_ComponentFormattingOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QUrl::ComponentFormattingOptions(reinterpret_cast<const  ::QUrl::ComponentFormattingOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QUrl_ComponentFormattingOptions(sipSimpleWrapper *);}
static void dealloc_QUrl_ComponentFormattingOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QUrl_ComponentFormattingOptions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QUrl_ComponentFormattingOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUrl_ComponentFormattingOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QUrl::ComponentFormattingOptions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QUrl::ComponentFormattingOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QUrl::ComponentFormattingOptions(a0);

            return sipCpp;
        }
    }

    {
        const  ::QUrl::ComponentFormattingOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
            sipCpp = new  ::QUrl::ComponentFormattingOptions(*a0);
            sipReleaseType(const_cast< ::QUrl::ComponentFormattingOptions *>(a0),sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QUrl_ComponentFormattingOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QUrl_ComponentFormattingOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QUrl::ComponentFormattingOptions **sipCppPtr = reinterpret_cast< ::QUrl::ComponentFormattingOptions **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QUrl::ComponentFormattingOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QUrl_ComponentFormattingOption)) ||
            sipCanConvertToType(sipPy, sipType_QUrl_ComponentFormattingOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QUrl_ComponentFormattingOption)))
{
    *sipCppPtr = new QUrl::ComponentFormattingOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QUrl::ComponentFormattingOptions *>(sipConvertToType(sipPy, sipType_QUrl_ComponentFormattingOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 28151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QUrl_ComponentFormattingOptions[] = {
    {(void *)slot_QUrl_ComponentFormattingOptions___hash__, hash_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___bool__, bool_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___ne__, ne_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___eq__, eq_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___ixor__, ixor_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___xor__, xor_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___ior__, ior_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___or__, or_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___iand__, iand_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___and__, and_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___invert__, invert_slot},
    {(void *)slot_QUrl_ComponentFormattingOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QUrl_ComponentFormattingOptions, "\1QUrl.ComponentFormattingOptions()\n"
    "QUrl.ComponentFormattingOptions(Union[QUrl.ComponentFormattingOptions, QUrl.ComponentFormattingOption])\n"
    "QUrl.ComponentFormattingOptions(QUrl.ComponentFormattingOptions)");


static pyqt5ClassPluginDef plugin_QUrl_ComponentFormattingOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QUrl_ComponentFormattingOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QUrl__ComponentFormattingOptions,
        {0},
        &plugin_QUrl_ComponentFormattingOptions
    },
    {
        sipNameNr_ComponentFormattingOptions,
        {283, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUrl_ComponentFormattingOptions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QUrl_ComponentFormattingOptions,
    init_type_QUrl_ComponentFormattingOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUrl_ComponentFormattingOptions,
    assign_QUrl_ComponentFormattingOptions,
    array_QUrl_ComponentFormattingOptions,
    copy_QUrl_ComponentFormattingOptions,
    release_QUrl_ComponentFormattingOptions,
    0,
    convertTo_QUrl_ComponentFormattingOptions,
    0,
    0,
    0,
    0,
    0
};

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 28237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 28241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static int slot_QUrl_FormattingOptions___bool__(PyObject *);}
static int slot_QUrl_FormattingOptions___bool__(PyObject *sipSelf)
{
     ::QUrl::FormattingOptions *sipCpp = reinterpret_cast< ::QUrl::FormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_FormattingOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
        sipRes = (sipCpp->operator int() != 0);
#line 28259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QUrl_FormattingOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_FormattingOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrl::FormattingOptions *sipCpp = reinterpret_cast< ::QUrl::FormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_FormattingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl::FormattingOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 63 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
        sipRes = (sipCpp->operator int() != a0->operator int());
#line 28289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QUrl::FormattingOptions *>(a0),sipType_QUrl_FormattingOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QUrl_FormattingOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrl_FormattingOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_FormattingOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrl::FormattingOptions *sipCpp = reinterpret_cast< ::QUrl::FormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_FormattingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl::FormattingOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
        sipRes = (sipCpp->operator int() == a0->operator int());
#line 28325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QUrl::FormattingOptions *>(a0),sipType_QUrl_FormattingOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QUrl_FormattingOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrl_FormattingOptions___invert__(PyObject *);}
static PyObject *slot_QUrl_FormattingOptions___invert__(PyObject *sipSelf)
{
     ::QUrl::FormattingOptions *sipCpp = reinterpret_cast< ::QUrl::FormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_FormattingOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QUrl::FormattingOptions*sipRes;

            sipRes = new  ::QUrl::FormattingOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QUrl_FormattingOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QUrl_FormattingOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_FormattingOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::FormattingOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QUrl_FormattingOptions, &a0, &a0State, &a1))
        {
             ::QUrl::FormattingOptions*sipRes;

            sipRes = new  ::QUrl::FormattingOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl_FormattingOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QUrl_FormattingOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_FormattingOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::FormattingOptions* a0;
        int a0State = 0;
         ::QUrl::FormattingOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QUrl_FormattingOptions, &a0, &a0State, sipType_QUrl_FormattingOptions, &a1, &a1State))
        {
             ::QUrl::FormattingOptions*sipRes;

            sipRes = new  ::QUrl::FormattingOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);
            sipReleaseType(a1,sipType_QUrl_FormattingOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QUrl_FormattingOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QUrl_FormattingOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_FormattingOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::FormattingOptions* a0;
        int a0State = 0;
         ::QUrl::FormattingOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QUrl_FormattingOptions, &a0, &a0State, sipType_QUrl_FormattingOptions, &a1, &a1State))
        {
             ::QUrl::FormattingOptions*sipRes;

            sipRes = new  ::QUrl::FormattingOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);
            sipReleaseType(a1,sipType_QUrl_FormattingOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QUrl_FormattingOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QUrl_FormattingOptions___int__(PyObject *);}
static PyObject *slot_QUrl_FormattingOptions___int__(PyObject *sipSelf)
{
     ::QUrl::FormattingOptions *sipCpp = reinterpret_cast< ::QUrl::FormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_FormattingOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QUrl_FormattingOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_FormattingOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QUrl_FormattingOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QUrl::FormattingOptions *sipCpp = reinterpret_cast< ::QUrl::FormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_FormattingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::QUrl::FormattingOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
            sipCpp-> ::QUrl::FormattingOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QUrl_FormattingOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_FormattingOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QUrl_FormattingOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QUrl::FormattingOptions *sipCpp = reinterpret_cast< ::QUrl::FormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_FormattingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::QUrl::FormattingOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
            sipCpp-> ::QUrl::FormattingOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QUrl_FormattingOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QUrl_FormattingOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QUrl_FormattingOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QUrl::FormattingOptions *sipCpp = reinterpret_cast< ::QUrl::FormattingOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl_FormattingOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QUrl::FormattingOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_QUrl_FormattingOptions(void *, int);}
static void release_QUrl_FormattingOptions(void *sipCppV, int)
{
    delete reinterpret_cast< ::QUrl::FormattingOptions *>(sipCppV);
}


extern "C" {static void dealloc_QUrl_FormattingOptions(sipSimpleWrapper *);}
static void dealloc_QUrl_FormattingOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QUrl_FormattingOptions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QUrl_FormattingOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUrl_FormattingOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QUrl::FormattingOptions *sipCpp = 0;

    {
        const  ::QUrl::FormattingOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
            sipCpp = new  ::QUrl::FormattingOptions(*a0);
            sipReleaseType(const_cast< ::QUrl::FormattingOptions *>(a0),sipType_QUrl_FormattingOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QUrl_FormattingOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QUrl_FormattingOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QUrl::FormattingOptions **sipCppPtr = reinterpret_cast< ::QUrl::FormattingOptions **>(sipCppPtrV);

#line 72 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
// Allow an instance of the base enums whenever a QUrl::FormattingOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QUrl_UrlFormattingOption)) ||
            PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QUrl_ComponentFormattingOption)) ||
            sipCanConvertToType(sipPy, sipType_QUrl_FormattingOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QUrl_UrlFormattingOption)) ||
     PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QUrl_ComponentFormattingOption)))
{
    *sipCppPtr = new QUrl::FormattingOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QUrl::FormattingOptions *>(sipConvertToType(sipPy, sipType_QUrl_FormattingOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 28669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QUrl_FormattingOptions[] = {
    {(void *)slot_QUrl_FormattingOptions___bool__, bool_slot},
    {(void *)slot_QUrl_FormattingOptions___ne__, ne_slot},
    {(void *)slot_QUrl_FormattingOptions___eq__, eq_slot},
    {(void *)slot_QUrl_FormattingOptions___invert__, invert_slot},
    {(void *)slot_QUrl_FormattingOptions___and__, and_slot},
    {(void *)slot_QUrl_FormattingOptions___xor__, xor_slot},
    {(void *)slot_QUrl_FormattingOptions___or__, or_slot},
    {(void *)slot_QUrl_FormattingOptions___int__, int_slot},
    {(void *)slot_QUrl_FormattingOptions___ixor__, ixor_slot},
    {(void *)slot_QUrl_FormattingOptions___ior__, ior_slot},
    {(void *)slot_QUrl_FormattingOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QUrl_FormattingOptions, "\1QUrl.FormattingOptions(QUrl.FormattingOptions)");


static pyqt5ClassPluginDef plugin_QUrl_FormattingOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QUrl_FormattingOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QUrl__FormattingOptions,
        {0},
        &plugin_QUrl_FormattingOptions
    },
    {
        sipNameNr_FormattingOptions,
        {283, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUrl_FormattingOptions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QUrl_FormattingOptions,
    init_type_QUrl_FormattingOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUrl_FormattingOptions,
    0,
    0,
    0,
    release_QUrl_FormattingOptions,
    0,
    convertTo_QUrl_FormattingOptions,
    0,
    0,
    0,
    0,
    0
};

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 28752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 28756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 28759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 28762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 28765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 28768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurlquery.sip"
#include <qurlquery.h>
#line 28771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 28774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 28777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <QHash>
#line 28780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QUrl_url, "url(self, options: QUrl.FormattingOptions = QUrl.PrettyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_url(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_url(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::FormattingOptions a0def = QUrl::PrettyDecoded;
         ::QUrl::FormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->url(*a0));
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_url, doc_QUrl_url);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setUrl, "setUrl(self, str, mode: QUrl.ParsingMode = QUrl.TolerantMode)");

extern "C" {static PyObject *meth_QUrl_setUrl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_setUrl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::TolerantMode;
         ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            sipCpp->setUrl(*a0,a1);
            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_QUrl, sipName_setUrl, doc_QUrl_setUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QUrl_isValid(PyObject *, PyObject *);}
static PyObject *meth_QUrl_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_isValid, doc_QUrl_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QUrl_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QUrl_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_isEmpty, doc_QUrl_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_clear, "clear(self)");

extern "C" {static PyObject *meth_QUrl_clear(PyObject *, PyObject *);}
static PyObject *meth_QUrl_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_clear, doc_QUrl_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setScheme, "setScheme(self, str)");

extern "C" {static PyObject *meth_QUrl_setScheme(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setScheme(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setScheme(*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_QUrl, sipName_setScheme, doc_QUrl_setScheme);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_scheme, "scheme(self) -> str");

extern "C" {static PyObject *meth_QUrl_scheme(PyObject *, PyObject *);}
static PyObject *meth_QUrl_scheme(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &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_QUrl, sipName_scheme, doc_QUrl_scheme);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setAuthority, "setAuthority(self, str, mode: QUrl.ParsingMode = QUrl.TolerantMode)");

extern "C" {static PyObject *meth_QUrl_setAuthority(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_setAuthority(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::TolerantMode;
         ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            sipCpp->setAuthority(*a0,a1);
            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_QUrl, sipName_setAuthority, doc_QUrl_setAuthority);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_authority, "authority(self, options: QUrl.ComponentFormattingOptions = QUrl.PrettyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_authority(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_authority(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::PrettyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->authority(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_authority, doc_QUrl_authority);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setUserInfo, "setUserInfo(self, str, mode: QUrl.ParsingMode = QUrl.TolerantMode)");

extern "C" {static PyObject *meth_QUrl_setUserInfo(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_setUserInfo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::TolerantMode;
         ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            sipCpp->setUserInfo(*a0,a1);
            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_QUrl, sipName_setUserInfo, doc_QUrl_setUserInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_userInfo, "userInfo(self, options: QUrl.ComponentFormattingOptions = QUrl.PrettyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_userInfo(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_userInfo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::PrettyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->userInfo(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_userInfo, doc_QUrl_userInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setUserName, "setUserName(self, str, mode: QUrl.ParsingMode = QUrl.DecodedMode)");

extern "C" {static PyObject *meth_QUrl_setUserName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_setUserName(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::DecodedMode;
         ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            sipCpp->setUserName(*a0,a1);
            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_QUrl, sipName_setUserName, doc_QUrl_setUserName);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_userName, "userName(self, options: QUrl.ComponentFormattingOptions = QUrl.FullyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_userName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_userName(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::FullyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->userName(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_userName, doc_QUrl_userName);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setPassword, "setPassword(self, str, mode: QUrl.ParsingMode = QUrl.DecodedMode)");

extern "C" {static PyObject *meth_QUrl_setPassword(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_setPassword(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::DecodedMode;
         ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            sipCpp->setPassword(*a0,a1);
            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_QUrl, sipName_setPassword, doc_QUrl_setPassword);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_password, "password(self, options: QUrl.ComponentFormattingOptions = QUrl.FullyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_password(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_password(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::FullyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->password(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_password, doc_QUrl_password);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setHost, "setHost(self, str, mode: QUrl.ParsingMode = QUrl.DecodedMode)");

extern "C" {static PyObject *meth_QUrl_setHost(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_setHost(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::DecodedMode;
         ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            sipCpp->setHost(*a0,a1);
            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_QUrl, sipName_setHost, doc_QUrl_setHost);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_host, "host(self, options: QUrl.ComponentFormattingOptions = QUrl.FullyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_host(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_host(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::FullyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->host(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_host, doc_QUrl_host);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setPort, "setPort(self, int)");

extern "C" {static PyObject *meth_QUrl_setPort(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setPort(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QUrl, &sipCpp, &a0))
        {
            sipCpp->setPort(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setPort, doc_QUrl_setPort);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_port, "port(self, defaultPort: int = -1) -> int");

extern "C" {static PyObject *meth_QUrl_port(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_port(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = -1;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_defaultPort,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QUrl, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->port(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_port, doc_QUrl_port);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setPath, "setPath(self, str, mode: QUrl.ParsingMode = QUrl.DecodedMode)");

extern "C" {static PyObject *meth_QUrl_setPath(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_setPath(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::DecodedMode;
         ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            sipCpp->setPath(*a0,a1);
            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_QUrl, sipName_setPath, doc_QUrl_setPath);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_path, "path(self, options: QUrl.ComponentFormattingOptions = QUrl.FullyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_path(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_path(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::FullyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->path(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_path, doc_QUrl_path);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setFragment, "setFragment(self, str, mode: QUrl.ParsingMode = QUrl.TolerantMode)");

extern "C" {static PyObject *meth_QUrl_setFragment(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_setFragment(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::TolerantMode;
         ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            sipCpp->setFragment(*a0,a1);
            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_QUrl, sipName_setFragment, doc_QUrl_setFragment);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_fragment, "fragment(self, options: QUrl.ComponentFormattingOptions = QUrl.PrettyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_fragment(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_fragment(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::PrettyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->fragment(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_fragment, doc_QUrl_fragment);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_resolved, "resolved(self, QUrl) -> QUrl");

extern "C" {static PyObject *meth_QUrl_resolved(PyObject *, PyObject *);}
static PyObject *meth_QUrl_resolved(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl, &a0))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->resolved(*a0));

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_resolved, doc_QUrl_resolved);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_isRelative, "isRelative(self) -> bool");

extern "C" {static PyObject *meth_QUrl_isRelative(PyObject *, PyObject *);}
static PyObject *meth_QUrl_isRelative(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRelative();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_isRelative, doc_QUrl_isRelative);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_isParentOf, "isParentOf(self, QUrl) -> bool");

extern "C" {static PyObject *meth_QUrl_isParentOf(PyObject *, PyObject *);}
static PyObject *meth_QUrl_isParentOf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isParentOf(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_isParentOf, doc_QUrl_isParentOf);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_fromLocalFile, "fromLocalFile(str) -> QUrl");

extern "C" {static PyObject *meth_QUrl_fromLocalFile(PyObject *, PyObject *);}
static PyObject *meth_QUrl_fromLocalFile(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl( ::QUrl::fromLocalFile(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_fromLocalFile, doc_QUrl_fromLocalFile);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_toLocalFile, "toLocalFile(self) -> str");

extern "C" {static PyObject *meth_QUrl_toLocalFile(PyObject *, PyObject *);}
static PyObject *meth_QUrl_toLocalFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toLocalFile());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_toLocalFile, doc_QUrl_toLocalFile);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_toString, "toString(self, options: QUrl.FormattingOptions = QUrl.PrettyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_toString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_toString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::FormattingOptions a0def = QUrl::PrettyDecoded;
         ::QUrl::FormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0));
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_toString, doc_QUrl_toString);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_toEncoded, "toEncoded(self, options: QUrl.FormattingOptions = QUrl.FullyEncoded) -> QByteArray");

extern "C" {static PyObject *meth_QUrl_toEncoded(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_toEncoded(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::FormattingOptions a0def = QUrl::FullyEncoded;
         ::QUrl::FormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toEncoded(*a0));
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_toEncoded, doc_QUrl_toEncoded);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_fromEncoded, "fromEncoded(Union[QByteArray, bytes, bytearray], mode: QUrl.ParsingMode = QUrl.TolerantMode) -> QUrl");

extern "C" {static PyObject *meth_QUrl_fromEncoded(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_fromEncoded(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::TolerantMode;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|E", sipType_QByteArray, &a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl( ::QUrl::fromEncoded(*a0,a1));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_fromEncoded, doc_QUrl_fromEncoded);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_detach, "detach(self)");

extern "C" {static PyObject *meth_QUrl_detach(PyObject *, PyObject *);}
static PyObject *meth_QUrl_detach(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            sipCpp->detach();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_detach, doc_QUrl_detach);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_isDetached, "isDetached(self) -> bool");

extern "C" {static PyObject *meth_QUrl_isDetached(PyObject *, PyObject *);}
static PyObject *meth_QUrl_isDetached(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDetached();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_isDetached, doc_QUrl_isDetached);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_fromPercentEncoding, "fromPercentEncoding(Union[QByteArray, bytes, bytearray]) -> str");

extern "C" {static PyObject *meth_QUrl_fromPercentEncoding(PyObject *, PyObject *);}
static PyObject *meth_QUrl_fromPercentEncoding(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QUrl::fromPercentEncoding(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_fromPercentEncoding, doc_QUrl_fromPercentEncoding);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_toPercentEncoding, "toPercentEncoding(str, exclude: Union[QByteArray, bytes, bytearray] = QByteArray(), include: Union[QByteArray, bytes, bytearray] = QByteArray()) -> QByteArray");

extern "C" {static PyObject *meth_QUrl_toPercentEncoding(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_toPercentEncoding(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QByteArray& a1def = QByteArray();
        const  ::QByteArray* a1 = &a1def;
        int a1State = 0;
        const  ::QByteArray& a2def = QByteArray();
        const  ::QByteArray* a2 = &a2def;
        int a2State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_exclude,
            sipName_include,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|J1J1", sipType_QString,&a0, &a0State, sipType_QByteArray, &a1, &a1State, sipType_QByteArray, &a2, &a2State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QUrl::toPercentEncoding(*a0,*a1,*a2));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);
            sipReleaseType(const_cast< ::QByteArray *>(a2),sipType_QByteArray,a2State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_toPercentEncoding, doc_QUrl_toPercentEncoding);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_hasQuery, "hasQuery(self) -> bool");

extern "C" {static PyObject *meth_QUrl_hasQuery(PyObject *, PyObject *);}
static PyObject *meth_QUrl_hasQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasQuery();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_hasQuery, doc_QUrl_hasQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_hasFragment, "hasFragment(self) -> bool");

extern "C" {static PyObject *meth_QUrl_hasFragment(PyObject *, PyObject *);}
static PyObject *meth_QUrl_hasFragment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasFragment();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_hasFragment, doc_QUrl_hasFragment);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QUrl_errorString(PyObject *, PyObject *);}
static PyObject *meth_QUrl_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_errorString, doc_QUrl_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_fromAce, "fromAce(Union[QByteArray, bytes, bytearray]) -> str");

extern "C" {static PyObject *meth_QUrl_fromAce(PyObject *, PyObject *);}
static PyObject *meth_QUrl_fromAce(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QUrl::fromAce(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_fromAce, doc_QUrl_fromAce);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_toAce, "toAce(str) -> QByteArray");

extern "C" {static PyObject *meth_QUrl_toAce(PyObject *, PyObject *);}
static PyObject *meth_QUrl_toAce(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QUrl::toAce(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_toAce, doc_QUrl_toAce);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_idnWhitelist, "idnWhitelist() -> List[str]");

extern "C" {static PyObject *meth_QUrl_idnWhitelist(PyObject *, PyObject *);}
static PyObject *meth_QUrl_idnWhitelist(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QUrl::idnWhitelist());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_idnWhitelist, doc_QUrl_idnWhitelist);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setIdnWhitelist, "setIdnWhitelist(Iterable[str])");

extern "C" {static PyObject *meth_QUrl_setIdnWhitelist(PyObject *, PyObject *);}
static PyObject *meth_QUrl_setIdnWhitelist(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QStringList,&a0, &a0State))
        {
             ::QUrl::setIdnWhitelist(*a0);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setIdnWhitelist, doc_QUrl_setIdnWhitelist);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_fromUserInput, "fromUserInput(str) -> QUrl\n"
    "fromUserInput(str, str, options: Union[QUrl.UserInputResolutionOptions, QUrl.UserInputResolutionOption] = QUrl.UserInputResolutionOption.DefaultResolution) -> QUrl");

extern "C" {static PyObject *meth_QUrl_fromUserInput(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_fromUserInput(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "J1", sipType_QString,&a0, &a0State))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl( ::QUrl::fromUserInput(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QUrl::UserInputResolutionOptions a2def = QUrl::UserInputResolutionOption::DefaultResolution;
         ::QUrl::UserInputResolutionOptions* a2 = &a2def;
        int a2State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QUrl_UserInputResolutionOptions, &a2, &a2State))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl( ::QUrl::fromUserInput(*a0,*a1,*a2));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QUrl_UserInputResolutionOptions,a2State);

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_fromUserInput, doc_QUrl_fromUserInput);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_swap, "swap(self, QUrl)");

extern "C" {static PyObject *meth_QUrl_swap(PyObject *, PyObject *);}
static PyObject *meth_QUrl_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl* a0;
         ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_swap, doc_QUrl_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_topLevelDomain, "topLevelDomain(self, options: QUrl.ComponentFormattingOptions = QUrl.FullyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_topLevelDomain(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_topLevelDomain(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::FullyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->topLevelDomain(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_topLevelDomain, doc_QUrl_topLevelDomain);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_isLocalFile, "isLocalFile(self) -> bool");

extern "C" {static PyObject *meth_QUrl_isLocalFile(PyObject *, PyObject *);}
static PyObject *meth_QUrl_isLocalFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUrl, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isLocalFile();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_isLocalFile, doc_QUrl_isLocalFile);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_toDisplayString, "toDisplayString(self, options: QUrl.FormattingOptions = QUrl.PrettyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_toDisplayString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_toDisplayString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::FormattingOptions a0def = QUrl::PrettyDecoded;
         ::QUrl::FormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toDisplayString(*a0));
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_toDisplayString, doc_QUrl_toDisplayString);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_setQuery, "setQuery(self, str, mode: QUrl.ParsingMode = QUrl.TolerantMode)\n"
    "setQuery(self, QUrlQuery)");

extern "C" {static PyObject *meth_QUrl_setQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_setQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::TolerantMode;
         ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QUrl, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            sipCpp->setQuery(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QUrlQuery* a0;
         ::QUrl *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrlQuery, &a0))
        {
            sipCpp->setQuery(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_setQuery, doc_QUrl_setQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_query, "query(self, options: QUrl.ComponentFormattingOptions = QUrl.PrettyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_query(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_query(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::PrettyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->query(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_query, doc_QUrl_query);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_toStringList, "toStringList(Iterable[QUrl], options: QUrl.FormattingOptions = QUrl.PrettyDecoded) -> List[str]");

extern "C" {static PyObject *meth_QUrl_toStringList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_toStringList(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QList< ::QUrl>* a0;
        int a0State = 0;
         ::QUrl::FormattingOptions a1def = QUrl::PrettyDecoded;
         ::QUrl::FormattingOptions* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|J1", sipType_QList_0100QUrl,&a0, &a0State, sipType_QUrl_FormattingOptions, &a1, &a1State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QUrl::toStringList(*a0,*a1));
            sipReleaseType(const_cast<QList< ::QUrl> *>(a0),sipType_QList_0100QUrl,a0State);
            sipReleaseType(a1,sipType_QUrl_FormattingOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_toStringList, doc_QUrl_toStringList);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_fromStringList, "fromStringList(Iterable[str], mode: QUrl.ParsingMode = QUrl.TolerantMode) -> List[QUrl]");

extern "C" {static PyObject *meth_QUrl_fromStringList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_fromStringList(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::TolerantMode;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|E", sipType_QStringList,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            QList< ::QUrl>*sipRes;

            sipRes = new QList< ::QUrl>( ::QUrl::fromStringList(*a0,a1));
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_fromStringList, doc_QUrl_fromStringList);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_adjusted, "adjusted(self, QUrl.FormattingOptions) -> QUrl");

extern "C" {static PyObject *meth_QUrl_adjusted(PyObject *, PyObject *);}
static PyObject *meth_QUrl_adjusted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::FormattingOptions* a0;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_FormattingOptions, &a0, &a0State))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->adjusted(*a0));
            sipReleaseType(a0,sipType_QUrl_FormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_adjusted, doc_QUrl_adjusted);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_fileName, "fileName(self, options: QUrl.ComponentFormattingOptions = QUrl.FullyDecoded) -> str");

extern "C" {static PyObject *meth_QUrl_fileName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUrl_fileName(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QUrl::ComponentFormattingOptions a0def = QUrl::FullyDecoded;
         ::QUrl::ComponentFormattingOptions* a0 = &a0def;
        int a0State = 0;
        const  ::QUrl *sipCpp;

        static const char *sipKwdList[] = {
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl_ComponentFormattingOptions, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->fileName(*a0));
            sipReleaseType(a0,sipType_QUrl_ComponentFormattingOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_fileName, doc_QUrl_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QUrl_matches, "matches(self, QUrl, QUrl.FormattingOptions) -> bool");

extern "C" {static PyObject *meth_QUrl_matches(PyObject *, PyObject *);}
static PyObject *meth_QUrl_matches(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;
         ::QUrl::FormattingOptions* a1;
        int a1State = 0;
        const  ::QUrl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QUrl, &sipCpp, sipType_QUrl, &a0, sipType_QUrl_FormattingOptions, &a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->matches(*a0,*a1);
            sipReleaseType(a1,sipType_QUrl_FormattingOptions,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUrl, sipName_matches, doc_QUrl_matches);

    return NULL;
}


extern "C" {static PyObject *slot_QUrl___ge__(PyObject *,PyObject *);}
static PyObject *slot_QUrl___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrl *sipCpp = reinterpret_cast< ::QUrl *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUrl, &a0))
        {
            bool sipRes;

            sipRes = !sipCpp-> ::QUrl::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QUrl, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrl___ne__(PyObject *,PyObject *);}
static PyObject *slot_QUrl___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrl *sipCpp = reinterpret_cast< ::QUrl *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUrl, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QUrl::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QUrl, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrl___eq__(PyObject *,PyObject *);}
static PyObject *slot_QUrl___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrl *sipCpp = reinterpret_cast< ::QUrl *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUrl, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QUrl::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QUrl, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrl___lt__(PyObject *,PyObject *);}
static PyObject *slot_QUrl___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QUrl *sipCpp = reinterpret_cast< ::QUrl *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QUrl, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QUrl::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QUrl, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QUrl___repr__(PyObject *);}
static PyObject *slot_QUrl___repr__(PyObject *sipSelf)
{
     ::QUrl *sipCpp = reinterpret_cast< ::QUrl *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
        PyObject *uni = qpycore_PyObject_FromQString(sipCpp->toString());
        
        if (uni)
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QUrl(%R)", uni);
        #else
            sipRes = PyString_FromFormat("PyQt5.QtCore.QUrl(");
            PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni));
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
            Py_DECREF(uni);
        }
#line 30746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static long slot_QUrl___hash__(PyObject *);}
static long slot_QUrl___hash__(PyObject *sipSelf)
{
     ::QUrl *sipCpp = reinterpret_cast< ::QUrl *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUrl));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
        sipRes = qHash(*sipCpp);
#line 30771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QUrl(void *, int);}
static void release_QUrl(void *sipCppV, int)
{
    delete reinterpret_cast< ::QUrl *>(sipCppV);
}


extern "C" {static void assign_QUrl(void *, SIP_SSIZE_T, const void *);}
static void assign_QUrl(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QUrl *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QUrl *>(sipSrc);
}


extern "C" {static void *array_QUrl(SIP_SSIZE_T);}
static void *array_QUrl(SIP_SSIZE_T sipNrElem)
{
    return new  ::QUrl[sipNrElem];
}


extern "C" {static void *copy_QUrl(const void *, SIP_SSIZE_T);}
static void *copy_QUrl(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QUrl(reinterpret_cast<const  ::QUrl *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QUrl(sipSimpleWrapper *);}
static void dealloc_QUrl(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QUrl(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QUrl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUrl(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QUrl *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QUrl();

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QUrl::ParsingMode a1 = QUrl::TolerantMode;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|E", sipType_QString,&a0, &a0State, sipType_QUrl_ParsingMode, &a1))
        {
            sipCpp = new  ::QUrl(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QUrl* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QUrl, &a0))
        {
            sipCpp = new  ::QUrl(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QUrl[] = {
    {(void *)slot_QUrl___ge__, ge_slot},
    {(void *)slot_QUrl___ne__, ne_slot},
    {(void *)slot_QUrl___eq__, eq_slot},
    {(void *)slot_QUrl___lt__, lt_slot},
    {(void *)slot_QUrl___repr__, repr_slot},
    {(void *)slot_QUrl___hash__, hash_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QUrl[] = {
    {SIP_MLNAME_CAST(sipName_adjusted), meth_QUrl_adjusted, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_adjusted)},
    {SIP_MLNAME_CAST(sipName_authority), (PyCFunction)meth_QUrl_authority, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_authority)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QUrl_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_clear)},
    {SIP_MLNAME_CAST(sipName_detach), meth_QUrl_detach, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_detach)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QUrl_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_errorString)},
    {SIP_MLNAME_CAST(sipName_fileName), (PyCFunction)meth_QUrl_fileName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_fileName)},
    {SIP_MLNAME_CAST(sipName_fragment), (PyCFunction)meth_QUrl_fragment, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_fragment)},
    {SIP_MLNAME_CAST(sipName_fromAce), meth_QUrl_fromAce, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_fromAce)},
    {SIP_MLNAME_CAST(sipName_fromEncoded), (PyCFunction)meth_QUrl_fromEncoded, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_fromEncoded)},
    {SIP_MLNAME_CAST(sipName_fromLocalFile), meth_QUrl_fromLocalFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_fromLocalFile)},
    {SIP_MLNAME_CAST(sipName_fromPercentEncoding), meth_QUrl_fromPercentEncoding, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_fromPercentEncoding)},
    {SIP_MLNAME_CAST(sipName_fromStringList), (PyCFunction)meth_QUrl_fromStringList, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_fromStringList)},
    {SIP_MLNAME_CAST(sipName_fromUserInput), (PyCFunction)meth_QUrl_fromUserInput, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_fromUserInput)},
    {SIP_MLNAME_CAST(sipName_hasFragment), meth_QUrl_hasFragment, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_hasFragment)},
    {SIP_MLNAME_CAST(sipName_hasQuery), meth_QUrl_hasQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_hasQuery)},
    {SIP_MLNAME_CAST(sipName_host), (PyCFunction)meth_QUrl_host, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_host)},
    {SIP_MLNAME_CAST(sipName_idnWhitelist), meth_QUrl_idnWhitelist, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_idnWhitelist)},
    {SIP_MLNAME_CAST(sipName_isDetached), meth_QUrl_isDetached, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_isDetached)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QUrl_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isLocalFile), meth_QUrl_isLocalFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_isLocalFile)},
    {SIP_MLNAME_CAST(sipName_isParentOf), meth_QUrl_isParentOf, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_isParentOf)},
    {SIP_MLNAME_CAST(sipName_isRelative), meth_QUrl_isRelative, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_isRelative)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QUrl_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_isValid)},
    {SIP_MLNAME_CAST(sipName_matches), meth_QUrl_matches, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_matches)},
    {SIP_MLNAME_CAST(sipName_password), (PyCFunction)meth_QUrl_password, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_password)},
    {SIP_MLNAME_CAST(sipName_path), (PyCFunction)meth_QUrl_path, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_path)},
    {SIP_MLNAME_CAST(sipName_port), (PyCFunction)meth_QUrl_port, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_port)},
    {SIP_MLNAME_CAST(sipName_query), (PyCFunction)meth_QUrl_query, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_query)},
    {SIP_MLNAME_CAST(sipName_resolved), meth_QUrl_resolved, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_resolved)},
    {SIP_MLNAME_CAST(sipName_scheme), meth_QUrl_scheme, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_scheme)},
    {SIP_MLNAME_CAST(sipName_setAuthority), (PyCFunction)meth_QUrl_setAuthority, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_setAuthority)},
    {SIP_MLNAME_CAST(sipName_setFragment), (PyCFunction)meth_QUrl_setFragment, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_setFragment)},
    {SIP_MLNAME_CAST(sipName_setHost), (PyCFunction)meth_QUrl_setHost, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_setHost)},
    {SIP_MLNAME_CAST(sipName_setIdnWhitelist), meth_QUrl_setIdnWhitelist, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setIdnWhitelist)},
    {SIP_MLNAME_CAST(sipName_setPassword), (PyCFunction)meth_QUrl_setPassword, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_setPassword)},
    {SIP_MLNAME_CAST(sipName_setPath), (PyCFunction)meth_QUrl_setPath, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_setPath)},
    {SIP_MLNAME_CAST(sipName_setPort), meth_QUrl_setPort, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setPort)},
    {SIP_MLNAME_CAST(sipName_setQuery), (PyCFunction)meth_QUrl_setQuery, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_setQuery)},
    {SIP_MLNAME_CAST(sipName_setScheme), meth_QUrl_setScheme, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_setScheme)},
    {SIP_MLNAME_CAST(sipName_setUrl), (PyCFunction)meth_QUrl_setUrl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_setUrl)},
    {SIP_MLNAME_CAST(sipName_setUserInfo), (PyCFunction)meth_QUrl_setUserInfo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_setUserInfo)},
    {SIP_MLNAME_CAST(sipName_setUserName), (PyCFunction)meth_QUrl_setUserName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_setUserName)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QUrl_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_swap)},
    {SIP_MLNAME_CAST(sipName_toAce), meth_QUrl_toAce, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_toAce)},
    {SIP_MLNAME_CAST(sipName_toDisplayString), (PyCFunction)meth_QUrl_toDisplayString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_toDisplayString)},
    {SIP_MLNAME_CAST(sipName_toEncoded), (PyCFunction)meth_QUrl_toEncoded, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_toEncoded)},
    {SIP_MLNAME_CAST(sipName_toLocalFile), meth_QUrl_toLocalFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QUrl_toLocalFile)},
    {SIP_MLNAME_CAST(sipName_toPercentEncoding), (PyCFunction)meth_QUrl_toPercentEncoding, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_toPercentEncoding)},
    {SIP_MLNAME_CAST(sipName_toString), (PyCFunction)meth_QUrl_toString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_toString)},
    {SIP_MLNAME_CAST(sipName_toStringList), (PyCFunction)meth_QUrl_toStringList, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_toStringList)},
    {SIP_MLNAME_CAST(sipName_topLevelDomain), (PyCFunction)meth_QUrl_topLevelDomain, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_topLevelDomain)},
    {SIP_MLNAME_CAST(sipName_url), (PyCFunction)meth_QUrl_url, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_url)},
    {SIP_MLNAME_CAST(sipName_userInfo), (PyCFunction)meth_QUrl_userInfo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_userInfo)},
    {SIP_MLNAME_CAST(sipName_userName), (PyCFunction)meth_QUrl_userName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUrl_userName)}
};

static sipEnumMemberDef enummembers_QUrl[] = {
    {sipName_AssumeLocalFile, static_cast<int>( ::QUrl::AssumeLocalFile), 289},
    {sipName_DecodeReserved, static_cast<int>( ::QUrl::DecodeReserved), 284},
    {sipName_DecodedMode, static_cast<int>( ::QUrl::DecodedMode), 287},
    {sipName_DefaultResolution, static_cast<int>( ::QUrl::DefaultResolution), 289},
    {sipName_EncodeDelimiters, static_cast<int>( ::QUrl::EncodeDelimiters), 284},
    {sipName_EncodeReserved, static_cast<int>( ::QUrl::EncodeReserved), 284},
    {sipName_EncodeSpaces, static_cast<int>( ::QUrl::EncodeSpaces), 284},
    {sipName_EncodeUnicode, static_cast<int>( ::QUrl::EncodeUnicode), 284},
    {sipName_FullyDecoded, static_cast<int>( ::QUrl::FullyDecoded), 284},
    {sipName_FullyEncoded, static_cast<int>( ::QUrl::FullyEncoded), 284},
    {sipName_None_, static_cast<int>( ::QUrl::None), 288},
    {sipName_NormalizePathSegments, static_cast<int>( ::QUrl::NormalizePathSegments), 288},
    {sipName_PreferLocalFile, static_cast<int>( ::QUrl::PreferLocalFile), 288},
    {sipName_PrettyDecoded, static_cast<int>( ::QUrl::PrettyDecoded), 284},
    {sipName_RemoveAuthority, static_cast<int>( ::QUrl::RemoveAuthority), 288},
    {sipName_RemoveFilename, static_cast<int>( ::QUrl::RemoveFilename), 288},
    {sipName_RemoveFragment, static_cast<int>( ::QUrl::RemoveFragment), 288},
    {sipName_RemovePassword, static_cast<int>( ::QUrl::RemovePassword), 288},
    {sipName_RemovePath, static_cast<int>( ::QUrl::RemovePath), 288},
    {sipName_RemovePort, static_cast<int>( ::QUrl::RemovePort), 288},
    {sipName_RemoveQuery, static_cast<int>( ::QUrl::RemoveQuery), 288},
    {sipName_RemoveScheme, static_cast<int>( ::QUrl::RemoveScheme), 288},
    {sipName_RemoveUserInfo, static_cast<int>( ::QUrl::RemoveUserInfo), 288},
    {sipName_StrictMode, static_cast<int>( ::QUrl::StrictMode), 287},
    {sipName_StripTrailingSlash, static_cast<int>( ::QUrl::StripTrailingSlash), 288},
    {sipName_TolerantMode, static_cast<int>( ::QUrl::TolerantMode), 287},
};

PyDoc_STRVAR(doc_QUrl, "\1QUrl()\n"
    "QUrl(str, mode: QUrl.ParsingMode = QUrl.TolerantMode)\n"
    "QUrl(QUrl)");


static pyqt5ClassPluginDef plugin_QUrl = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QUrl = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QUrl,
        {0},
        &plugin_QUrl
    },
    {
        sipNameNr_QUrl,
        {0, 0, 1},
        54, methods_QUrl,
        26, enummembers_QUrl,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUrl,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QUrl,
    init_type_QUrl,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUrl,
    assign_QUrl,
    array_QUrl,
    copy_QUrl,
    release_QUrl,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtranslator.sip"
#include <qtranslator.h>
#line 31031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 31035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 31038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 31041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 31044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 31071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 31080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQTranslator : public  ::QTranslator
{
public:
    sipQTranslator( ::QObject*);
    virtual ~sipQTranslator();

    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 isEmpty() const;
     ::QString translate(const char*,const char*,const char*,int) 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:
    sipQTranslator(const sipQTranslator &);
    sipQTranslator &operator = (const sipQTranslator &);

    char sipPyMethods[9];
};

sipQTranslator::sipQTranslator( ::QObject*a0):  ::QTranslator(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTranslator::~sipQTranslator()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTranslator::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QTranslator);

    return  ::QTranslator::metaObject();
}

int sipQTranslator::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QTranslator::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QTranslator,_c,_id,_a);

    return _id;
}

void *sipQTranslator::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QTranslator, _clname, &sipCpp) ? sipCpp :  ::QTranslator::qt_metacast(_clname));
}

bool sipQTranslator::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return  ::QTranslator::isEmpty();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::QString sipQTranslator::translate(const char*a0,const char*a1,const char*a2,int a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_translate);

    if (!sipMeth)
        return  ::QTranslator::translate(a0,a1,a2,a3);

    extern  ::QString sipVH_QtCore_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,const char*,const char*,int);

    return sipVH_QtCore_65(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQTranslator::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTranslator::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTranslator::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTranslator::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQTranslator::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTranslator::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTranslator::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTranslator::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTranslator::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTranslator::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTranslator::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTranslator::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTranslator::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTranslator::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQTranslator::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQTranslator::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQTranslator::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQTranslator::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQTranslator::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQTranslator::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTranslator::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTranslator::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQTranslator::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QTranslator_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QTranslator_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTranslator, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 31409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTranslator, sipName_sender, doc_QTranslator_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QTranslator_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTranslator, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 31469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QTranslator, sipName_receivers, doc_QTranslator_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QTranslator_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTranslator, &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_QTranslator, sipName_timerEvent, doc_QTranslator_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QTranslator_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTranslator, &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_QTranslator, sipName_childEvent, doc_QTranslator_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QTranslator_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTranslator, &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_QTranslator, sipName_customEvent, doc_QTranslator_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QTranslator_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTranslator, &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_QTranslator, sipName_connectNotify, doc_QTranslator_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QTranslator_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTranslator, &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_QTranslator, sipName_disconnectNotify, doc_QTranslator_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QTranslator_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTranslator, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTranslator, sipName_senderSignalIndex, doc_QTranslator_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTranslator_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQTranslator *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTranslator, &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_QTranslator, sipName_isSignalConnected, doc_QTranslator_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_translate, "translate(self, str, str, disambiguation: str = None, n: int = -1) -> str");

extern "C" {static PyObject *meth_QTranslator_translate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_translate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        const char* a2 = 0;
        PyObject *a2Keep = 0;
        int a3 = -1;
        const  ::QTranslator *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_disambiguation,
            sipName_n,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BAAAA|AAi", &sipSelf, sipType_QTranslator, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2Keep, &a2, &a3))
        {
             ::QString*sipRes;

            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::QTranslator::translate(a0,a1,a2,a3) : sipCpp->translate(a0,a1,a2,a3)));
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            Py_XDECREF(a2Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTranslator, sipName_translate, doc_QTranslator_translate);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QTranslator_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QTranslator_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QTranslator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTranslator, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QTranslator::isEmpty() : sipCpp->isEmpty());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTranslator, sipName_isEmpty, doc_QTranslator_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_load, "load(self, str, directory: str = '', searchDelimiters: str = '', suffix: str = '') -> bool\n"
    "load(self, QLocale, str, prefix: str = '', directory: str = '', suffix: str = '') -> bool");

extern "C" {static PyObject *meth_QTranslator_load(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_load(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  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::QTranslator *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_directory,
            sipName_searchDelimiters,
            sipName_suffix,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1J1J1", &sipSelf, sipType_QTranslator, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->load(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QLocale* a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
        const  ::QString& a4def = QString();
        const  ::QString* a4 = &a4def;
        int a4State = 0;
         ::QTranslator *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_prefix,
            sipName_directory,
            sipName_suffix,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J1|J1J1J1", &sipSelf, sipType_QTranslator, &sipCpp, sipType_QLocale, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->load(*a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a4),sipType_QString,a4State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTranslator, sipName_load, doc_QTranslator_load);

    return NULL;
}


PyDoc_STRVAR(doc_QTranslator_loadFromData, "loadFromData(self, bytes, directory: str = '') -> bool");

extern "C" {static PyObject *meth_QTranslator_loadFromData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTranslator_loadFromData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::uchar* a0;
        SIP_SSIZE_T a1;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::QTranslator *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_directory,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bk|J1", &sipSelf, sipType_QTranslator, &sipCpp, &a0, &a1, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->load(a0,(int)a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTranslator, sipName_loadFromData, doc_QTranslator_loadFromData);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QTranslator(void *, const sipTypeDef *);}
static void *cast_QTranslator(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTranslator *sipCpp = reinterpret_cast< ::QTranslator *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTranslator(void *, int);}
static void release_QTranslator(void *sipCppV, int)
{
     ::QTranslator *sipCpp = reinterpret_cast< ::QTranslator *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTranslator(sipSimpleWrapper *);}
static void dealloc_QTranslator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTranslator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTranslator(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QTranslator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTranslator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTranslator *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 sipQTranslator(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTranslator[] = {{169, 255, 1}};


static PyMethodDef methods_QTranslator[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTranslator_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTranslator_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTranslator_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTranslator_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QTranslator_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QTranslator_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTranslator_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_load), (PyCFunction)meth_QTranslator_load, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTranslator_load)},
    {SIP_MLNAME_CAST(sipName_loadFromData), (PyCFunction)meth_QTranslator_loadFromData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTranslator_loadFromData)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTranslator_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTranslator_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTranslator_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTranslator_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_translate), (PyCFunction)meth_QTranslator_translate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTranslator_translate)}
};

PyDoc_STRVAR(doc_QTranslator, "\1QTranslator(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QTranslator = {
    & ::QTranslator::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTranslator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTranslator,
        {0},
        &plugin_QTranslator
    },
    {
        sipNameNr_QTranslator,
        {0, 0, 1},
        13, methods_QTranslator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTranslator,
    -1,
    -1,
    supers_QTranslator,
    0,
    init_type_QTranslator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTranslator,
    0,
    0,
    0,
    release_QTranslator,
    cast_QTranslator,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 32052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 32056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 32059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


/* Call the instance's destructor. */
extern "C" {static void release_QTimeZone_OffsetData(void *, int);}
static void release_QTimeZone_OffsetData(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTimeZone::OffsetData *>(sipCppV);
}


extern "C" {static void assign_QTimeZone_OffsetData(void *, SIP_SSIZE_T, const void *);}
static void assign_QTimeZone_OffsetData(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QTimeZone::OffsetData *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QTimeZone::OffsetData *>(sipSrc);
}


extern "C" {static void *array_QTimeZone_OffsetData(SIP_SSIZE_T);}
static void *array_QTimeZone_OffsetData(SIP_SSIZE_T sipNrElem)
{
    return new  ::QTimeZone::OffsetData[sipNrElem];
}


extern "C" {static void *copy_QTimeZone_OffsetData(const void *, SIP_SSIZE_T);}
static void *copy_QTimeZone_OffsetData(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QTimeZone::OffsetData(reinterpret_cast<const  ::QTimeZone::OffsetData *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTimeZone_OffsetData(sipSimpleWrapper *);}
static void dealloc_QTimeZone_OffsetData(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTimeZone_OffsetData(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTimeZone_OffsetData(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTimeZone_OffsetData(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTimeZone::OffsetData *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QTimeZone::OffsetData();

            return sipCpp;
        }
    }

    {
        const  ::QTimeZone::OffsetData* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTimeZone_OffsetData, &a0))
        {
            sipCpp = new  ::QTimeZone::OffsetData(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_QTimeZone_OffsetData_abbreviation(void *, PyObject *, PyObject *);}
static PyObject *varget_QTimeZone_OffsetData_abbreviation(void *sipSelf, PyObject *, PyObject *)
{
     ::QString*sipVal;
     ::QTimeZone::OffsetData *sipCpp = reinterpret_cast< ::QTimeZone::OffsetData *>(sipSelf);

    sipVal = &sipCpp->abbreviation;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_QTimeZone_OffsetData_abbreviation(void *, PyObject *, PyObject *);}
static int varset_QTimeZone_OffsetData_abbreviation(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QString*sipVal;
     ::QTimeZone::OffsetData *sipCpp = reinterpret_cast< ::QTimeZone::OffsetData *>(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->abbreviation = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QTimeZone_OffsetData_atUtc(void *, PyObject *, PyObject *);}
static PyObject *varget_QTimeZone_OffsetData_atUtc(void *sipSelf, PyObject *, PyObject *)
{
     ::QDateTime*sipVal;
     ::QTimeZone::OffsetData *sipCpp = reinterpret_cast< ::QTimeZone::OffsetData *>(sipSelf);

    sipVal = &sipCpp->atUtc;

    return sipConvertFromType(sipVal, sipType_QDateTime, NULL);
}


extern "C" {static int varset_QTimeZone_OffsetData_atUtc(void *, PyObject *, PyObject *);}
static int varset_QTimeZone_OffsetData_atUtc(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QDateTime*sipVal;
     ::QTimeZone::OffsetData *sipCpp = reinterpret_cast< ::QTimeZone::OffsetData *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QDateTime *>(sipForceConvertToType(sipPy,sipType_QDateTime,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->atUtc = *sipVal;

    sipReleaseType(sipVal, sipType_QDateTime, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QTimeZone_OffsetData_daylightTimeOffset(void *, PyObject *, PyObject *);}
static PyObject *varget_QTimeZone_OffsetData_daylightTimeOffset(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QTimeZone::OffsetData *sipCpp = reinterpret_cast< ::QTimeZone::OffsetData *>(sipSelf);

    sipVal = sipCpp->daylightTimeOffset;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QTimeZone_OffsetData_daylightTimeOffset(void *, PyObject *, PyObject *);}
static int varset_QTimeZone_OffsetData_daylightTimeOffset(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QTimeZone::OffsetData *sipCpp = reinterpret_cast< ::QTimeZone::OffsetData *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->daylightTimeOffset = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QTimeZone_OffsetData_offsetFromUtc(void *, PyObject *, PyObject *);}
static PyObject *varget_QTimeZone_OffsetData_offsetFromUtc(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QTimeZone::OffsetData *sipCpp = reinterpret_cast< ::QTimeZone::OffsetData *>(sipSelf);

    sipVal = sipCpp->offsetFromUtc;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QTimeZone_OffsetData_offsetFromUtc(void *, PyObject *, PyObject *);}
static int varset_QTimeZone_OffsetData_offsetFromUtc(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QTimeZone::OffsetData *sipCpp = reinterpret_cast< ::QTimeZone::OffsetData *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->offsetFromUtc = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QTimeZone_OffsetData_standardTimeOffset(void *, PyObject *, PyObject *);}
static PyObject *varget_QTimeZone_OffsetData_standardTimeOffset(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QTimeZone::OffsetData *sipCpp = reinterpret_cast< ::QTimeZone::OffsetData *>(sipSelf);

    sipVal = sipCpp->standardTimeOffset;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QTimeZone_OffsetData_standardTimeOffset(void *, PyObject *, PyObject *);}
static int varset_QTimeZone_OffsetData_standardTimeOffset(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QTimeZone::OffsetData *sipCpp = reinterpret_cast< ::QTimeZone::OffsetData *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->standardTimeOffset = sipVal;

    return 0;
}

sipVariableDef variables_QTimeZone_OffsetData[] = {
    {InstanceVariable, sipName_abbreviation, (PyMethodDef *)varget_QTimeZone_OffsetData_abbreviation, (PyMethodDef *)varset_QTimeZone_OffsetData_abbreviation, NULL, NULL},
    {InstanceVariable, sipName_atUtc, (PyMethodDef *)varget_QTimeZone_OffsetData_atUtc, (PyMethodDef *)varset_QTimeZone_OffsetData_atUtc, NULL, NULL},
    {InstanceVariable, sipName_daylightTimeOffset, (PyMethodDef *)varget_QTimeZone_OffsetData_daylightTimeOffset, (PyMethodDef *)varset_QTimeZone_OffsetData_daylightTimeOffset, NULL, NULL},
    {InstanceVariable, sipName_offsetFromUtc, (PyMethodDef *)varget_QTimeZone_OffsetData_offsetFromUtc, (PyMethodDef *)varset_QTimeZone_OffsetData_offsetFromUtc, NULL, NULL},
    {InstanceVariable, sipName_standardTimeOffset, (PyMethodDef *)varget_QTimeZone_OffsetData_standardTimeOffset, (PyMethodDef *)varset_QTimeZone_OffsetData_standardTimeOffset, NULL, NULL},
};

PyDoc_STRVAR(doc_QTimeZone_OffsetData, "\1QTimeZone.OffsetData()\n"
    "QTimeZone.OffsetData(QTimeZone.OffsetData)");


static pyqt5ClassPluginDef plugin_QTimeZone_OffsetData = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTimeZone_OffsetData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTimeZone__OffsetData,
        {0},
        &plugin_QTimeZone_OffsetData
    },
    {
        sipNameNr_OffsetData,
        {276, 255, 0},
        0, 0,
        0, 0,
        5, variables_QTimeZone_OffsetData,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTimeZone_OffsetData,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QTimeZone_OffsetData,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTimeZone_OffsetData,
    assign_QTimeZone_OffsetData,
    array_QTimeZone_OffsetData,
    copy_QTimeZone_OffsetData,
    release_QTimeZone_OffsetData,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 32356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 32360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 32363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 32366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 32369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 32372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 32377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 32380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTimeZone_swap, "swap(self, QTimeZone)");

extern "C" {static PyObject *meth_QTimeZone_swap(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTimeZone* a0;
         ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QTimeZone, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_swap, doc_QTimeZone_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QTimeZone_isValid(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeZone, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_isValid, doc_QTimeZone_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_id, "id(self) -> QByteArray");

extern "C" {static PyObject *meth_QTimeZone_id(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeZone, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->id());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_id, doc_QTimeZone_id);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_country, "country(self) -> QLocale.Country");

extern "C" {static PyObject *meth_QTimeZone_country(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_country(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeZone, &sipCpp))
        {
             ::QLocale::Country sipRes;

            sipRes = sipCpp->country();

            return sipConvertFromEnum(sipRes,sipType_QLocale_Country);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_country, doc_QTimeZone_country);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_comment, "comment(self) -> str");

extern "C" {static PyObject *meth_QTimeZone_comment(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_comment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeZone, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->comment());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_comment, doc_QTimeZone_comment);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_displayName, "displayName(self, Union[QDateTime, datetime.datetime], nameType: QTimeZone.NameType = QTimeZone.DefaultName, locale: QLocale = QLocale()) -> str\n"
    "displayName(self, QTimeZone.TimeType, nameType: QTimeZone.NameType = QTimeZone.DefaultName, locale: QLocale = QLocale()) -> str");

extern "C" {static PyObject *meth_QTimeZone_displayName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_displayName(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
         ::QTimeZone::NameType a1 = QTimeZone::DefaultName;
        const  ::QLocale& a2def = QLocale();
        const  ::QLocale* a2 = &a2def;
        const  ::QTimeZone *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_nameType,
            sipName_locale,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|EJ9", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QDateTime, &a0, &a0State, sipType_QTimeZone_NameType, &a1, sipType_QLocale, &a2))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->displayName(*a0,a1,*a2));
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
         ::QTimeZone::TimeType a0;
         ::QTimeZone::NameType a1 = QTimeZone::DefaultName;
        const  ::QLocale& a2def = QLocale();
        const  ::QLocale* a2 = &a2def;
        const  ::QTimeZone *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_nameType,
            sipName_locale,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|EJ9", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QTimeZone_TimeType, &a0, sipType_QTimeZone_NameType, &a1, sipType_QLocale, &a2))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->displayName(a0,a1,*a2));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_displayName, doc_QTimeZone_displayName);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_abbreviation, "abbreviation(self, Union[QDateTime, datetime.datetime]) -> str");

extern "C" {static PyObject *meth_QTimeZone_abbreviation(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_abbreviation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->abbreviation(*a0));
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_abbreviation, doc_QTimeZone_abbreviation);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_offsetFromUtc, "offsetFromUtc(self, Union[QDateTime, datetime.datetime]) -> int");

extern "C" {static PyObject *meth_QTimeZone_offsetFromUtc(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_offsetFromUtc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->offsetFromUtc(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_offsetFromUtc, doc_QTimeZone_offsetFromUtc);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_standardTimeOffset, "standardTimeOffset(self, Union[QDateTime, datetime.datetime]) -> int");

extern "C" {static PyObject *meth_QTimeZone_standardTimeOffset(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_standardTimeOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->standardTimeOffset(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_standardTimeOffset, doc_QTimeZone_standardTimeOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_daylightTimeOffset, "daylightTimeOffset(self, Union[QDateTime, datetime.datetime]) -> int");

extern "C" {static PyObject *meth_QTimeZone_daylightTimeOffset(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_daylightTimeOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->daylightTimeOffset(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_daylightTimeOffset, doc_QTimeZone_daylightTimeOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_hasDaylightTime, "hasDaylightTime(self) -> bool");

extern "C" {static PyObject *meth_QTimeZone_hasDaylightTime(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_hasDaylightTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeZone, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasDaylightTime();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_hasDaylightTime, doc_QTimeZone_hasDaylightTime);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_isDaylightTime, "isDaylightTime(self, Union[QDateTime, datetime.datetime]) -> bool");

extern "C" {static PyObject *meth_QTimeZone_isDaylightTime(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_isDaylightTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->isDaylightTime(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_isDaylightTime, doc_QTimeZone_isDaylightTime);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_offsetData, "offsetData(self, Union[QDateTime, datetime.datetime]) -> QTimeZone.OffsetData");

extern "C" {static PyObject *meth_QTimeZone_offsetData(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_offsetData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
             ::QTimeZone::OffsetData*sipRes;

            sipRes = new  ::QTimeZone::OffsetData(sipCpp->offsetData(*a0));
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTimeZone_OffsetData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_offsetData, doc_QTimeZone_offsetData);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_hasTransitions, "hasTransitions(self) -> bool");

extern "C" {static PyObject *meth_QTimeZone_hasTransitions(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_hasTransitions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeZone, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasTransitions();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_hasTransitions, doc_QTimeZone_hasTransitions);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_nextTransition, "nextTransition(self, Union[QDateTime, datetime.datetime]) -> QTimeZone.OffsetData");

extern "C" {static PyObject *meth_QTimeZone_nextTransition(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_nextTransition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
             ::QTimeZone::OffsetData*sipRes;

            sipRes = new  ::QTimeZone::OffsetData(sipCpp->nextTransition(*a0));
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTimeZone_OffsetData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_nextTransition, doc_QTimeZone_nextTransition);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_previousTransition, "previousTransition(self, Union[QDateTime, datetime.datetime]) -> QTimeZone.OffsetData");

extern "C" {static PyObject *meth_QTimeZone_previousTransition(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_previousTransition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
             ::QTimeZone::OffsetData*sipRes;

            sipRes = new  ::QTimeZone::OffsetData(sipCpp->previousTransition(*a0));
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTimeZone_OffsetData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_previousTransition, doc_QTimeZone_previousTransition);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_transitions, "transitions(self, Union[QDateTime, datetime.datetime], Union[QDateTime, datetime.datetime]) -> object");

extern "C" {static PyObject *meth_QTimeZone_transitions(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_transitions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QDateTime* a1;
        int a1State = 0;
        const  ::QTimeZone *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QTimeZone, &sipCpp, sipType_QDateTime, &a0, &a0State, sipType_QDateTime, &a1, &a1State))
        {
             ::QTimeZone::OffsetDataList*sipRes;

            sipRes = new  ::QTimeZone::OffsetDataList(sipCpp->transitions(*a0,*a1));
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);
            sipReleaseType(const_cast< ::QDateTime *>(a1),sipType_QDateTime,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVector_0100QTimeZone_OffsetData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_transitions, doc_QTimeZone_transitions);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_systemTimeZoneId, "systemTimeZoneId() -> QByteArray");

extern "C" {static PyObject *meth_QTimeZone_systemTimeZoneId(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_systemTimeZoneId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QTimeZone::systemTimeZoneId());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_systemTimeZoneId, doc_QTimeZone_systemTimeZoneId);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_isTimeZoneIdAvailable, "isTimeZoneIdAvailable(Union[QByteArray, bytes, bytearray]) -> bool");

extern "C" {static PyObject *meth_QTimeZone_isTimeZoneIdAvailable(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_isTimeZoneIdAvailable(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes =  ::QTimeZone::isTimeZoneIdAvailable(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_isTimeZoneIdAvailable, doc_QTimeZone_isTimeZoneIdAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_availableTimeZoneIds, "availableTimeZoneIds() -> List[QByteArray]\n"
    "availableTimeZoneIds(QLocale.Country) -> List[QByteArray]\n"
    "availableTimeZoneIds(int) -> List[QByteArray]");

extern "C" {static PyObject *meth_QTimeZone_availableTimeZoneIds(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_availableTimeZoneIds(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>( ::QTimeZone::availableTimeZoneIds());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    {
         ::QLocale::Country a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "XE", sipType_QLocale_Country, &a0))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>( ::QTimeZone::availableTimeZoneIds(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>( ::QTimeZone::availableTimeZoneIds(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_availableTimeZoneIds, doc_QTimeZone_availableTimeZoneIds);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_ianaIdToWindowsId, "ianaIdToWindowsId(Union[QByteArray, bytes, bytearray]) -> QByteArray");

extern "C" {static PyObject *meth_QTimeZone_ianaIdToWindowsId(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_ianaIdToWindowsId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QTimeZone::ianaIdToWindowsId(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_ianaIdToWindowsId, doc_QTimeZone_ianaIdToWindowsId);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_windowsIdToDefaultIanaId, "windowsIdToDefaultIanaId(Union[QByteArray, bytes, bytearray]) -> QByteArray\n"
    "windowsIdToDefaultIanaId(Union[QByteArray, bytes, bytearray], QLocale.Country) -> QByteArray");

extern "C" {static PyObject *meth_QTimeZone_windowsIdToDefaultIanaId(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_windowsIdToDefaultIanaId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QTimeZone::windowsIdToDefaultIanaId(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QLocale::Country a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1E", sipType_QByteArray, &a0, &a0State, sipType_QLocale_Country, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QTimeZone::windowsIdToDefaultIanaId(*a0,a1));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_windowsIdToDefaultIanaId, doc_QTimeZone_windowsIdToDefaultIanaId);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_windowsIdToIanaIds, "windowsIdToIanaIds(Union[QByteArray, bytes, bytearray]) -> List[QByteArray]\n"
    "windowsIdToIanaIds(Union[QByteArray, bytes, bytearray], QLocale.Country) -> List[QByteArray]");

extern "C" {static PyObject *meth_QTimeZone_windowsIdToIanaIds(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_windowsIdToIanaIds(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>( ::QTimeZone::windowsIdToIanaIds(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QLocale::Country a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1E", sipType_QByteArray, &a0, &a0State, sipType_QLocale_Country, &a1))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>( ::QTimeZone::windowsIdToIanaIds(*a0,a1));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_windowsIdToIanaIds, doc_QTimeZone_windowsIdToIanaIds);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_systemTimeZone, "systemTimeZone() -> QTimeZone");

extern "C" {static PyObject *meth_QTimeZone_systemTimeZone(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_systemTimeZone(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QTimeZone*sipRes;

            sipRes = new  ::QTimeZone( ::QTimeZone::systemTimeZone());

            return sipConvertFromNewType(sipRes,sipType_QTimeZone,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_systemTimeZone, doc_QTimeZone_systemTimeZone);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeZone_utc, "utc() -> QTimeZone");

extern "C" {static PyObject *meth_QTimeZone_utc(PyObject *, PyObject *);}
static PyObject *meth_QTimeZone_utc(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QTimeZone*sipRes;

            sipRes = new  ::QTimeZone( ::QTimeZone::utc());

            return sipConvertFromNewType(sipRes,sipType_QTimeZone,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeZone, sipName_utc, doc_QTimeZone_utc);

    return NULL;
}


extern "C" {static PyObject *slot_QTimeZone___ne__(PyObject *,PyObject *);}
static PyObject *slot_QTimeZone___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTimeZone *sipCpp = reinterpret_cast< ::QTimeZone *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTimeZone));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeZone* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QTimeZone, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QTimeZone::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QTimeZone, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTimeZone___eq__(PyObject *,PyObject *);}
static PyObject *slot_QTimeZone___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTimeZone *sipCpp = reinterpret_cast< ::QTimeZone *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTimeZone));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeZone* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QTimeZone, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QTimeZone::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QTimeZone, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QTimeZone(void *, int);}
static void release_QTimeZone(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTimeZone *>(sipCppV);
}


extern "C" {static void assign_QTimeZone(void *, SIP_SSIZE_T, const void *);}
static void assign_QTimeZone(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QTimeZone *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QTimeZone *>(sipSrc);
}


extern "C" {static void *array_QTimeZone(SIP_SSIZE_T);}
static void *array_QTimeZone(SIP_SSIZE_T sipNrElem)
{
    return new  ::QTimeZone[sipNrElem];
}


extern "C" {static void *copy_QTimeZone(const void *, SIP_SSIZE_T);}
static void *copy_QTimeZone(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QTimeZone(reinterpret_cast<const  ::QTimeZone *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTimeZone(sipSimpleWrapper *);}
static void dealloc_QTimeZone(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTimeZone(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTimeZone(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTimeZone(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTimeZone *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QTimeZone();

            return sipCpp;
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QByteArray, &a0, &a0State))
        {
            sipCpp = new  ::QTimeZone(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QTimeZone(a0);

            return sipCpp;
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        int a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString* a3;
        int a3State = 0;
         ::QLocale::Country a4 = QLocale::AnyCountry;
        const  ::QString& a5def = QString();
        const  ::QString* a5 = &a5def;
        int a5State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_country,
            sipName_comment,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1iJ1J1|EJ1", sipType_QByteArray, &a0, &a0State, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QLocale_Country, &a4, sipType_QString,&a5, &a5State))
        {
            sipCpp = new  ::QTimeZone(*a0,a1,*a2,*a3,a4,*a5);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast< ::QString *>(a5),sipType_QString,a5State);

            return sipCpp;
        }
    }

    {
        const  ::QTimeZone* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTimeZone, &a0))
        {
            sipCpp = new  ::QTimeZone(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTimeZone[] = {
    {(void *)slot_QTimeZone___ne__, ne_slot},
    {(void *)slot_QTimeZone___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QTimeZone[] = {
    {SIP_MLNAME_CAST(sipName_abbreviation), meth_QTimeZone_abbreviation, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_abbreviation)},
    {SIP_MLNAME_CAST(sipName_availableTimeZoneIds), meth_QTimeZone_availableTimeZoneIds, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_availableTimeZoneIds)},
    {SIP_MLNAME_CAST(sipName_comment), meth_QTimeZone_comment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_comment)},
    {SIP_MLNAME_CAST(sipName_country), meth_QTimeZone_country, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_country)},
    {SIP_MLNAME_CAST(sipName_daylightTimeOffset), meth_QTimeZone_daylightTimeOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_daylightTimeOffset)},
    {SIP_MLNAME_CAST(sipName_displayName), (PyCFunction)meth_QTimeZone_displayName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTimeZone_displayName)},
    {SIP_MLNAME_CAST(sipName_hasDaylightTime), meth_QTimeZone_hasDaylightTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_hasDaylightTime)},
    {SIP_MLNAME_CAST(sipName_hasTransitions), meth_QTimeZone_hasTransitions, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_hasTransitions)},
    {SIP_MLNAME_CAST(sipName_ianaIdToWindowsId), meth_QTimeZone_ianaIdToWindowsId, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_ianaIdToWindowsId)},
    {SIP_MLNAME_CAST(sipName_id), meth_QTimeZone_id, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_id)},
    {SIP_MLNAME_CAST(sipName_isDaylightTime), meth_QTimeZone_isDaylightTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_isDaylightTime)},
    {SIP_MLNAME_CAST(sipName_isTimeZoneIdAvailable), meth_QTimeZone_isTimeZoneIdAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_isTimeZoneIdAvailable)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QTimeZone_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_isValid)},
    {SIP_MLNAME_CAST(sipName_nextTransition), meth_QTimeZone_nextTransition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_nextTransition)},
    {SIP_MLNAME_CAST(sipName_offsetData), meth_QTimeZone_offsetData, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_offsetData)},
    {SIP_MLNAME_CAST(sipName_offsetFromUtc), meth_QTimeZone_offsetFromUtc, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_offsetFromUtc)},
    {SIP_MLNAME_CAST(sipName_previousTransition), meth_QTimeZone_previousTransition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_previousTransition)},
    {SIP_MLNAME_CAST(sipName_standardTimeOffset), meth_QTimeZone_standardTimeOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_standardTimeOffset)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QTimeZone_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_swap)},
    {SIP_MLNAME_CAST(sipName_systemTimeZone), meth_QTimeZone_systemTimeZone, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_systemTimeZone)},
    {SIP_MLNAME_CAST(sipName_systemTimeZoneId), meth_QTimeZone_systemTimeZoneId, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_systemTimeZoneId)},
    {SIP_MLNAME_CAST(sipName_transitions), meth_QTimeZone_transitions, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_transitions)},
    {SIP_MLNAME_CAST(sipName_utc), meth_QTimeZone_utc, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_utc)},
    {SIP_MLNAME_CAST(sipName_windowsIdToDefaultIanaId), meth_QTimeZone_windowsIdToDefaultIanaId, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_windowsIdToDefaultIanaId)},
    {SIP_MLNAME_CAST(sipName_windowsIdToIanaIds), meth_QTimeZone_windowsIdToIanaIds, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeZone_windowsIdToIanaIds)}
};

static sipEnumMemberDef enummembers_QTimeZone[] = {
    {sipName_DaylightTime, static_cast<int>( ::QTimeZone::DaylightTime), 279},
    {sipName_DefaultName, static_cast<int>( ::QTimeZone::DefaultName), 277},
    {sipName_GenericTime, static_cast<int>( ::QTimeZone::GenericTime), 279},
    {sipName_LongName, static_cast<int>( ::QTimeZone::LongName), 277},
    {sipName_OffsetName, static_cast<int>( ::QTimeZone::OffsetName), 277},
    {sipName_ShortName, static_cast<int>( ::QTimeZone::ShortName), 277},
    {sipName_StandardTime, static_cast<int>( ::QTimeZone::StandardTime), 279},
};

PyDoc_STRVAR(doc_QTimeZone, "\1QTimeZone()\n"
    "QTimeZone(Union[QByteArray, bytes, bytearray])\n"
    "QTimeZone(int)\n"
    "QTimeZone(Union[QByteArray, bytes, bytearray], int, str, str, country: QLocale.Country = QLocale.AnyCountry, comment: str = '')\n"
    "QTimeZone(QTimeZone)");


static pyqt5ClassPluginDef plugin_QTimeZone = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTimeZone = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTimeZone,
        {0},
        &plugin_QTimeZone
    },
    {
        sipNameNr_QTimeZone,
        {0, 0, 1},
        25, methods_QTimeZone,
        7, enummembers_QTimeZone,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTimeZone,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QTimeZone,
    init_type_QTimeZone,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTimeZone,
    assign_QTimeZone,
    array_QTimeZone,
    copy_QTimeZone,
    release_QTimeZone,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimer.sip"
#include <qtimer.h>
#line 33519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 33532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 33541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 33556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 33565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQTimer : public  ::QTimer
{
public:
    sipQTimer( ::QObject*);
    virtual ~sipQTimer();

    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_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;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    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:
    sipQTimer(const sipQTimer &);
    sipQTimer &operator = (const sipQTimer &);

    char sipPyMethods[7];
};

sipQTimer::sipQTimer( ::QObject*a0):  ::QTimer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTimer::~sipQTimer()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTimer::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QTimer);

    return  ::QTimer::metaObject();
}

int sipQTimer::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QTimer::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QTimer,_c,_id,_a);

    return _id;
}

void *sipQTimer::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QTimer, _clname, &sipCpp) ? sipCpp :  ::QTimer::qt_metacast(_clname));
}

bool sipQTimer::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTimer::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTimer::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTimer::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQTimer::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTimer::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTimer::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTimer::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTimer::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTimer::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTimer::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTimer::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTimer::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTimer::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQTimer::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQTimer::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQTimer::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQTimer::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQTimer::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTimer::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTimer::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQTimer::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQTimer::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QTimer::timerEvent(a0) : timerEvent(a0));
}


PyDoc_STRVAR(doc_QTimer_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QTimer_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimer_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 33862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_sender, doc_QTimer_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QTimer_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimer_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTimer, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 33922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QTimer, sipName_receivers, doc_QTimer_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QTimer_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimer_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimer, &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_QTimer, sipName_childEvent, doc_QTimer_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QTimer_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimer_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimer, &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_QTimer, sipName_customEvent, doc_QTimer_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QTimer_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimer_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTimer, &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_QTimer, sipName_connectNotify, doc_QTimer_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QTimer_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimer_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTimer, &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_QTimer, sipName_disconnectNotify, doc_QTimer_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QTimer_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimer_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_senderSignalIndex, doc_QTimer_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTimer_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimer_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTimer, &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_QTimer, sipName_isSignalConnected, doc_QTimer_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_isActive, "isActive(self) -> bool");

extern "C" {static PyObject *meth_QTimer_isActive(PyObject *, PyObject *);}
static PyObject *meth_QTimer_isActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_isActive, doc_QTimer_isActive);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_timerId, "timerId(self) -> int");

extern "C" {static PyObject *meth_QTimer_timerId(PyObject *, PyObject *);}
static PyObject *meth_QTimer_timerId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->timerId();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_timerId, doc_QTimer_timerId);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_setInterval, "setInterval(self, int)");

extern "C" {static PyObject *meth_QTimer_setInterval(PyObject *, PyObject *);}
static PyObject *meth_QTimer_setInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTimer, &sipCpp, &a0))
        {
            sipCpp->setInterval(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_setInterval, doc_QTimer_setInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_interval, "interval(self) -> int");

extern "C" {static PyObject *meth_QTimer_interval(PyObject *, PyObject *);}
static PyObject *meth_QTimer_interval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->interval();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_interval, doc_QTimer_interval);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_isSingleShot, "isSingleShot(self) -> bool");

extern "C" {static PyObject *meth_QTimer_isSingleShot(PyObject *, PyObject *);}
static PyObject *meth_QTimer_isSingleShot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSingleShot();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_isSingleShot, doc_QTimer_isSingleShot);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_setSingleShot, "setSingleShot(self, bool)");

extern "C" {static PyObject *meth_QTimer_setSingleShot(PyObject *, PyObject *);}
static PyObject *meth_QTimer_setSingleShot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTimer, &sipCpp, &a0))
        {
            sipCpp->setSingleShot(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_setSingleShot, doc_QTimer_setSingleShot);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_singleShot, "singleShot(int, PYQT_SLOT)\n"
    "singleShot(int, Qt.TimerType, PYQT_SLOT)");

extern "C" {static PyObject *meth_QTimer_singleShot(PyObject *, PyObject *);}
static PyObject *meth_QTimer_singleShot(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        PyObject * a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iP0", &a0, &a1))
        {
            sipErrorState sipError = sipErrorNone;

#line 40 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimer.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_get_connection_parts(a1, 0, "()", true, &receiver, slot_signature)) == sipErrorNone)
        {
            QTimer::singleShot(a0, receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(1, a1);
        }
#line 34314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        int a0;
         ::Qt::TimerType a1;
        PyObject * a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "iEP0", &a0, sipType_Qt_TimerType, &a1, &a2))
        {
            sipErrorState sipError = sipErrorNone;

#line 55 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimer.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_get_connection_parts(a2, 0, "()", true, &receiver, slot_signature)) == sipErrorNone)
        {
            QTimer::singleShot(a0, a1, receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(2, a2);
        }
#line 34350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_singleShot, doc_QTimer_singleShot);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_start, "start(self, int)\n"
    "start(self)");

extern "C" {static PyObject *meth_QTimer_start(PyObject *, PyObject *);}
static PyObject *meth_QTimer_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTimer, &sipCpp, &a0))
        {
            sipCpp->start(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
            sipCpp->start();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_start, doc_QTimer_start);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_stop, "stop(self)");

extern "C" {static PyObject *meth_QTimer_stop(PyObject *, PyObject *);}
static PyObject *meth_QTimer_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_stop, doc_QTimer_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QTimer_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimer_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQTimer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimer, &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_QTimer, sipName_timerEvent, doc_QTimer_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_setTimerType, "setTimerType(self, Qt.TimerType)");

extern "C" {static PyObject *meth_QTimer_setTimerType(PyObject *, PyObject *);}
static PyObject *meth_QTimer_setTimerType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TimerType a0;
         ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTimer, &sipCpp, sipType_Qt_TimerType, &a0))
        {
            sipCpp->setTimerType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_setTimerType, doc_QTimer_setTimerType);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_timerType, "timerType(self) -> Qt.TimerType");

extern "C" {static PyObject *meth_QTimer_timerType(PyObject *, PyObject *);}
static PyObject *meth_QTimer_timerType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
             ::Qt::TimerType sipRes;

            sipRes = sipCpp->timerType();

            return sipConvertFromEnum(sipRes,sipType_Qt_TimerType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_timerType, doc_QTimer_timerType);

    return NULL;
}


PyDoc_STRVAR(doc_QTimer_remainingTime, "remainingTime(self) -> int");

extern "C" {static PyObject *meth_QTimer_remainingTime(PyObject *, PyObject *);}
static PyObject *meth_QTimer_remainingTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->remainingTime();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimer, sipName_remainingTime, doc_QTimer_remainingTime);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QTimer(void *, const sipTypeDef *);}
static void *cast_QTimer(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTimer *sipCpp = reinterpret_cast< ::QTimer *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTimer(void *, int);}
static void release_QTimer(void *sipCppV, int)
{
     ::QTimer *sipCpp = reinterpret_cast< ::QTimer *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTimer(sipSimpleWrapper *);}
static void dealloc_QTimer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTimer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTimer(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QTimer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTimer(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTimer *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 sipQTimer(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTimer[] = {{169, 255, 1}};


static PyMethodDef methods_QTimer[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTimer_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTimer_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTimer_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTimer_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_interval), meth_QTimer_interval, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_interval)},
    {SIP_MLNAME_CAST(sipName_isActive), meth_QTimer_isActive, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_isActive)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTimer_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSingleShot), meth_QTimer_isSingleShot, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_isSingleShot)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTimer_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_remainingTime), meth_QTimer_remainingTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_remainingTime)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTimer_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTimer_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setInterval), meth_QTimer_setInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_setInterval)},
    {SIP_MLNAME_CAST(sipName_setSingleShot), meth_QTimer_setSingleShot, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_setSingleShot)},
    {SIP_MLNAME_CAST(sipName_setTimerType), meth_QTimer_setTimerType, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_setTimerType)},
    {SIP_MLNAME_CAST(sipName_singleShot), meth_QTimer_singleShot, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_singleShot)},
    {SIP_MLNAME_CAST(sipName_start), meth_QTimer_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_start)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QTimer_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_stop)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTimer_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTimer_timerEvent)},
    {SIP_MLNAME_CAST(sipName_timerId), meth_QTimer_timerId, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_timerId)},
    {SIP_MLNAME_CAST(sipName_timerType), meth_QTimer_timerType, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimer_timerType)}
};

PyDoc_STRVAR(doc_QTimer, "\1QTimer(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTimer[] = {
    {"timeout()", "\1timeout(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QTimer = {
    & ::QTimer::staticMetaObject,
    0,
    signals_QTimer,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTimer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTimer,
        {0},
        &plugin_QTimer
    },
    {
        sipNameNr_QTimer,
        {0, 0, 1},
        21, methods_QTimer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTimer,
    -1,
    -1,
    supers_QTimer,
    0,
    init_type_QTimer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTimer,
    0,
    0,
    0,
    release_QTimer,
    cast_QTimer,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimeline.sip"
#include <qtimeline.h>
#line 34717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 34721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 34724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 34730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 34736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 34739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 34742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 34748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 34751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 34757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 34760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 34763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 34766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 34769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQTimeLine : public  ::QTimeLine
{
public:
    sipQTimeLine(int, ::QObject*);
    virtual ~sipQTimeLine();

    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_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;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::qreal valueForTime(int) 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:
    sipQTimeLine(const sipQTimeLine &);
    sipQTimeLine &operator = (const sipQTimeLine &);

    char sipPyMethods[8];
};

sipQTimeLine::sipQTimeLine(int a0, ::QObject*a1):  ::QTimeLine(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTimeLine::~sipQTimeLine()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTimeLine::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QTimeLine);

    return  ::QTimeLine::metaObject();
}

int sipQTimeLine::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QTimeLine::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QTimeLine,_c,_id,_a);

    return _id;
}

void *sipQTimeLine::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QTimeLine, _clname, &sipCpp) ? sipCpp :  ::QTimeLine::qt_metacast(_clname));
}

 ::qreal sipQTimeLine::valueForTime(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_valueForTime);

    if (!sipMeth)
        return  ::QTimeLine::valueForTime(a0);

    extern  ::qreal sipVH_QtCore_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_64(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTimeLine::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTimeLine::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTimeLine::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTimeLine::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQTimeLine::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTimeLine::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTimeLine::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTimeLine::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTimeLine::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTimeLine::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTimeLine::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTimeLine::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTimeLine::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTimeLine::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQTimeLine::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQTimeLine::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQTimeLine::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQTimeLine::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQTimeLine::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTimeLine::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTimeLine::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQTimeLine::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQTimeLine::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QTimeLine::timerEvent(a0) : timerEvent(a0));
}


PyDoc_STRVAR(doc_QTimeLine_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QTimeLine_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 35079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_sender, doc_QTimeLine_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QTimeLine_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 35139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QTimeLine, sipName_receivers, doc_QTimeLine_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QTimeLine_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeLine, &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_QTimeLine, sipName_childEvent, doc_QTimeLine_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QTimeLine_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeLine, &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_QTimeLine, sipName_customEvent, doc_QTimeLine_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QTimeLine_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTimeLine, &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_QTimeLine, sipName_connectNotify, doc_QTimeLine_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QTimeLine_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTimeLine, &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_QTimeLine, sipName_disconnectNotify, doc_QTimeLine_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QTimeLine_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_senderSignalIndex, doc_QTimeLine_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTimeLine_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTimeLine, &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_QTimeLine, sipName_isSignalConnected, doc_QTimeLine_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_state, "state(self) -> QTimeLine.State");

extern "C" {static PyObject *meth_QTimeLine_state(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
             ::QTimeLine::State sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QTimeLine_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_state, doc_QTimeLine_state);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_loopCount, "loopCount(self) -> int");

extern "C" {static PyObject *meth_QTimeLine_loopCount(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_loopCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->loopCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_loopCount, doc_QTimeLine_loopCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setLoopCount, "setLoopCount(self, int)");

extern "C" {static PyObject *meth_QTimeLine_setLoopCount(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setLoopCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            sipCpp->setLoopCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setLoopCount, doc_QTimeLine_setLoopCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_direction, "direction(self) -> QTimeLine.Direction");

extern "C" {static PyObject *meth_QTimeLine_direction(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_direction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
             ::QTimeLine::Direction sipRes;

            sipRes = sipCpp->direction();

            return sipConvertFromEnum(sipRes,sipType_QTimeLine_Direction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_direction, doc_QTimeLine_direction);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setDirection, "setDirection(self, QTimeLine.Direction)");

extern "C" {static PyObject *meth_QTimeLine_setDirection(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTimeLine::Direction a0;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTimeLine, &sipCpp, sipType_QTimeLine_Direction, &a0))
        {
            sipCpp->setDirection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setDirection, doc_QTimeLine_setDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_duration, "duration(self) -> int");

extern "C" {static PyObject *meth_QTimeLine_duration(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->duration();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_duration, doc_QTimeLine_duration);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setDuration, "setDuration(self, int)");

extern "C" {static PyObject *meth_QTimeLine_setDuration(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            sipCpp->setDuration(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setDuration, doc_QTimeLine_setDuration);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_startFrame, "startFrame(self) -> int");

extern "C" {static PyObject *meth_QTimeLine_startFrame(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_startFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->startFrame();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_startFrame, doc_QTimeLine_startFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setStartFrame, "setStartFrame(self, int)");

extern "C" {static PyObject *meth_QTimeLine_setStartFrame(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setStartFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            sipCpp->setStartFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setStartFrame, doc_QTimeLine_setStartFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_endFrame, "endFrame(self) -> int");

extern "C" {static PyObject *meth_QTimeLine_endFrame(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_endFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->endFrame();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_endFrame, doc_QTimeLine_endFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setEndFrame, "setEndFrame(self, int)");

extern "C" {static PyObject *meth_QTimeLine_setEndFrame(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setEndFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            sipCpp->setEndFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setEndFrame, doc_QTimeLine_setEndFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setFrameRange, "setFrameRange(self, int, int)");

extern "C" {static PyObject *meth_QTimeLine_setFrameRange(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setFrameRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTimeLine, &sipCpp, &a0, &a1))
        {
            sipCpp->setFrameRange(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setFrameRange, doc_QTimeLine_setFrameRange);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_updateInterval, "updateInterval(self) -> int");

extern "C" {static PyObject *meth_QTimeLine_updateInterval(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_updateInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->updateInterval();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_updateInterval, doc_QTimeLine_updateInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setUpdateInterval, "setUpdateInterval(self, int)");

extern "C" {static PyObject *meth_QTimeLine_setUpdateInterval(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setUpdateInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            sipCpp->setUpdateInterval(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setUpdateInterval, doc_QTimeLine_setUpdateInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_curveShape, "curveShape(self) -> QTimeLine.CurveShape");

extern "C" {static PyObject *meth_QTimeLine_curveShape(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_curveShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
             ::QTimeLine::CurveShape sipRes;

            sipRes = sipCpp->curveShape();

            return sipConvertFromEnum(sipRes,sipType_QTimeLine_CurveShape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_curveShape, doc_QTimeLine_curveShape);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setCurveShape, "setCurveShape(self, QTimeLine.CurveShape)");

extern "C" {static PyObject *meth_QTimeLine_setCurveShape(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setCurveShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTimeLine::CurveShape a0;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTimeLine, &sipCpp, sipType_QTimeLine_CurveShape, &a0))
        {
            sipCpp->setCurveShape(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setCurveShape, doc_QTimeLine_setCurveShape);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_currentTime, "currentTime(self) -> int");

extern "C" {static PyObject *meth_QTimeLine_currentTime(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_currentTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentTime();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_currentTime, doc_QTimeLine_currentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_currentFrame, "currentFrame(self) -> int");

extern "C" {static PyObject *meth_QTimeLine_currentFrame(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_currentFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentFrame();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_currentFrame, doc_QTimeLine_currentFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_currentValue, "currentValue(self) -> float");

extern "C" {static PyObject *meth_QTimeLine_currentValue(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_currentValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->currentValue();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_currentValue, doc_QTimeLine_currentValue);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_frameForTime, "frameForTime(self, int) -> int");

extern "C" {static PyObject *meth_QTimeLine_frameForTime(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_frameForTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->frameForTime(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_frameForTime, doc_QTimeLine_frameForTime);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_valueForTime, "valueForTime(self, int) -> float");

extern "C" {static PyObject *meth_QTimeLine_valueForTime(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_valueForTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
             ::qreal sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QTimeLine::valueForTime(a0) : sipCpp->valueForTime(a0));

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_valueForTime, doc_QTimeLine_valueForTime);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_resume, "resume(self)");

extern "C" {static PyObject *meth_QTimeLine_resume(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_resume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            sipCpp->resume();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_resume, doc_QTimeLine_resume);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setCurrentTime, "setCurrentTime(self, int)");

extern "C" {static PyObject *meth_QTimeLine_setCurrentTime(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setCurrentTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            sipCpp->setCurrentTime(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setCurrentTime, doc_QTimeLine_setCurrentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setPaused, "setPaused(self, bool)");

extern "C" {static PyObject *meth_QTimeLine_setPaused(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setPaused(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTimeLine, &sipCpp, &a0))
        {
            sipCpp->setPaused(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setPaused, doc_QTimeLine_setPaused);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_start, "start(self)");

extern "C" {static PyObject *meth_QTimeLine_start(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            sipCpp->start();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_start, doc_QTimeLine_start);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_stop, "stop(self)");

extern "C" {static PyObject *meth_QTimeLine_stop(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_stop, doc_QTimeLine_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_toggleDirection, "toggleDirection(self)");

extern "C" {static PyObject *meth_QTimeLine_toggleDirection(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_toggleDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
            sipCpp->toggleDirection();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_toggleDirection, doc_QTimeLine_toggleDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QTimeLine_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQTimeLine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeLine, &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_QTimeLine, sipName_timerEvent, doc_QTimeLine_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_easingCurve, "easingCurve(self) -> QEasingCurve");

extern "C" {static PyObject *meth_QTimeLine_easingCurve(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_easingCurve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimeLine, &sipCpp))
        {
             ::QEasingCurve*sipRes;

            sipRes = new  ::QEasingCurve(sipCpp->easingCurve());

            return sipConvertFromNewType(sipRes,sipType_QEasingCurve,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_easingCurve, doc_QTimeLine_easingCurve);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeLine_setEasingCurve, "setEasingCurve(self, Union[QEasingCurve, QEasingCurve.Type])");

extern "C" {static PyObject *meth_QTimeLine_setEasingCurve(PyObject *, PyObject *);}
static PyObject *meth_QTimeLine_setEasingCurve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEasingCurve* a0;
        int a0State = 0;
         ::QTimeLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTimeLine, &sipCpp, sipType_QEasingCurve, &a0, &a0State))
        {
            sipCpp->setEasingCurve(*a0);
            sipReleaseType(const_cast< ::QEasingCurve *>(a0),sipType_QEasingCurve,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeLine, sipName_setEasingCurve, doc_QTimeLine_setEasingCurve);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QTimeLine(void *, const sipTypeDef *);}
static void *cast_QTimeLine(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTimeLine *sipCpp = reinterpret_cast< ::QTimeLine *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTimeLine(void *, int);}
static void release_QTimeLine(void *sipCppV, int)
{
     ::QTimeLine *sipCpp = reinterpret_cast< ::QTimeLine *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTimeLine(sipSimpleWrapper *);}
static void dealloc_QTimeLine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTimeLine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTimeLine(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QTimeLine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTimeLine(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTimeLine *sipCpp = 0;

    {
        int a0 = 1000;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            sipName_duration,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|iJH", &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQTimeLine(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTimeLine[] = {{169, 255, 1}};


static PyMethodDef methods_QTimeLine[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTimeLine_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTimeLine_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFrame), meth_QTimeLine_currentFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_currentFrame)},
    {SIP_MLNAME_CAST(sipName_currentTime), meth_QTimeLine_currentTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_currentTime)},
    {SIP_MLNAME_CAST(sipName_currentValue), meth_QTimeLine_currentValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_currentValue)},
    {SIP_MLNAME_CAST(sipName_curveShape), meth_QTimeLine_curveShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_curveShape)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTimeLine_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_direction), meth_QTimeLine_direction, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_direction)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTimeLine_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_QTimeLine_duration, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_duration)},
    {SIP_MLNAME_CAST(sipName_easingCurve), meth_QTimeLine_easingCurve, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_easingCurve)},
    {SIP_MLNAME_CAST(sipName_endFrame), meth_QTimeLine_endFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_endFrame)},
    {SIP_MLNAME_CAST(sipName_frameForTime), meth_QTimeLine_frameForTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_frameForTime)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTimeLine_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_loopCount), meth_QTimeLine_loopCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_loopCount)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTimeLine_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resume), meth_QTimeLine_resume, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_resume)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTimeLine_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTimeLine_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentTime), meth_QTimeLine_setCurrentTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setCurrentTime)},
    {SIP_MLNAME_CAST(sipName_setCurveShape), meth_QTimeLine_setCurveShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setCurveShape)},
    {SIP_MLNAME_CAST(sipName_setDirection), meth_QTimeLine_setDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setDirection)},
    {SIP_MLNAME_CAST(sipName_setDuration), meth_QTimeLine_setDuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setDuration)},
    {SIP_MLNAME_CAST(sipName_setEasingCurve), meth_QTimeLine_setEasingCurve, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setEasingCurve)},
    {SIP_MLNAME_CAST(sipName_setEndFrame), meth_QTimeLine_setEndFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setEndFrame)},
    {SIP_MLNAME_CAST(sipName_setFrameRange), meth_QTimeLine_setFrameRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setFrameRange)},
    {SIP_MLNAME_CAST(sipName_setLoopCount), meth_QTimeLine_setLoopCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setLoopCount)},
    {SIP_MLNAME_CAST(sipName_setPaused), meth_QTimeLine_setPaused, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setPaused)},
    {SIP_MLNAME_CAST(sipName_setStartFrame), meth_QTimeLine_setStartFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setStartFrame)},
    {SIP_MLNAME_CAST(sipName_setUpdateInterval), meth_QTimeLine_setUpdateInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_setUpdateInterval)},
    {SIP_MLNAME_CAST(sipName_start), meth_QTimeLine_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_start)},
    {SIP_MLNAME_CAST(sipName_startFrame), meth_QTimeLine_startFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_startFrame)},
    {SIP_MLNAME_CAST(sipName_state), meth_QTimeLine_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_state)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QTimeLine_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_stop)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTimeLine_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTimeLine_timerEvent)},
    {SIP_MLNAME_CAST(sipName_toggleDirection), meth_QTimeLine_toggleDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_toggleDirection)},
    {SIP_MLNAME_CAST(sipName_updateInterval), meth_QTimeLine_updateInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_updateInterval)},
    {SIP_MLNAME_CAST(sipName_valueForTime), meth_QTimeLine_valueForTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimeLine_valueForTime)}
};

static sipEnumMemberDef enummembers_QTimeLine[] = {
    {sipName_Backward, static_cast<int>( ::QTimeLine::Backward), 274},
    {sipName_CosineCurve, static_cast<int>( ::QTimeLine::CosineCurve), 273},
    {sipName_EaseInCurve, static_cast<int>( ::QTimeLine::EaseInCurve), 273},
    {sipName_EaseInOutCurve, static_cast<int>( ::QTimeLine::EaseInOutCurve), 273},
    {sipName_EaseOutCurve, static_cast<int>( ::QTimeLine::EaseOutCurve), 273},
    {sipName_Forward, static_cast<int>( ::QTimeLine::Forward), 274},
    {sipName_LinearCurve, static_cast<int>( ::QTimeLine::LinearCurve), 273},
    {sipName_NotRunning, static_cast<int>( ::QTimeLine::NotRunning), 275},
    {sipName_Paused, static_cast<int>( ::QTimeLine::Paused), 275},
    {sipName_Running, static_cast<int>( ::QTimeLine::Running), 275},
    {sipName_SineCurve, static_cast<int>( ::QTimeLine::SineCurve), 273},
};

PyDoc_STRVAR(doc_QTimeLine, "\1QTimeLine(duration: int = 1000, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTimeLine[] = {
    {"valueChanged(qreal)", "\1valueChanged(self, float)", 0, 0},
    {"stateChanged(QTimeLine::State)", "\1stateChanged(self, QTimeLine.State)", 0, 0},
    {"frameChanged(int)", "\1frameChanged(self, int)", 0, 0},
    {"finished()", "\1finished(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QTimeLine = {
    & ::QTimeLine::staticMetaObject,
    0,
    signals_QTimeLine,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTimeLine = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTimeLine,
        {0},
        &plugin_QTimeLine
    },
    {
        sipNameNr_QTimeLine,
        {0, 0, 1},
        38, methods_QTimeLine,
        11, enummembers_QTimeLine,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTimeLine,
    -1,
    -1,
    supers_QTimeLine,
    0,
    init_type_QTimeLine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTimeLine,
    0,
    0,
    0,
    release_QTimeLine,
    cast_QTimeLine,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthreadpool.sip"
#include <qthreadpool.h>
#line 36375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 36379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrunnable.sip"
#include <qrunnable.h>
#line 36382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 36385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 36394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 36397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 36406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 36409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 36415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 36418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 36421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 36424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 36427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQThreadPool : public  ::QThreadPool
{
public:
    sipQThreadPool( ::QObject*);
    virtual ~sipQThreadPool();

    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 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:
    sipQThreadPool(const sipQThreadPool &);
    sipQThreadPool &operator = (const sipQThreadPool &);

    char sipPyMethods[7];
};

sipQThreadPool::sipQThreadPool( ::QObject*a0):  ::QThreadPool(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQThreadPool::~sipQThreadPool()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQThreadPool::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QThreadPool);

    return  ::QThreadPool::metaObject();
}

int sipQThreadPool::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QThreadPool::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QThreadPool,_c,_id,_a);

    return _id;
}

void *sipQThreadPool::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QThreadPool, _clname, &sipCpp) ? sipCpp :  ::QThreadPool::qt_metacast(_clname));
}

bool sipQThreadPool::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QThreadPool::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQThreadPool::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QThreadPool::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQThreadPool::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QThreadPool::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQThreadPool::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QThreadPool::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQThreadPool::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QThreadPool::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQThreadPool::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QThreadPool::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQThreadPool::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QThreadPool::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQThreadPool::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQThreadPool::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQThreadPool::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQThreadPool::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQThreadPool::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQThreadPool::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQThreadPool::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQThreadPool::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQThreadPool::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QThreadPool_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QThreadPool_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QThreadPool, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 36721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_sender, doc_QThreadPool_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QThreadPool_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QThreadPool, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 36781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QThreadPool, sipName_receivers, doc_QThreadPool_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QThreadPool_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QThreadPool, &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_QThreadPool, sipName_timerEvent, doc_QThreadPool_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QThreadPool_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QThreadPool, &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_QThreadPool, sipName_childEvent, doc_QThreadPool_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QThreadPool_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QThreadPool, &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_QThreadPool, sipName_customEvent, doc_QThreadPool_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QThreadPool_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QThreadPool, &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_QThreadPool, sipName_connectNotify, doc_QThreadPool_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QThreadPool_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QThreadPool, &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_QThreadPool, sipName_disconnectNotify, doc_QThreadPool_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QThreadPool_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QThreadPool, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_senderSignalIndex, doc_QThreadPool_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QThreadPool_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQThreadPool *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QThreadPool, &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_QThreadPool, sipName_isSignalConnected, doc_QThreadPool_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_globalInstance, "globalInstance() -> QThreadPool");

extern "C" {static PyObject *meth_QThreadPool_globalInstance(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_globalInstance(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QThreadPool*sipRes;
            PyObject *sipResObj;

            sipRes =  ::QThreadPool::globalInstance();

            sipResObj = sipConvertFromType(sipRes,sipType_QThreadPool,NULL);

            sipKeepReference(NULL, -9, sipResObj);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_globalInstance, doc_QThreadPool_globalInstance);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_start, "start(self, QRunnable, priority: int = 0)");

extern "C" {static PyObject *meth_QThreadPool_start(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_start(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRunnable* a0;
        PyObject *a0Wrapper;
        int a1 = 0;
         ::QThreadPool *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_priority,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B@J8|i", &sipSelf, sipType_QThreadPool, &sipCpp, &a0Wrapper, sipType_QRunnable, &a0, &a1))
        {
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthreadpool.sip"
        // We have to handle the object ownership manually.
        if (a0->autoDelete())
            sipTransferTo(a0Wrapper, sipSelf);
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->start(a0, a1);
        Py_END_ALLOW_THREADS
#line 37064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_start, doc_QThreadPool_start);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_tryStart, "tryStart(self, QRunnable) -> bool");

extern "C" {static PyObject *meth_QThreadPool_tryStart(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_tryStart(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRunnable* a0;
        PyObject *a0Wrapper;
         ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QThreadPool, &sipCpp, &a0Wrapper, sipType_QRunnable, &a0))
        {
            bool sipRes = 0;

#line 46 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthreadpool.sip"
        // We have to handle the object ownership manually.
        if (a0->autoDelete())
            sipTransferTo(a0Wrapper, sipSelf);
        
        Py_BEGIN_ALLOW_THREADS
        sipRes = sipCpp->tryStart(a0);
        Py_END_ALLOW_THREADS
#line 37103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_tryStart, doc_QThreadPool_tryStart);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_tryTake, "tryTake(self, QRunnable) -> bool");

extern "C" {static PyObject *meth_QThreadPool_tryTake(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_tryTake(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRunnable* a0;
        PyObject *a0Wrapper;
         ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QThreadPool, &sipCpp, &a0Wrapper, sipType_QRunnable, &a0))
        {
            bool sipRes = 0;

#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthreadpool.sip"
        sipRes = sipCpp->tryTake(a0);
        
        // We have to handle the object ownership manually.
        if (sipRes)
            sipTransferBack(a0Wrapper);
#line 37139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_tryTake, doc_QThreadPool_tryTake);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_expiryTimeout, "expiryTimeout(self) -> int");

extern "C" {static PyObject *meth_QThreadPool_expiryTimeout(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_expiryTimeout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThreadPool, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->expiryTimeout();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_expiryTimeout, doc_QThreadPool_expiryTimeout);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_setExpiryTimeout, "setExpiryTimeout(self, int)");

extern "C" {static PyObject *meth_QThreadPool_setExpiryTimeout(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_setExpiryTimeout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QThreadPool, &sipCpp, &a0))
        {
            sipCpp->setExpiryTimeout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_setExpiryTimeout, doc_QThreadPool_setExpiryTimeout);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_maxThreadCount, "maxThreadCount(self) -> int");

extern "C" {static PyObject *meth_QThreadPool_maxThreadCount(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_maxThreadCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThreadPool, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maxThreadCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_maxThreadCount, doc_QThreadPool_maxThreadCount);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_setMaxThreadCount, "setMaxThreadCount(self, int)");

extern "C" {static PyObject *meth_QThreadPool_setMaxThreadCount(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_setMaxThreadCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QThreadPool, &sipCpp, &a0))
        {
            sipCpp->setMaxThreadCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_setMaxThreadCount, doc_QThreadPool_setMaxThreadCount);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_activeThreadCount, "activeThreadCount(self) -> int");

extern "C" {static PyObject *meth_QThreadPool_activeThreadCount(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_activeThreadCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThreadPool, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->activeThreadCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_activeThreadCount, doc_QThreadPool_activeThreadCount);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_reserveThread, "reserveThread(self)");

extern "C" {static PyObject *meth_QThreadPool_reserveThread(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_reserveThread(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThreadPool, &sipCpp))
        {
            sipCpp->reserveThread();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_reserveThread, doc_QThreadPool_reserveThread);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_releaseThread, "releaseThread(self)");

extern "C" {static PyObject *meth_QThreadPool_releaseThread(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_releaseThread(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThreadPool, &sipCpp))
        {
            sipCpp->releaseThread();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_releaseThread, doc_QThreadPool_releaseThread);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_waitForDone, "waitForDone(self, msecs: int = -1) -> bool");

extern "C" {static PyObject *meth_QThreadPool_waitForDone(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_waitForDone(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = -1;
         ::QThreadPool *sipCpp;

        static const char *sipKwdList[] = {
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QThreadPool, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->waitForDone(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_waitForDone, doc_QThreadPool_waitForDone);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_clear, "clear(self)");

extern "C" {static PyObject *meth_QThreadPool_clear(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThreadPool, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_clear, doc_QThreadPool_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QThreadPool_cancel, "cancel(self, QRunnable)");

extern "C" {static PyObject *meth_QThreadPool_cancel(PyObject *, PyObject *);}
static PyObject *meth_QThreadPool_cancel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRunnable* a0;
         ::QThreadPool *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QThreadPool, &sipCpp, sipType_QRunnable, &a0))
        {
            sipCpp->cancel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThreadPool, sipName_cancel, doc_QThreadPool_cancel);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QThreadPool(void *, const sipTypeDef *);}
static void *cast_QThreadPool(void *sipCppV, const sipTypeDef *targetType)
{
     ::QThreadPool *sipCpp = reinterpret_cast< ::QThreadPool *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QThreadPool(void *, int);}
static void release_QThreadPool(void *sipCppV, int)
{
     ::QThreadPool *sipCpp = reinterpret_cast< ::QThreadPool *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QThreadPool(sipSimpleWrapper *);}
static void dealloc_QThreadPool(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQThreadPool *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QThreadPool(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QThreadPool(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QThreadPool(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQThreadPool *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 sipQThreadPool(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QThreadPool[] = {{169, 255, 1}};


static PyMethodDef methods_QThreadPool[] = {
    {SIP_MLNAME_CAST(sipName_activeThreadCount), meth_QThreadPool_activeThreadCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_activeThreadCount)},
    {SIP_MLNAME_CAST(sipName_cancel), meth_QThreadPool_cancel, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_cancel)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QThreadPool_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QThreadPool_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_clear)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QThreadPool_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QThreadPool_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QThreadPool_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_expiryTimeout), meth_QThreadPool_expiryTimeout, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_expiryTimeout)},
    {SIP_MLNAME_CAST(sipName_globalInstance), meth_QThreadPool_globalInstance, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_globalInstance)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QThreadPool_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maxThreadCount), meth_QThreadPool_maxThreadCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_maxThreadCount)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QThreadPool_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_releaseThread), meth_QThreadPool_releaseThread, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_releaseThread)},
    {SIP_MLNAME_CAST(sipName_reserveThread), meth_QThreadPool_reserveThread, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_reserveThread)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QThreadPool_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QThreadPool_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setExpiryTimeout), meth_QThreadPool_setExpiryTimeout, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_setExpiryTimeout)},
    {SIP_MLNAME_CAST(sipName_setMaxThreadCount), meth_QThreadPool_setMaxThreadCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_setMaxThreadCount)},
    {SIP_MLNAME_CAST(sipName_start), (PyCFunction)meth_QThreadPool_start, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QThreadPool_start)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QThreadPool_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tryStart), meth_QThreadPool_tryStart, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_tryStart)},
    {SIP_MLNAME_CAST(sipName_tryTake), meth_QThreadPool_tryTake, METH_VARARGS, SIP_MLDOC_CAST(doc_QThreadPool_tryTake)},
    {SIP_MLNAME_CAST(sipName_waitForDone), (PyCFunction)meth_QThreadPool_waitForDone, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QThreadPool_waitForDone)}
};

PyDoc_STRVAR(doc_QThreadPool, "\1QThreadPool(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QThreadPool = {
    & ::QThreadPool::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QThreadPool = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QThreadPool,
        {0},
        &plugin_QThreadPool
    },
    {
        sipNameNr_QThreadPool,
        {0, 0, 1},
        23, methods_QThreadPool,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QThreadPool,
    -1,
    -1,
    supers_QThreadPool,
    0,
    init_type_QThreadPool,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QThreadPool,
    0,
    0,
    0,
    release_QThreadPool,
    cast_QThreadPool,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 37594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 37598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 37601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 37607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 37613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 37616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 37619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 37622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 37625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 37628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 37634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 37637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 37640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 37643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQThread : public  ::QThread
{
public:
    sipQThread( ::QObject*);
    virtual ~sipQThread();

    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;
    void sipProtectVirt_run(bool);
    int sipProtect_exec();
    static void sipProtect_setTerminationEnabled(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void run();
    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:
    sipQThread(const sipQThread &);
    sipQThread &operator = (const sipQThread &);

    char sipPyMethods[8];
};

sipQThread::sipQThread( ::QObject*a0):  ::QThread(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQThread::~sipQThread()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQThread::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QThread);

    return  ::QThread::metaObject();
}

int sipQThread::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QThread::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QThread,_c,_id,_a);

    return _id;
}

void *sipQThread::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QThread, _clname, &sipCpp) ? sipCpp :  ::QThread::qt_metacast(_clname));
}

void sipQThread::run()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_run);

    if (!sipMeth)
    {
         ::QThread::run();
        sipEndThread();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);

    sipEndThread();
}

bool sipQThread::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QThread::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQThread::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QThread::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQThread::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QThread::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQThread::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QThread::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQThread::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QThread::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQThread::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QThread::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQThread::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QThread::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQThread::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQThread::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQThread::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQThread::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQThread::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQThread::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQThread::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQThread::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQThread::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQThread::sipProtectVirt_run(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QThread::run() : run());
}

int sipQThread::sipProtect_exec()
{
    return  ::QThread::exec();
}

void sipQThread::sipProtect_setTerminationEnabled(bool a0)
{
     ::QThread::setTerminationEnabled(a0);
}


PyDoc_STRVAR(doc_QThread_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QThread_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 37977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_sender, doc_QThread_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QThread_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QThread, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 38037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QThread, sipName_receivers, doc_QThread_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QThread_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QThread, &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_QThread, sipName_timerEvent, doc_QThread_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QThread_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QThread, &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_QThread, sipName_childEvent, doc_QThread_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QThread_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QThread, &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_QThread, sipName_customEvent, doc_QThread_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QThread_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QThread, &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_QThread, sipName_connectNotify, doc_QThread_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QThread_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QThread, &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_QThread, sipName_disconnectNotify, doc_QThread_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QThread_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_senderSignalIndex, doc_QThread_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QThread_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QThread, &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_QThread, sipName_isSignalConnected, doc_QThread_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_currentThread, "currentThread() -> QThread");

extern "C" {static PyObject *meth_QThread_currentThread(PyObject *, PyObject *);}
static PyObject *meth_QThread_currentThread(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QThread*sipRes;

            sipRes =  ::QThread::currentThread();

            return sipConvertFromType(sipRes,sipType_QThread,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_currentThread, doc_QThread_currentThread);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_currentThreadId, "currentThreadId() -> sip.voidptr");

extern "C" {static PyObject *meth_QThread_currentThreadId(PyObject *, PyObject *);}
static PyObject *meth_QThread_currentThreadId(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::Qt::HANDLE sipRes;

            sipRes =  ::QThread::currentThreadId();

            return sipConvertFromVoidPtr((void *)sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_currentThreadId, doc_QThread_currentThreadId);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_idealThreadCount, "idealThreadCount() -> int");

extern "C" {static PyObject *meth_QThread_idealThreadCount(PyObject *, PyObject *);}
static PyObject *meth_QThread_idealThreadCount(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes =  ::QThread::idealThreadCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_idealThreadCount, doc_QThread_idealThreadCount);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_yieldCurrentThread, "yieldCurrentThread()");

extern "C" {static PyObject *meth_QThread_yieldCurrentThread(PyObject *, PyObject *);}
static PyObject *meth_QThread_yieldCurrentThread(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
             ::QThread::yieldCurrentThread();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_yieldCurrentThread, doc_QThread_yieldCurrentThread);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_isFinished, "isFinished(self) -> bool");

extern "C" {static PyObject *meth_QThread_isFinished(PyObject *, PyObject *);}
static PyObject *meth_QThread_isFinished(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFinished();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_isFinished, doc_QThread_isFinished);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_isRunning, "isRunning(self) -> bool");

extern "C" {static PyObject *meth_QThread_isRunning(PyObject *, PyObject *);}
static PyObject *meth_QThread_isRunning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRunning();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_isRunning, doc_QThread_isRunning);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_setPriority, "setPriority(self, QThread.Priority)");

extern "C" {static PyObject *meth_QThread_setPriority(PyObject *, PyObject *);}
static PyObject *meth_QThread_setPriority(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThread::Priority a0;
         ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QThread, &sipCpp, sipType_QThread_Priority, &a0))
        {
            sipCpp->setPriority(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_setPriority, doc_QThread_setPriority);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_priority, "priority(self) -> QThread.Priority");

extern "C" {static PyObject *meth_QThread_priority(PyObject *, PyObject *);}
static PyObject *meth_QThread_priority(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
             ::QThread::Priority sipRes;

            sipRes = sipCpp->priority();

            return sipConvertFromEnum(sipRes,sipType_QThread_Priority);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_priority, doc_QThread_priority);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_setStackSize, "setStackSize(self, int)");

extern "C" {static PyObject *meth_QThread_setStackSize(PyObject *, PyObject *);}
static PyObject *meth_QThread_setStackSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::uint a0;
         ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_QThread, &sipCpp, &a0))
        {
            sipCpp->setStackSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_setStackSize, doc_QThread_setStackSize);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_stackSize, "stackSize(self) -> int");

extern "C" {static PyObject *meth_QThread_stackSize(PyObject *, PyObject *);}
static PyObject *meth_QThread_stackSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
             ::uint sipRes;

            sipRes = sipCpp->stackSize();

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_stackSize, doc_QThread_stackSize);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_exit, "exit(self, returnCode: int = 0)");

extern "C" {static PyObject *meth_QThread_exit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_exit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
         ::QThread *sipCpp;

        static const char *sipKwdList[] = {
            sipName_returnCode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QThread, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->exit(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_exit, doc_QThread_exit);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_start, "start(self, priority: QThread.Priority = QThread.InheritPriority)");

extern "C" {static PyObject *meth_QThread_start(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_start(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThread::Priority a0 = QThread::InheritPriority;
         ::QThread *sipCpp;

        static const char *sipKwdList[] = {
            sipName_priority,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QThread, &sipCpp, sipType_QThread_Priority, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->start(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_start, doc_QThread_start);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_terminate, "terminate(self)");

extern "C" {static PyObject *meth_QThread_terminate(PyObject *, PyObject *);}
static PyObject *meth_QThread_terminate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            sipCpp->terminate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_terminate, doc_QThread_terminate);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_quit, "quit(self)");

extern "C" {static PyObject *meth_QThread_quit(PyObject *, PyObject *);}
static PyObject *meth_QThread_quit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            sipCpp->quit();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_quit, doc_QThread_quit);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_wait, "wait(self, msecs: int = ULONG_MAX) -> bool");

extern "C" {static PyObject *meth_QThread_wait(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_wait(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0 = ULONG_MAX;
         ::QThread *sipCpp;

        static const char *sipKwdList[] = {
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|m", &sipSelf, sipType_QThread, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->wait(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_wait, doc_QThread_wait);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_run, "run(self)");

extern "C" {static PyObject *meth_QThread_run(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_run(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            sipCpp->sipProtectVirt_run(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_run, doc_QThread_run);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_exec_, "exec_(self) -> int");

extern "C" {static PyObject *meth_QThread_exec_(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_exec_(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_exec();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_exec_, doc_QThread_exec_);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_exec, "exec(self) -> int");

extern "C" {static PyObject *meth_QThread_exec(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_exec(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQThread *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_exec();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_exec, doc_QThread_exec);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_setTerminationEnabled, "setTerminationEnabled(enabled: bool = True)");

extern "C" {static PyObject *meth_QThread_setTerminationEnabled(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QThread_setTerminationEnabled(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;

        static const char *sipKwdList[] = {
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|b", &a0))
        {
            sipQThread::sipProtect_setTerminationEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_setTerminationEnabled, doc_QThread_setTerminationEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QThread_event(PyObject *, PyObject *);}
static PyObject *meth_QThread_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QThread, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QThread::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_event, doc_QThread_event);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_sleep, "sleep(int)");

extern "C" {static PyObject *meth_QThread_sleep(PyObject *, PyObject *);}
static PyObject *meth_QThread_sleep(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "m", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
             ::QThread::sleep(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_sleep, doc_QThread_sleep);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_msleep, "msleep(int)");

extern "C" {static PyObject *meth_QThread_msleep(PyObject *, PyObject *);}
static PyObject *meth_QThread_msleep(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "m", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
             ::QThread::msleep(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_msleep, doc_QThread_msleep);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_usleep, "usleep(int)");

extern "C" {static PyObject *meth_QThread_usleep(PyObject *, PyObject *);}
static PyObject *meth_QThread_usleep(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "m", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
             ::QThread::usleep(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_usleep, doc_QThread_usleep);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_eventDispatcher, "eventDispatcher(self) -> QAbstractEventDispatcher");

extern "C" {static PyObject *meth_QThread_eventDispatcher(PyObject *, PyObject *);}
static PyObject *meth_QThread_eventDispatcher(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
             ::QAbstractEventDispatcher*sipRes;

            sipRes = sipCpp->eventDispatcher();

            return sipConvertFromType(sipRes,sipType_QAbstractEventDispatcher,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_eventDispatcher, doc_QThread_eventDispatcher);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_setEventDispatcher, "setEventDispatcher(self, QAbstractEventDispatcher)");

extern "C" {static PyObject *meth_QThread_setEventDispatcher(PyObject *, PyObject *);}
static PyObject *meth_QThread_setEventDispatcher(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractEventDispatcher* a0;
         ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QThread, &sipCpp, sipType_QAbstractEventDispatcher, &a0))
        {
            sipCpp->setEventDispatcher(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_setEventDispatcher, doc_QThread_setEventDispatcher);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_requestInterruption, "requestInterruption(self)");

extern "C" {static PyObject *meth_QThread_requestInterruption(PyObject *, PyObject *);}
static PyObject *meth_QThread_requestInterruption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            sipCpp->requestInterruption();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_requestInterruption, doc_QThread_requestInterruption);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_isInterruptionRequested, "isInterruptionRequested(self) -> bool");

extern "C" {static PyObject *meth_QThread_isInterruptionRequested(PyObject *, PyObject *);}
static PyObject *meth_QThread_isInterruptionRequested(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isInterruptionRequested();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_isInterruptionRequested, doc_QThread_isInterruptionRequested);

    return NULL;
}


PyDoc_STRVAR(doc_QThread_loopLevel, "loopLevel(self) -> int");

extern "C" {static PyObject *meth_QThread_loopLevel(PyObject *, PyObject *);}
static PyObject *meth_QThread_loopLevel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QThread *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QThread, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->loopLevel();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QThread, sipName_loopLevel, doc_QThread_loopLevel);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QThread(void *, const sipTypeDef *);}
static void *cast_QThread(void *sipCppV, const sipTypeDef *targetType)
{
     ::QThread *sipCpp = reinterpret_cast< ::QThread *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QThread(void *, int);}
static void release_QThread(void *sipCppV, int)
{
     ::QThread *sipCpp = reinterpret_cast< ::QThread *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QThread(sipSimpleWrapper *);}
static void dealloc_QThread(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQThread *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QThread(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QThread(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QThread(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQThread *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 sipQThread(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QThread[] = {{169, 255, 1}};


static PyMethodDef methods_QThread[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QThread_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QThread_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentThread), meth_QThread_currentThread, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_currentThread)},
    {SIP_MLNAME_CAST(sipName_currentThreadId), meth_QThread_currentThreadId, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_currentThreadId)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QThread_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QThread_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_QThread_event, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_event)},
    {SIP_MLNAME_CAST(sipName_eventDispatcher), meth_QThread_eventDispatcher, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_eventDispatcher)},
    {SIP_MLNAME_CAST(sipName_exec), (PyCFunction)meth_QThread_exec, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QThread_exec)},
    {SIP_MLNAME_CAST(sipName_exec_), (PyCFunction)meth_QThread_exec_, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QThread_exec_)},
    {SIP_MLNAME_CAST(sipName_exit), (PyCFunction)meth_QThread_exit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QThread_exit)},
    {SIP_MLNAME_CAST(sipName_idealThreadCount), meth_QThread_idealThreadCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_idealThreadCount)},
    {SIP_MLNAME_CAST(sipName_isFinished), meth_QThread_isFinished, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_isFinished)},
    {SIP_MLNAME_CAST(sipName_isInterruptionRequested), meth_QThread_isInterruptionRequested, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_isInterruptionRequested)},
    {SIP_MLNAME_CAST(sipName_isRunning), meth_QThread_isRunning, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_isRunning)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QThread_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_loopLevel), meth_QThread_loopLevel, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_loopLevel)},
    {SIP_MLNAME_CAST(sipName_msleep), meth_QThread_msleep, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_msleep)},
    {SIP_MLNAME_CAST(sipName_priority), meth_QThread_priority, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_priority)},
    {SIP_MLNAME_CAST(sipName_quit), meth_QThread_quit, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_quit)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QThread_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_requestInterruption), meth_QThread_requestInterruption, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_requestInterruption)},
    {SIP_MLNAME_CAST(sipName_run), (PyCFunction)meth_QThread_run, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QThread_run)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QThread_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QThread_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setEventDispatcher), meth_QThread_setEventDispatcher, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_setEventDispatcher)},
    {SIP_MLNAME_CAST(sipName_setPriority), meth_QThread_setPriority, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_setPriority)},
    {SIP_MLNAME_CAST(sipName_setStackSize), meth_QThread_setStackSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_setStackSize)},
    {SIP_MLNAME_CAST(sipName_setTerminationEnabled), (PyCFunction)meth_QThread_setTerminationEnabled, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QThread_setTerminationEnabled)},
    {SIP_MLNAME_CAST(sipName_sleep), meth_QThread_sleep, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_sleep)},
    {SIP_MLNAME_CAST(sipName_stackSize), meth_QThread_stackSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_stackSize)},
    {SIP_MLNAME_CAST(sipName_start), (PyCFunction)meth_QThread_start, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QThread_start)},
    {SIP_MLNAME_CAST(sipName_terminate), meth_QThread_terminate, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_terminate)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QThread_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_usleep), meth_QThread_usleep, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_usleep)},
    {SIP_MLNAME_CAST(sipName_wait), (PyCFunction)meth_QThread_wait, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QThread_wait)},
    {SIP_MLNAME_CAST(sipName_yieldCurrentThread), meth_QThread_yieldCurrentThread, METH_VARARGS, SIP_MLDOC_CAST(doc_QThread_yieldCurrentThread)}
};

static sipEnumMemberDef enummembers_QThread[] = {
    {sipName_HighPriority, static_cast<int>( ::QThread::HighPriority), 269},
    {sipName_HighestPriority, static_cast<int>( ::QThread::HighestPriority), 269},
    {sipName_IdlePriority, static_cast<int>( ::QThread::IdlePriority), 269},
    {sipName_InheritPriority, static_cast<int>( ::QThread::InheritPriority), 269},
    {sipName_LowPriority, static_cast<int>( ::QThread::LowPriority), 269},
    {sipName_LowestPriority, static_cast<int>( ::QThread::LowestPriority), 269},
    {sipName_NormalPriority, static_cast<int>( ::QThread::NormalPriority), 269},
    {sipName_TimeCriticalPriority, static_cast<int>( ::QThread::TimeCriticalPriority), 269},
};

PyDoc_STRVAR(doc_QThread, "\1QThread(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QThread[] = {
    {"finished()", "\1finished(self)", 0, 0},
    {"started()", "\1started(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QThread = {
    & ::QThread::staticMetaObject,
    0,
    signals_QThread,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QThread = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QThread,
        {0},
        &plugin_QThread
    },
    {
        sipNameNr_QThread,
        {0, 0, 1},
        37, methods_QThread,
        8, enummembers_QThread,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QThread,
    -1,
    -1,
    supers_QThread,
    0,
    init_type_QThread,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QThread,
    0,
    0,
    0,
    release_QThread,
    cast_QThread,
    0,
    0,
    0,
    0,
    0,
    0
};




/* Call the instance's destructor. */
extern "C" {static void release_QTextStreamManipulator(void *, int);}
static void release_QTextStreamManipulator(void *, int)
{
}


static pyqt5ClassPluginDef plugin_QTextStreamManipulator = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTextStreamManipulator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextStreamManipulator,
        {0},
        &plugin_QTextStreamManipulator
    },
    {
        sipNameNr_QTextStreamManipulator,
        {0, 0, 1},
        0, 0,
        0, 0,
        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_QTextStreamManipulator,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 39323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 39327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QTextStream_NumberFlags___hash__(PyObject *);}
static long slot_QTextStream_NumberFlags___hash__(PyObject *sipSelf)
{
     ::QTextStream::NumberFlags *sipCpp = reinterpret_cast< ::QTextStream::NumberFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextStream_NumberFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QTextStream::NumberFlags::Int();
#line 39345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QTextStream_NumberFlags___bool__(PyObject *);}
static int slot_QTextStream_NumberFlags___bool__(PyObject *sipSelf)
{
     ::QTextStream::NumberFlags *sipCpp = reinterpret_cast< ::QTextStream::NumberFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextStream_NumberFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextStream::NumberFlags::Int() != 0);
#line 39370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTextStream_NumberFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTextStream::NumberFlags *sipCpp = reinterpret_cast< ::QTextStream::NumberFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextStream_NumberFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream::NumberFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextStream_NumberFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextStream::NumberFlags::Int() != a0->operator QTextStream::NumberFlags::Int());
#line 39400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QTextStream::NumberFlags *>(a0),sipType_QTextStream_NumberFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QTextStream_NumberFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTextStream_NumberFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTextStream::NumberFlags *sipCpp = reinterpret_cast< ::QTextStream::NumberFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextStream_NumberFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream::NumberFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextStream_NumberFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextStream::NumberFlags::Int() == a0->operator QTextStream::NumberFlags::Int());
#line 39436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QTextStream::NumberFlags *>(a0),sipType_QTextStream_NumberFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QTextStream_NumberFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTextStream_NumberFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextStream_NumberFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QTextStream::NumberFlags *sipCpp = reinterpret_cast< ::QTextStream::NumberFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextStream_NumberFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QTextStream::NumberFlags(*sipCpp ^ a0);
#line 39475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextStream_NumberFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream::NumberFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextStream_NumberFlags, &a0, &a0State, &a1))
        {
             ::QTextStream::NumberFlags*sipRes;

            sipRes = new  ::QTextStream::NumberFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QTextStream_NumberFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextStream_NumberFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QTextStream_NumberFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextStream_NumberFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QTextStream::NumberFlags *sipCpp = reinterpret_cast< ::QTextStream::NumberFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextStream_NumberFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QTextStream::NumberFlags(*sipCpp | a0);
#line 39547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextStream_NumberFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream::NumberFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextStream_NumberFlags, &a0, &a0State, &a1))
        {
             ::QTextStream::NumberFlags*sipRes;

            sipRes = new  ::QTextStream::NumberFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QTextStream_NumberFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextStream_NumberFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QTextStream_NumberFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextStream_NumberFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QTextStream::NumberFlags *sipCpp = reinterpret_cast< ::QTextStream::NumberFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextStream_NumberFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QTextStream::NumberFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextStream_NumberFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream::NumberFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextStream_NumberFlags, &a0, &a0State, &a1))
        {
             ::QTextStream::NumberFlags*sipRes;

            sipRes = new  ::QTextStream::NumberFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QTextStream_NumberFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextStream_NumberFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QTextStream_NumberFlags___invert__(PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___invert__(PyObject *sipSelf)
{
     ::QTextStream::NumberFlags *sipCpp = reinterpret_cast< ::QTextStream::NumberFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextStream_NumberFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QTextStream::NumberFlags*sipRes;

            sipRes = new  ::QTextStream::NumberFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QTextStream_NumberFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTextStream_NumberFlags___int__(PyObject *);}
static PyObject *slot_QTextStream_NumberFlags___int__(PyObject *sipSelf)
{
     ::QTextStream::NumberFlags *sipCpp = reinterpret_cast< ::QTextStream::NumberFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextStream_NumberFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextStream_NumberFlags(void *, int);}
static void release_QTextStream_NumberFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTextStream::NumberFlags *>(sipCppV);
}


extern "C" {static void assign_QTextStream_NumberFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QTextStream_NumberFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QTextStream::NumberFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QTextStream::NumberFlags *>(sipSrc);
}


extern "C" {static void *array_QTextStream_NumberFlags(SIP_SSIZE_T);}
static void *array_QTextStream_NumberFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QTextStream::NumberFlags[sipNrElem];
}


extern "C" {static void *copy_QTextStream_NumberFlags(const void *, SIP_SSIZE_T);}
static void *copy_QTextStream_NumberFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QTextStream::NumberFlags(reinterpret_cast<const  ::QTextStream::NumberFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTextStream_NumberFlags(sipSimpleWrapper *);}
static void dealloc_QTextStream_NumberFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTextStream_NumberFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTextStream_NumberFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextStream_NumberFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTextStream::NumberFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QTextStream::NumberFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QTextStream::NumberFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QTextStream::NumberFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QTextStream_NumberFlags, &a0, &a0State))
        {
            sipCpp = new  ::QTextStream::NumberFlags(*a0);
            sipReleaseType(const_cast< ::QTextStream::NumberFlags *>(a0),sipType_QTextStream_NumberFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QTextStream_NumberFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QTextStream_NumberFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QTextStream::NumberFlags **sipCppPtr = reinterpret_cast< ::QTextStream::NumberFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QTextStream::NumberFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QTextStream_NumberFlag)) ||
            sipCanConvertToType(sipPy, sipType_QTextStream_NumberFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QTextStream_NumberFlag)))
{
    *sipCppPtr = new QTextStream::NumberFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QTextStream::NumberFlags *>(sipConvertToType(sipPy, sipType_QTextStream_NumberFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 39815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTextStream_NumberFlags[] = {
    {(void *)slot_QTextStream_NumberFlags___hash__, hash_slot},
    {(void *)slot_QTextStream_NumberFlags___bool__, bool_slot},
    {(void *)slot_QTextStream_NumberFlags___ne__, ne_slot},
    {(void *)slot_QTextStream_NumberFlags___eq__, eq_slot},
    {(void *)slot_QTextStream_NumberFlags___ixor__, ixor_slot},
    {(void *)slot_QTextStream_NumberFlags___xor__, xor_slot},
    {(void *)slot_QTextStream_NumberFlags___ior__, ior_slot},
    {(void *)slot_QTextStream_NumberFlags___or__, or_slot},
    {(void *)slot_QTextStream_NumberFlags___iand__, iand_slot},
    {(void *)slot_QTextStream_NumberFlags___and__, and_slot},
    {(void *)slot_QTextStream_NumberFlags___invert__, invert_slot},
    {(void *)slot_QTextStream_NumberFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QTextStream_NumberFlags, "\1QTextStream.NumberFlags()\n"
    "QTextStream.NumberFlags(Union[QTextStream.NumberFlags, QTextStream.NumberFlag])\n"
    "QTextStream.NumberFlags(QTextStream.NumberFlags)");


static pyqt5ClassPluginDef plugin_QTextStream_NumberFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTextStream_NumberFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextStream__NumberFlags,
        {0},
        &plugin_QTextStream_NumberFlags
    },
    {
        sipNameNr_NumberFlags,
        {261, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextStream_NumberFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QTextStream_NumberFlags,
    init_type_QTextStream_NumberFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextStream_NumberFlags,
    assign_QTextStream_NumberFlags,
    array_QTextStream_NumberFlags,
    copy_QTextStream_NumberFlags,
    release_QTextStream_NumberFlags,
    0,
    convertTo_QTextStream_NumberFlags,
    0,
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 39901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 39905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 39908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 39911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 39914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 39917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 39920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 39923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 39926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQTextStream : public  ::QTextStream
{
public:
    sipQTextStream();
    sipQTextStream( ::QIODevice*);
    sipQTextStream( ::QByteArray*, ::QIODevice::OpenMode);
    ~sipQTextStream();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTextStream(const sipQTextStream &);
    sipQTextStream &operator = (const sipQTextStream &);
};

sipQTextStream::sipQTextStream():  ::QTextStream(), sipPySelf(0)
{
}

sipQTextStream::sipQTextStream( ::QIODevice*a0):  ::QTextStream(a0), sipPySelf(0)
{
}

sipQTextStream::sipQTextStream( ::QByteArray*a0, ::QIODevice::OpenMode a1):  ::QTextStream(a0,a1), sipPySelf(0)
{
}

sipQTextStream::~sipQTextStream()
{
    sipInstanceDestroyed(sipPySelf);
}


PyDoc_STRVAR(doc_QTextStream_setCodec, "setCodec(self, QTextCodec)\n"
    "setCodec(self, str)");

extern "C" {static PyObject *meth_QTextStream_setCodec(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextCodec* a0;
        PyObject *a0Keep;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QTextStream, &sipCpp, &a0Keep, sipType_QTextCodec, &a0))
        {
            sipCpp->setCodec(a0);

            sipKeepReference(sipSelf, -8, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QTextStream, &sipCpp, &a0Keep, &a0))
        {
            sipCpp->setCodec(a0);
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setCodec, doc_QTextStream_setCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_codec, "codec(self) -> QTextCodec");

extern "C" {static PyObject *meth_QTextStream_codec(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_codec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
             ::QTextCodec*sipRes;

            sipRes = sipCpp->codec();

            return sipConvertFromType(sipRes,sipType_QTextCodec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_codec, doc_QTextStream_codec);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setAutoDetectUnicode, "setAutoDetectUnicode(self, bool)");

extern "C" {static PyObject *meth_QTextStream_setAutoDetectUnicode(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setAutoDetectUnicode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextStream, &sipCpp, &a0))
        {
            sipCpp->setAutoDetectUnicode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setAutoDetectUnicode, doc_QTextStream_setAutoDetectUnicode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_autoDetectUnicode, "autoDetectUnicode(self) -> bool");

extern "C" {static PyObject *meth_QTextStream_autoDetectUnicode(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_autoDetectUnicode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoDetectUnicode();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_autoDetectUnicode, doc_QTextStream_autoDetectUnicode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setGenerateByteOrderMark, "setGenerateByteOrderMark(self, bool)");

extern "C" {static PyObject *meth_QTextStream_setGenerateByteOrderMark(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setGenerateByteOrderMark(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextStream, &sipCpp, &a0))
        {
            sipCpp->setGenerateByteOrderMark(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setGenerateByteOrderMark, doc_QTextStream_setGenerateByteOrderMark);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_generateByteOrderMark, "generateByteOrderMark(self) -> bool");

extern "C" {static PyObject *meth_QTextStream_generateByteOrderMark(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_generateByteOrderMark(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->generateByteOrderMark();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_generateByteOrderMark, doc_QTextStream_generateByteOrderMark);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setDevice, "setDevice(self, QIODevice)");

extern "C" {static PyObject *meth_QTextStream_setDevice(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setDevice(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice* a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTextStream, &sipCpp, sipType_QIODevice, &a0))
        {
            sipCpp->setDevice(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setDevice, doc_QTextStream_setDevice);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_device, "device(self) -> QIODevice");

extern "C" {static PyObject *meth_QTextStream_device(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_device(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
             ::QIODevice*sipRes;

            sipRes = sipCpp->device();

            return sipConvertFromType(sipRes,sipType_QIODevice,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_device, doc_QTextStream_device);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_atEnd, "atEnd(self) -> bool");

extern "C" {static PyObject *meth_QTextStream_atEnd(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_atEnd(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->atEnd();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_atEnd, doc_QTextStream_atEnd);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_reset, "reset(self)");

extern "C" {static PyObject *meth_QTextStream_reset(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
            sipCpp->reset();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_reset, doc_QTextStream_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_flush, "flush(self)");

extern "C" {static PyObject *meth_QTextStream_flush(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_flush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->flush();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_flush, doc_QTextStream_flush);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_seek, "seek(self, int) -> bool");

extern "C" {static PyObject *meth_QTextStream_seek(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_seek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QTextStream, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->seek(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_seek, doc_QTextStream_seek);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_skipWhiteSpace, "skipWhiteSpace(self)");

extern "C" {static PyObject *meth_QTextStream_skipWhiteSpace(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_skipWhiteSpace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
            sipCpp->skipWhiteSpace();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_skipWhiteSpace, doc_QTextStream_skipWhiteSpace);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_read, "read(self, int) -> str");

extern "C" {static PyObject *meth_QTextStream_read(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QTextStream, &sipCpp, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->read(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_read, doc_QTextStream_read);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_readLine, "readLine(self, maxLength: int = 0) -> str");

extern "C" {static PyObject *meth_QTextStream_readLine(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextStream_readLine(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0 = 0;
         ::QTextStream *sipCpp;

        static const char *sipKwdList[] = {
            sipName_maxLength,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|n", &sipSelf, sipType_QTextStream, &sipCpp, &a0))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->readLine(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_readLine, doc_QTextStream_readLine);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_readAll, "readAll(self) -> str");

extern "C" {static PyObject *meth_QTextStream_readAll(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_readAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
             ::QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QString(sipCpp->readAll());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_readAll, doc_QTextStream_readAll);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setFieldAlignment, "setFieldAlignment(self, QTextStream.FieldAlignment)");

extern "C" {static PyObject *meth_QTextStream_setFieldAlignment(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setFieldAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream::FieldAlignment a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTextStream, &sipCpp, sipType_QTextStream_FieldAlignment, &a0))
        {
            sipCpp->setFieldAlignment(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setFieldAlignment, doc_QTextStream_setFieldAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_fieldAlignment, "fieldAlignment(self) -> QTextStream.FieldAlignment");

extern "C" {static PyObject *meth_QTextStream_fieldAlignment(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_fieldAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
             ::QTextStream::FieldAlignment sipRes;

            sipRes = sipCpp->fieldAlignment();

            return sipConvertFromEnum(sipRes,sipType_QTextStream_FieldAlignment);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_fieldAlignment, doc_QTextStream_fieldAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setPadChar, "setPadChar(self, str)");

extern "C" {static PyObject *meth_QTextStream_setPadChar(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setPadChar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QChar* a0;
        int a0State = 0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextStream, &sipCpp, sipType_QChar,&a0, &a0State))
        {
            sipCpp->setPadChar(*a0);
            sipReleaseType(a0,sipType_QChar,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setPadChar, doc_QTextStream_setPadChar);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_padChar, "padChar(self) -> str");

extern "C" {static PyObject *meth_QTextStream_padChar(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_padChar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar(sipCpp->padChar());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_padChar, doc_QTextStream_padChar);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setFieldWidth, "setFieldWidth(self, int)");

extern "C" {static PyObject *meth_QTextStream_setFieldWidth(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setFieldWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTextStream, &sipCpp, &a0))
        {
            sipCpp->setFieldWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setFieldWidth, doc_QTextStream_setFieldWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_fieldWidth, "fieldWidth(self) -> int");

extern "C" {static PyObject *meth_QTextStream_fieldWidth(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_fieldWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->fieldWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_fieldWidth, doc_QTextStream_fieldWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setNumberFlags, "setNumberFlags(self, Union[QTextStream.NumberFlags, QTextStream.NumberFlag])");

extern "C" {static PyObject *meth_QTextStream_setNumberFlags(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setNumberFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream::NumberFlags* a0;
        int a0State = 0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextStream, &sipCpp, sipType_QTextStream_NumberFlags, &a0, &a0State))
        {
            sipCpp->setNumberFlags(*a0);
            sipReleaseType(a0,sipType_QTextStream_NumberFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setNumberFlags, doc_QTextStream_setNumberFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_numberFlags, "numberFlags(self) -> QTextStream.NumberFlags");

extern "C" {static PyObject *meth_QTextStream_numberFlags(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_numberFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
             ::QTextStream::NumberFlags*sipRes;

            sipRes = new  ::QTextStream::NumberFlags(sipCpp->numberFlags());

            return sipConvertFromNewType(sipRes,sipType_QTextStream_NumberFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_numberFlags, doc_QTextStream_numberFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setIntegerBase, "setIntegerBase(self, int)");

extern "C" {static PyObject *meth_QTextStream_setIntegerBase(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setIntegerBase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTextStream, &sipCpp, &a0))
        {
            sipCpp->setIntegerBase(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setIntegerBase, doc_QTextStream_setIntegerBase);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_integerBase, "integerBase(self) -> int");

extern "C" {static PyObject *meth_QTextStream_integerBase(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_integerBase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->integerBase();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_integerBase, doc_QTextStream_integerBase);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setRealNumberNotation, "setRealNumberNotation(self, QTextStream.RealNumberNotation)");

extern "C" {static PyObject *meth_QTextStream_setRealNumberNotation(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setRealNumberNotation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream::RealNumberNotation a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTextStream, &sipCpp, sipType_QTextStream_RealNumberNotation, &a0))
        {
            sipCpp->setRealNumberNotation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setRealNumberNotation, doc_QTextStream_setRealNumberNotation);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_realNumberNotation, "realNumberNotation(self) -> QTextStream.RealNumberNotation");

extern "C" {static PyObject *meth_QTextStream_realNumberNotation(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_realNumberNotation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
             ::QTextStream::RealNumberNotation sipRes;

            sipRes = sipCpp->realNumberNotation();

            return sipConvertFromEnum(sipRes,sipType_QTextStream_RealNumberNotation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_realNumberNotation, doc_QTextStream_realNumberNotation);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setRealNumberPrecision, "setRealNumberPrecision(self, int)");

extern "C" {static PyObject *meth_QTextStream_setRealNumberPrecision(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setRealNumberPrecision(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTextStream, &sipCpp, &a0))
        {
            sipCpp->setRealNumberPrecision(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setRealNumberPrecision, doc_QTextStream_setRealNumberPrecision);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_realNumberPrecision, "realNumberPrecision(self) -> int");

extern "C" {static PyObject *meth_QTextStream_realNumberPrecision(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_realNumberPrecision(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->realNumberPrecision();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_realNumberPrecision, doc_QTextStream_realNumberPrecision);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_status, "status(self) -> QTextStream.Status");

extern "C" {static PyObject *meth_QTextStream_status(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
             ::QTextStream::Status sipRes;

            sipRes = sipCpp->status();

            return sipConvertFromEnum(sipRes,sipType_QTextStream_Status);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_status, doc_QTextStream_status);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setStatus, "setStatus(self, QTextStream.Status)");

extern "C" {static PyObject *meth_QTextStream_setStatus(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream::Status a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTextStream, &sipCpp, sipType_QTextStream_Status, &a0))
        {
            sipCpp->setStatus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setStatus, doc_QTextStream_setStatus);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_resetStatus, "resetStatus(self)");

extern "C" {static PyObject *meth_QTextStream_resetStatus(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_resetStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
            sipCpp->resetStatus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_resetStatus, doc_QTextStream_resetStatus);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_pos, "pos(self) -> int");

extern "C" {static PyObject *meth_QTextStream_pos(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->pos();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_pos, doc_QTextStream_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_setLocale, "setLocale(self, QLocale)");

extern "C" {static PyObject *meth_QTextStream_setLocale(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_setLocale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale* a0;
         ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTextStream, &sipCpp, sipType_QLocale, &a0))
        {
            sipCpp->setLocale(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_setLocale, doc_QTextStream_setLocale);

    return NULL;
}


PyDoc_STRVAR(doc_QTextStream_locale, "locale(self) -> QLocale");

extern "C" {static PyObject *meth_QTextStream_locale(PyObject *, PyObject *);}
static PyObject *meth_QTextStream_locale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextStream, &sipCpp))
        {
             ::QLocale*sipRes;

            sipRes = new  ::QLocale(sipCpp->locale());

            return sipConvertFromNewType(sipRes,sipType_QLocale,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextStream, sipName_locale, doc_QTextStream_locale);

    return NULL;
}


extern "C" {static PyObject *slot_QTextStream___lshift__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream___lshift__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream* a0;
        double a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9Xd", sipType_QTextStream, &a0, &a1))
        {
             ::QTextStream*sipRes;

            sipRes = &(*a0 << a1);

            return sipConvertFromType(sipRes,sipType_QTextStream,NULL);
        }
    }

    {
         ::QTextStream* a0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9Xi", sipType_QTextStream, &a0, &a1))
        {
             ::QTextStream*sipRes;

            sipRes = &(*a0 << a1);

            return sipConvertFromType(sipRes,sipType_QTextStream,NULL);
        }
    }

    {
         ::QTextStream* a0;
         ::qlonglong a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9n", sipType_QTextStream, &a0, &a1))
        {
             ::QTextStream*sipRes;

            sipRes = &(*a0 << a1);

            return sipConvertFromType(sipRes,sipType_QTextStream,NULL);
        }
    }

    {
         ::QTextStream* a0;
         ::qulonglong a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9o", sipType_QTextStream, &a0, &a1))
        {
             ::QTextStream*sipRes;

            sipRes = &(*a0 << a1);

            return sipConvertFromType(sipRes,sipType_QTextStream,NULL);
        }
    }

    {
         ::QTextStream* a0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J1", sipType_QTextStream, &a0, sipType_QString,&a1, &a1State))
        {
             ::QTextStream*sipRes;

            sipRes = &(*a0 << *a1);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QTextStream,NULL);
        }
    }

    {
         ::QTextStream* a0;
        const  ::QByteArray* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J1", sipType_QTextStream, &a0, sipType_QByteArray, &a1, &a1State))
        {
             ::QTextStream*sipRes;

            sipRes = &(*a0 << *a1);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromType(sipRes,sipType_QTextStream,NULL);
        }
    }

    {
         ::QTextStream* a0;
         ::QTextStreamManipulator* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QTextStream, &a0, sipType_QTextStreamManipulator, &a1))
        {
             ::QTextStream*sipRes;

            sipRes = &(*a0 << *a1);

            return sipConvertFromType(sipRes,sipType_QTextStream,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lshift_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QTextStream___rshift__(PyObject *,PyObject *);}
static PyObject *slot_QTextStream___rshift__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextStream* a0;
         ::QByteArray* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QTextStream, &a0, sipType_QByteArray, &a1))
        {
             ::QTextStream*sipRes;

            sipRes = &(*a0 >> *a1);

            return sipConvertFromType(sipRes,sipType_QTextStream,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, rshift_slot, NULL, sipArg0, sipArg1);
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextStream(void *, int);}
static void release_QTextStream(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQTextStream *>(sipCppV);
    else
        delete reinterpret_cast< ::QTextStream *>(sipCppV);
}


extern "C" {static void dealloc_QTextStream(sipSimpleWrapper *);}
static void dealloc_QTextStream(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTextStream *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTextStream(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QTextStream(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextStream(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQTextStream *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQTextStream();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QIODevice* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            sipCpp = new sipQTextStream(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QByteArray* a0;
         ::QIODevice::OpenMode a1def = QIODevice::ReadWrite;
         ::QIODevice::OpenMode* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|J1", sipType_QByteArray, &a0, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            sipCpp = new sipQTextStream(a0,*a1);
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTextStream[] = {
    {(void *)slot_QTextStream___lshift__, lshift_slot},
    {(void *)slot_QTextStream___rshift__, rshift_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QTextStream[] = {
    {SIP_MLNAME_CAST(sipName_atEnd), meth_QTextStream_atEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_atEnd)},
    {SIP_MLNAME_CAST(sipName_autoDetectUnicode), meth_QTextStream_autoDetectUnicode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_autoDetectUnicode)},
    {SIP_MLNAME_CAST(sipName_codec), meth_QTextStream_codec, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_codec)},
    {SIP_MLNAME_CAST(sipName_device), meth_QTextStream_device, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_device)},
    {SIP_MLNAME_CAST(sipName_fieldAlignment), meth_QTextStream_fieldAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_fieldAlignment)},
    {SIP_MLNAME_CAST(sipName_fieldWidth), meth_QTextStream_fieldWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_fieldWidth)},
    {SIP_MLNAME_CAST(sipName_flush), meth_QTextStream_flush, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_flush)},
    {SIP_MLNAME_CAST(sipName_generateByteOrderMark), meth_QTextStream_generateByteOrderMark, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_generateByteOrderMark)},
    {SIP_MLNAME_CAST(sipName_integerBase), meth_QTextStream_integerBase, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_integerBase)},
    {SIP_MLNAME_CAST(sipName_locale), meth_QTextStream_locale, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_locale)},
    {SIP_MLNAME_CAST(sipName_numberFlags), meth_QTextStream_numberFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_numberFlags)},
    {SIP_MLNAME_CAST(sipName_padChar), meth_QTextStream_padChar, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_padChar)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QTextStream_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_pos)},
    {SIP_MLNAME_CAST(sipName_read), meth_QTextStream_read, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_read)},
    {SIP_MLNAME_CAST(sipName_readAll), meth_QTextStream_readAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_readAll)},
    {SIP_MLNAME_CAST(sipName_readLine), (PyCFunction)meth_QTextStream_readLine, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextStream_readLine)},
    {SIP_MLNAME_CAST(sipName_realNumberNotation), meth_QTextStream_realNumberNotation, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_realNumberNotation)},
    {SIP_MLNAME_CAST(sipName_realNumberPrecision), meth_QTextStream_realNumberPrecision, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_realNumberPrecision)},
    {SIP_MLNAME_CAST(sipName_reset), meth_QTextStream_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_reset)},
    {SIP_MLNAME_CAST(sipName_resetStatus), meth_QTextStream_resetStatus, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_resetStatus)},
    {SIP_MLNAME_CAST(sipName_seek), meth_QTextStream_seek, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_seek)},
    {SIP_MLNAME_CAST(sipName_setAutoDetectUnicode), meth_QTextStream_setAutoDetectUnicode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setAutoDetectUnicode)},
    {SIP_MLNAME_CAST(sipName_setCodec), meth_QTextStream_setCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setCodec)},
    {SIP_MLNAME_CAST(sipName_setDevice), meth_QTextStream_setDevice, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setDevice)},
    {SIP_MLNAME_CAST(sipName_setFieldAlignment), meth_QTextStream_setFieldAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setFieldAlignment)},
    {SIP_MLNAME_CAST(sipName_setFieldWidth), meth_QTextStream_setFieldWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setFieldWidth)},
    {SIP_MLNAME_CAST(sipName_setGenerateByteOrderMark), meth_QTextStream_setGenerateByteOrderMark, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setGenerateByteOrderMark)},
    {SIP_MLNAME_CAST(sipName_setIntegerBase), meth_QTextStream_setIntegerBase, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setIntegerBase)},
    {SIP_MLNAME_CAST(sipName_setLocale), meth_QTextStream_setLocale, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setLocale)},
    {SIP_MLNAME_CAST(sipName_setNumberFlags), meth_QTextStream_setNumberFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setNumberFlags)},
    {SIP_MLNAME_CAST(sipName_setPadChar), meth_QTextStream_setPadChar, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setPadChar)},
    {SIP_MLNAME_CAST(sipName_setRealNumberNotation), meth_QTextStream_setRealNumberNotation, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setRealNumberNotation)},
    {SIP_MLNAME_CAST(sipName_setRealNumberPrecision), meth_QTextStream_setRealNumberPrecision, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setRealNumberPrecision)},
    {SIP_MLNAME_CAST(sipName_setStatus), meth_QTextStream_setStatus, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_setStatus)},
    {SIP_MLNAME_CAST(sipName_skipWhiteSpace), meth_QTextStream_skipWhiteSpace, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_skipWhiteSpace)},
    {SIP_MLNAME_CAST(sipName_status), meth_QTextStream_status, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextStream_status)}
};

static sipEnumMemberDef enummembers_QTextStream[] = {
    {sipName_AlignAccountingStyle, static_cast<int>( ::QTextStream::AlignAccountingStyle), 262},
    {sipName_AlignCenter, static_cast<int>( ::QTextStream::AlignCenter), 262},
    {sipName_AlignLeft, static_cast<int>( ::QTextStream::AlignLeft), 262},
    {sipName_AlignRight, static_cast<int>( ::QTextStream::AlignRight), 262},
    {sipName_FixedNotation, static_cast<int>( ::QTextStream::FixedNotation), 265},
    {sipName_ForcePoint, static_cast<int>( ::QTextStream::ForcePoint), 263},
    {sipName_ForceSign, static_cast<int>( ::QTextStream::ForceSign), 263},
    {sipName_Ok, static_cast<int>( ::QTextStream::Ok), 266},
    {sipName_ReadCorruptData, static_cast<int>( ::QTextStream::ReadCorruptData), 266},
    {sipName_ReadPastEnd, static_cast<int>( ::QTextStream::ReadPastEnd), 266},
    {sipName_ScientificNotation, static_cast<int>( ::QTextStream::ScientificNotation), 265},
    {sipName_ShowBase, static_cast<int>( ::QTextStream::ShowBase), 263},
    {sipName_SmartNotation, static_cast<int>( ::QTextStream::SmartNotation), 265},
    {sipName_UppercaseBase, static_cast<int>( ::QTextStream::UppercaseBase), 263},
    {sipName_UppercaseDigits, static_cast<int>( ::QTextStream::UppercaseDigits), 263},
    {sipName_WriteFailed, static_cast<int>( ::QTextStream::WriteFailed), 266},
};

PyDoc_STRVAR(doc_QTextStream, "\1QTextStream()\n"
    "QTextStream(QIODevice)\n"
    "QTextStream(QByteArray, mode: Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = QIODevice.ReadWrite)");


static pyqt5ClassPluginDef plugin_QTextStream = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTextStream = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextStream,
        {0},
        &plugin_QTextStream
    },
    {
        sipNameNr_QTextStream,
        {0, 0, 1},
        36, methods_QTextStream,
        16, enummembers_QTextStream,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextStream,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QTextStream,
    init_type_QTextStream,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextStream,
    0,
    0,
    0,
    release_QTextStream,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 41360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 41364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 41367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 41370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 41373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTextDecoder_toUnicode, "toUnicode(self, bytes) -> str\n"
    "toUnicode(self, Union[QByteArray, bytes, bytearray]) -> str");

extern "C" {static PyObject *meth_QTextDecoder_toUnicode(PyObject *, PyObject *);}
static PyObject *meth_QTextDecoder_toUnicode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        SIP_SSIZE_T a1;
         ::QTextDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bk", &sipSelf, sipType_QTextDecoder, &sipCpp, &a0, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toUnicode(a0,(int)a1));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QTextDecoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextDecoder, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toUnicode(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextDecoder, sipName_toUnicode, doc_QTextDecoder_toUnicode);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextDecoder(void *, int);}
static void release_QTextDecoder(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTextDecoder *>(sipCppV);
}


extern "C" {static void dealloc_QTextDecoder(sipSimpleWrapper *);}
static void dealloc_QTextDecoder(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTextDecoder(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTextDecoder(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextDecoder(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTextDecoder *sipCpp = 0;

    {
        const  ::QTextCodec* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QTextCodec, &a0))
        {
            sipCpp = new  ::QTextDecoder(a0);

            return sipCpp;
        }
    }

    {
        const  ::QTextCodec* a0;
         ::QTextCodec::ConversionFlags* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1", sipType_QTextCodec, &a0, sipType_QTextCodec_ConversionFlags, &a1, &a1State))
        {
            sipCpp = new  ::QTextDecoder(a0,*a1);
            sipReleaseType(a1,sipType_QTextCodec_ConversionFlags,a1State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QTextDecoder[] = {
    {SIP_MLNAME_CAST(sipName_toUnicode), meth_QTextDecoder_toUnicode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextDecoder_toUnicode)}
};

PyDoc_STRVAR(doc_QTextDecoder, "\1QTextDecoder(QTextCodec)\n"
    "QTextDecoder(QTextCodec, Union[QTextCodec.ConversionFlags, QTextCodec.ConversionFlag])");


static pyqt5ClassPluginDef plugin_QTextDecoder = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTextDecoder = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextDecoder,
        {0},
        &plugin_QTextDecoder
    },
    {
        sipNameNr_QTextDecoder,
        {0, 0, 1},
        1, methods_QTextDecoder,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextDecoder,
    -1,
    -1,
    0,
    0,
    init_type_QTextDecoder,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextDecoder,
    0,
    0,
    0,
    release_QTextDecoder,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 41544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 41548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 41551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 41554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 41557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTextEncoder_fromUnicode, "fromUnicode(self, str) -> QByteArray");

extern "C" {static PyObject *meth_QTextEncoder_fromUnicode(PyObject *, PyObject *);}
static PyObject *meth_QTextEncoder_fromUnicode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QTextEncoder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEncoder, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->fromUnicode(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEncoder, sipName_fromUnicode, doc_QTextEncoder_fromUnicode);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextEncoder(void *, int);}
static void release_QTextEncoder(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTextEncoder *>(sipCppV);
}


extern "C" {static void dealloc_QTextEncoder(sipSimpleWrapper *);}
static void dealloc_QTextEncoder(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTextEncoder(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTextEncoder(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextEncoder(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTextEncoder *sipCpp = 0;

    {
        const  ::QTextCodec* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QTextCodec, &a0))
        {
            sipCpp = new  ::QTextEncoder(a0);

            return sipCpp;
        }
    }

    {
        const  ::QTextCodec* a0;
         ::QTextCodec::ConversionFlags* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1", sipType_QTextCodec, &a0, sipType_QTextCodec_ConversionFlags, &a1, &a1State))
        {
            sipCpp = new  ::QTextEncoder(a0,*a1);
            sipReleaseType(a1,sipType_QTextCodec_ConversionFlags,a1State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QTextEncoder[] = {
    {SIP_MLNAME_CAST(sipName_fromUnicode), meth_QTextEncoder_fromUnicode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEncoder_fromUnicode)}
};

PyDoc_STRVAR(doc_QTextEncoder, "\1QTextEncoder(QTextCodec)\n"
    "QTextEncoder(QTextCodec, Union[QTextCodec.ConversionFlags, QTextCodec.ConversionFlag])");


static pyqt5ClassPluginDef plugin_QTextEncoder = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTextEncoder = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextEncoder,
        {0},
        &plugin_QTextEncoder
    },
    {
        sipNameNr_QTextEncoder,
        {0, 0, 1},
        1, methods_QTextEncoder,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextEncoder,
    -1,
    -1,
    0,
    0,
    init_type_QTextEncoder,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextEncoder,
    0,
    0,
    0,
    release_QTextEncoder,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 60 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 41713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 41717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


/* Call the instance's destructor. */
extern "C" {static void release_QTextCodec_ConverterState(void *, int);}
static void release_QTextCodec_ConverterState(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTextCodec::ConverterState *>(sipCppV);
}


extern "C" {static void dealloc_QTextCodec_ConverterState(sipSimpleWrapper *);}
static void dealloc_QTextCodec_ConverterState(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTextCodec_ConverterState(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTextCodec_ConverterState(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextCodec_ConverterState(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTextCodec::ConverterState *sipCpp = 0;

    {
         ::QTextCodec::ConversionFlags a0def = QTextCodec::DefaultConversion;
         ::QTextCodec::ConversionFlags* a0 = &a0def;
        int a0State = 0;

        static const char *sipKwdList[] = {
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J1", sipType_QTextCodec_ConversionFlags, &a0, &a0State))
        {
            sipCpp = new  ::QTextCodec::ConverterState(*a0);
            sipReleaseType(a0,sipType_QTextCodec_ConversionFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}

PyDoc_STRVAR(doc_QTextCodec_ConverterState, "\1QTextCodec.ConverterState(flags: Union[QTextCodec.ConversionFlags, QTextCodec.ConversionFlag] = QTextCodec.DefaultConversion)");


static pyqt5ClassPluginDef plugin_QTextCodec_ConverterState = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTextCodec_ConverterState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextCodec__ConverterState,
        {0},
        &plugin_QTextCodec_ConverterState
    },
    {
        sipNameNr_ConverterState,
        {255, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextCodec_ConverterState,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QTextCodec_ConverterState,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextCodec_ConverterState,
    0,
    0,
    0,
    release_QTextCodec_ConverterState,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 41827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 41831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QTextCodec_ConversionFlags___hash__(PyObject *);}
static long slot_QTextCodec_ConversionFlags___hash__(PyObject *sipSelf)
{
     ::QTextCodec::ConversionFlags *sipCpp = reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextCodec_ConversionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QTextCodec::ConversionFlags::Int();
#line 41849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QTextCodec_ConversionFlags___bool__(PyObject *);}
static int slot_QTextCodec_ConversionFlags___bool__(PyObject *sipSelf)
{
     ::QTextCodec::ConversionFlags *sipCpp = reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextCodec_ConversionFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextCodec::ConversionFlags::Int() != 0);
#line 41874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTextCodec_ConversionFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTextCodec::ConversionFlags *sipCpp = reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextCodec_ConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTextCodec::ConversionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextCodec_ConversionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextCodec::ConversionFlags::Int() != a0->operator QTextCodec::ConversionFlags::Int());
#line 41904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QTextCodec::ConversionFlags *>(a0),sipType_QTextCodec_ConversionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QTextCodec_ConversionFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTextCodec_ConversionFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTextCodec::ConversionFlags *sipCpp = reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextCodec_ConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTextCodec::ConversionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextCodec_ConversionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextCodec::ConversionFlags::Int() == a0->operator QTextCodec::ConversionFlags::Int());
#line 41940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QTextCodec::ConversionFlags *>(a0),sipType_QTextCodec_ConversionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QTextCodec_ConversionFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTextCodec_ConversionFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextCodec_ConversionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QTextCodec::ConversionFlags *sipCpp = reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextCodec_ConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QTextCodec::ConversionFlags(*sipCpp ^ a0);
#line 41979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextCodec_ConversionFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextCodec::ConversionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextCodec_ConversionFlags, &a0, &a0State, &a1))
        {
             ::QTextCodec::ConversionFlags*sipRes;

            sipRes = new  ::QTextCodec::ConversionFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QTextCodec_ConversionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextCodec_ConversionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QTextCodec_ConversionFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextCodec_ConversionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QTextCodec::ConversionFlags *sipCpp = reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextCodec_ConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QTextCodec::ConversionFlags(*sipCpp | a0);
#line 42051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextCodec_ConversionFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextCodec::ConversionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextCodec_ConversionFlags, &a0, &a0State, &a1))
        {
             ::QTextCodec::ConversionFlags*sipRes;

            sipRes = new  ::QTextCodec::ConversionFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QTextCodec_ConversionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextCodec_ConversionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QTextCodec_ConversionFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextCodec_ConversionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QTextCodec::ConversionFlags *sipCpp = reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextCodec_ConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QTextCodec::ConversionFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextCodec_ConversionFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextCodec::ConversionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextCodec_ConversionFlags, &a0, &a0State, &a1))
        {
             ::QTextCodec::ConversionFlags*sipRes;

            sipRes = new  ::QTextCodec::ConversionFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QTextCodec_ConversionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextCodec_ConversionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QTextCodec_ConversionFlags___invert__(PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___invert__(PyObject *sipSelf)
{
     ::QTextCodec::ConversionFlags *sipCpp = reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextCodec_ConversionFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QTextCodec::ConversionFlags*sipRes;

            sipRes = new  ::QTextCodec::ConversionFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QTextCodec_ConversionFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTextCodec_ConversionFlags___int__(PyObject *);}
static PyObject *slot_QTextCodec_ConversionFlags___int__(PyObject *sipSelf)
{
     ::QTextCodec::ConversionFlags *sipCpp = reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextCodec_ConversionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextCodec_ConversionFlags(void *, int);}
static void release_QTextCodec_ConversionFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipCppV);
}


extern "C" {static void assign_QTextCodec_ConversionFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QTextCodec_ConversionFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QTextCodec::ConversionFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QTextCodec::ConversionFlags *>(sipSrc);
}


extern "C" {static void *array_QTextCodec_ConversionFlags(SIP_SSIZE_T);}
static void *array_QTextCodec_ConversionFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QTextCodec::ConversionFlags[sipNrElem];
}


extern "C" {static void *copy_QTextCodec_ConversionFlags(const void *, SIP_SSIZE_T);}
static void *copy_QTextCodec_ConversionFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QTextCodec::ConversionFlags(reinterpret_cast<const  ::QTextCodec::ConversionFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTextCodec_ConversionFlags(sipSimpleWrapper *);}
static void dealloc_QTextCodec_ConversionFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTextCodec_ConversionFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTextCodec_ConversionFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextCodec_ConversionFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTextCodec::ConversionFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QTextCodec::ConversionFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QTextCodec::ConversionFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QTextCodec::ConversionFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QTextCodec_ConversionFlags, &a0, &a0State))
        {
            sipCpp = new  ::QTextCodec::ConversionFlags(*a0);
            sipReleaseType(const_cast< ::QTextCodec::ConversionFlags *>(a0),sipType_QTextCodec_ConversionFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QTextCodec_ConversionFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QTextCodec_ConversionFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QTextCodec::ConversionFlags **sipCppPtr = reinterpret_cast< ::QTextCodec::ConversionFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QTextCodec::ConversionFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QTextCodec_ConversionFlag)) ||
            sipCanConvertToType(sipPy, sipType_QTextCodec_ConversionFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QTextCodec_ConversionFlag)))
{
    *sipCppPtr = new QTextCodec::ConversionFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QTextCodec::ConversionFlags *>(sipConvertToType(sipPy, sipType_QTextCodec_ConversionFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 42319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTextCodec_ConversionFlags[] = {
    {(void *)slot_QTextCodec_ConversionFlags___hash__, hash_slot},
    {(void *)slot_QTextCodec_ConversionFlags___bool__, bool_slot},
    {(void *)slot_QTextCodec_ConversionFlags___ne__, ne_slot},
    {(void *)slot_QTextCodec_ConversionFlags___eq__, eq_slot},
    {(void *)slot_QTextCodec_ConversionFlags___ixor__, ixor_slot},
    {(void *)slot_QTextCodec_ConversionFlags___xor__, xor_slot},
    {(void *)slot_QTextCodec_ConversionFlags___ior__, ior_slot},
    {(void *)slot_QTextCodec_ConversionFlags___or__, or_slot},
    {(void *)slot_QTextCodec_ConversionFlags___iand__, iand_slot},
    {(void *)slot_QTextCodec_ConversionFlags___and__, and_slot},
    {(void *)slot_QTextCodec_ConversionFlags___invert__, invert_slot},
    {(void *)slot_QTextCodec_ConversionFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QTextCodec_ConversionFlags, "\1QTextCodec.ConversionFlags()\n"
    "QTextCodec.ConversionFlags(Union[QTextCodec.ConversionFlags, QTextCodec.ConversionFlag])\n"
    "QTextCodec.ConversionFlags(QTextCodec.ConversionFlags)");


static pyqt5ClassPluginDef plugin_QTextCodec_ConversionFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTextCodec_ConversionFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextCodec__ConversionFlags,
        {0},
        &plugin_QTextCodec_ConversionFlags
    },
    {
        sipNameNr_ConversionFlags,
        {255, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextCodec_ConversionFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QTextCodec_ConversionFlags,
    init_type_QTextCodec_ConversionFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextCodec_ConversionFlags,
    assign_QTextCodec_ConversionFlags,
    array_QTextCodec_ConversionFlags,
    copy_QTextCodec_ConversionFlags,
    release_QTextCodec_ConversionFlags,
    0,
    convertTo_QTextCodec_ConversionFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 42405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 60 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 42414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 42420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 42423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 42426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 42429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTextCodec_codecForName, "codecForName(Union[QByteArray, bytes, bytearray]) -> QTextCodec\n"
    "codecForName(str) -> QTextCodec");

extern "C" {static PyObject *meth_QTextCodec_codecForName(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_codecForName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QTextCodec*sipRes;

            sipRes =  ::QTextCodec::codecForName(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromType(sipRes,sipType_QTextCodec,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
             ::QTextCodec*sipRes;

            sipRes =  ::QTextCodec::codecForName(a0);
            Py_DECREF(a0Keep);

            return sipConvertFromType(sipRes,sipType_QTextCodec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_codecForName, doc_QTextCodec_codecForName);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_codecForMib, "codecForMib(int) -> QTextCodec");

extern "C" {static PyObject *meth_QTextCodec_codecForMib(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_codecForMib(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
             ::QTextCodec*sipRes;

            sipRes =  ::QTextCodec::codecForMib(a0);

            return sipConvertFromType(sipRes,sipType_QTextCodec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_codecForMib, doc_QTextCodec_codecForMib);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_codecForHtml, "codecForHtml(Union[QByteArray, bytes, bytearray]) -> QTextCodec\n"
    "codecForHtml(Union[QByteArray, bytes, bytearray], QTextCodec) -> QTextCodec");

extern "C" {static PyObject *meth_QTextCodec_codecForHtml(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_codecForHtml(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QTextCodec*sipRes;

            sipRes =  ::QTextCodec::codecForHtml(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromType(sipRes,sipType_QTextCodec,NULL);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QTextCodec* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QByteArray, &a0, &a0State, sipType_QTextCodec, &a1))
        {
             ::QTextCodec*sipRes;

            sipRes =  ::QTextCodec::codecForHtml(*a0,a1);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromType(sipRes,sipType_QTextCodec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_codecForHtml, doc_QTextCodec_codecForHtml);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_codecForUtfText, "codecForUtfText(Union[QByteArray, bytes, bytearray]) -> QTextCodec\n"
    "codecForUtfText(Union[QByteArray, bytes, bytearray], QTextCodec) -> QTextCodec");

extern "C" {static PyObject *meth_QTextCodec_codecForUtfText(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_codecForUtfText(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QTextCodec*sipRes;

            sipRes =  ::QTextCodec::codecForUtfText(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromType(sipRes,sipType_QTextCodec,NULL);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QTextCodec* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QByteArray, &a0, &a0State, sipType_QTextCodec, &a1))
        {
             ::QTextCodec*sipRes;

            sipRes =  ::QTextCodec::codecForUtfText(*a0,a1);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromType(sipRes,sipType_QTextCodec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_codecForUtfText, doc_QTextCodec_codecForUtfText);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_availableCodecs, "availableCodecs() -> List[QByteArray]");

extern "C" {static PyObject *meth_QTextCodec_availableCodecs(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_availableCodecs(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>( ::QTextCodec::availableCodecs());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_availableCodecs, doc_QTextCodec_availableCodecs);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_availableMibs, "availableMibs() -> List[int]");

extern "C" {static PyObject *meth_QTextCodec_availableMibs(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_availableMibs(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QList<int>*sipRes;

            sipRes = new  ::QList<int>( ::QTextCodec::availableMibs());

            return sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_availableMibs, doc_QTextCodec_availableMibs);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_codecForLocale, "codecForLocale() -> QTextCodec");

extern "C" {static PyObject *meth_QTextCodec_codecForLocale(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_codecForLocale(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QTextCodec*sipRes;

            sipRes =  ::QTextCodec::codecForLocale();

            return sipConvertFromType(sipRes,sipType_QTextCodec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_codecForLocale, doc_QTextCodec_codecForLocale);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_setCodecForLocale, "setCodecForLocale(QTextCodec)");

extern "C" {static PyObject *meth_QTextCodec_setCodecForLocale(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_setCodecForLocale(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextCodec* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "@J8", &a0Keep, sipType_QTextCodec, &a0))
        {
             ::QTextCodec::setCodecForLocale(a0);

            sipKeepReference(NULL, -7, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_setCodecForLocale, doc_QTextCodec_setCodecForLocale);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_makeDecoder, "makeDecoder(self, flags: Union[QTextCodec.ConversionFlags, QTextCodec.ConversionFlag] = QTextCodec.DefaultConversion) -> QTextDecoder");

extern "C" {static PyObject *meth_QTextCodec_makeDecoder(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_makeDecoder(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextCodec::ConversionFlags a0def = QTextCodec::DefaultConversion;
         ::QTextCodec::ConversionFlags* a0 = &a0def;
        int a0State = 0;
        const  ::QTextCodec *sipCpp;

        static const char *sipKwdList[] = {
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QTextCodec, &sipCpp, sipType_QTextCodec_ConversionFlags, &a0, &a0State))
        {
             ::QTextDecoder*sipRes;

            sipRes = sipCpp->makeDecoder(*a0);
            sipReleaseType(a0,sipType_QTextCodec_ConversionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextDecoder,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_makeDecoder, doc_QTextCodec_makeDecoder);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_makeEncoder, "makeEncoder(self, flags: Union[QTextCodec.ConversionFlags, QTextCodec.ConversionFlag] = QTextCodec.DefaultConversion) -> QTextEncoder");

extern "C" {static PyObject *meth_QTextCodec_makeEncoder(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_makeEncoder(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextCodec::ConversionFlags a0def = QTextCodec::DefaultConversion;
         ::QTextCodec::ConversionFlags* a0 = &a0def;
        int a0State = 0;
        const  ::QTextCodec *sipCpp;

        static const char *sipKwdList[] = {
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QTextCodec, &sipCpp, sipType_QTextCodec_ConversionFlags, &a0, &a0State))
        {
             ::QTextEncoder*sipRes;

            sipRes = sipCpp->makeEncoder(*a0);
            sipReleaseType(a0,sipType_QTextCodec_ConversionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextEncoder,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_makeEncoder, doc_QTextCodec_makeEncoder);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_canEncode, "canEncode(self, str) -> bool");

extern "C" {static PyObject *meth_QTextCodec_canEncode(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_canEncode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QTextCodec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextCodec, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->canEncode(*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_QTextCodec, sipName_canEncode, doc_QTextCodec_canEncode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_toUnicode, "toUnicode(self, Union[QByteArray, bytes, bytearray]) -> str\n"
    "toUnicode(self, str) -> str\n"
    "toUnicode(self, bytes, state: QTextCodec.ConverterState = None) -> str");

extern "C" {static PyObject *meth_QTextCodec_toUnicode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_toUnicode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QTextCodec *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTextCodec, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toUnicode(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const char* a0;
        const  ::QTextCodec *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bs", &sipSelf, sipType_QTextCodec, &sipCpp, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toUnicode(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const char* a0;
        SIP_SSIZE_T a1;
         ::QTextCodec::ConverterState* a2 = 0;
        const  ::QTextCodec *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_state,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bk|J8", &sipSelf, sipType_QTextCodec, &sipCpp, &a0, &a1, sipType_QTextCodec_ConverterState, &a2))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toUnicode(a0,(int)a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_toUnicode, doc_QTextCodec_toUnicode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_fromUnicode, "fromUnicode(self, str) -> QByteArray");

extern "C" {static PyObject *meth_QTextCodec_fromUnicode(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_fromUnicode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QTextCodec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextCodec, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->fromUnicode(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_fromUnicode, doc_QTextCodec_fromUnicode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_name, "name(self) -> QByteArray");

extern "C" {static PyObject *meth_QTextCodec_name(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QTextCodec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextCodec, &sipCpp))
        {
             ::QByteArray*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QTextCodec, sipName_name);
                return NULL;
            }

            sipRes = new  ::QByteArray(sipCpp->name());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_name, doc_QTextCodec_name);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_aliases, "aliases(self) -> List[QByteArray]");

extern "C" {static PyObject *meth_QTextCodec_aliases(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_aliases(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QTextCodec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextCodec, &sipCpp))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>((sipSelfWasArg ? sipCpp-> ::QTextCodec::aliases() : sipCpp->aliases()));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_aliases, doc_QTextCodec_aliases);

    return NULL;
}


PyDoc_STRVAR(doc_QTextCodec_mibEnum, "mibEnum(self) -> int");

extern "C" {static PyObject *meth_QTextCodec_mibEnum(PyObject *, PyObject *);}
static PyObject *meth_QTextCodec_mibEnum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QTextCodec *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextCodec, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QTextCodec, sipName_mibEnum);
                return NULL;
            }

            sipRes = sipCpp->mibEnum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextCodec, sipName_mibEnum, doc_QTextCodec_mibEnum);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextCodec(void *, int);}
static void release_QTextCodec(void *, int)
{
}


static PyMethodDef methods_QTextCodec[] = {
    {SIP_MLNAME_CAST(sipName_aliases), meth_QTextCodec_aliases, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_aliases)},
    {SIP_MLNAME_CAST(sipName_availableCodecs), meth_QTextCodec_availableCodecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_availableCodecs)},
    {SIP_MLNAME_CAST(sipName_availableMibs), meth_QTextCodec_availableMibs, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_availableMibs)},
    {SIP_MLNAME_CAST(sipName_canEncode), meth_QTextCodec_canEncode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_canEncode)},
    {SIP_MLNAME_CAST(sipName_codecForHtml), meth_QTextCodec_codecForHtml, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_codecForHtml)},
    {SIP_MLNAME_CAST(sipName_codecForLocale), meth_QTextCodec_codecForLocale, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_codecForLocale)},
    {SIP_MLNAME_CAST(sipName_codecForMib), meth_QTextCodec_codecForMib, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_codecForMib)},
    {SIP_MLNAME_CAST(sipName_codecForName), meth_QTextCodec_codecForName, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_codecForName)},
    {SIP_MLNAME_CAST(sipName_codecForUtfText), meth_QTextCodec_codecForUtfText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_codecForUtfText)},
    {SIP_MLNAME_CAST(sipName_fromUnicode), meth_QTextCodec_fromUnicode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_fromUnicode)},
    {SIP_MLNAME_CAST(sipName_makeDecoder), (PyCFunction)meth_QTextCodec_makeDecoder, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextCodec_makeDecoder)},
    {SIP_MLNAME_CAST(sipName_makeEncoder), (PyCFunction)meth_QTextCodec_makeEncoder, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextCodec_makeEncoder)},
    {SIP_MLNAME_CAST(sipName_mibEnum), meth_QTextCodec_mibEnum, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_mibEnum)},
    {SIP_MLNAME_CAST(sipName_name), meth_QTextCodec_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_name)},
    {SIP_MLNAME_CAST(sipName_setCodecForLocale), meth_QTextCodec_setCodecForLocale, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextCodec_setCodecForLocale)},
    {SIP_MLNAME_CAST(sipName_toUnicode), (PyCFunction)meth_QTextCodec_toUnicode, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextCodec_toUnicode)}
};

static sipEnumMemberDef enummembers_QTextCodec[] = {
    {sipName_ConvertInvalidToNull, static_cast<int>( ::QTextCodec::ConvertInvalidToNull), 256},
    {sipName_DefaultConversion, static_cast<int>( ::QTextCodec::DefaultConversion), 256},
    {sipName_IgnoreHeader, static_cast<int>( ::QTextCodec::IgnoreHeader), 256},
};


static pyqt5ClassPluginDef plugin_QTextCodec = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTextCodec = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextCodec,
        {0},
        &plugin_QTextCodec
    },
    {
        sipNameNr_QTextCodec,
        {0, 0, 1},
        16, methods_QTextCodec,
        3, enummembers_QTextCodec,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_QTextCodec,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 43110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 43114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QTextBoundaryFinder_BoundaryReasons___hash__(PyObject *);}
static long slot_QTextBoundaryFinder_BoundaryReasons___hash__(PyObject *sipSelf)
{
     ::QTextBoundaryFinder::BoundaryReasons *sipCpp = reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextBoundaryFinder_BoundaryReasons));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QTextBoundaryFinder::BoundaryReasons::Int();
#line 43132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QTextBoundaryFinder_BoundaryReasons___bool__(PyObject *);}
static int slot_QTextBoundaryFinder_BoundaryReasons___bool__(PyObject *sipSelf)
{
     ::QTextBoundaryFinder::BoundaryReasons *sipCpp = reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextBoundaryFinder_BoundaryReasons));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextBoundaryFinder::BoundaryReasons::Int() != 0);
#line 43157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___ne__(PyObject *,PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTextBoundaryFinder::BoundaryReasons *sipCpp = reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextBoundaryFinder_BoundaryReasons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTextBoundaryFinder::BoundaryReasons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextBoundaryFinder_BoundaryReasons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextBoundaryFinder::BoundaryReasons::Int() != a0->operator QTextBoundaryFinder::BoundaryReasons::Int());
#line 43187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QTextBoundaryFinder::BoundaryReasons *>(a0),sipType_QTextBoundaryFinder_BoundaryReasons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QTextBoundaryFinder_BoundaryReasons, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___eq__(PyObject *,PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTextBoundaryFinder::BoundaryReasons *sipCpp = reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextBoundaryFinder_BoundaryReasons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTextBoundaryFinder::BoundaryReasons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextBoundaryFinder_BoundaryReasons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextBoundaryFinder::BoundaryReasons::Int() == a0->operator QTextBoundaryFinder::BoundaryReasons::Int());
#line 43223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QTextBoundaryFinder::BoundaryReasons *>(a0),sipType_QTextBoundaryFinder_BoundaryReasons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QTextBoundaryFinder_BoundaryReasons, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextBoundaryFinder_BoundaryReasons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QTextBoundaryFinder::BoundaryReasons *sipCpp = reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextBoundaryFinder_BoundaryReasons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QTextBoundaryFinder::BoundaryReasons(*sipCpp ^ a0);
#line 43262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___xor__(PyObject *,PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextBoundaryFinder::BoundaryReasons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextBoundaryFinder_BoundaryReasons, &a0, &a0State, &a1))
        {
             ::QTextBoundaryFinder::BoundaryReasons*sipRes;

            sipRes = new  ::QTextBoundaryFinder::BoundaryReasons((*a0 ^ a1));
            sipReleaseType(a0,sipType_QTextBoundaryFinder_BoundaryReasons,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextBoundaryFinder_BoundaryReasons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___ior__(PyObject *,PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextBoundaryFinder_BoundaryReasons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QTextBoundaryFinder::BoundaryReasons *sipCpp = reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextBoundaryFinder_BoundaryReasons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QTextBoundaryFinder::BoundaryReasons(*sipCpp | a0);
#line 43334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___or__(PyObject *,PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextBoundaryFinder::BoundaryReasons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextBoundaryFinder_BoundaryReasons, &a0, &a0State, &a1))
        {
             ::QTextBoundaryFinder::BoundaryReasons*sipRes;

            sipRes = new  ::QTextBoundaryFinder::BoundaryReasons((*a0 | a1));
            sipReleaseType(a0,sipType_QTextBoundaryFinder_BoundaryReasons,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextBoundaryFinder_BoundaryReasons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___iand__(PyObject *,PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextBoundaryFinder_BoundaryReasons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QTextBoundaryFinder::BoundaryReasons *sipCpp = reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextBoundaryFinder_BoundaryReasons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QTextBoundaryFinder::BoundaryReasons::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___and__(PyObject *,PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextBoundaryFinder::BoundaryReasons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextBoundaryFinder_BoundaryReasons, &a0, &a0State, &a1))
        {
             ::QTextBoundaryFinder::BoundaryReasons*sipRes;

            sipRes = new  ::QTextBoundaryFinder::BoundaryReasons((*a0 & a1));
            sipReleaseType(a0,sipType_QTextBoundaryFinder_BoundaryReasons,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextBoundaryFinder_BoundaryReasons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___invert__(PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___invert__(PyObject *sipSelf)
{
     ::QTextBoundaryFinder::BoundaryReasons *sipCpp = reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextBoundaryFinder_BoundaryReasons));

    if (!sipCpp)
        return 0;


    {
        {
             ::QTextBoundaryFinder::BoundaryReasons*sipRes;

            sipRes = new  ::QTextBoundaryFinder::BoundaryReasons(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QTextBoundaryFinder_BoundaryReasons,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___int__(PyObject *);}
static PyObject *slot_QTextBoundaryFinder_BoundaryReasons___int__(PyObject *sipSelf)
{
     ::QTextBoundaryFinder::BoundaryReasons *sipCpp = reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextBoundaryFinder_BoundaryReasons));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextBoundaryFinder_BoundaryReasons(void *, int);}
static void release_QTextBoundaryFinder_BoundaryReasons(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipCppV);
}


extern "C" {static void assign_QTextBoundaryFinder_BoundaryReasons(void *, SIP_SSIZE_T, const void *);}
static void assign_QTextBoundaryFinder_BoundaryReasons(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QTextBoundaryFinder::BoundaryReasons *>(sipSrc);
}


extern "C" {static void *array_QTextBoundaryFinder_BoundaryReasons(SIP_SSIZE_T);}
static void *array_QTextBoundaryFinder_BoundaryReasons(SIP_SSIZE_T sipNrElem)
{
    return new  ::QTextBoundaryFinder::BoundaryReasons[sipNrElem];
}


extern "C" {static void *copy_QTextBoundaryFinder_BoundaryReasons(const void *, SIP_SSIZE_T);}
static void *copy_QTextBoundaryFinder_BoundaryReasons(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QTextBoundaryFinder::BoundaryReasons(reinterpret_cast<const  ::QTextBoundaryFinder::BoundaryReasons *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTextBoundaryFinder_BoundaryReasons(sipSimpleWrapper *);}
static void dealloc_QTextBoundaryFinder_BoundaryReasons(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTextBoundaryFinder_BoundaryReasons(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTextBoundaryFinder_BoundaryReasons(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextBoundaryFinder_BoundaryReasons(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTextBoundaryFinder::BoundaryReasons *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QTextBoundaryFinder::BoundaryReasons();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QTextBoundaryFinder::BoundaryReasons(a0);

            return sipCpp;
        }
    }

    {
        const  ::QTextBoundaryFinder::BoundaryReasons* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QTextBoundaryFinder_BoundaryReasons, &a0, &a0State))
        {
            sipCpp = new  ::QTextBoundaryFinder::BoundaryReasons(*a0);
            sipReleaseType(const_cast< ::QTextBoundaryFinder::BoundaryReasons *>(a0),sipType_QTextBoundaryFinder_BoundaryReasons,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QTextBoundaryFinder_BoundaryReasons(PyObject *, void **, int *, PyObject *);}
static int convertTo_QTextBoundaryFinder_BoundaryReasons(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QTextBoundaryFinder::BoundaryReasons **sipCppPtr = reinterpret_cast< ::QTextBoundaryFinder::BoundaryReasons **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QTextBoundaryFinder::BoundaryReasons is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QTextBoundaryFinder_BoundaryReason)) ||
            sipCanConvertToType(sipPy, sipType_QTextBoundaryFinder_BoundaryReasons, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QTextBoundaryFinder_BoundaryReason)))
{
    *sipCppPtr = new QTextBoundaryFinder::BoundaryReasons(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QTextBoundaryFinder::BoundaryReasons *>(sipConvertToType(sipPy, sipType_QTextBoundaryFinder_BoundaryReasons, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 43602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTextBoundaryFinder_BoundaryReasons[] = {
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___hash__, hash_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___bool__, bool_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___ne__, ne_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___eq__, eq_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___ixor__, ixor_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___xor__, xor_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___ior__, ior_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___or__, or_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___iand__, iand_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___and__, and_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___invert__, invert_slot},
    {(void *)slot_QTextBoundaryFinder_BoundaryReasons___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QTextBoundaryFinder_BoundaryReasons, "\1QTextBoundaryFinder.BoundaryReasons()\n"
    "QTextBoundaryFinder.BoundaryReasons(Union[QTextBoundaryFinder.BoundaryReasons, QTextBoundaryFinder.BoundaryReason])\n"
    "QTextBoundaryFinder.BoundaryReasons(QTextBoundaryFinder.BoundaryReasons)");


static pyqt5ClassPluginDef plugin_QTextBoundaryFinder_BoundaryReasons = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTextBoundaryFinder_BoundaryReasons = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextBoundaryFinder__BoundaryReasons,
        {0},
        &plugin_QTextBoundaryFinder_BoundaryReasons
    },
    {
        sipNameNr_BoundaryReasons,
        {251, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextBoundaryFinder_BoundaryReasons,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QTextBoundaryFinder_BoundaryReasons,
    init_type_QTextBoundaryFinder_BoundaryReasons,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextBoundaryFinder_BoundaryReasons,
    assign_QTextBoundaryFinder_BoundaryReasons,
    array_QTextBoundaryFinder_BoundaryReasons,
    copy_QTextBoundaryFinder_BoundaryReasons,
    release_QTextBoundaryFinder_BoundaryReasons,
    0,
    convertTo_QTextBoundaryFinder_BoundaryReasons,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 43688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 43692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextboundaryfinder.sip"
#include <qtextboundaryfinder.h>
#line 43695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTextBoundaryFinder_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QTextBoundaryFinder_isValid(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_isValid, doc_QTextBoundaryFinder_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBoundaryFinder_type, "type(self) -> QTextBoundaryFinder.BoundaryType");

extern "C" {static PyObject *meth_QTextBoundaryFinder_type(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp))
        {
             ::QTextBoundaryFinder::BoundaryType sipRes;

            sipRes = sipCpp->type();

            return sipConvertFromEnum(sipRes,sipType_QTextBoundaryFinder_BoundaryType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_type, doc_QTextBoundaryFinder_type);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBoundaryFinder_string, "string(self) -> str");

extern "C" {static PyObject *meth_QTextBoundaryFinder_string(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_string(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->string());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_string, doc_QTextBoundaryFinder_string);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBoundaryFinder_toStart, "toStart(self)");

extern "C" {static PyObject *meth_QTextBoundaryFinder_toStart(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_toStart(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp))
        {
            sipCpp->toStart();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_toStart, doc_QTextBoundaryFinder_toStart);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBoundaryFinder_toEnd, "toEnd(self)");

extern "C" {static PyObject *meth_QTextBoundaryFinder_toEnd(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_toEnd(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp))
        {
            sipCpp->toEnd();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_toEnd, doc_QTextBoundaryFinder_toEnd);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBoundaryFinder_position, "position(self) -> int");

extern "C" {static PyObject *meth_QTextBoundaryFinder_position(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_position(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->position();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_position, doc_QTextBoundaryFinder_position);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBoundaryFinder_setPosition, "setPosition(self, int)");

extern "C" {static PyObject *meth_QTextBoundaryFinder_setPosition(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_setPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp, &a0))
        {
            sipCpp->setPosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_setPosition, doc_QTextBoundaryFinder_setPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBoundaryFinder_toNextBoundary, "toNextBoundary(self) -> int");

extern "C" {static PyObject *meth_QTextBoundaryFinder_toNextBoundary(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_toNextBoundary(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->toNextBoundary();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_toNextBoundary, doc_QTextBoundaryFinder_toNextBoundary);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBoundaryFinder_toPreviousBoundary, "toPreviousBoundary(self) -> int");

extern "C" {static PyObject *meth_QTextBoundaryFinder_toPreviousBoundary(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_toPreviousBoundary(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->toPreviousBoundary();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_toPreviousBoundary, doc_QTextBoundaryFinder_toPreviousBoundary);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBoundaryFinder_isAtBoundary, "isAtBoundary(self) -> bool");

extern "C" {static PyObject *meth_QTextBoundaryFinder_isAtBoundary(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_isAtBoundary(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAtBoundary();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_isAtBoundary, doc_QTextBoundaryFinder_isAtBoundary);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBoundaryFinder_boundaryReasons, "boundaryReasons(self) -> QTextBoundaryFinder.BoundaryReasons");

extern "C" {static PyObject *meth_QTextBoundaryFinder_boundaryReasons(PyObject *, PyObject *);}
static PyObject *meth_QTextBoundaryFinder_boundaryReasons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTextBoundaryFinder *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBoundaryFinder, &sipCpp))
        {
             ::QTextBoundaryFinder::BoundaryReasons*sipRes;

            sipRes = new  ::QTextBoundaryFinder::BoundaryReasons(sipCpp->boundaryReasons());

            return sipConvertFromNewType(sipRes,sipType_QTextBoundaryFinder_BoundaryReasons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBoundaryFinder, sipName_boundaryReasons, doc_QTextBoundaryFinder_boundaryReasons);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextBoundaryFinder(void *, int);}
static void release_QTextBoundaryFinder(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTextBoundaryFinder *>(sipCppV);
}


extern "C" {static void assign_QTextBoundaryFinder(void *, SIP_SSIZE_T, const void *);}
static void assign_QTextBoundaryFinder(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QTextBoundaryFinder *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QTextBoundaryFinder *>(sipSrc);
}


extern "C" {static void *array_QTextBoundaryFinder(SIP_SSIZE_T);}
static void *array_QTextBoundaryFinder(SIP_SSIZE_T sipNrElem)
{
    return new  ::QTextBoundaryFinder[sipNrElem];
}


extern "C" {static void *copy_QTextBoundaryFinder(const void *, SIP_SSIZE_T);}
static void *copy_QTextBoundaryFinder(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QTextBoundaryFinder(reinterpret_cast<const  ::QTextBoundaryFinder *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTextBoundaryFinder(sipSimpleWrapper *);}
static void dealloc_QTextBoundaryFinder(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTextBoundaryFinder(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTextBoundaryFinder(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextBoundaryFinder(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTextBoundaryFinder *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QTextBoundaryFinder();

            return sipCpp;
        }
    }

    {
        const  ::QTextBoundaryFinder* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTextBoundaryFinder, &a0))
        {
            sipCpp = new  ::QTextBoundaryFinder(*a0);

            return sipCpp;
        }
    }

    {
         ::QTextBoundaryFinder::BoundaryType a0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "EJ1", sipType_QTextBoundaryFinder_BoundaryType, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp = new  ::QTextBoundaryFinder(a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QTextBoundaryFinder[] = {
    {SIP_MLNAME_CAST(sipName_boundaryReasons), meth_QTextBoundaryFinder_boundaryReasons, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_boundaryReasons)},
    {SIP_MLNAME_CAST(sipName_isAtBoundary), meth_QTextBoundaryFinder_isAtBoundary, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_isAtBoundary)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QTextBoundaryFinder_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_isValid)},
    {SIP_MLNAME_CAST(sipName_position), meth_QTextBoundaryFinder_position, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_position)},
    {SIP_MLNAME_CAST(sipName_setPosition), meth_QTextBoundaryFinder_setPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_setPosition)},
    {SIP_MLNAME_CAST(sipName_string), meth_QTextBoundaryFinder_string, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_string)},
    {SIP_MLNAME_CAST(sipName_toEnd), meth_QTextBoundaryFinder_toEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_toEnd)},
    {SIP_MLNAME_CAST(sipName_toNextBoundary), meth_QTextBoundaryFinder_toNextBoundary, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_toNextBoundary)},
    {SIP_MLNAME_CAST(sipName_toPreviousBoundary), meth_QTextBoundaryFinder_toPreviousBoundary, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_toPreviousBoundary)},
    {SIP_MLNAME_CAST(sipName_toStart), meth_QTextBoundaryFinder_toStart, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_toStart)},
    {SIP_MLNAME_CAST(sipName_type), meth_QTextBoundaryFinder_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBoundaryFinder_type)}
};

static sipEnumMemberDef enummembers_QTextBoundaryFinder[] = {
    {sipName_BreakOpportunity, static_cast<int>( ::QTextBoundaryFinder::BreakOpportunity), 252},
    {sipName_EndOfItem, static_cast<int>( ::QTextBoundaryFinder::EndOfItem), 252},
    {sipName_Grapheme, static_cast<int>( ::QTextBoundaryFinder::Grapheme), 254},
    {sipName_Line, static_cast<int>( ::QTextBoundaryFinder::Line), 254},
    {sipName_MandatoryBreak, static_cast<int>( ::QTextBoundaryFinder::MandatoryBreak), 252},
    {sipName_NotAtBoundary, static_cast<int>( ::QTextBoundaryFinder::NotAtBoundary), 252},
    {sipName_Sentence, static_cast<int>( ::QTextBoundaryFinder::Sentence), 254},
    {sipName_SoftHyphen, static_cast<int>( ::QTextBoundaryFinder::SoftHyphen), 252},
    {sipName_StartOfItem, static_cast<int>( ::QTextBoundaryFinder::StartOfItem), 252},
    {sipName_Word, static_cast<int>( ::QTextBoundaryFinder::Word), 254},
};

PyDoc_STRVAR(doc_QTextBoundaryFinder, "\1QTextBoundaryFinder()\n"
    "QTextBoundaryFinder(QTextBoundaryFinder)\n"
    "QTextBoundaryFinder(QTextBoundaryFinder.BoundaryType, str)");


static pyqt5ClassPluginDef plugin_QTextBoundaryFinder = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTextBoundaryFinder = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTextBoundaryFinder,
        {0},
        &plugin_QTextBoundaryFinder
    },
    {
        sipNameNr_QTextBoundaryFinder,
        {0, 0, 1},
        11, methods_QTextBoundaryFinder,
        10, enummembers_QTextBoundaryFinder,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextBoundaryFinder,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QTextBoundaryFinder,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextBoundaryFinder,
    assign_QTextBoundaryFinder,
    array_QTextBoundaryFinder,
    copy_QTextBoundaryFinder,
    release_QTextBoundaryFinder,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtemporaryfile.sip"
#include <qtemporaryfile.h>
#line 44178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 44185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 44188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 44191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 44194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 44197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 44200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 44203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 44215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 44221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 44227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 44230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 44233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 44236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQTemporaryFile : public  ::QTemporaryFile
{
public:
    sipQTemporaryFile();
    sipQTemporaryFile(const  ::QString&);
    sipQTemporaryFile( ::QObject*);
    sipQTemporaryFile(const  ::QString&, ::QObject*);
    virtual ~sipQTemporaryFile();

    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;
    void sipProtect_setOpenMode( ::QIODevice::OpenMode);
    void sipProtect_setErrorString(const  ::QString&);
     ::qint64 sipProtectVirt_readData(bool,char*, ::qint64);
     ::qint64 sipProtectVirt_writeData(bool,const char*,PY_LONG_LONG);
     ::qint64 sipProtectVirt_readLineData(bool,char*, ::qint64);
    bool sipProtectVirt_open(bool, ::QIODevice::OpenMode);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool setPermissions( ::QFileDevice::Permissions);
     ::QFileDevice::Permissions permissions() const;
    bool resize( ::qint64);
     ::QString fileName() const;
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    bool isSequential() const;
    bool open( ::QIODevice::OpenMode);
    void close();
     ::qint64 pos() const;
     ::qint64 size() const;
    bool seek( ::qint64);
    bool atEnd() const;
    bool reset();
     ::qint64 bytesAvailable() const;
     ::qint64 bytesToWrite() const;
    bool canReadLine() const;
    bool waitForReadyRead(int);
    bool waitForBytesWritten(int);
     ::qint64 readData(char*, ::qint64);
     ::qint64 readLineData(char*, ::qint64);
     ::qint64 writeData(const char*,PY_LONG_LONG);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTemporaryFile(const sipQTemporaryFile &);
    sipQTemporaryFile &operator = (const sipQTemporaryFile &);

    char sipPyMethods[27];
};

sipQTemporaryFile::sipQTemporaryFile():  ::QTemporaryFile(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTemporaryFile::sipQTemporaryFile(const  ::QString& a0):  ::QTemporaryFile(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTemporaryFile::sipQTemporaryFile( ::QObject*a0):  ::QTemporaryFile(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTemporaryFile::sipQTemporaryFile(const  ::QString& a0, ::QObject*a1):  ::QTemporaryFile(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTemporaryFile::~sipQTemporaryFile()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQTemporaryFile::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QTemporaryFile);

    return  ::QTemporaryFile::metaObject();
}

int sipQTemporaryFile::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QTemporaryFile::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QTemporaryFile,_c,_id,_a);

    return _id;
}

void *sipQTemporaryFile::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QTemporaryFile, _clname, &sipCpp) ? sipCpp :  ::QTemporaryFile::qt_metacast(_clname));
}

bool sipQTemporaryFile::setPermissions( ::QFileDevice::Permissions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setPermissions);

    if (!sipMeth)
        return  ::QTemporaryFile::setPermissions(a0);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFileDevice::Permissions);

    return sipVH_QtCore_52(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QFileDevice::Permissions sipQTemporaryFile::permissions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_permissions);

    if (!sipMeth)
        return  ::QTemporaryFile::permissions();

    extern  ::QFileDevice::Permissions sipVH_QtCore_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_51(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::resize( ::qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_resize);

    if (!sipMeth)
        return  ::QTemporaryFile::resize(a0);

    extern bool sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qint64);

    return sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QString sipQTemporaryFile::fileName() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_fileName);

    if (!sipMeth)
        return  ::QTemporaryFile::fileName();

    extern  ::QString sipVH_QtCore_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_50(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQTemporaryFile::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QTemporaryFile::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTemporaryFile::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QTemporaryFile::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTemporaryFile::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QTemporaryFile::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTemporaryFile::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QTemporaryFile::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTemporaryFile::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QTemporaryFile::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTemporaryFile::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QTemporaryFile::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQTemporaryFile::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QTemporaryFile::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTemporaryFile::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return  ::QTemporaryFile::isSequential();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::open( ::QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return  ::QTemporaryFile::open(a0);

    extern bool sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QIODevice::OpenMode);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQTemporaryFile::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
    {
         ::QTemporaryFile::close();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQTemporaryFile::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return  ::QTemporaryFile::pos();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQTemporaryFile::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return  ::QTemporaryFile::size();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::seek( ::qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return  ::QTemporaryFile::seek(a0);

    extern bool sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qint64);

    return sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTemporaryFile::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_atEnd);

    if (!sipMeth)
        return  ::QTemporaryFile::atEnd();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
        return  ::QTemporaryFile::reset();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQTemporaryFile::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!sipMeth)
        return  ::QTemporaryFile::bytesAvailable();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQTemporaryFile::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!sipMeth)
        return  ::QTemporaryFile::bytesToWrite();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_canReadLine);

    if (!sipMeth)
        return  ::QTemporaryFile::canReadLine();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQTemporaryFile::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!sipMeth)
        return  ::QTemporaryFile::waitForReadyRead(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQTemporaryFile::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!sipMeth)
        return  ::QTemporaryFile::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::qint64 sipQTemporaryFile::readData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_readData);

    if (!sipMeth)
        return  ::QTemporaryFile::readData(a0,a1);

    extern  ::qint64 sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQTemporaryFile::readLineData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_readLineData);

    if (!sipMeth)
        return  ::QTemporaryFile::readLineData(a0,a1);

    extern  ::qint64 sipVH_QtCore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_48(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQTemporaryFile::writeData(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_writeData);

    if (!sipMeth)
        return  ::QTemporaryFile::writeData(a0,a1);

    extern  ::qint64 sipVH_QtCore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_49(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::QObject* sipQTemporaryFile::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQTemporaryFile::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQTemporaryFile::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQTemporaryFile::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQTemporaryFile::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQTemporaryFile::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTemporaryFile::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTemporaryFile::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQTemporaryFile::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQTemporaryFile::sipProtect_setOpenMode( ::QIODevice::OpenMode a0)
{
     ::QIODevice::setOpenMode(a0);
}

void sipQTemporaryFile::sipProtect_setErrorString(const  ::QString& a0)
{
     ::QIODevice::setErrorString(a0);
}

 ::qint64 sipQTemporaryFile::sipProtectVirt_readData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QFileDevice::readData(a0,a1) : readData(a0,a1));
}

 ::qint64 sipQTemporaryFile::sipProtectVirt_writeData(bool sipSelfWasArg,const char*a0,PY_LONG_LONG a1)
{
    return (sipSelfWasArg ?  ::QFileDevice::writeData(a0,a1) : writeData(a0,a1));
}

 ::qint64 sipQTemporaryFile::sipProtectVirt_readLineData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QFileDevice::readLineData(a0,a1) : readLineData(a0,a1));
}

bool sipQTemporaryFile::sipProtectVirt_open(bool sipSelfWasArg, ::QIODevice::OpenMode a0)
{
    return (sipSelfWasArg ?  ::QTemporaryFile::open(a0) : open(a0));
}


PyDoc_STRVAR(doc_QTemporaryFile_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QTemporaryFile_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTemporaryFile, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 44910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_sender, doc_QTemporaryFile_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QTemporaryFile_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTemporaryFile, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 44970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QTemporaryFile, sipName_receivers, doc_QTemporaryFile_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QTemporaryFile_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTemporaryFile, &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_QTemporaryFile, sipName_timerEvent, doc_QTemporaryFile_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QTemporaryFile_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTemporaryFile, &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_QTemporaryFile, sipName_childEvent, doc_QTemporaryFile_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QTemporaryFile_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTemporaryFile, &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_QTemporaryFile, sipName_customEvent, doc_QTemporaryFile_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QTemporaryFile_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTemporaryFile, &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_QTemporaryFile, sipName_connectNotify, doc_QTemporaryFile_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QTemporaryFile_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTemporaryFile, &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_QTemporaryFile, sipName_disconnectNotify, doc_QTemporaryFile_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QTemporaryFile_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTemporaryFile, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_senderSignalIndex, doc_QTemporaryFile_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTemporaryFile_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTemporaryFile, &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_QTemporaryFile, sipName_isSignalConnected, doc_QTemporaryFile_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_setOpenMode, "setOpenMode(self, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag])");

extern "C" {static PyObject *meth_QTemporaryFile_setOpenMode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_setOpenMode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTemporaryFile, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            sipCpp->sipProtect_setOpenMode(*a0);
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_setOpenMode, doc_QTemporaryFile_setOpenMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_setErrorString, "setErrorString(self, str)");

extern "C" {static PyObject *meth_QTemporaryFile_setErrorString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_setErrorString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTemporaryFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->sipProtect_setErrorString(*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_QTemporaryFile, sipName_setErrorString, doc_QTemporaryFile_setErrorString);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_readData, "readData(self, int) -> bytes");

extern "C" {static PyObject *meth_QTemporaryFile_readData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_readData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QTemporaryFile, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QFileDevice::readData(s, a0) : sipCpp->readData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 45306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_readData, doc_QTemporaryFile_readData);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_writeData, "writeData(self, bytes) -> int");

extern "C" {static PyObject *meth_QTemporaryFile_writeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_writeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const char* a0;
        SIP_SSIZE_T a1;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bk", &sipSelf, sipType_QTemporaryFile, &sipCpp, &a0, &a1))
        {
             ::qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_writeData(sipSelfWasArg,a0,(PY_LONG_LONG)a1);
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_writeData, doc_QTemporaryFile_writeData);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_readLineData, "readLineData(self, int) -> bytes");

extern "C" {static PyObject *meth_QTemporaryFile_readLineData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_readLineData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QTemporaryFile, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QFileDevice::readLineData(s, a0) : sipCpp->readLineData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 45408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_readLineData, doc_QTemporaryFile_readLineData);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_autoRemove, "autoRemove(self) -> bool");

extern "C" {static PyObject *meth_QTemporaryFile_autoRemove(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_autoRemove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTemporaryFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTemporaryFile, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoRemove();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_autoRemove, doc_QTemporaryFile_autoRemove);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_setAutoRemove, "setAutoRemove(self, bool)");

extern "C" {static PyObject *meth_QTemporaryFile_setAutoRemove(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_setAutoRemove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QTemporaryFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTemporaryFile, &sipCpp, &a0))
        {
            sipCpp->setAutoRemove(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_setAutoRemove, doc_QTemporaryFile_setAutoRemove);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_open, "open(self) -> bool\n"
    "open(self, QIODevice.OpenMode) -> bool");

extern "C" {static PyObject *meth_QTemporaryFile_open(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_open(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTemporaryFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->open();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
        sipQTemporaryFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTemporaryFile, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_open(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_open, doc_QTemporaryFile_open);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_fileName, "fileName(self) -> str");

extern "C" {static PyObject *meth_QTemporaryFile_fileName(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QTemporaryFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTemporaryFile, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::QTemporaryFile::fileName() : sipCpp->fileName()));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_fileName, doc_QTemporaryFile_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_fileTemplate, "fileTemplate(self) -> str");

extern "C" {static PyObject *meth_QTemporaryFile_fileTemplate(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_fileTemplate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTemporaryFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTemporaryFile, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->fileTemplate());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_fileTemplate, doc_QTemporaryFile_fileTemplate);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_setFileTemplate, "setFileTemplate(self, str)");

extern "C" {static PyObject *meth_QTemporaryFile_setFileTemplate(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_setFileTemplate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QTemporaryFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTemporaryFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFileTemplate(*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_QTemporaryFile, sipName_setFileTemplate, doc_QTemporaryFile_setFileTemplate);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryFile_createNativeFile, "createNativeFile(str) -> QTemporaryFile\n"
    "createNativeFile(QFile) -> QTemporaryFile");

extern "C" {static PyObject *meth_QTemporaryFile_createNativeFile(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryFile_createNativeFile(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QTemporaryFile*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QTemporaryFile::createNativeFile(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTemporaryFile,NULL);
        }
    }

    {
         ::QFile* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QFile, &a0))
        {
             ::QTemporaryFile*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QTemporaryFile::createNativeFile(*a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QTemporaryFile,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryFile, sipName_createNativeFile, doc_QTemporaryFile_createNativeFile);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QTemporaryFile(void *, const sipTypeDef *);}
static void *cast_QTemporaryFile(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTemporaryFile *sipCpp = reinterpret_cast< ::QTemporaryFile *>(sipCppV);

    if (targetType == sipType_QFile)
        return static_cast< ::QFile *>(sipCpp);

    if (targetType == sipType_QFileDevice)
        return static_cast< ::QFileDevice *>(sipCpp);

    if (targetType == sipType_QIODevice)
        return static_cast< ::QIODevice *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTemporaryFile(void *, int);}
static void release_QTemporaryFile(void *sipCppV, int)
{
     ::QTemporaryFile *sipCpp = reinterpret_cast< ::QTemporaryFile *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTemporaryFile(sipSimpleWrapper *);}
static void dealloc_QTemporaryFile(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTemporaryFile *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTemporaryFile(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QTemporaryFile(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTemporaryFile(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTemporaryFile *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQTemporaryFile();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new sipQTemporaryFile(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQTemporaryFile(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQTemporaryFile(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTemporaryFile[] = {{66, 255, 1}};


static PyMethodDef methods_QTemporaryFile[] = {
    {SIP_MLNAME_CAST(sipName_autoRemove), meth_QTemporaryFile_autoRemove, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryFile_autoRemove)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTemporaryFile_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTemporaryFile_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createNativeFile), meth_QTemporaryFile_createNativeFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryFile_createNativeFile)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTemporaryFile_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTemporaryFile_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QTemporaryFile_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryFile_fileName)},
    {SIP_MLNAME_CAST(sipName_fileTemplate), meth_QTemporaryFile_fileTemplate, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryFile_fileTemplate)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTemporaryFile_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_open), (PyCFunction)meth_QTemporaryFile_open, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTemporaryFile_open)},
    {SIP_MLNAME_CAST(sipName_readData), (PyCFunction)meth_QTemporaryFile_readData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_readLineData), (PyCFunction)meth_QTemporaryFile_readLineData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTemporaryFile_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTemporaryFile_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTemporaryFile_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoRemove), meth_QTemporaryFile_setAutoRemove, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryFile_setAutoRemove)},
    {SIP_MLNAME_CAST(sipName_setErrorString), (PyCFunction)meth_QTemporaryFile_setErrorString, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFileTemplate), meth_QTemporaryFile_setFileTemplate, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryFile_setFileTemplate)},
    {SIP_MLNAME_CAST(sipName_setOpenMode), (PyCFunction)meth_QTemporaryFile_setOpenMode, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTemporaryFile_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), (PyCFunction)meth_QTemporaryFile_writeData, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QTemporaryFile, "\1QTemporaryFile()\n"
    "QTemporaryFile(str)\n"
    "QTemporaryFile(QObject)\n"
    "QTemporaryFile(str, QObject)");


static pyqt5ClassPluginDef plugin_QTemporaryFile = {
    & ::QTemporaryFile::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTemporaryFile = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTemporaryFile,
        {0},
        &plugin_QTemporaryFile
    },
    {
        sipNameNr_QTemporaryFile,
        {0, 0, 1},
        21, methods_QTemporaryFile,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTemporaryFile,
    -1,
    -1,
    supers_QTemporaryFile,
    0,
    init_type_QTemporaryFile,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTemporaryFile,
    0,
    0,
    0,
    release_QTemporaryFile,
    cast_QTemporaryFile,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtemporarydir.sip"
#include <qtemporarydir.h>
#line 45873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 45877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTemporaryDir_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QTemporaryDir_isValid(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryDir_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTemporaryDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTemporaryDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryDir, sipName_isValid, doc_QTemporaryDir_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryDir_autoRemove, "autoRemove(self) -> bool");

extern "C" {static PyObject *meth_QTemporaryDir_autoRemove(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryDir_autoRemove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTemporaryDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTemporaryDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoRemove();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryDir, sipName_autoRemove, doc_QTemporaryDir_autoRemove);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryDir_setAutoRemove, "setAutoRemove(self, bool)");

extern "C" {static PyObject *meth_QTemporaryDir_setAutoRemove(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryDir_setAutoRemove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QTemporaryDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTemporaryDir, &sipCpp, &a0))
        {
            sipCpp->setAutoRemove(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryDir, sipName_setAutoRemove, doc_QTemporaryDir_setAutoRemove);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryDir_remove, "remove(self) -> bool");

extern "C" {static PyObject *meth_QTemporaryDir_remove(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryDir_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTemporaryDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTemporaryDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->remove();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryDir, sipName_remove, doc_QTemporaryDir_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryDir_path, "path(self) -> str");

extern "C" {static PyObject *meth_QTemporaryDir_path(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryDir_path(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTemporaryDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTemporaryDir, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->path());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryDir, sipName_path, doc_QTemporaryDir_path);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryDir_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QTemporaryDir_errorString(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryDir_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTemporaryDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTemporaryDir, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTemporaryDir, sipName_errorString, doc_QTemporaryDir_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QTemporaryDir_filePath, "filePath(self, str) -> str");

extern "C" {static PyObject *meth_QTemporaryDir_filePath(PyObject *, PyObject *);}
static PyObject *meth_QTemporaryDir_filePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QTemporaryDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTemporaryDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->filePath(*a0));
            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_QTemporaryDir, sipName_filePath, doc_QTemporaryDir_filePath);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTemporaryDir(void *, int);}
static void release_QTemporaryDir(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTemporaryDir *>(sipCppV);
}


extern "C" {static void dealloc_QTemporaryDir(sipSimpleWrapper *);}
static void dealloc_QTemporaryDir(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTemporaryDir(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTemporaryDir(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTemporaryDir(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTemporaryDir *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QTemporaryDir();

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new  ::QTemporaryDir(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QTemporaryDir[] = {
    {SIP_MLNAME_CAST(sipName_autoRemove), meth_QTemporaryDir_autoRemove, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryDir_autoRemove)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QTemporaryDir_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryDir_errorString)},
    {SIP_MLNAME_CAST(sipName_filePath), meth_QTemporaryDir_filePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryDir_filePath)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QTemporaryDir_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryDir_isValid)},
    {SIP_MLNAME_CAST(sipName_path), meth_QTemporaryDir_path, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryDir_path)},
    {SIP_MLNAME_CAST(sipName_remove), meth_QTemporaryDir_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryDir_remove)},
    {SIP_MLNAME_CAST(sipName_setAutoRemove), meth_QTemporaryDir_setAutoRemove, METH_VARARGS, SIP_MLDOC_CAST(doc_QTemporaryDir_setAutoRemove)}
};

PyDoc_STRVAR(doc_QTemporaryDir, "\1QTemporaryDir()\n"
    "QTemporaryDir(str)");


static pyqt5ClassPluginDef plugin_QTemporaryDir = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTemporaryDir = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTemporaryDir,
        {0},
        &plugin_QTemporaryDir
    },
    {
        sipNameNr_QTemporaryDir,
        {0, 0, 1},
        7, methods_QTemporaryDir,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTemporaryDir,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QTemporaryDir,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTemporaryDir,
    0,
    0,
    0,
    release_QTemporaryDir,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsystemsemaphore.sip"
#include <qsystemsemaphore.h>
#line 46202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 46206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QSystemSemaphore_setKey, "setKey(self, str, initialValue: int = 0, mode: QSystemSemaphore.AccessMode = QSystemSemaphore.Open)");

extern "C" {static PyObject *meth_QSystemSemaphore_setKey(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemSemaphore_setKey(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1 = 0;
         ::QSystemSemaphore::AccessMode a2 = QSystemSemaphore::Open;
         ::QSystemSemaphore *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_initialValue,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QSystemSemaphore, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QSystemSemaphore_AccessMode, &a2))
        {
            sipCpp->setKey(*a0,a1,a2);
            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_QSystemSemaphore, sipName_setKey, doc_QSystemSemaphore_setKey);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemSemaphore_key, "key(self) -> str");

extern "C" {static PyObject *meth_QSystemSemaphore_key(PyObject *, PyObject *);}
static PyObject *meth_QSystemSemaphore_key(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSystemSemaphore *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemSemaphore, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->key());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemSemaphore, sipName_key, doc_QSystemSemaphore_key);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemSemaphore_acquire, "acquire(self) -> bool");

extern "C" {static PyObject *meth_QSystemSemaphore_acquire(PyObject *, PyObject *);}
static PyObject *meth_QSystemSemaphore_acquire(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSystemSemaphore *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemSemaphore, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->acquire();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemSemaphore, sipName_acquire, doc_QSystemSemaphore_acquire);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemSemaphore_release, "release(self, n: int = 1) -> bool");

extern "C" {static PyObject *meth_QSystemSemaphore_release(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemSemaphore_release(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
         ::QSystemSemaphore *sipCpp;

        static const char *sipKwdList[] = {
            sipName_n,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QSystemSemaphore, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->release(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemSemaphore, sipName_release, doc_QSystemSemaphore_release);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemSemaphore_error, "error(self) -> QSystemSemaphore.SystemSemaphoreError");

extern "C" {static PyObject *meth_QSystemSemaphore_error(PyObject *, PyObject *);}
static PyObject *meth_QSystemSemaphore_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSystemSemaphore *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemSemaphore, &sipCpp))
        {
             ::QSystemSemaphore::SystemSemaphoreError sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QSystemSemaphore_SystemSemaphoreError);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemSemaphore, sipName_error, doc_QSystemSemaphore_error);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemSemaphore_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QSystemSemaphore_errorString(PyObject *, PyObject *);}
static PyObject *meth_QSystemSemaphore_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSystemSemaphore *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemSemaphore, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemSemaphore, sipName_errorString, doc_QSystemSemaphore_errorString);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSystemSemaphore(void *, int);}
static void release_QSystemSemaphore(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSystemSemaphore *>(sipCppV);
}


extern "C" {static void dealloc_QSystemSemaphore(sipSimpleWrapper *);}
static void dealloc_QSystemSemaphore(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSystemSemaphore(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSystemSemaphore(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSystemSemaphore(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSystemSemaphore *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1 = 0;
         ::QSystemSemaphore::AccessMode a2 = QSystemSemaphore::Open;

        static const char *sipKwdList[] = {
            NULL,
            sipName_initialValue,
            sipName_mode,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|iE", sipType_QString,&a0, &a0State, &a1, sipType_QSystemSemaphore_AccessMode, &a2))
        {
            sipCpp = new  ::QSystemSemaphore(*a0,a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSystemSemaphore[] = {
    {SIP_MLNAME_CAST(sipName_acquire), meth_QSystemSemaphore_acquire, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemSemaphore_acquire)},
    {SIP_MLNAME_CAST(sipName_error), meth_QSystemSemaphore_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemSemaphore_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QSystemSemaphore_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemSemaphore_errorString)},
    {SIP_MLNAME_CAST(sipName_key), meth_QSystemSemaphore_key, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemSemaphore_key)},
    {SIP_MLNAME_CAST(sipName_release), (PyCFunction)meth_QSystemSemaphore_release, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSystemSemaphore_release)},
    {SIP_MLNAME_CAST(sipName_setKey), (PyCFunction)meth_QSystemSemaphore_setKey, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSystemSemaphore_setKey)}
};

static sipEnumMemberDef enummembers_QSystemSemaphore[] = {
    {sipName_AlreadyExists, static_cast<int>( ::QSystemSemaphore::AlreadyExists), 248},
    {sipName_Create, static_cast<int>( ::QSystemSemaphore::Create), 247},
    {sipName_KeyError, static_cast<int>( ::QSystemSemaphore::KeyError), 248},
    {sipName_NoError, static_cast<int>( ::QSystemSemaphore::NoError), 248},
    {sipName_NotFound, static_cast<int>( ::QSystemSemaphore::NotFound), 248},
    {sipName_Open, static_cast<int>( ::QSystemSemaphore::Open), 247},
    {sipName_OutOfResources, static_cast<int>( ::QSystemSemaphore::OutOfResources), 248},
    {sipName_PermissionDenied, static_cast<int>( ::QSystemSemaphore::PermissionDenied), 248},
    {sipName_UnknownError, static_cast<int>( ::QSystemSemaphore::UnknownError), 248},
};

PyDoc_STRVAR(doc_QSystemSemaphore, "\1QSystemSemaphore(str, initialValue: int = 0, mode: QSystemSemaphore.AccessMode = QSystemSemaphore.Open)");


static pyqt5ClassPluginDef plugin_QSystemSemaphore = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSystemSemaphore = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSystemSemaphore,
        {0},
        &plugin_QSystemSemaphore
    },
    {
        sipNameNr_QSystemSemaphore,
        {0, 0, 1},
        6, methods_QSystemSemaphore,
        9, enummembers_QSystemSemaphore,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSystemSemaphore,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSystemSemaphore,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSystemSemaphore,
    0,
    0,
    0,
    release_QSystemSemaphore,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlistmodel.sip"
#include <qstringlistmodel.h>
#line 46524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 46528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 46531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 46534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 46546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 46549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 46552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 46555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 46558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 46561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 46564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 46567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 46570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 46573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 46576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 46582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 46585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 46594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 46597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 46600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 46603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 46606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 46609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 46612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 46615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 46618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQStringListModel : public  ::QStringListModel
{
public:
    sipQStringListModel( ::QObject*);
    sipQStringListModel(const  ::QStringList&, ::QObject*);
    virtual ~sipQStringListModel();

    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;
    void sipProtect_encodeData(const  ::QModelIndexList&, ::QDataStream&) const;
    bool sipProtect_decodeData(int,int,const  ::QModelIndex&, ::QDataStream&);
    void sipProtect_beginInsertRows(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
     ::QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_changePersistentIndex(const  ::QModelIndex&,const  ::QModelIndex&);
    void sipProtect_changePersistentIndexList(const  ::QModelIndexList&,const  ::QModelIndexList&);
     ::QModelIndex sipProtect_createIndex(int,int,void*) const;
    bool sipProtect_beginMoveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_resetInternalData();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool moveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool moveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool canDropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&) const;
    QHash<int, ::QByteArray> roleNames() const;
     ::Qt::DropActions supportedDragActions() const;
    void revert();
    bool submit();
     ::QSize span(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QModelIndex buddy(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    bool canFetchMore(const  ::QModelIndex&) const;
    void fetchMore(const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool insertRows(int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
     ::QStringList mimeTypes() const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant data(const  ::QModelIndex&,int) const;
    int rowCount(const  ::QModelIndex&) const;
     ::QModelIndex sibling(int,int,const  ::QModelIndex&) const;
     ::QModelIndex index(int,int,const  ::QModelIndex&) 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:
    sipQStringListModel(const sipQStringListModel &);
    sipQStringListModel &operator = (const sipQStringListModel &);

    char sipPyMethods[38];
};

sipQStringListModel::sipQStringListModel( ::QObject*a0):  ::QStringListModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStringListModel::sipQStringListModel(const  ::QStringList& a0, ::QObject*a1):  ::QStringListModel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStringListModel::~sipQStringListModel()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQStringListModel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QStringListModel);

    return  ::QStringListModel::metaObject();
}

int sipQStringListModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QStringListModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QStringListModel,_c,_id,_a);

    return _id;
}

void *sipQStringListModel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QStringListModel, _clname, &sipCpp) ? sipCpp :  ::QStringListModel::qt_metacast(_clname));
}

bool sipQStringListModel::moveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return  ::QStringListModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQStringListModel::moveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return  ::QStringListModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQStringListModel::canDropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return  ::QStringListModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QHash<int, ::QByteArray> sipQStringListModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return  ::QStringListModel::roleNames();

    extern QHash<int, ::QByteArray> sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_39(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::Qt::DropActions sipQStringListModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return  ::QStringListModel::supportedDragActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQStringListModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::QStringListModel::revert();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQStringListModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::QStringListModel::submit();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::QSize sipQStringListModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::QStringListModel::span(a0);

    extern  ::QSize sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_38(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQStringListModel::match(const  ::QModelIndex& a0,int a1,const  ::QVariant& a2,int a3, ::Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::QStringListModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_QtCore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_QtCore_37(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QModelIndex sipQStringListModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::QStringListModel::buddy(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStringListModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::QStringListModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::Qt::ItemFlags sipQStringListModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QStringListModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQStringListModel::canFetchMore(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::QStringListModel::canFetchMore(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStringListModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::QStringListModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQStringListModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::QStringListModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQStringListModel::removeRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::QStringListModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQStringListModel::insertColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::QStringListModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQStringListModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::QStringListModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::Qt::DropActions sipQStringListModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QStringListModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQStringListModel::dropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QStringListModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QMimeData* sipQStringListModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QStringListModel::mimeData(a0);

    extern  ::QMimeData* sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QStringList sipQStringListModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QStringListModel::mimeTypes();

    extern  ::QStringList sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_29(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQStringListModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return  ::QStringListModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

QMap<int, ::QVariant> sipQStringListModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return  ::QStringListModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQStringListModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return  ::QStringListModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QVariant sipQStringListModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::QStringListModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQStringListModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::QStringListModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QVariant sipQStringListModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return  ::QStringListModel::data(a0,a1);

    extern  ::QVariant sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

int sipQStringListModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return  ::QStringListModel::rowCount(a0);

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQStringListModel::sibling(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return  ::QStringListModel::sibling(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndex sipQStringListModel::index(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return  ::QStringListModel::index(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQStringListModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QStringListModel::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQStringListModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QStringListModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQStringListModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QStringListModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStringListModel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QStringListModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStringListModel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QStringListModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStringListModel::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QStringListModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStringListModel::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QStringListModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQStringListModel::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQStringListModel::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQStringListModel::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQStringListModel::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQStringListModel::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQStringListModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQStringListModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQStringListModel::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQStringListModel::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQStringListModel::sipProtect_encodeData(const  ::QModelIndexList& a0, ::QDataStream& a1) const
{
     ::QAbstractItemModel::encodeData(a0,a1);
}

bool sipQStringListModel::sipProtect_decodeData(int a0,int a1,const  ::QModelIndex& a2, ::QDataStream& a3)
{
    return  ::QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipQStringListModel::sipProtect_beginInsertRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipQStringListModel::sipProtect_endInsertRows()
{
     ::QAbstractItemModel::endInsertRows();
}

void sipQStringListModel::sipProtect_beginRemoveRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipQStringListModel::sipProtect_endRemoveRows()
{
     ::QAbstractItemModel::endRemoveRows();
}

void sipQStringListModel::sipProtect_beginInsertColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipQStringListModel::sipProtect_endInsertColumns()
{
     ::QAbstractItemModel::endInsertColumns();
}

void sipQStringListModel::sipProtect_beginRemoveColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipQStringListModel::sipProtect_endRemoveColumns()
{
     ::QAbstractItemModel::endRemoveColumns();
}

 ::QModelIndexList sipQStringListModel::sipProtect_persistentIndexList() const
{
    return  ::QAbstractItemModel::persistentIndexList();
}

void sipQStringListModel::sipProtect_changePersistentIndex(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
     ::QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipQStringListModel::sipProtect_changePersistentIndexList(const  ::QModelIndexList& a0,const  ::QModelIndexList& a1)
{
     ::QAbstractItemModel::changePersistentIndexList(a0,a1);
}

 ::QModelIndex sipQStringListModel::sipProtect_createIndex(int a0,int a1,void*a2) const
{
    return  ::QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipQStringListModel::sipProtect_beginMoveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipQStringListModel::sipProtect_endMoveRows()
{
     ::QAbstractItemModel::endMoveRows();
}

bool sipQStringListModel::sipProtect_beginMoveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipQStringListModel::sipProtect_endMoveColumns()
{
     ::QAbstractItemModel::endMoveColumns();
}

void sipQStringListModel::sipProtect_beginResetModel()
{
     ::QAbstractItemModel::beginResetModel();
}

void sipQStringListModel::sipProtect_endResetModel()
{
     ::QAbstractItemModel::endResetModel();
}

void sipQStringListModel::sipProtect_resetInternalData()
{
     ::QAbstractItemModel::resetInternalData();
}


PyDoc_STRVAR(doc_QStringListModel_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QStringListModel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 47549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_sender, doc_QStringListModel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QStringListModel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QStringListModel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 47609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QStringListModel, sipName_receivers, doc_QStringListModel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QStringListModel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStringListModel, &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_QStringListModel, sipName_timerEvent, doc_QStringListModel_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QStringListModel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStringListModel, &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_QStringListModel, sipName_childEvent, doc_QStringListModel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QStringListModel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStringListModel, &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_QStringListModel, sipName_customEvent, doc_QStringListModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QStringListModel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStringListModel, &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_QStringListModel, sipName_connectNotify, doc_QStringListModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QStringListModel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStringListModel, &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_QStringListModel, sipName_disconnectNotify, doc_QStringListModel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QStringListModel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_senderSignalIndex, doc_QStringListModel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QStringListModel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStringListModel, &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_QStringListModel, sipName_isSignalConnected, doc_QStringListModel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_encodeData, "encodeData(self, object, QDataStream)");

extern "C" {static PyObject *meth_QStringListModel_encodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_encodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
         ::QDataStream* a1;
        const sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J9", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            sipCpp->sipProtect_encodeData(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_encodeData, doc_QStringListModel_encodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_decodeData, "decodeData(self, int, int, QModelIndex, QDataStream) -> bool");

extern "C" {static PyObject *meth_QStringListModel_decodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_decodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
         ::QDataStream* a3;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ9J9", &sipSelf, sipType_QStringListModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_decodeData, doc_QStringListModel_decodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_beginInsertRows, "beginInsertRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QStringListModel_beginInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_beginInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_beginInsertRows, doc_QStringListModel_beginInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_endInsertRows, "endInsertRows(self)");

extern "C" {static PyObject *meth_QStringListModel_endInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_endInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_endInsertRows, doc_QStringListModel_endInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_beginRemoveRows, "beginRemoveRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QStringListModel_beginRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_beginRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_beginRemoveRows, doc_QStringListModel_beginRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_endRemoveRows, "endRemoveRows(self)");

extern "C" {static PyObject *meth_QStringListModel_endRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_endRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_endRemoveRows, doc_QStringListModel_endRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_beginInsertColumns, "beginInsertColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QStringListModel_beginInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_beginInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_beginInsertColumns, doc_QStringListModel_beginInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_endInsertColumns, "endInsertColumns(self)");

extern "C" {static PyObject *meth_QStringListModel_endInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_endInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_endInsertColumns, doc_QStringListModel_endInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_beginRemoveColumns, "beginRemoveColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QStringListModel_beginRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_beginRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_beginRemoveColumns, doc_QStringListModel_beginRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_endRemoveColumns, "endRemoveColumns(self)");

extern "C" {static PyObject *meth_QStringListModel_endRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_endRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_endRemoveColumns, doc_QStringListModel_endRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_persistentIndexList, "persistentIndexList(self) -> object");

extern "C" {static PyObject *meth_QStringListModel_persistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_persistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->sipProtect_persistentIndexList());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_persistentIndexList, doc_QStringListModel_persistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_changePersistentIndex, "changePersistentIndex(self, QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QStringListModel_changePersistentIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_changePersistentIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_changePersistentIndex, doc_QStringListModel_changePersistentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_changePersistentIndexList, "changePersistentIndexList(self, object, object)");

extern "C" {static PyObject *meth_QStringListModel_changePersistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_changePersistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::QModelIndexList* a1;
        int a1State = 0;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast< ::QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_changePersistentIndexList, doc_QStringListModel_changePersistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_createIndex, "createIndex(self, int, int, object: object = 0) -> QModelIndex");

extern "C" {static PyObject *meth_QStringListModel_createIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_createIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        const sipQStringListModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|P0", &sipSelf, sipType_QStringListModel, &sipCpp, &a0, &a1, &a2))
        {
             ::QModelIndex*sipRes = 0;

#line 194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        // The Qt API is broken (and won't be fixed as it would break binary
        // compatibility) regarding the internal id of a model index on different
        // architectures (32 vs 64 bits).  We choose to work around the breakage as it
        // is fairly subtle and continues to catch people out.  Instead of letting Qt
        // convert betweed an integer id and a pointer id (the internal format used by
        // Qt) we let Python do it.
        
        void *ptr;
        
        if (a2)
        {
            // Try and convert it to a Python long and fallback to the object's
            // address if it fails.
            ptr = PyLong_AsVoidPtr(a2);
        
            if (PyErr_Occurred())
            {
                PyErr_Clear();
                ptr = a2;
            }
        }
        else
        {
            ptr = 0;
        }
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = new QModelIndex(sipCpp->createIndex(a0, a1, ptr));
        #else
        sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr));
        #endif
#line 48269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_createIndex, doc_QStringListModel_createIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_beginMoveRows, "beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QStringListModel_beginMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_beginMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_beginMoveRows, doc_QStringListModel_beginMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_endMoveRows, "endMoveRows(self)");

extern "C" {static PyObject *meth_QStringListModel_endMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_endMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_endMoveRows, doc_QStringListModel_endMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_beginMoveColumns, "beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QStringListModel_beginMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_beginMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_beginMoveColumns, doc_QStringListModel_beginMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_endMoveColumns, "endMoveColumns(self)");

extern "C" {static PyObject *meth_QStringListModel_endMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_endMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_endMoveColumns, doc_QStringListModel_endMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_beginResetModel, "beginResetModel(self)");

extern "C" {static PyObject *meth_QStringListModel_beginResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_beginResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_beginResetModel, doc_QStringListModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_endResetModel, "endResetModel(self)");

extern "C" {static PyObject *meth_QStringListModel_endResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_endResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_endResetModel, doc_QStringListModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_resetInternalData, "resetInternalData(self)");

extern "C" {static PyObject *meth_QStringListModel_resetInternalData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_resetInternalData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStringListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
            sipCpp->sipProtect_resetInternalData();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_resetInternalData, doc_QStringListModel_resetInternalData);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_rowCount, "rowCount(self, parent: QModelIndex = QModelIndex()) -> int");

extern "C" {static PyObject *meth_QStringListModel_rowCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_rowCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::QStringListModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QStringListModel::rowCount(*a0) : sipCpp->rowCount(*a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_rowCount, doc_QStringListModel_rowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_data, "data(self, QModelIndex, int) -> Any");

extern "C" {static PyObject *meth_QStringListModel_data(PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1;
        const  ::QStringListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::QStringListModel::data(*a0,a1) : sipCpp->data(*a0,a1)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_data, doc_QStringListModel_data);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_setData, "setData(self, QModelIndex, Any, role: int = Qt.EditRole) -> bool");

extern "C" {static PyObject *meth_QStringListModel_setData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_setData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QVariant* a1;
        int a1State = 0;
        int a2 = Qt::EditRole;
         ::QStringListModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J1|i", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QVariant, &a1, &a1State, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QStringListModel::setData(*a0,*a1,a2) : sipCpp->setData(*a0,*a1,a2));
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_setData, doc_QStringListModel_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_flags, "flags(self, QModelIndex) -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QStringListModel_flags(PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QStringListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags((sipSelfWasArg ? sipCpp-> ::QStringListModel::flags(*a0) : sipCpp->flags(*a0)));

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_flags, doc_QStringListModel_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_insertRows, "insertRows(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QStringListModel_insertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_insertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QStringListModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QStringListModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QStringListModel::insertRows(a0,a1,*a2) : sipCpp->insertRows(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_insertRows, doc_QStringListModel_insertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_removeRows, "removeRows(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QStringListModel_removeRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_removeRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QStringListModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QStringListModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QStringListModel::removeRows(a0,a1,*a2) : sipCpp->removeRows(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_removeRows, doc_QStringListModel_removeRows);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_stringList, "stringList(self) -> List[str]");

extern "C" {static PyObject *meth_QStringListModel_stringList(PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_stringList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->stringList());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_stringList, doc_QStringListModel_stringList);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_setStringList, "setStringList(self, Iterable[str])");

extern "C" {static PyObject *meth_QStringListModel_setStringList(PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_setStringList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QStringListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QStringListModel, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setStringList(*a0);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_setStringList, doc_QStringListModel_setStringList);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_sort, "sort(self, int, order: Qt.SortOrder = Qt.AscendingOrder)");

extern "C" {static PyObject *meth_QStringListModel_sort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_sort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::SortOrder a1 = Qt::AscendingOrder;
         ::QStringListModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QStringListModel, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            (sipSelfWasArg ? sipCpp-> ::QStringListModel::sort(a0,a1) : sipCpp->sort(a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_sort, doc_QStringListModel_sort);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_supportedDropActions, "supportedDropActions(self) -> Qt.DropActions");

extern "C" {static PyObject *meth_QStringListModel_supportedDropActions(PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QStringListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStringListModel, &sipCpp))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((sipSelfWasArg ? sipCpp-> ::QStringListModel::supportedDropActions() : sipCpp->supportedDropActions()));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_supportedDropActions, doc_QStringListModel_supportedDropActions);

    return NULL;
}


PyDoc_STRVAR(doc_QStringListModel_sibling, "sibling(self, int, int, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QStringListModel_sibling(PyObject *, PyObject *);}
static PyObject *meth_QStringListModel_sibling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
        const  ::QStringListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9", &sipSelf, sipType_QStringListModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QStringListModel::sibling(a0,a1,*a2) : sipCpp->sibling(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStringListModel, sipName_sibling, doc_QStringListModel_sibling);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStringListModel(void *, const sipTypeDef *);}
static void *cast_QStringListModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStringListModel *sipCpp = reinterpret_cast< ::QStringListModel *>(sipCppV);

    if (targetType == sipType_QAbstractListModel)
        return static_cast< ::QAbstractListModel *>(sipCpp);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStringListModel(void *, int);}
static void release_QStringListModel(void *sipCppV, int)
{
     ::QStringListModel *sipCpp = reinterpret_cast< ::QStringListModel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QStringListModel(sipSimpleWrapper *);}
static void dealloc_QStringListModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQStringListModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStringListModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QStringListModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStringListModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQStringListModel *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 sipQStringListModel(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QStringList,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQStringListModel(*a0,a1);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStringListModel[] = {{8, 255, 1}};


static PyMethodDef methods_QStringListModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), (PyCFunction)meth_QStringListModel_beginInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), (PyCFunction)meth_QStringListModel_beginInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), (PyCFunction)meth_QStringListModel_beginMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), (PyCFunction)meth_QStringListModel_beginMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), (PyCFunction)meth_QStringListModel_beginRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), (PyCFunction)meth_QStringListModel_beginRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginResetModel), (PyCFunction)meth_QStringListModel_beginResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), (PyCFunction)meth_QStringListModel_changePersistentIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), (PyCFunction)meth_QStringListModel_changePersistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QStringListModel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QStringListModel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), (PyCFunction)meth_QStringListModel_createIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QStringListModel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_QStringListModel_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QStringListModel_data)},
    {SIP_MLNAME_CAST(sipName_decodeData), (PyCFunction)meth_QStringListModel_decodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QStringListModel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_encodeData), (PyCFunction)meth_QStringListModel_encodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), (PyCFunction)meth_QStringListModel_endInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), (PyCFunction)meth_QStringListModel_endInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), (PyCFunction)meth_QStringListModel_endMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveRows), (PyCFunction)meth_QStringListModel_endMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), (PyCFunction)meth_QStringListModel_endRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), (PyCFunction)meth_QStringListModel_endRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endResetModel), (PyCFunction)meth_QStringListModel_endResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_flags), meth_QStringListModel_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QStringListModel_flags)},
    {SIP_MLNAME_CAST(sipName_insertRows), (PyCFunction)meth_QStringListModel_insertRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStringListModel_insertRows)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QStringListModel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), (PyCFunction)meth_QStringListModel_persistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QStringListModel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeRows), (PyCFunction)meth_QStringListModel_removeRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStringListModel_removeRows)},
    {SIP_MLNAME_CAST(sipName_resetInternalData), (PyCFunction)meth_QStringListModel_resetInternalData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), (PyCFunction)meth_QStringListModel_rowCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStringListModel_rowCount)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QStringListModel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QStringListModel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), (PyCFunction)meth_QStringListModel_setData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStringListModel_setData)},
    {SIP_MLNAME_CAST(sipName_setStringList), meth_QStringListModel_setStringList, METH_VARARGS, SIP_MLDOC_CAST(doc_QStringListModel_setStringList)},
    {SIP_MLNAME_CAST(sipName_sibling), meth_QStringListModel_sibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QStringListModel_sibling)},
    {SIP_MLNAME_CAST(sipName_sort), (PyCFunction)meth_QStringListModel_sort, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStringListModel_sort)},
    {SIP_MLNAME_CAST(sipName_stringList), meth_QStringListModel_stringList, METH_VARARGS, SIP_MLDOC_CAST(doc_QStringListModel_stringList)},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), meth_QStringListModel_supportedDropActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QStringListModel_supportedDropActions)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QStringListModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QStringListModel, "\1QStringListModel(parent: QObject = None)\n"
    "QStringListModel(Iterable[str], parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QStringListModel = {
    & ::QStringListModel::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QStringListModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStringListModel,
        {0},
        &plugin_QStringListModel
    },
    {
        sipNameNr_QStringListModel,
        {0, 0, 1},
        41, methods_QStringListModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStringListModel,
    -1,
    -1,
    supers_QStringListModel,
    0,
    init_type_QStringListModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStringListModel,
    0,
    0,
    0,
    release_QStringListModel,
    cast_QStringListModel,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 49059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QStringRef(void *, SIP_SSIZE_T, const void *);}
static void assign_QStringRef(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QStringRef *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QStringRef *>(sipSrc);
}


extern "C" {static void *array_QStringRef(SIP_SSIZE_T);}
static void *array_QStringRef(SIP_SSIZE_T sipNrElem)
{
    return new  ::QStringRef[sipNrElem];
}


extern "C" {static void *copy_QStringRef(const void *, SIP_SSIZE_T);}
static void *copy_QStringRef(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QStringRef(reinterpret_cast<const  ::QStringRef *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QStringRef(void *, int);}
static void release_QStringRef(void *ptr, int)
{
    delete reinterpret_cast< ::QStringRef *>(ptr);
}



extern "C" {static int convertTo_QStringRef(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStringRef(PyObject *,void **,int *,PyObject *)
{
#line 72 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
    // Qt only ever returns a QStringRef so this conversion isn't needed.
    return 0;
#line 49099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QStringRef(void *, PyObject *);}
static PyObject *convertFrom_QStringRef(void *sipCppV, PyObject *)
{
    ::QStringRef *sipCpp = reinterpret_cast< ::QStringRef *>(sipCppV);

#line 77 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
    return qpycore_PyObject_FromQString(sipCpp->toString());
#line 49110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QStringRef = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_QStringRef,     /* QStringRef */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QStringRef,
    array_QStringRef,
    copy_QStringRef,
    release_QStringRef,
    convertTo_QStringRef,
    convertFrom_QStringRef
};

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 49142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QString(void *, SIP_SSIZE_T, const void *);}
static void assign_QString(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QString *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QString *>(sipSrc);
}


extern "C" {static void *array_QString(SIP_SSIZE_T);}
static void *array_QString(SIP_SSIZE_T sipNrElem)
{
    return new  ::QString[sipNrElem];
}


extern "C" {static void *copy_QString(const void *, SIP_SSIZE_T);}
static void *copy_QString(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QString(reinterpret_cast<const  ::QString *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QString(void *, int);}
static void release_QString(void *ptr, int)
{
    delete reinterpret_cast< ::QString *>(ptr);
}



extern "C" {static int convertTo_QString(PyObject *, void **, int *, PyObject *);}
static int convertTo_QString(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QString **sipCppPtr = reinterpret_cast< ::QString **>(sipCppPtrV);

#line 31 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
if (sipIsErr == NULL)
#if PY_MAJOR_VERSION < 3
    return (sipPy == Py_None || PyString_Check(sipPy) || PyUnicode_Check(sipPy));
#else
    return (sipPy == Py_None || PyUnicode_Check(sipPy));
#endif

if (sipPy == Py_None)
{
    // None is the only way to create a null (as opposed to empty) QString.
    *sipCppPtr = new QString();

    return sipGetState(sipTransferObj);
}

#if PY_MAJOR_VERSION < 3
if (PyString_Check(sipPy))
{
    *sipCppPtr = new QString(PyString_AsString(sipPy));

    return sipGetState(sipTransferObj);
}
#endif

*sipCppPtr = new QString(qpycore_PyObject_AsQString(sipPy));

return sipGetState(sipTransferObj);
#line 49209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QString(void *, PyObject *);}
static PyObject *convertFrom_QString(void *sipCppV, PyObject *)
{
    ::QString *sipCpp = reinterpret_cast< ::QString *>(sipCppV);

#line 61 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
    return qpycore_PyObject_FromQString(*sipCpp);
#line 49220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QString = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ALLOW_NONE|SIP_TYPE_MAPPED,
        sipNameNr_QString,     /* QString */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QString,
    array_QString,
    copy_QString,
    release_QString,
    convertTo_QString,
    convertFrom_QString
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstorageinfo.sip"
#include <qstorageinfo.h>
#line 49252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 49256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 49259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 49262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 49265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QStorageInfo_swap, "swap(self, QStorageInfo)");

extern "C" {static PyObject *meth_QStorageInfo_swap(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStorageInfo* a0;
         ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QStorageInfo, &sipCpp, sipType_QStorageInfo, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_swap, doc_QStorageInfo_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_setPath, "setPath(self, str)");

extern "C" {static PyObject *meth_QStorageInfo_setPath(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_setPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QStorageInfo, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPath(*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_QStorageInfo, sipName_setPath, doc_QStorageInfo_setPath);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_rootPath, "rootPath(self) -> str");

extern "C" {static PyObject *meth_QStorageInfo_rootPath(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_rootPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->rootPath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_rootPath, doc_QStorageInfo_rootPath);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_device, "device(self) -> QByteArray");

extern "C" {static PyObject *meth_QStorageInfo_device(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_device(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->device());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_device, doc_QStorageInfo_device);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_fileSystemType, "fileSystemType(self) -> QByteArray");

extern "C" {static PyObject *meth_QStorageInfo_fileSystemType(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_fileSystemType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->fileSystemType());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_fileSystemType, doc_QStorageInfo_fileSystemType);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_name, "name(self) -> str");

extern "C" {static PyObject *meth_QStorageInfo_name(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &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_QStorageInfo, sipName_name, doc_QStorageInfo_name);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_displayName, "displayName(self) -> str");

extern "C" {static PyObject *meth_QStorageInfo_displayName(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_displayName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &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_QStorageInfo, sipName_displayName, doc_QStorageInfo_displayName);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_bytesTotal, "bytesTotal(self) -> int");

extern "C" {static PyObject *meth_QStorageInfo_bytesTotal(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_bytesTotal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->bytesTotal();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_bytesTotal, doc_QStorageInfo_bytesTotal);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_bytesFree, "bytesFree(self) -> int");

extern "C" {static PyObject *meth_QStorageInfo_bytesFree(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_bytesFree(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->bytesFree();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_bytesFree, doc_QStorageInfo_bytesFree);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_bytesAvailable, "bytesAvailable(self) -> int");

extern "C" {static PyObject *meth_QStorageInfo_bytesAvailable(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_bytesAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->bytesAvailable();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_bytesAvailable, doc_QStorageInfo_bytesAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_isReadOnly, "isReadOnly(self) -> bool");

extern "C" {static PyObject *meth_QStorageInfo_isReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_isReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadOnly();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_isReadOnly, doc_QStorageInfo_isReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_isReady, "isReady(self) -> bool");

extern "C" {static PyObject *meth_QStorageInfo_isReady(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_isReady(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReady();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_isReady, doc_QStorageInfo_isReady);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QStorageInfo_isValid(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_isValid, doc_QStorageInfo_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_refresh, "refresh(self)");

extern "C" {static PyObject *meth_QStorageInfo_refresh(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_refresh(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
            sipCpp->refresh();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_refresh, doc_QStorageInfo_refresh);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_mountedVolumes, "mountedVolumes() -> object");

extern "C" {static PyObject *meth_QStorageInfo_mountedVolumes(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_mountedVolumes(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList< ::QStorageInfo>*sipRes;

            sipRes = new QList< ::QStorageInfo>( ::QStorageInfo::mountedVolumes());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QStorageInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_mountedVolumes, doc_QStorageInfo_mountedVolumes);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_root, "root() -> QStorageInfo");

extern "C" {static PyObject *meth_QStorageInfo_root(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_root(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QStorageInfo*sipRes;

            sipRes = new  ::QStorageInfo( ::QStorageInfo::root());

            return sipConvertFromNewType(sipRes,sipType_QStorageInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_root, doc_QStorageInfo_root);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_isRoot, "isRoot(self) -> bool");

extern "C" {static PyObject *meth_QStorageInfo_isRoot(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_isRoot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRoot();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_isRoot, doc_QStorageInfo_isRoot);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_blockSize, "blockSize(self) -> int");

extern "C" {static PyObject *meth_QStorageInfo_blockSize(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_blockSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->blockSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_blockSize, doc_QStorageInfo_blockSize);

    return NULL;
}


PyDoc_STRVAR(doc_QStorageInfo_subvolume, "subvolume(self) -> QByteArray");

extern "C" {static PyObject *meth_QStorageInfo_subvolume(PyObject *, PyObject *);}
static PyObject *meth_QStorageInfo_subvolume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStorageInfo, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->subvolume());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStorageInfo, sipName_subvolume, doc_QStorageInfo_subvolume);

    return NULL;
}


extern "C" {static PyObject *slot_QStorageInfo___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStorageInfo___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QStorageInfo *sipCpp = reinterpret_cast< ::QStorageInfo *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStorageInfo));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QStorageInfo, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QStorageInfo, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QStorageInfo___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStorageInfo___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QStorageInfo *sipCpp = reinterpret_cast< ::QStorageInfo *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStorageInfo));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QStorageInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QStorageInfo, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QStorageInfo, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QStorageInfo(void *, int);}
static void release_QStorageInfo(void *sipCppV, int)
{
    delete reinterpret_cast< ::QStorageInfo *>(sipCppV);
}


extern "C" {static void assign_QStorageInfo(void *, SIP_SSIZE_T, const void *);}
static void assign_QStorageInfo(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QStorageInfo *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QStorageInfo *>(sipSrc);
}


extern "C" {static void *array_QStorageInfo(SIP_SSIZE_T);}
static void *array_QStorageInfo(SIP_SSIZE_T sipNrElem)
{
    return new  ::QStorageInfo[sipNrElem];
}


extern "C" {static void *copy_QStorageInfo(const void *, SIP_SSIZE_T);}
static void *copy_QStorageInfo(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QStorageInfo(reinterpret_cast<const  ::QStorageInfo *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStorageInfo(sipSimpleWrapper *);}
static void dealloc_QStorageInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStorageInfo(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QStorageInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStorageInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QStorageInfo *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStorageInfo();

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new  ::QStorageInfo(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QDir* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDir, &a0))
        {
            sipCpp = new  ::QStorageInfo(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QStorageInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStorageInfo, &a0))
        {
            sipCpp = new  ::QStorageInfo(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStorageInfo[] = {
    {(void *)slot_QStorageInfo___eq__, eq_slot},
    {(void *)slot_QStorageInfo___ne__, ne_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QStorageInfo[] = {
    {SIP_MLNAME_CAST(sipName_blockSize), meth_QStorageInfo_blockSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_blockSize)},
    {SIP_MLNAME_CAST(sipName_bytesAvailable), meth_QStorageInfo_bytesAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_bytesAvailable)},
    {SIP_MLNAME_CAST(sipName_bytesFree), meth_QStorageInfo_bytesFree, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_bytesFree)},
    {SIP_MLNAME_CAST(sipName_bytesTotal), meth_QStorageInfo_bytesTotal, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_bytesTotal)},
    {SIP_MLNAME_CAST(sipName_device), meth_QStorageInfo_device, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_device)},
    {SIP_MLNAME_CAST(sipName_displayName), meth_QStorageInfo_displayName, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_displayName)},
    {SIP_MLNAME_CAST(sipName_fileSystemType), meth_QStorageInfo_fileSystemType, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_fileSystemType)},
    {SIP_MLNAME_CAST(sipName_isReadOnly), meth_QStorageInfo_isReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_isReadOnly)},
    {SIP_MLNAME_CAST(sipName_isReady), meth_QStorageInfo_isReady, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_isReady)},
    {SIP_MLNAME_CAST(sipName_isRoot), meth_QStorageInfo_isRoot, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_isRoot)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QStorageInfo_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_isValid)},
    {SIP_MLNAME_CAST(sipName_mountedVolumes), meth_QStorageInfo_mountedVolumes, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_mountedVolumes)},
    {SIP_MLNAME_CAST(sipName_name), meth_QStorageInfo_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_name)},
    {SIP_MLNAME_CAST(sipName_refresh), meth_QStorageInfo_refresh, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_refresh)},
    {SIP_MLNAME_CAST(sipName_root), meth_QStorageInfo_root, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_root)},
    {SIP_MLNAME_CAST(sipName_rootPath), meth_QStorageInfo_rootPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_rootPath)},
    {SIP_MLNAME_CAST(sipName_setPath), meth_QStorageInfo_setPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_setPath)},
    {SIP_MLNAME_CAST(sipName_subvolume), meth_QStorageInfo_subvolume, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_subvolume)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QStorageInfo_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QStorageInfo_swap)}
};

PyDoc_STRVAR(doc_QStorageInfo, "\1QStorageInfo()\n"
    "QStorageInfo(str)\n"
    "QStorageInfo(QDir)\n"
    "QStorageInfo(QStorageInfo)");


static pyqt5ClassPluginDef plugin_QStorageInfo = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QStorageInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStorageInfo,
        {0},
        &plugin_QStorageInfo
    },
    {
        sipNameNr_QStorageInfo,
        {0, 0, 1},
        19, methods_QStorageInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStorageInfo,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStorageInfo,
    init_type_QStorageInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStorageInfo,
    assign_QStorageInfo,
    array_QStorageInfo,
    copy_QStorageInfo,
    release_QStorageInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 46 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 50051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 50058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QStateMachine_WrappedEvent_object, "object(self) -> QObject");

extern "C" {static PyObject *meth_QStateMachine_WrappedEvent_object(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_WrappedEvent_object(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine::WrappedEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine_WrappedEvent, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->object();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WrappedEvent, sipName_object, doc_QStateMachine_WrappedEvent_object);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_WrappedEvent_event, "event(self) -> QEvent");

extern "C" {static PyObject *meth_QStateMachine_WrappedEvent_event(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_WrappedEvent_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine::WrappedEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine_WrappedEvent, &sipCpp))
        {
             ::QEvent*sipRes;

            sipRes = sipCpp->event();

            return sipConvertFromType(sipRes,sipType_QEvent,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_WrappedEvent, sipName_event, doc_QStateMachine_WrappedEvent_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStateMachine_WrappedEvent(void *, const sipTypeDef *);}
static void *cast_QStateMachine_WrappedEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStateMachine::WrappedEvent *sipCpp = reinterpret_cast< ::QStateMachine::WrappedEvent *>(sipCppV);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStateMachine_WrappedEvent(void *, int);}
static void release_QStateMachine_WrappedEvent(void *sipCppV, int)
{
    delete reinterpret_cast< ::QStateMachine::WrappedEvent *>(sipCppV);
}


extern "C" {static void dealloc_QStateMachine_WrappedEvent(sipSimpleWrapper *);}
static void dealloc_QStateMachine_WrappedEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStateMachine_WrappedEvent(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStateMachine_WrappedEvent[] = {{59, 255, 1}};


static PyMethodDef methods_QStateMachine_WrappedEvent[] = {
    {SIP_MLNAME_CAST(sipName_event), meth_QStateMachine_WrappedEvent_event, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_WrappedEvent_event)},
    {SIP_MLNAME_CAST(sipName_object), meth_QStateMachine_WrappedEvent_object, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_WrappedEvent_object)}
};


static pyqt5ClassPluginDef plugin_QStateMachine_WrappedEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QStateMachine_WrappedEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStateMachine__WrappedEvent,
        {0},
        &plugin_QStateMachine_WrappedEvent
    },
    {
        sipNameNr_WrappedEvent,
        {233, 255, 0},
        2, methods_QStateMachine_WrappedEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QStateMachine_WrappedEvent,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStateMachine_WrappedEvent,
    0,
    0,
    0,
    release_QStateMachine_WrappedEvent,
    cast_QStateMachine_WrappedEvent,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 50219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 50226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 50229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QStateMachine_SignalEvent_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QStateMachine_SignalEvent_sender(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_SignalEvent_sender(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine::SignalEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine_SignalEvent, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->sender();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_SignalEvent, sipName_sender, doc_QStateMachine_SignalEvent_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_SignalEvent_signalIndex, "signalIndex(self) -> int");

extern "C" {static PyObject *meth_QStateMachine_SignalEvent_signalIndex(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_SignalEvent_signalIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine::SignalEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine_SignalEvent, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->signalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_SignalEvent, sipName_signalIndex, doc_QStateMachine_SignalEvent_signalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_SignalEvent_arguments, "arguments(self) -> List[Any]");

extern "C" {static PyObject *meth_QStateMachine_SignalEvent_arguments(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_SignalEvent_arguments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine::SignalEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine_SignalEvent, &sipCpp))
        {
            QList< ::QVariant>*sipRes;

            sipRes = new QList< ::QVariant>(sipCpp->arguments());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_SignalEvent, sipName_arguments, doc_QStateMachine_SignalEvent_arguments);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStateMachine_SignalEvent(void *, const sipTypeDef *);}
static void *cast_QStateMachine_SignalEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStateMachine::SignalEvent *sipCpp = reinterpret_cast< ::QStateMachine::SignalEvent *>(sipCppV);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStateMachine_SignalEvent(void *, int);}
static void release_QStateMachine_SignalEvent(void *sipCppV, int)
{
    delete reinterpret_cast< ::QStateMachine::SignalEvent *>(sipCppV);
}


extern "C" {static void dealloc_QStateMachine_SignalEvent(sipSimpleWrapper *);}
static void dealloc_QStateMachine_SignalEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStateMachine_SignalEvent(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStateMachine_SignalEvent[] = {{59, 255, 1}};


static PyMethodDef methods_QStateMachine_SignalEvent[] = {
    {SIP_MLNAME_CAST(sipName_arguments), meth_QStateMachine_SignalEvent_arguments, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_SignalEvent_arguments)},
    {SIP_MLNAME_CAST(sipName_sender), meth_QStateMachine_SignalEvent_sender, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_SignalEvent_sender)},
    {SIP_MLNAME_CAST(sipName_signalIndex), meth_QStateMachine_SignalEvent_signalIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_SignalEvent_signalIndex)}
};


static pyqt5ClassPluginDef plugin_QStateMachine_SignalEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QStateMachine_SignalEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStateMachine__SignalEvent,
        {0},
        &plugin_QStateMachine_SignalEvent
    },
    {
        sipNameNr_SignalEvent,
        {233, 255, 0},
        3, methods_QStateMachine_SignalEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QStateMachine_SignalEvent,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStateMachine_SignalEvent,
    0,
    0,
    0,
    release_QStateMachine_SignalEvent,
    cast_QStateMachine_SignalEvent,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 50420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 50424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 50427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qset.sip"
#include <qset.h>
#line 50433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 50436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 50439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 50445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 50448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 50454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsignaltransition.sip"
#include <qsignaltransition.h>
#line 50457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 50460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 50472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 50478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 50481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 50484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 50487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 50490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 50493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQStateMachine : public  ::QStateMachine
{
public:
    sipQStateMachine( ::QObject*);
    sipQStateMachine( ::QState::ChildMode, ::QObject*);
    virtual ~sipQStateMachine();

    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;
    void sipProtectVirt_onEntry(bool, ::QEvent*);
    void sipProtectVirt_onExit(bool, ::QEvent*);
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void onExit( ::QEvent*);
    void onEntry( ::QEvent*);
    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:
    sipQStateMachine(const sipQStateMachine &);
    sipQStateMachine &operator = (const sipQStateMachine &);

    char sipPyMethods[9];
};

sipQStateMachine::sipQStateMachine( ::QObject*a0):  ::QStateMachine(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStateMachine::sipQStateMachine( ::QState::ChildMode a0, ::QObject*a1):  ::QStateMachine(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStateMachine::~sipQStateMachine()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQStateMachine::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QStateMachine);

    return  ::QStateMachine::metaObject();
}

int sipQStateMachine::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QStateMachine::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QStateMachine,_c,_id,_a);

    return _id;
}

void *sipQStateMachine::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QStateMachine, _clname, &sipCpp) ? sipCpp :  ::QStateMachine::qt_metacast(_clname));
}

void sipQStateMachine::onExit( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_onExit);

    if (!sipMeth)
    {
         ::QStateMachine::onExit(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStateMachine::onEntry( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_onEntry);

    if (!sipMeth)
    {
         ::QStateMachine::onEntry(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQStateMachine::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QStateMachine::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQStateMachine::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QStateMachine::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQStateMachine::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QStateMachine::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStateMachine::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QStateMachine::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStateMachine::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QStateMachine::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStateMachine::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QStateMachine::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQStateMachine::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QStateMachine::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQStateMachine::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQStateMachine::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQStateMachine::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQStateMachine::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQStateMachine::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQStateMachine::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQStateMachine::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQStateMachine::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQStateMachine::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQStateMachine::sipProtectVirt_onEntry(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QStateMachine::onEntry(a0) : onEntry(a0));
}

void sipQStateMachine::sipProtectVirt_onExit(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QStateMachine::onExit(a0) : onExit(a0));
}

bool sipQStateMachine::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QStateMachine::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QStateMachine_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QStateMachine_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 50849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_sender, doc_QStateMachine_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QStateMachine_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QStateMachine, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 50909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QStateMachine, sipName_receivers, doc_QStateMachine_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QStateMachine_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStateMachine, &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_QStateMachine, sipName_timerEvent, doc_QStateMachine_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QStateMachine_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStateMachine, &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_QStateMachine, sipName_childEvent, doc_QStateMachine_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QStateMachine_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStateMachine, &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_QStateMachine, sipName_customEvent, doc_QStateMachine_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QStateMachine_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStateMachine, &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_QStateMachine, sipName_connectNotify, doc_QStateMachine_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QStateMachine_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStateMachine, &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_QStateMachine, sipName_disconnectNotify, doc_QStateMachine_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QStateMachine_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_senderSignalIndex, doc_QStateMachine_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QStateMachine_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStateMachine, &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_QStateMachine, sipName_isSignalConnected, doc_QStateMachine_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_addState, "addState(self, QAbstractState)");

extern "C" {static PyObject *meth_QStateMachine_addState(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_addState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractState* a0;
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QStateMachine, &sipCpp, sipType_QAbstractState, &a0))
        {
            sipCpp->addState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_addState, doc_QStateMachine_addState);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_removeState, "removeState(self, QAbstractState)");

extern "C" {static PyObject *meth_QStateMachine_removeState(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_removeState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractState* a0;
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QStateMachine, &sipCpp, sipType_QAbstractState, &a0))
        {
            sipCpp->removeState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_removeState, doc_QStateMachine_removeState);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_error, "error(self) -> QStateMachine.Error");

extern "C" {static PyObject *meth_QStateMachine_error(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
             ::QStateMachine::Error sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QStateMachine_Error);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_error, doc_QStateMachine_error);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QStateMachine_errorString(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_errorString, doc_QStateMachine_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_clearError, "clearError(self)");

extern "C" {static PyObject *meth_QStateMachine_clearError(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_clearError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
            sipCpp->clearError();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_clearError, doc_QStateMachine_clearError);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_isRunning, "isRunning(self) -> bool");

extern "C" {static PyObject *meth_QStateMachine_isRunning(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_isRunning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRunning();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_isRunning, doc_QStateMachine_isRunning);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_isAnimated, "isAnimated(self) -> bool");

extern "C" {static PyObject *meth_QStateMachine_isAnimated(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_isAnimated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAnimated();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_isAnimated, doc_QStateMachine_isAnimated);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_setAnimated, "setAnimated(self, bool)");

extern "C" {static PyObject *meth_QStateMachine_setAnimated(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_setAnimated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QStateMachine, &sipCpp, &a0))
        {
            sipCpp->setAnimated(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_setAnimated, doc_QStateMachine_setAnimated);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_addDefaultAnimation, "addDefaultAnimation(self, QAbstractAnimation)");

extern "C" {static PyObject *meth_QStateMachine_addDefaultAnimation(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_addDefaultAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation* a0;
        PyObject *a0Wrapper;
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QStateMachine, &sipCpp, &a0Wrapper, sipType_QAbstractAnimation, &a0))
        {
#line 82 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
        // We want to keep a reference to the animation but this is in addition to the
        // existing ones and does not replace them - so we can't use /KeepReference/.
        sipCpp->addDefaultAnimation(a0);
        
        // Use the user object as a list of the references.
        PyObject *user = sipGetUserObject((sipSimpleWrapper *)sipSelf);
        
        if (!user)
        {
            user = PyList_New(0);
            sipSetUserObject((sipSimpleWrapper *)sipSelf, user);
        }
        
        if (user)
            PyList_Append(user, a0Wrapper);
#line 51386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_addDefaultAnimation, doc_QStateMachine_addDefaultAnimation);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_defaultAnimations, "defaultAnimations(self) -> List[QAbstractAnimation]");

extern "C" {static PyObject *meth_QStateMachine_defaultAnimations(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_defaultAnimations(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
            QList< ::QAbstractAnimation*>*sipRes;

            sipRes = new QList< ::QAbstractAnimation*>(sipCpp->defaultAnimations());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAbstractAnimation,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_defaultAnimations, doc_QStateMachine_defaultAnimations);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_removeDefaultAnimation, "removeDefaultAnimation(self, QAbstractAnimation)");

extern "C" {static PyObject *meth_QStateMachine_removeDefaultAnimation(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_removeDefaultAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation* a0;
        PyObject *a0Wrapper;
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QStateMachine, &sipCpp, &a0Wrapper, sipType_QAbstractAnimation, &a0))
        {
#line 102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
        // Discard the extra animation reference that we took in addDefaultAnimation().
        sipCpp->removeDefaultAnimation(a0);
        
        // Use the user object as a list of the references.
        PyObject *user = sipGetUserObject((sipSimpleWrapper *)sipSelf);
        
        if (user)
        {
            Py_ssize_t i = 0;
            
            // Note that we deal with an object appearing in the list more than once.
            while (i < PyList_Size(user))
                if (PyList_GetItem(user, i) == a0Wrapper)
                    PyList_SetSlice(user, i, i + 1, NULL);
                else
                    ++i;
        }
#line 51461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_removeDefaultAnimation, doc_QStateMachine_removeDefaultAnimation);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_globalRestorePolicy, "globalRestorePolicy(self) -> QState.RestorePolicy");

extern "C" {static PyObject *meth_QStateMachine_globalRestorePolicy(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_globalRestorePolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
             ::QState::RestorePolicy sipRes;

            sipRes = sipCpp->globalRestorePolicy();

            return sipConvertFromEnum(sipRes,sipType_QState_RestorePolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_globalRestorePolicy, doc_QStateMachine_globalRestorePolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_setGlobalRestorePolicy, "setGlobalRestorePolicy(self, QState.RestorePolicy)");

extern "C" {static PyObject *meth_QStateMachine_setGlobalRestorePolicy(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_setGlobalRestorePolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QState::RestorePolicy a0;
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QStateMachine, &sipCpp, sipType_QState_RestorePolicy, &a0))
        {
            sipCpp->setGlobalRestorePolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_setGlobalRestorePolicy, doc_QStateMachine_setGlobalRestorePolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_postEvent, "postEvent(self, QEvent, priority: QStateMachine.EventPriority = QStateMachine.NormalPriority)");

extern "C" {static PyObject *meth_QStateMachine_postEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_postEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEvent* a0;
         ::QStateMachine::EventPriority a1 = QStateMachine::NormalPriority;
         ::QStateMachine *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_priority,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:|E", &sipSelf, sipType_QStateMachine, &sipCpp, sipType_QEvent, &a0, sipType_QStateMachine_EventPriority, &a1))
        {
            sipCpp->postEvent(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_postEvent, doc_QStateMachine_postEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_postDelayedEvent, "postDelayedEvent(self, QEvent, int) -> int");

extern "C" {static PyObject *meth_QStateMachine_postDelayedEvent(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_postDelayedEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEvent* a0;
        int a1;
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:i", &sipSelf, sipType_QStateMachine, &sipCpp, sipType_QEvent, &a0, &a1))
        {
            int sipRes;

            sipRes = sipCpp->postDelayedEvent(a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_postDelayedEvent, doc_QStateMachine_postDelayedEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_cancelDelayedEvent, "cancelDelayedEvent(self, int) -> bool");

extern "C" {static PyObject *meth_QStateMachine_cancelDelayedEvent(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_cancelDelayedEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStateMachine, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->cancelDelayedEvent(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_cancelDelayedEvent, doc_QStateMachine_cancelDelayedEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_configuration, "configuration(self) -> object");

extern "C" {static PyObject *meth_QStateMachine_configuration(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_configuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
            QSet< ::QAbstractState*>*sipRes;

            sipRes = new QSet< ::QAbstractState*>(sipCpp->configuration());

            return sipConvertFromNewType(sipRes,sipType_QSet_0101QAbstractState,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_configuration, doc_QStateMachine_configuration);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_eventFilter, "eventFilter(self, QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QStateMachine_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QStateMachine, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QStateMachine::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_eventFilter, doc_QStateMachine_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_start, "start(self)");

extern "C" {static PyObject *meth_QStateMachine_start(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
            sipCpp->start();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_start, doc_QStateMachine_start);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_stop, "stop(self)");

extern "C" {static PyObject *meth_QStateMachine_stop(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStateMachine, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_stop, doc_QStateMachine_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_setRunning, "setRunning(self, bool)");

extern "C" {static PyObject *meth_QStateMachine_setRunning(PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_setRunning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QStateMachine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QStateMachine, &sipCpp, &a0))
        {
            sipCpp->setRunning(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_setRunning, doc_QStateMachine_setRunning);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_onEntry, "onEntry(self, QEvent)");

extern "C" {static PyObject *meth_QStateMachine_onEntry(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_onEntry(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStateMachine, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onEntry(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_onEntry, doc_QStateMachine_onEntry);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_onExit, "onExit(self, QEvent)");

extern "C" {static PyObject *meth_QStateMachine_onExit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_onExit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStateMachine, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onExit(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_onExit, doc_QStateMachine_onExit);

    return NULL;
}


PyDoc_STRVAR(doc_QStateMachine_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QStateMachine_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStateMachine_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQStateMachine *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStateMachine, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStateMachine, sipName_event, doc_QStateMachine_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QStateMachine(void *, const sipTypeDef *);}
static void *cast_QStateMachine(void *sipCppV, const sipTypeDef *targetType)
{
     ::QStateMachine *sipCpp = reinterpret_cast< ::QStateMachine *>(sipCppV);

    if (targetType == sipType_QState)
        return static_cast< ::QState *>(sipCpp);

    if (targetType == sipType_QAbstractState)
        return static_cast< ::QAbstractState *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStateMachine(void *, int);}
static void release_QStateMachine(void *sipCppV, int)
{
     ::QStateMachine *sipCpp = reinterpret_cast< ::QStateMachine *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QStateMachine(sipSimpleWrapper *);}
static void dealloc_QStateMachine(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQStateMachine *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStateMachine(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QStateMachine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStateMachine(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQStateMachine *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 sipQStateMachine(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QState::ChildMode a0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_QState_ChildMode, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQStateMachine(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStateMachine[] = {{230, 255, 1}};


static PyMethodDef methods_QStateMachine[] = {
    {SIP_MLNAME_CAST(sipName_addDefaultAnimation), meth_QStateMachine_addDefaultAnimation, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_addDefaultAnimation)},
    {SIP_MLNAME_CAST(sipName_addState), meth_QStateMachine_addState, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_addState)},
    {SIP_MLNAME_CAST(sipName_cancelDelayedEvent), meth_QStateMachine_cancelDelayedEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_cancelDelayedEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QStateMachine_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearError), meth_QStateMachine_clearError, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_clearError)},
    {SIP_MLNAME_CAST(sipName_configuration), meth_QStateMachine_configuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_configuration)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QStateMachine_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QStateMachine_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultAnimations), meth_QStateMachine_defaultAnimations, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_defaultAnimations)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QStateMachine_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_QStateMachine_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QStateMachine_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_errorString)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QStateMachine_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStateMachine_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_QStateMachine_eventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_eventFilter)},
    {SIP_MLNAME_CAST(sipName_globalRestorePolicy), meth_QStateMachine_globalRestorePolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_globalRestorePolicy)},
    {SIP_MLNAME_CAST(sipName_isAnimated), meth_QStateMachine_isAnimated, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_isAnimated)},
    {SIP_MLNAME_CAST(sipName_isRunning), meth_QStateMachine_isRunning, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_isRunning)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QStateMachine_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_onEntry), (PyCFunction)meth_QStateMachine_onEntry, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStateMachine_onEntry)},
    {SIP_MLNAME_CAST(sipName_onExit), (PyCFunction)meth_QStateMachine_onExit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStateMachine_onExit)},
    {SIP_MLNAME_CAST(sipName_postDelayedEvent), meth_QStateMachine_postDelayedEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_postDelayedEvent)},
    {SIP_MLNAME_CAST(sipName_postEvent), (PyCFunction)meth_QStateMachine_postEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStateMachine_postEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QStateMachine_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeDefaultAnimation), meth_QStateMachine_removeDefaultAnimation, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_removeDefaultAnimation)},
    {SIP_MLNAME_CAST(sipName_removeState), meth_QStateMachine_removeState, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_removeState)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QStateMachine_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QStateMachine_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAnimated), meth_QStateMachine_setAnimated, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_setAnimated)},
    {SIP_MLNAME_CAST(sipName_setGlobalRestorePolicy), meth_QStateMachine_setGlobalRestorePolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_setGlobalRestorePolicy)},
    {SIP_MLNAME_CAST(sipName_setRunning), meth_QStateMachine_setRunning, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_setRunning)},
    {SIP_MLNAME_CAST(sipName_start), meth_QStateMachine_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_start)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QStateMachine_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QStateMachine_stop)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QStateMachine_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QStateMachine[] = {
    {sipName_HighPriority, static_cast<int>( ::QStateMachine::HighPriority), 235},
    {sipName_NoCommonAncestorForTransitionError, static_cast<int>( ::QStateMachine::NoCommonAncestorForTransitionError), 234},
    {sipName_NoDefaultStateInHistoryStateError, static_cast<int>( ::QStateMachine::NoDefaultStateInHistoryStateError), 234},
    {sipName_NoError, static_cast<int>( ::QStateMachine::NoError), 234},
    {sipName_NoInitialStateError, static_cast<int>( ::QStateMachine::NoInitialStateError), 234},
    {sipName_NormalPriority, static_cast<int>( ::QStateMachine::NormalPriority), 235},
};

PyDoc_STRVAR(doc_QStateMachine, "\1QStateMachine(parent: QObject = None)\n"
    "QStateMachine(QState.ChildMode, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QStateMachine[] = {
    {"runningChanged(bool)", "\1runningChanged(self, bool)", 0, 0},
    {"stopped()", "\1stopped(self)", 0, 0},
    {"started()", "\1started(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QStateMachine = {
    & ::QStateMachine::staticMetaObject,
    0,
    signals_QStateMachine,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QStateMachine = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStateMachine,
        {0},
        &plugin_QStateMachine
    },
    {
        sipNameNr_QStateMachine,
        {0, 0, 1},
        33, methods_QStateMachine,
        6, enummembers_QStateMachine,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStateMachine,
    -1,
    -1,
    supers_QStateMachine,
    0,
    init_type_QStateMachine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStateMachine,
    0,
    0,
    0,
    release_QStateMachine,
    cast_QStateMachine,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 52065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 52072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 52075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 52078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 52084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsignaltransition.sip"
#include <qsignaltransition.h>
#line 52087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 52090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 52093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 52099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 52102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 52108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 52111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 52117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 52120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 52123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 52126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 52129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQState : public  ::QState
{
public:
    sipQState( ::QState*);
    sipQState( ::QState::ChildMode, ::QState*);
    virtual ~sipQState();

    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;
    void sipProtectVirt_onEntry(bool, ::QEvent*);
    void sipProtectVirt_onExit(bool, ::QEvent*);
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void onEntry( ::QEvent*);
    void onExit( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQState(const sipQState &);
    sipQState &operator = (const sipQState &);

    char sipPyMethods[9];
};

sipQState::sipQState( ::QState*a0):  ::QState(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQState::sipQState( ::QState::ChildMode a0, ::QState*a1):  ::QState(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQState::~sipQState()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQState::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QState);

    return  ::QState::metaObject();
}

int sipQState::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QState::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QState,_c,_id,_a);

    return _id;
}

void *sipQState::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QState, _clname, &sipCpp) ? sipCpp :  ::QState::qt_metacast(_clname));
}

void sipQState::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QState::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQState::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QState::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQState::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QState::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQState::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QState::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQState::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QState::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQState::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QState::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQState::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QState::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQState::onEntry( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_onEntry);

    if (!sipMeth)
    {
         ::QState::onEntry(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQState::onExit( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_onExit);

    if (!sipMeth)
    {
         ::QState::onExit(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQState::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQState::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQState::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQState::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQState::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQState::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQState::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQState::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQState::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQState::sipProtectVirt_onEntry(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QState::onEntry(a0) : onEntry(a0));
}

void sipQState::sipProtectVirt_onExit(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QState::onExit(a0) : onExit(a0));
}

bool sipQState::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QState::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QState_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QState_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QState, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 52485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_sender, doc_QState_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QState_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QState_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QState, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 52545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QState, sipName_receivers, doc_QState_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QState_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QState_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QState, &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_QState, sipName_timerEvent, doc_QState_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QState_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QState_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QState, &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_QState, sipName_childEvent, doc_QState_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QState_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QState_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QState, &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_QState, sipName_customEvent, doc_QState_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QState_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QState_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QState, &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_QState, sipName_connectNotify, doc_QState_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QState_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QState_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QState, &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_QState, sipName_disconnectNotify, doc_QState_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QState_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QState_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QState, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_senderSignalIndex, doc_QState_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QState_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QState_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QState, &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_QState, sipName_isSignalConnected, doc_QState_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QState_errorState, "errorState(self) -> QAbstractState");

extern "C" {static PyObject *meth_QState_errorState(PyObject *, PyObject *);}
static PyObject *meth_QState_errorState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QState, &sipCpp))
        {
             ::QAbstractState*sipRes;

            sipRes = sipCpp->errorState();

            return sipConvertFromType(sipRes,sipType_QAbstractState,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_errorState, doc_QState_errorState);

    return NULL;
}


PyDoc_STRVAR(doc_QState_setErrorState, "setErrorState(self, QAbstractState)");

extern "C" {static PyObject *meth_QState_setErrorState(PyObject *, PyObject *);}
static PyObject *meth_QState_setErrorState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractState* a0;
        PyObject *a0Keep;
         ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QState, &sipCpp, &a0Keep, sipType_QAbstractState, &a0))
        {
            sipCpp->setErrorState(a0);

            sipKeepReference(sipSelf, -5, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_setErrorState, doc_QState_setErrorState);

    return NULL;
}


PyDoc_STRVAR(doc_QState_addTransition, "addTransition(self, QAbstractTransition)\n"
    "addTransition(self, pyqtBoundSignal, QAbstractState) -> QSignalTransition\n"
    "addTransition(self, QAbstractState) -> QAbstractTransition");

extern "C" {static PyObject *meth_QState_addTransition(PyObject *, PyObject *);}
static PyObject *meth_QState_addTransition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractTransition* a0;
         ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QState, &sipCpp, sipType_QAbstractTransition, &a0))
        {
            sipCpp->addTransition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        PyObject * a0;
         ::QAbstractState* a1;
         ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0J8", &sipSelf, sipType_QState, &sipCpp, &a0, sipType_QAbstractState, &a1))
        {
             ::QSignalTransition*sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstate.sip"
        QObject *sender;
        QByteArray signal_signature;
        
        if ((sipError = pyqt5_get_pyqtsignal_parts(a0, &sender, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->addTransition(sender, signal_signature.constData(), a1);
        }
        else
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 52874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return sipConvertFromType(sipRes,sipType_QSignalTransition,NULL);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
         ::QAbstractState* a0;
         ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QState, &sipCpp, sipType_QAbstractState, &a0))
        {
             ::QAbstractTransition*sipRes;

            sipRes = sipCpp->addTransition(a0);

            return sipConvertFromType(sipRes,sipType_QAbstractTransition,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_addTransition, doc_QState_addTransition);

    return NULL;
}


PyDoc_STRVAR(doc_QState_removeTransition, "removeTransition(self, QAbstractTransition)");

extern "C" {static PyObject *meth_QState_removeTransition(PyObject *, PyObject *);}
static PyObject *meth_QState_removeTransition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractTransition* a0;
         ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QState, &sipCpp, sipType_QAbstractTransition, &a0))
        {
            sipCpp->removeTransition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_removeTransition, doc_QState_removeTransition);

    return NULL;
}


PyDoc_STRVAR(doc_QState_transitions, "transitions(self) -> object");

extern "C" {static PyObject *meth_QState_transitions(PyObject *, PyObject *);}
static PyObject *meth_QState_transitions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QState, &sipCpp))
        {
            QList< ::QAbstractTransition*>*sipRes;

            sipRes = new QList< ::QAbstractTransition*>(sipCpp->transitions());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAbstractTransition,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_transitions, doc_QState_transitions);

    return NULL;
}


PyDoc_STRVAR(doc_QState_initialState, "initialState(self) -> QAbstractState");

extern "C" {static PyObject *meth_QState_initialState(PyObject *, PyObject *);}
static PyObject *meth_QState_initialState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QState, &sipCpp))
        {
             ::QAbstractState*sipRes;

            sipRes = sipCpp->initialState();

            return sipConvertFromType(sipRes,sipType_QAbstractState,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_initialState, doc_QState_initialState);

    return NULL;
}


PyDoc_STRVAR(doc_QState_setInitialState, "setInitialState(self, QAbstractState)");

extern "C" {static PyObject *meth_QState_setInitialState(PyObject *, PyObject *);}
static PyObject *meth_QState_setInitialState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractState* a0;
        PyObject *a0Keep;
         ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QState, &sipCpp, &a0Keep, sipType_QAbstractState, &a0))
        {
            sipCpp->setInitialState(a0);

            sipKeepReference(sipSelf, -6, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_setInitialState, doc_QState_setInitialState);

    return NULL;
}


PyDoc_STRVAR(doc_QState_childMode, "childMode(self) -> QState.ChildMode");

extern "C" {static PyObject *meth_QState_childMode(PyObject *, PyObject *);}
static PyObject *meth_QState_childMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QState, &sipCpp))
        {
             ::QState::ChildMode sipRes;

            sipRes = sipCpp->childMode();

            return sipConvertFromEnum(sipRes,sipType_QState_ChildMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_childMode, doc_QState_childMode);

    return NULL;
}


PyDoc_STRVAR(doc_QState_setChildMode, "setChildMode(self, QState.ChildMode)");

extern "C" {static PyObject *meth_QState_setChildMode(PyObject *, PyObject *);}
static PyObject *meth_QState_setChildMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QState::ChildMode a0;
         ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QState, &sipCpp, sipType_QState_ChildMode, &a0))
        {
            sipCpp->setChildMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_setChildMode, doc_QState_setChildMode);

    return NULL;
}


PyDoc_STRVAR(doc_QState_assignProperty, "assignProperty(self, QObject, str, Any)");

extern "C" {static PyObject *meth_QState_assignProperty(PyObject *, PyObject *);}
static PyObject *meth_QState_assignProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        const char* a1;
        PyObject *a1Keep;
        const  ::QVariant* a2;
        int a2State = 0;
         ::QState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8AAJ1", &sipSelf, sipType_QState, &sipCpp, sipType_QObject, &a0, &a1Keep, &a1, sipType_QVariant, &a2, &a2State))
        {
            sipCpp->assignProperty(a0,a1,*a2);
            Py_DECREF(a1Keep);
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_assignProperty, doc_QState_assignProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QState_onEntry, "onEntry(self, QEvent)");

extern "C" {static PyObject *meth_QState_onEntry(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_onEntry(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QState, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onEntry(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_onEntry, doc_QState_onEntry);

    return NULL;
}


PyDoc_STRVAR(doc_QState_onExit, "onExit(self, QEvent)");

extern "C" {static PyObject *meth_QState_onExit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_onExit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QState, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onExit(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_onExit, doc_QState_onExit);

    return NULL;
}


PyDoc_STRVAR(doc_QState_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QState_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QState_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QState, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QState, sipName_event, doc_QState_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QState(void *, const sipTypeDef *);}
static void *cast_QState(void *sipCppV, const sipTypeDef *targetType)
{
     ::QState *sipCpp = reinterpret_cast< ::QState *>(sipCppV);

    if (targetType == sipType_QAbstractState)
        return static_cast< ::QAbstractState *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QState(void *, int);}
static void release_QState(void *sipCppV, int)
{
     ::QState *sipCpp = reinterpret_cast< ::QState *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QState(sipSimpleWrapper *);}
static void dealloc_QState(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQState *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QState(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QState(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QState(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQState *sipCpp = 0;

    {
         ::QState* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QState, &a0, sipOwner))
        {
            sipCpp = new sipQState(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QState::ChildMode a0;
         ::QState* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_QState_ChildMode, &a0, sipType_QState, &a1, sipOwner))
        {
            sipCpp = new sipQState(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QState[] = {{11, 255, 1}};


static PyMethodDef methods_QState[] = {
    {SIP_MLNAME_CAST(sipName_addTransition), meth_QState_addTransition, METH_VARARGS, SIP_MLDOC_CAST(doc_QState_addTransition)},
    {SIP_MLNAME_CAST(sipName_assignProperty), meth_QState_assignProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QState_assignProperty)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QState_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childMode), meth_QState_childMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QState_childMode)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QState_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QState_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QState_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_errorState), meth_QState_errorState, METH_VARARGS, SIP_MLDOC_CAST(doc_QState_errorState)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QState_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QState_event)},
    {SIP_MLNAME_CAST(sipName_initialState), meth_QState_initialState, METH_VARARGS, SIP_MLDOC_CAST(doc_QState_initialState)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QState_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_onEntry), (PyCFunction)meth_QState_onEntry, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QState_onEntry)},
    {SIP_MLNAME_CAST(sipName_onExit), (PyCFunction)meth_QState_onExit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QState_onExit)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QState_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeTransition), meth_QState_removeTransition, METH_VARARGS, SIP_MLDOC_CAST(doc_QState_removeTransition)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QState_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QState_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setChildMode), meth_QState_setChildMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QState_setChildMode)},
    {SIP_MLNAME_CAST(sipName_setErrorState), meth_QState_setErrorState, METH_VARARGS, SIP_MLDOC_CAST(doc_QState_setErrorState)},
    {SIP_MLNAME_CAST(sipName_setInitialState), meth_QState_setInitialState, METH_VARARGS, SIP_MLDOC_CAST(doc_QState_setInitialState)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QState_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_transitions), meth_QState_transitions, METH_VARARGS, SIP_MLDOC_CAST(doc_QState_transitions)}
};

static sipEnumMemberDef enummembers_QState[] = {
    {sipName_DontRestoreProperties, static_cast<int>( ::QState::DontRestoreProperties), 232},
    {sipName_ExclusiveStates, static_cast<int>( ::QState::ExclusiveStates), 231},
    {sipName_ParallelStates, static_cast<int>( ::QState::ParallelStates), 231},
    {sipName_RestoreProperties, static_cast<int>( ::QState::RestoreProperties), 232},
};

PyDoc_STRVAR(doc_QState, "\1QState(parent: QState = None)\n"
    "QState(QState.ChildMode, parent: QState = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QState[] = {
    {"errorStateChanged()", "\1errorStateChanged(self)", 0, 0},
    {"initialStateChanged()", "\1initialStateChanged(self)", 0, 0},
    {"childModeChanged()", "\1childModeChanged(self)", 0, 0},
    {"propertiesAssigned()", "\1propertiesAssigned(self)", 0, 0},
    {"finished()", "\1finished(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QState = {
    & ::QState::staticMetaObject,
    0,
    signals_QState,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QState,
        {0},
        &plugin_QState
    },
    {
        sipNameNr_QState,
        {0, 0, 1},
        22, methods_QState,
        4, enummembers_QState,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QState,
    -1,
    -1,
    supers_QState,
    0,
    init_type_QState,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QState,
    0,
    0,
    0,
    release_QState,
    cast_QState,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 53400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 53404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QStandardPaths_LocateOptions___hash__(PyObject *);}
static long slot_QStandardPaths_LocateOptions___hash__(PyObject *sipSelf)
{
     ::QStandardPaths::LocateOptions *sipCpp = reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStandardPaths_LocateOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QStandardPaths::LocateOptions::Int();
#line 53422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QStandardPaths_LocateOptions___bool__(PyObject *);}
static int slot_QStandardPaths_LocateOptions___bool__(PyObject *sipSelf)
{
     ::QStandardPaths::LocateOptions *sipCpp = reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStandardPaths_LocateOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStandardPaths::LocateOptions::Int() != 0);
#line 53447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStandardPaths_LocateOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QStandardPaths::LocateOptions *sipCpp = reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStandardPaths_LocateOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QStandardPaths::LocateOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStandardPaths_LocateOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStandardPaths::LocateOptions::Int() != a0->operator QStandardPaths::LocateOptions::Int());
#line 53477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QStandardPaths::LocateOptions *>(a0),sipType_QStandardPaths_LocateOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QStandardPaths_LocateOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QStandardPaths_LocateOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QStandardPaths::LocateOptions *sipCpp = reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStandardPaths_LocateOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QStandardPaths::LocateOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStandardPaths_LocateOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStandardPaths::LocateOptions::Int() == a0->operator QStandardPaths::LocateOptions::Int());
#line 53513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QStandardPaths::LocateOptions *>(a0),sipType_QStandardPaths_LocateOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QStandardPaths_LocateOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QStandardPaths_LocateOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStandardPaths_LocateOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QStandardPaths::LocateOptions *sipCpp = reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStandardPaths_LocateOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QStandardPaths::LocateOptions(*sipCpp ^ a0);
#line 53552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStandardPaths_LocateOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStandardPaths::LocateOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStandardPaths_LocateOptions, &a0, &a0State, &a1))
        {
             ::QStandardPaths::LocateOptions*sipRes;

            sipRes = new  ::QStandardPaths::LocateOptions((*a0 ^ a1));
            sipReleaseType(a0,sipType_QStandardPaths_LocateOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStandardPaths_LocateOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QStandardPaths_LocateOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStandardPaths_LocateOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QStandardPaths::LocateOptions *sipCpp = reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStandardPaths_LocateOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QStandardPaths::LocateOptions(*sipCpp | a0);
#line 53624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStandardPaths_LocateOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStandardPaths::LocateOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStandardPaths_LocateOptions, &a0, &a0State, &a1))
        {
             ::QStandardPaths::LocateOptions*sipRes;

            sipRes = new  ::QStandardPaths::LocateOptions((*a0 | a1));
            sipReleaseType(a0,sipType_QStandardPaths_LocateOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStandardPaths_LocateOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QStandardPaths_LocateOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStandardPaths_LocateOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QStandardPaths::LocateOptions *sipCpp = reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStandardPaths_LocateOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QStandardPaths::LocateOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QStandardPaths_LocateOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStandardPaths::LocateOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStandardPaths_LocateOptions, &a0, &a0State, &a1))
        {
             ::QStandardPaths::LocateOptions*sipRes;

            sipRes = new  ::QStandardPaths::LocateOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QStandardPaths_LocateOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStandardPaths_LocateOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QStandardPaths_LocateOptions___invert__(PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___invert__(PyObject *sipSelf)
{
     ::QStandardPaths::LocateOptions *sipCpp = reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStandardPaths_LocateOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QStandardPaths::LocateOptions*sipRes;

            sipRes = new  ::QStandardPaths::LocateOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QStandardPaths_LocateOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStandardPaths_LocateOptions___int__(PyObject *);}
static PyObject *slot_QStandardPaths_LocateOptions___int__(PyObject *sipSelf)
{
     ::QStandardPaths::LocateOptions *sipCpp = reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStandardPaths_LocateOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStandardPaths_LocateOptions(void *, int);}
static void release_QStandardPaths_LocateOptions(void *sipCppV, int)
{
    delete reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipCppV);
}


extern "C" {static void assign_QStandardPaths_LocateOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QStandardPaths_LocateOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QStandardPaths::LocateOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QStandardPaths::LocateOptions *>(sipSrc);
}


extern "C" {static void *array_QStandardPaths_LocateOptions(SIP_SSIZE_T);}
static void *array_QStandardPaths_LocateOptions(SIP_SSIZE_T sipNrElem)
{
    return new  ::QStandardPaths::LocateOptions[sipNrElem];
}


extern "C" {static void *copy_QStandardPaths_LocateOptions(const void *, SIP_SSIZE_T);}
static void *copy_QStandardPaths_LocateOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QStandardPaths::LocateOptions(reinterpret_cast<const  ::QStandardPaths::LocateOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStandardPaths_LocateOptions(sipSimpleWrapper *);}
static void dealloc_QStandardPaths_LocateOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QStandardPaths_LocateOptions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QStandardPaths_LocateOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStandardPaths_LocateOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QStandardPaths::LocateOptions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QStandardPaths::LocateOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QStandardPaths::LocateOptions(a0);

            return sipCpp;
        }
    }

    {
        const  ::QStandardPaths::LocateOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStandardPaths_LocateOptions, &a0, &a0State))
        {
            sipCpp = new  ::QStandardPaths::LocateOptions(*a0);
            sipReleaseType(const_cast< ::QStandardPaths::LocateOptions *>(a0),sipType_QStandardPaths_LocateOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStandardPaths_LocateOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStandardPaths_LocateOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QStandardPaths::LocateOptions **sipCppPtr = reinterpret_cast< ::QStandardPaths::LocateOptions **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QStandardPaths::LocateOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStandardPaths_LocateOption)) ||
            sipCanConvertToType(sipPy, sipType_QStandardPaths_LocateOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStandardPaths_LocateOption)))
{
    *sipCppPtr = new QStandardPaths::LocateOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QStandardPaths::LocateOptions *>(sipConvertToType(sipPy, sipType_QStandardPaths_LocateOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 53892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStandardPaths_LocateOptions[] = {
    {(void *)slot_QStandardPaths_LocateOptions___hash__, hash_slot},
    {(void *)slot_QStandardPaths_LocateOptions___bool__, bool_slot},
    {(void *)slot_QStandardPaths_LocateOptions___ne__, ne_slot},
    {(void *)slot_QStandardPaths_LocateOptions___eq__, eq_slot},
    {(void *)slot_QStandardPaths_LocateOptions___ixor__, ixor_slot},
    {(void *)slot_QStandardPaths_LocateOptions___xor__, xor_slot},
    {(void *)slot_QStandardPaths_LocateOptions___ior__, ior_slot},
    {(void *)slot_QStandardPaths_LocateOptions___or__, or_slot},
    {(void *)slot_QStandardPaths_LocateOptions___iand__, iand_slot},
    {(void *)slot_QStandardPaths_LocateOptions___and__, and_slot},
    {(void *)slot_QStandardPaths_LocateOptions___invert__, invert_slot},
    {(void *)slot_QStandardPaths_LocateOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStandardPaths_LocateOptions, "\1QStandardPaths.LocateOptions()\n"
    "QStandardPaths.LocateOptions(Union[QStandardPaths.LocateOptions, QStandardPaths.LocateOption])\n"
    "QStandardPaths.LocateOptions(QStandardPaths.LocateOptions)");


static pyqt5ClassPluginDef plugin_QStandardPaths_LocateOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QStandardPaths_LocateOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStandardPaths__LocateOptions,
        {0},
        &plugin_QStandardPaths_LocateOptions
    },
    {
        sipNameNr_LocateOptions,
        {226, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStandardPaths_LocateOptions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStandardPaths_LocateOptions,
    init_type_QStandardPaths_LocateOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStandardPaths_LocateOptions,
    assign_QStandardPaths_LocateOptions,
    array_QStandardPaths_LocateOptions,
    copy_QStandardPaths_LocateOptions,
    release_QStandardPaths_LocateOptions,
    0,
    convertTo_QStandardPaths_LocateOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 53978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 53982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 53985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstandardpaths.sip"
#include <qstandardpaths.h>
#line 53988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QStandardPaths_writableLocation, "writableLocation(QStandardPaths.StandardLocation) -> str");

extern "C" {static PyObject *meth_QStandardPaths_writableLocation(PyObject *, PyObject *);}
static PyObject *meth_QStandardPaths_writableLocation(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStandardPaths::StandardLocation a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QStandardPaths_StandardLocation, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QStandardPaths::writableLocation(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStandardPaths, sipName_writableLocation, doc_QStandardPaths_writableLocation);

    return NULL;
}


PyDoc_STRVAR(doc_QStandardPaths_standardLocations, "standardLocations(QStandardPaths.StandardLocation) -> List[str]");

extern "C" {static PyObject *meth_QStandardPaths_standardLocations(PyObject *, PyObject *);}
static PyObject *meth_QStandardPaths_standardLocations(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStandardPaths::StandardLocation a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QStandardPaths_StandardLocation, &a0))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QStandardPaths::standardLocations(a0));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStandardPaths, sipName_standardLocations, doc_QStandardPaths_standardLocations);

    return NULL;
}


PyDoc_STRVAR(doc_QStandardPaths_locate, "locate(QStandardPaths.StandardLocation, str, options: QStandardPaths.LocateOptions = QStandardPaths.LocateFile) -> str");

extern "C" {static PyObject *meth_QStandardPaths_locate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStandardPaths_locate(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStandardPaths::StandardLocation a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QStandardPaths::LocateOptions a2def = QStandardPaths::LocateFile;
         ::QStandardPaths::LocateOptions* a2 = &a2def;
        int a2State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "EJ1|J1", sipType_QStandardPaths_StandardLocation, &a0, sipType_QString,&a1, &a1State, sipType_QStandardPaths_LocateOptions, &a2, &a2State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QStandardPaths::locate(a0,*a1,*a2));
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QStandardPaths_LocateOptions,a2State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStandardPaths, sipName_locate, doc_QStandardPaths_locate);

    return NULL;
}


PyDoc_STRVAR(doc_QStandardPaths_locateAll, "locateAll(QStandardPaths.StandardLocation, str, options: QStandardPaths.LocateOptions = QStandardPaths.LocateFile) -> List[str]");

extern "C" {static PyObject *meth_QStandardPaths_locateAll(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStandardPaths_locateAll(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStandardPaths::StandardLocation a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QStandardPaths::LocateOptions a2def = QStandardPaths::LocateFile;
         ::QStandardPaths::LocateOptions* a2 = &a2def;
        int a2State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "EJ1|J1", sipType_QStandardPaths_StandardLocation, &a0, sipType_QString,&a1, &a1State, sipType_QStandardPaths_LocateOptions, &a2, &a2State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QStandardPaths::locateAll(a0,*a1,*a2));
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QStandardPaths_LocateOptions,a2State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStandardPaths, sipName_locateAll, doc_QStandardPaths_locateAll);

    return NULL;
}


PyDoc_STRVAR(doc_QStandardPaths_displayName, "displayName(QStandardPaths.StandardLocation) -> str");

extern "C" {static PyObject *meth_QStandardPaths_displayName(PyObject *, PyObject *);}
static PyObject *meth_QStandardPaths_displayName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStandardPaths::StandardLocation a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QStandardPaths_StandardLocation, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QStandardPaths::displayName(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStandardPaths, sipName_displayName, doc_QStandardPaths_displayName);

    return NULL;
}


PyDoc_STRVAR(doc_QStandardPaths_findExecutable, "findExecutable(str, paths: Iterable[str] = []) -> str");

extern "C" {static PyObject *meth_QStandardPaths_findExecutable(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStandardPaths_findExecutable(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QStringList& a1def = QStringList();
        const  ::QStringList* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_paths,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|J1", sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QStandardPaths::findExecutable(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a1),sipType_QStringList,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStandardPaths, sipName_findExecutable, doc_QStandardPaths_findExecutable);

    return NULL;
}


PyDoc_STRVAR(doc_QStandardPaths_enableTestMode, "enableTestMode(bool)");

extern "C" {static PyObject *meth_QStandardPaths_enableTestMode(PyObject *, PyObject *);}
static PyObject *meth_QStandardPaths_enableTestMode(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "b", &a0))
        {
             ::QStandardPaths::enableTestMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStandardPaths, sipName_enableTestMode, doc_QStandardPaths_enableTestMode);

    return NULL;
}


PyDoc_STRVAR(doc_QStandardPaths_setTestModeEnabled, "setTestModeEnabled(bool)");

extern "C" {static PyObject *meth_QStandardPaths_setTestModeEnabled(PyObject *, PyObject *);}
static PyObject *meth_QStandardPaths_setTestModeEnabled(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "b", &a0))
        {
             ::QStandardPaths::setTestModeEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStandardPaths, sipName_setTestModeEnabled, doc_QStandardPaths_setTestModeEnabled);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStandardPaths(void *, int);}
static void release_QStandardPaths(void *, int)
{
}


extern "C" {static void *init_type_QStandardPaths(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStandardPaths(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QStandardPaths *sipCpp = 0;

    {
        const  ::QStandardPaths* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStandardPaths, &a0))
        {
            sipCpp = new  ::QStandardPaths(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QStandardPaths[] = {
    {SIP_MLNAME_CAST(sipName_displayName), meth_QStandardPaths_displayName, METH_VARARGS, SIP_MLDOC_CAST(doc_QStandardPaths_displayName)},
    {SIP_MLNAME_CAST(sipName_enableTestMode), meth_QStandardPaths_enableTestMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QStandardPaths_enableTestMode)},
    {SIP_MLNAME_CAST(sipName_findExecutable), (PyCFunction)meth_QStandardPaths_findExecutable, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStandardPaths_findExecutable)},
    {SIP_MLNAME_CAST(sipName_locate), (PyCFunction)meth_QStandardPaths_locate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStandardPaths_locate)},
    {SIP_MLNAME_CAST(sipName_locateAll), (PyCFunction)meth_QStandardPaths_locateAll, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStandardPaths_locateAll)},
    {SIP_MLNAME_CAST(sipName_setTestModeEnabled), meth_QStandardPaths_setTestModeEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QStandardPaths_setTestModeEnabled)},
    {SIP_MLNAME_CAST(sipName_standardLocations), meth_QStandardPaths_standardLocations, METH_VARARGS, SIP_MLDOC_CAST(doc_QStandardPaths_standardLocations)},
    {SIP_MLNAME_CAST(sipName_writableLocation), meth_QStandardPaths_writableLocation, METH_VARARGS, SIP_MLDOC_CAST(doc_QStandardPaths_writableLocation)}
};

static sipEnumMemberDef enummembers_QStandardPaths[] = {
    {sipName_AppConfigLocation, static_cast<int>( ::QStandardPaths::AppConfigLocation), 229},
    {sipName_AppDataLocation, static_cast<int>( ::QStandardPaths::AppDataLocation), 229},
    {sipName_AppLocalDataLocation, static_cast<int>( ::QStandardPaths::AppLocalDataLocation), 229},
    {sipName_ApplicationsLocation, static_cast<int>( ::QStandardPaths::ApplicationsLocation), 229},
    {sipName_CacheLocation, static_cast<int>( ::QStandardPaths::CacheLocation), 229},
    {sipName_ConfigLocation, static_cast<int>( ::QStandardPaths::ConfigLocation), 229},
    {sipName_DataLocation, static_cast<int>( ::QStandardPaths::DataLocation), 229},
    {sipName_DesktopLocation, static_cast<int>( ::QStandardPaths::DesktopLocation), 229},
    {sipName_DocumentsLocation, static_cast<int>( ::QStandardPaths::DocumentsLocation), 229},
    {sipName_DownloadLocation, static_cast<int>( ::QStandardPaths::DownloadLocation), 229},
    {sipName_FontsLocation, static_cast<int>( ::QStandardPaths::FontsLocation), 229},
    {sipName_GenericCacheLocation, static_cast<int>( ::QStandardPaths::GenericCacheLocation), 229},
    {sipName_GenericConfigLocation, static_cast<int>( ::QStandardPaths::GenericConfigLocation), 229},
    {sipName_GenericDataLocation, static_cast<int>( ::QStandardPaths::GenericDataLocation), 229},
    {sipName_HomeLocation, static_cast<int>( ::QStandardPaths::HomeLocation), 229},
    {sipName_LocateDirectory, static_cast<int>( ::QStandardPaths::LocateDirectory), 227},
    {sipName_LocateFile, static_cast<int>( ::QStandardPaths::LocateFile), 227},
    {sipName_MoviesLocation, static_cast<int>( ::QStandardPaths::MoviesLocation), 229},
    {sipName_MusicLocation, static_cast<int>( ::QStandardPaths::MusicLocation), 229},
    {sipName_PicturesLocation, static_cast<int>( ::QStandardPaths::PicturesLocation), 229},
    {sipName_RuntimeLocation, static_cast<int>( ::QStandardPaths::RuntimeLocation), 229},
    {sipName_TempLocation, static_cast<int>( ::QStandardPaths::TempLocation), 229},
};

PyDoc_STRVAR(doc_QStandardPaths, "\1QStandardPaths(QStandardPaths)");


static pyqt5ClassPluginDef plugin_QStandardPaths = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QStandardPaths = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QStandardPaths,
        {0},
        &plugin_QStandardPaths
    },
    {
        sipNameNr_QStandardPaths,
        {0, 0, 1},
        8, methods_QStandardPaths,
        22, enummembers_QStandardPaths,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStandardPaths,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QStandardPaths,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_QStandardPaths,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsortfilterproxymodel.sip"
#include <qsortfilterproxymodel.h>
#line 54376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 54380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 54383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 54389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 54395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 54398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 54404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 54410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 54413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 54416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 54419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 54422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 54425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 54428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 54431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 54434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 54437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 54440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 54443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 54446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 54449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 54452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 54455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 54458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 54461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 54464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 54470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 54473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQSortFilterProxyModel : public  ::QSortFilterProxyModel
{
public:
    sipQSortFilterProxyModel( ::QObject*);
    virtual ~sipQSortFilterProxyModel();

    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;
    void sipProtect_encodeData(const  ::QModelIndexList&, ::QDataStream&) const;
    bool sipProtect_decodeData(int,int,const  ::QModelIndex&, ::QDataStream&);
    void sipProtect_beginInsertRows(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
     ::QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_changePersistentIndex(const  ::QModelIndex&,const  ::QModelIndex&);
    void sipProtect_changePersistentIndexList(const  ::QModelIndexList&,const  ::QModelIndexList&);
     ::QModelIndex sipProtect_createIndex(int,int,void*) const;
    bool sipProtect_beginMoveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_resetInternalData();
    bool sipProtectVirt_filterAcceptsRow(bool,int,const  ::QModelIndex&) const;
    bool sipProtectVirt_filterAcceptsColumn(bool,int,const  ::QModelIndex&) const;
    bool sipProtectVirt_lessThan(bool,const  ::QModelIndex&,const  ::QModelIndex&) const;
    void sipProtect_invalidateFilter();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool lessThan(const  ::QModelIndex&,const  ::QModelIndex&) const;
    bool filterAcceptsColumn(int,const  ::QModelIndex&) const;
    bool filterAcceptsRow(int,const  ::QModelIndex&) const;
    bool moveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool moveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool canDropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&) const;
    QHash<int, ::QByteArray> roleNames() const;
     ::Qt::DropActions supportedDragActions() const;
    void revert();
    bool submit();
     ::QSize span(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QModelIndex buddy(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    bool canFetchMore(const  ::QModelIndex&) const;
    void fetchMore(const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool insertRows(int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
     ::QStringList mimeTypes() const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant data(const  ::QModelIndex&,int) const;
    bool hasChildren(const  ::QModelIndex&) const;
    int columnCount(const  ::QModelIndex&) const;
    int rowCount(const  ::QModelIndex&) const;
     ::QModelIndex sibling(int,int,const  ::QModelIndex&) const;
     ::QModelIndex parent(const  ::QModelIndex&) const;
     ::QModelIndex index(int,int,const  ::QModelIndex&) 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&);
    void setSourceModel( ::QAbstractItemModel*);
     ::QModelIndex mapToSource(const  ::QModelIndex&) const;
     ::QModelIndex mapFromSource(const  ::QModelIndex&) const;
     ::QItemSelection mapSelectionToSource(const  ::QItemSelection&) const;
     ::QItemSelection mapSelectionFromSource(const  ::QItemSelection&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSortFilterProxyModel(const sipQSortFilterProxyModel &);
    sipQSortFilterProxyModel &operator = (const sipQSortFilterProxyModel &);

    char sipPyMethods[49];
};

sipQSortFilterProxyModel::sipQSortFilterProxyModel( ::QObject*a0):  ::QSortFilterProxyModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSortFilterProxyModel::~sipQSortFilterProxyModel()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSortFilterProxyModel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSortFilterProxyModel);

    return  ::QSortFilterProxyModel::metaObject();
}

int sipQSortFilterProxyModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSortFilterProxyModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QSortFilterProxyModel,_c,_id,_a);

    return _id;
}

void *sipQSortFilterProxyModel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSortFilterProxyModel, _clname, &sipCpp) ? sipCpp :  ::QSortFilterProxyModel::qt_metacast(_clname));
}

bool sipQSortFilterProxyModel::lessThan(const  ::QModelIndex& a0,const  ::QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_lessThan);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::lessThan(a0,a1);

    extern bool sipVH_QtCore_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    return sipVH_QtCore_60(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQSortFilterProxyModel::filterAcceptsColumn(int a0,const  ::QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_filterAcceptsColumn);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::filterAcceptsColumn(a0,a1);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QModelIndex&);

    return sipVH_QtCore_59(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQSortFilterProxyModel::filterAcceptsRow(int a0,const  ::QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_filterAcceptsRow);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::filterAcceptsRow(a0,a1);

    extern bool sipVH_QtCore_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const  ::QModelIndex&);

    return sipVH_QtCore_59(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQSortFilterProxyModel::moveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQSortFilterProxyModel::moveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQSortFilterProxyModel::canDropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QHash<int, ::QByteArray> sipQSortFilterProxyModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::roleNames();

    extern QHash<int, ::QByteArray> sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_39(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::Qt::DropActions sipQSortFilterProxyModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::supportedDragActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQSortFilterProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::QSortFilterProxyModel::revert();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSortFilterProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::submit();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::QSize sipQSortFilterProxyModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::span(a0);

    extern  ::QSize sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_38(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQSortFilterProxyModel::match(const  ::QModelIndex& a0,int a1,const  ::QVariant& a2,int a3, ::Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_QtCore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_QtCore_37(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QModelIndex sipQSortFilterProxyModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::buddy(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSortFilterProxyModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::QSortFilterProxyModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::Qt::ItemFlags sipQSortFilterProxyModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSortFilterProxyModel::canFetchMore(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::canFetchMore(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSortFilterProxyModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::QSortFilterProxyModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSortFilterProxyModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSortFilterProxyModel::removeRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSortFilterProxyModel::insertColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSortFilterProxyModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::Qt::DropActions sipQSortFilterProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSortFilterProxyModel::dropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QMimeData* sipQSortFilterProxyModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::mimeData(a0);

    extern  ::QMimeData* sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QStringList sipQSortFilterProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::mimeTypes();

    extern  ::QStringList sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_29(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSortFilterProxyModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

QMap<int, ::QVariant> sipQSortFilterProxyModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSortFilterProxyModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QVariant sipQSortFilterProxyModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSortFilterProxyModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QVariant sipQSortFilterProxyModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::data(a0,a1);

    extern  ::QVariant sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQSortFilterProxyModel::hasChildren(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::hasChildren(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQSortFilterProxyModel::columnCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::columnCount(a0);

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQSortFilterProxyModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::rowCount(a0);

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQSortFilterProxyModel::sibling(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::sibling(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndex sipQSortFilterProxyModel::parent(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::parent(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQSortFilterProxyModel::index(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::index(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSortFilterProxyModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSortFilterProxyModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQSortFilterProxyModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSortFilterProxyModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSortFilterProxyModel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSortFilterProxyModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSortFilterProxyModel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSortFilterProxyModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSortFilterProxyModel::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSortFilterProxyModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSortFilterProxyModel::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSortFilterProxyModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSortFilterProxyModel::setSourceModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
         ::QSortFilterProxyModel::setSourceModel(a0);
        return;
    }

    extern void sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_QtCore_42(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQSortFilterProxyModel::mapToSource(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_mapToSource);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::mapToSource(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQSortFilterProxyModel::mapFromSource(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_mapFromSource);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::mapFromSource(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QItemSelection sipQSortFilterProxyModel::mapSelectionToSource(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::mapSelectionToSource(a0);

    extern  ::QItemSelection sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QItemSelection sipQSortFilterProxyModel::mapSelectionFromSource(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return  ::QSortFilterProxyModel::mapSelectionFromSource(a0);

    extern  ::QItemSelection sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSortFilterProxyModel::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSortFilterProxyModel::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSortFilterProxyModel::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSortFilterProxyModel::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSortFilterProxyModel::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSortFilterProxyModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSortFilterProxyModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSortFilterProxyModel::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSortFilterProxyModel::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQSortFilterProxyModel::sipProtect_encodeData(const  ::QModelIndexList& a0, ::QDataStream& a1) const
{
     ::QAbstractItemModel::encodeData(a0,a1);
}

bool sipQSortFilterProxyModel::sipProtect_decodeData(int a0,int a1,const  ::QModelIndex& a2, ::QDataStream& a3)
{
    return  ::QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipQSortFilterProxyModel::sipProtect_beginInsertRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipQSortFilterProxyModel::sipProtect_endInsertRows()
{
     ::QAbstractItemModel::endInsertRows();
}

void sipQSortFilterProxyModel::sipProtect_beginRemoveRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipQSortFilterProxyModel::sipProtect_endRemoveRows()
{
     ::QAbstractItemModel::endRemoveRows();
}

void sipQSortFilterProxyModel::sipProtect_beginInsertColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipQSortFilterProxyModel::sipProtect_endInsertColumns()
{
     ::QAbstractItemModel::endInsertColumns();
}

void sipQSortFilterProxyModel::sipProtect_beginRemoveColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipQSortFilterProxyModel::sipProtect_endRemoveColumns()
{
     ::QAbstractItemModel::endRemoveColumns();
}

 ::QModelIndexList sipQSortFilterProxyModel::sipProtect_persistentIndexList() const
{
    return  ::QAbstractItemModel::persistentIndexList();
}

void sipQSortFilterProxyModel::sipProtect_changePersistentIndex(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
     ::QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipQSortFilterProxyModel::sipProtect_changePersistentIndexList(const  ::QModelIndexList& a0,const  ::QModelIndexList& a1)
{
     ::QAbstractItemModel::changePersistentIndexList(a0,a1);
}

 ::QModelIndex sipQSortFilterProxyModel::sipProtect_createIndex(int a0,int a1,void*a2) const
{
    return  ::QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipQSortFilterProxyModel::sipProtect_beginMoveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipQSortFilterProxyModel::sipProtect_endMoveRows()
{
     ::QAbstractItemModel::endMoveRows();
}

bool sipQSortFilterProxyModel::sipProtect_beginMoveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipQSortFilterProxyModel::sipProtect_endMoveColumns()
{
     ::QAbstractItemModel::endMoveColumns();
}

void sipQSortFilterProxyModel::sipProtect_beginResetModel()
{
     ::QAbstractItemModel::beginResetModel();
}

void sipQSortFilterProxyModel::sipProtect_endResetModel()
{
     ::QAbstractItemModel::endResetModel();
}

void sipQSortFilterProxyModel::sipProtect_resetInternalData()
{
     ::QAbstractProxyModel::resetInternalData();
}

bool sipQSortFilterProxyModel::sipProtectVirt_filterAcceptsRow(bool sipSelfWasArg,int a0,const  ::QModelIndex& a1) const
{
    return (sipSelfWasArg ?  ::QSortFilterProxyModel::filterAcceptsRow(a0,a1) : filterAcceptsRow(a0,a1));
}

bool sipQSortFilterProxyModel::sipProtectVirt_filterAcceptsColumn(bool sipSelfWasArg,int a0,const  ::QModelIndex& a1) const
{
    return (sipSelfWasArg ?  ::QSortFilterProxyModel::filterAcceptsColumn(a0,a1) : filterAcceptsColumn(a0,a1));
}

bool sipQSortFilterProxyModel::sipProtectVirt_lessThan(bool sipSelfWasArg,const  ::QModelIndex& a0,const  ::QModelIndex& a1) const
{
    return (sipSelfWasArg ?  ::QSortFilterProxyModel::lessThan(a0,a1) : lessThan(a0,a1));
}

void sipQSortFilterProxyModel::sipProtect_invalidateFilter()
{
     ::QSortFilterProxyModel::invalidateFilter();
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QSortFilterProxyModel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 55601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_sender, doc_QSortFilterProxyModel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QSortFilterProxyModel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 55661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QSortFilterProxyModel, sipName_receivers, doc_QSortFilterProxyModel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSortFilterProxyModel, &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_QSortFilterProxyModel, sipName_timerEvent, doc_QSortFilterProxyModel_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSortFilterProxyModel, &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_QSortFilterProxyModel, sipName_childEvent, doc_QSortFilterProxyModel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSortFilterProxyModel, &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_QSortFilterProxyModel, sipName_customEvent, doc_QSortFilterProxyModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &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_QSortFilterProxyModel, sipName_connectNotify, doc_QSortFilterProxyModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &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_QSortFilterProxyModel, sipName_disconnectNotify, doc_QSortFilterProxyModel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QSortFilterProxyModel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_senderSignalIndex, doc_QSortFilterProxyModel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &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_QSortFilterProxyModel, sipName_isSignalConnected, doc_QSortFilterProxyModel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_encodeData, "encodeData(self, object, QDataStream)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_encodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_encodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
         ::QDataStream* a1;
        const sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            sipCpp->sipProtect_encodeData(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_encodeData, doc_QSortFilterProxyModel_encodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_decodeData, "decodeData(self, int, int, QModelIndex, QDataStream) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_decodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_decodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
         ::QDataStream* a3;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ9J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_decodeData, doc_QSortFilterProxyModel_decodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_beginInsertRows, "beginInsertRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_beginInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_beginInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_beginInsertRows, doc_QSortFilterProxyModel_beginInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_endInsertRows, "endInsertRows(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_endInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_endInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_endInsertRows, doc_QSortFilterProxyModel_endInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_beginRemoveRows, "beginRemoveRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_beginRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_beginRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_beginRemoveRows, doc_QSortFilterProxyModel_beginRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_endRemoveRows, "endRemoveRows(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_endRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_endRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_endRemoveRows, doc_QSortFilterProxyModel_endRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_beginInsertColumns, "beginInsertColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_beginInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_beginInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_beginInsertColumns, doc_QSortFilterProxyModel_beginInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_endInsertColumns, "endInsertColumns(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_endInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_endInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_endInsertColumns, doc_QSortFilterProxyModel_endInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_beginRemoveColumns, "beginRemoveColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_beginRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_beginRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_beginRemoveColumns, doc_QSortFilterProxyModel_beginRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_endRemoveColumns, "endRemoveColumns(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_endRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_endRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_endRemoveColumns, doc_QSortFilterProxyModel_endRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_persistentIndexList, "persistentIndexList(self) -> object");

extern "C" {static PyObject *meth_QSortFilterProxyModel_persistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_persistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->sipProtect_persistentIndexList());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_persistentIndexList, doc_QSortFilterProxyModel_persistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_changePersistentIndex, "changePersistentIndex(self, QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_changePersistentIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_changePersistentIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_changePersistentIndex, doc_QSortFilterProxyModel_changePersistentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_changePersistentIndexList, "changePersistentIndexList(self, object, object)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_changePersistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_changePersistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::QModelIndexList* a1;
        int a1State = 0;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast< ::QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_changePersistentIndexList, doc_QSortFilterProxyModel_changePersistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_createIndex, "createIndex(self, int, int, object: object = 0) -> QModelIndex");

extern "C" {static PyObject *meth_QSortFilterProxyModel_createIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_createIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        const sipQSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|P0", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, &a1, &a2))
        {
             ::QModelIndex*sipRes = 0;

#line 194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        // The Qt API is broken (and won't be fixed as it would break binary
        // compatibility) regarding the internal id of a model index on different
        // architectures (32 vs 64 bits).  We choose to work around the breakage as it
        // is fairly subtle and continues to catch people out.  Instead of letting Qt
        // convert betweed an integer id and a pointer id (the internal format used by
        // Qt) we let Python do it.
        
        void *ptr;
        
        if (a2)
        {
            // Try and convert it to a Python long and fallback to the object's
            // address if it fails.
            ptr = PyLong_AsVoidPtr(a2);
        
            if (PyErr_Occurred())
            {
                PyErr_Clear();
                ptr = a2;
            }
        }
        else
        {
            ptr = 0;
        }
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = new QModelIndex(sipCpp->createIndex(a0, a1, ptr));
        #else
        sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr));
        #endif
#line 56321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_createIndex, doc_QSortFilterProxyModel_createIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_beginMoveRows, "beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_beginMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_beginMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_beginMoveRows, doc_QSortFilterProxyModel_beginMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_endMoveRows, "endMoveRows(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_endMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_endMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_endMoveRows, doc_QSortFilterProxyModel_endMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_beginMoveColumns, "beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_beginMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_beginMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_beginMoveColumns, doc_QSortFilterProxyModel_beginMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_endMoveColumns, "endMoveColumns(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_endMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_endMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_endMoveColumns, doc_QSortFilterProxyModel_endMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_beginResetModel, "beginResetModel(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_beginResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_beginResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_beginResetModel, doc_QSortFilterProxyModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_endResetModel, "endResetModel(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_endResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_endResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_endResetModel, doc_QSortFilterProxyModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_resetInternalData, "resetInternalData(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_resetInternalData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_resetInternalData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_resetInternalData();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_resetInternalData, doc_QSortFilterProxyModel_resetInternalData);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setSourceModel, "setSourceModel(self, QAbstractItemModel)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setSourceModel(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setSourceModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractItemModel* a0;
        PyObject *a0Keep;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::setSourceModel(a0) : sipCpp->setSourceModel(a0));

            sipKeepReference(sipSelf, -4, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_setSourceModel, doc_QSortFilterProxyModel_setSourceModel);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_mapToSource, "mapToSource(self, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QSortFilterProxyModel_mapToSource(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_mapToSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::mapToSource(*a0) : sipCpp->mapToSource(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_mapToSource, doc_QSortFilterProxyModel_mapToSource);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_mapFromSource, "mapFromSource(self, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QSortFilterProxyModel_mapFromSource(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_mapFromSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::mapFromSource(*a0) : sipCpp->mapFromSource(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_mapFromSource, doc_QSortFilterProxyModel_mapFromSource);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_mapSelectionToSource, "mapSelectionToSource(self, QItemSelection) -> QItemSelection");

extern "C" {static PyObject *meth_QSortFilterProxyModel_mapSelectionToSource(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_mapSelectionToSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QItemSelection* a0;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QItemSelection, &a0))
        {
             ::QItemSelection*sipRes;

            sipRes = new  ::QItemSelection((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::mapSelectionToSource(*a0) : sipCpp->mapSelectionToSource(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_mapSelectionToSource, doc_QSortFilterProxyModel_mapSelectionToSource);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_mapSelectionFromSource, "mapSelectionFromSource(self, QItemSelection) -> QItemSelection");

extern "C" {static PyObject *meth_QSortFilterProxyModel_mapSelectionFromSource(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_mapSelectionFromSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QItemSelection* a0;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QItemSelection, &a0))
        {
             ::QItemSelection*sipRes;

            sipRes = new  ::QItemSelection((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::mapSelectionFromSource(*a0) : sipCpp->mapSelectionFromSource(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_mapSelectionFromSource, doc_QSortFilterProxyModel_mapSelectionFromSource);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_filterRegExp, "filterRegExp(self) -> QRegExp");

extern "C" {static PyObject *meth_QSortFilterProxyModel_filterRegExp(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_filterRegExp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
             ::QRegExp*sipRes;

            sipRes = new  ::QRegExp(sipCpp->filterRegExp());

            return sipConvertFromNewType(sipRes,sipType_QRegExp,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_filterRegExp, doc_QSortFilterProxyModel_filterRegExp);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setFilterRegExp, "setFilterRegExp(self, QRegExp)\n"
    "setFilterRegExp(self, str)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setFilterRegExp(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setFilterRegExp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp* a0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QRegExp, &a0))
        {
            sipCpp->setFilterRegExp(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFilterRegExp(*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_QSortFilterProxyModel, sipName_setFilterRegExp, doc_QSortFilterProxyModel_setFilterRegExp);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_filterKeyColumn, "filterKeyColumn(self) -> int");

extern "C" {static PyObject *meth_QSortFilterProxyModel_filterKeyColumn(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_filterKeyColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->filterKeyColumn();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_filterKeyColumn, doc_QSortFilterProxyModel_filterKeyColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setFilterKeyColumn, "setFilterKeyColumn(self, int)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setFilterKeyColumn(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setFilterKeyColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0))
        {
            sipCpp->setFilterKeyColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_setFilterKeyColumn, doc_QSortFilterProxyModel_setFilterKeyColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_filterCaseSensitivity, "filterCaseSensitivity(self) -> Qt.CaseSensitivity");

extern "C" {static PyObject *meth_QSortFilterProxyModel_filterCaseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_filterCaseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
             ::Qt::CaseSensitivity sipRes;

            sipRes = sipCpp->filterCaseSensitivity();

            return sipConvertFromEnum(sipRes,sipType_Qt_CaseSensitivity);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_filterCaseSensitivity, doc_QSortFilterProxyModel_filterCaseSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setFilterCaseSensitivity, "setFilterCaseSensitivity(self, Qt.CaseSensitivity)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setFilterCaseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setFilterCaseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::CaseSensitivity a0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_Qt_CaseSensitivity, &a0))
        {
            sipCpp->setFilterCaseSensitivity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_setFilterCaseSensitivity, doc_QSortFilterProxyModel_setFilterCaseSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setFilterWildcard, "setFilterWildcard(self, str)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setFilterWildcard(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setFilterWildcard(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFilterWildcard(*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_QSortFilterProxyModel, sipName_setFilterWildcard, doc_QSortFilterProxyModel_setFilterWildcard);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setFilterFixedString, "setFilterFixedString(self, str)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setFilterFixedString(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setFilterFixedString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFilterFixedString(*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_QSortFilterProxyModel, sipName_setFilterFixedString, doc_QSortFilterProxyModel_setFilterFixedString);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_filterAcceptsRow, "filterAcceptsRow(self, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_filterAcceptsRow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_filterAcceptsRow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const  ::QModelIndex* a1;
        const sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_filterAcceptsRow(sipSelfWasArg,a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_filterAcceptsRow, doc_QSortFilterProxyModel_filterAcceptsRow);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_filterAcceptsColumn, "filterAcceptsColumn(self, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_filterAcceptsColumn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_filterAcceptsColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const  ::QModelIndex* a1;
        const sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_filterAcceptsColumn(sipSelfWasArg,a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_filterAcceptsColumn, doc_QSortFilterProxyModel_filterAcceptsColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_lessThan, "lessThan(self, QModelIndex, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_lessThan(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_lessThan(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        const sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_lessThan(sipSelfWasArg,*a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_lessThan, doc_QSortFilterProxyModel_lessThan);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_index, "index(self, int, int, parent: QModelIndex = QModelIndex()) -> QModelIndex");

extern "C" {static PyObject *meth_QSortFilterProxyModel_index(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_index(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
        const  ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_index, doc_QSortFilterProxyModel_index);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_parent, "parent(self, QModelIndex) -> QModelIndex\n"
    "parent(self) -> QObject");

extern "C" {static PyObject *meth_QSortFilterProxyModel_parent(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::parent(*a0) : sipCpp->parent(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->parent();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_parent, doc_QSortFilterProxyModel_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_rowCount, "rowCount(self, parent: QModelIndex = QModelIndex()) -> int");

extern "C" {static PyObject *meth_QSortFilterProxyModel_rowCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_rowCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::rowCount(*a0) : sipCpp->rowCount(*a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_rowCount, doc_QSortFilterProxyModel_rowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_columnCount, "columnCount(self, parent: QModelIndex = QModelIndex()) -> int");

extern "C" {static PyObject *meth_QSortFilterProxyModel_columnCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_columnCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::columnCount(*a0) : sipCpp->columnCount(*a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_columnCount, doc_QSortFilterProxyModel_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_hasChildren, "hasChildren(self, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_hasChildren(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_hasChildren(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_hasChildren, doc_QSortFilterProxyModel_hasChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_data, "data(self, QModelIndex, role: int = Qt.DisplayRole) -> Any");

extern "C" {static PyObject *meth_QSortFilterProxyModel_data(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_data(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1 = Qt::DisplayRole;
        const  ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::data(*a0,a1) : sipCpp->data(*a0,a1)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_data, doc_QSortFilterProxyModel_data);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setData, "setData(self, QModelIndex, Any, role: int = Qt.EditRole) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QVariant* a1;
        int a1State = 0;
        int a2 = Qt::EditRole;
         ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J1|i", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QVariant, &a1, &a1State, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::setData(*a0,*a1,a2) : sipCpp->setData(*a0,*a1,a2));
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_setData, doc_QSortFilterProxyModel_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_headerData, "headerData(self, int, Qt.Orientation, role: int = Qt.DisplayRole) -> Any");

extern "C" {static PyObject *meth_QSortFilterProxyModel_headerData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_headerData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        const  ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiE|i", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_headerData, doc_QSortFilterProxyModel_headerData);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setHeaderData, "setHeaderData(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setHeaderData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setHeaderData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::Orientation a1;
        const  ::QVariant* a2;
        int a2State = 0;
        int a3 = Qt::EditRole;
         ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiEJ1|i", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, sipType_QVariant, &a2, &a2State, &a3))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::setHeaderData(a0,a1,*a2,a3) : sipCpp->setHeaderData(a0,a1,*a2,a3));
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_setHeaderData, doc_QSortFilterProxyModel_setHeaderData);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_mimeData, "mimeData(self, object) -> QMimeData");

extern "C" {static PyObject *meth_QSortFilterProxyModel_mimeData(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State))
        {
             ::QMimeData*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::mimeData(*a0) : sipCpp->mimeData(*a0));
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_mimeData, doc_QSortFilterProxyModel_mimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_dropMimeData, "dropMimeData(self, QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMimeData* a0;
         ::Qt::DropAction a1;
        int a2;
        int a3;
        const  ::QModelIndex* a4;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_dropMimeData, doc_QSortFilterProxyModel_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_insertRows, "insertRows(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_insertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_insertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::insertRows(a0,a1,*a2) : sipCpp->insertRows(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_insertRows, doc_QSortFilterProxyModel_insertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_insertColumns, "insertColumns(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_insertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_insertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::insertColumns(a0,a1,*a2) : sipCpp->insertColumns(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_insertColumns, doc_QSortFilterProxyModel_insertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_removeRows, "removeRows(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_removeRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_removeRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::removeRows(a0,a1,*a2) : sipCpp->removeRows(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_removeRows, doc_QSortFilterProxyModel_removeRows);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_removeColumns, "removeColumns(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_removeColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_removeColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::removeColumns(a0,a1,*a2) : sipCpp->removeColumns(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_removeColumns, doc_QSortFilterProxyModel_removeColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_fetchMore, "fetchMore(self, QModelIndex)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_fetchMore(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_fetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::fetchMore(*a0) : sipCpp->fetchMore(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_fetchMore, doc_QSortFilterProxyModel_fetchMore);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_canFetchMore, "canFetchMore(self, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_canFetchMore(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_canFetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::canFetchMore(*a0) : sipCpp->canFetchMore(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_canFetchMore, doc_QSortFilterProxyModel_canFetchMore);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_flags, "flags(self, QModelIndex) -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QSortFilterProxyModel_flags(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::flags(*a0) : sipCpp->flags(*a0)));

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_flags, doc_QSortFilterProxyModel_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_buddy, "buddy(self, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QSortFilterProxyModel_buddy(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_buddy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::buddy(*a0) : sipCpp->buddy(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_buddy, doc_QSortFilterProxyModel_buddy);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_span, "span(self, QModelIndex) -> QSize");

extern "C" {static PyObject *meth_QSortFilterProxyModel_span(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_span(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::span(*a0) : sipCpp->span(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_span, doc_QSortFilterProxyModel_span);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_match, "match(self, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) -> object");

extern "C" {static PyObject *meth_QSortFilterProxyModel_match(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_match(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1;
        const  ::QVariant* a2;
        int a2State = 0;
        int a3 = 1;
         ::Qt::MatchFlags a4def = Qt::MatchStartsWith|Qt::MatchWrap;
         ::Qt::MatchFlags* a4 = &a4def;
        int a4State = 0;
        const  ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_hits,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9iJ1|iJ1", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, sipType_QVariant, &a2, &a2State, &a3, sipType_Qt_MatchFlags, &a4, &a4State))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::match(*a0,a1,*a2,a3,*a4) : sipCpp->match(*a0,a1,*a2,a3,*a4)));
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(a4,sipType_Qt_MatchFlags,a4State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_match, doc_QSortFilterProxyModel_match);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_sort, "sort(self, int, order: Qt.SortOrder = Qt.AscendingOrder)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_sort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_sort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::SortOrder a1 = Qt::AscendingOrder;
         ::QSortFilterProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            (sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::sort(a0,a1) : sipCpp->sort(a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_sort, doc_QSortFilterProxyModel_sort);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_sortCaseSensitivity, "sortCaseSensitivity(self) -> Qt.CaseSensitivity");

extern "C" {static PyObject *meth_QSortFilterProxyModel_sortCaseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_sortCaseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
             ::Qt::CaseSensitivity sipRes;

            sipRes = sipCpp->sortCaseSensitivity();

            return sipConvertFromEnum(sipRes,sipType_Qt_CaseSensitivity);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_sortCaseSensitivity, doc_QSortFilterProxyModel_sortCaseSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setSortCaseSensitivity, "setSortCaseSensitivity(self, Qt.CaseSensitivity)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setSortCaseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setSortCaseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::CaseSensitivity a0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, sipType_Qt_CaseSensitivity, &a0))
        {
            sipCpp->setSortCaseSensitivity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_setSortCaseSensitivity, doc_QSortFilterProxyModel_setSortCaseSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_dynamicSortFilter, "dynamicSortFilter(self) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_dynamicSortFilter(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_dynamicSortFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->dynamicSortFilter();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_dynamicSortFilter, doc_QSortFilterProxyModel_dynamicSortFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setDynamicSortFilter, "setDynamicSortFilter(self, bool)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setDynamicSortFilter(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setDynamicSortFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0))
        {
            sipCpp->setDynamicSortFilter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_setDynamicSortFilter, doc_QSortFilterProxyModel_setDynamicSortFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_sortRole, "sortRole(self) -> int");

extern "C" {static PyObject *meth_QSortFilterProxyModel_sortRole(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_sortRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sortRole();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_sortRole, doc_QSortFilterProxyModel_sortRole);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setSortRole, "setSortRole(self, int)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setSortRole(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setSortRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0))
        {
            sipCpp->setSortRole(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_setSortRole, doc_QSortFilterProxyModel_setSortRole);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_sortColumn, "sortColumn(self) -> int");

extern "C" {static PyObject *meth_QSortFilterProxyModel_sortColumn(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_sortColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sortColumn();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_sortColumn, doc_QSortFilterProxyModel_sortColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_sortOrder, "sortOrder(self) -> Qt.SortOrder");

extern "C" {static PyObject *meth_QSortFilterProxyModel_sortOrder(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_sortOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
             ::Qt::SortOrder sipRes;

            sipRes = sipCpp->sortOrder();

            return sipConvertFromEnum(sipRes,sipType_Qt_SortOrder);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_sortOrder, doc_QSortFilterProxyModel_sortOrder);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_filterRole, "filterRole(self) -> int");

extern "C" {static PyObject *meth_QSortFilterProxyModel_filterRole(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_filterRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->filterRole();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_filterRole, doc_QSortFilterProxyModel_filterRole);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setFilterRole, "setFilterRole(self, int)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setFilterRole(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setFilterRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0))
        {
            sipCpp->setFilterRole(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_setFilterRole, doc_QSortFilterProxyModel_setFilterRole);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_mimeTypes, "mimeTypes(self) -> List[str]");

extern "C" {static PyObject *meth_QSortFilterProxyModel_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_mimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::mimeTypes() : sipCpp->mimeTypes()));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_mimeTypes, doc_QSortFilterProxyModel_mimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_supportedDropActions, "supportedDropActions(self) -> Qt.DropActions");

extern "C" {static PyObject *meth_QSortFilterProxyModel_supportedDropActions(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::supportedDropActions() : sipCpp->supportedDropActions()));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_supportedDropActions, doc_QSortFilterProxyModel_supportedDropActions);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_isSortLocaleAware, "isSortLocaleAware(self) -> bool");

extern "C" {static PyObject *meth_QSortFilterProxyModel_isSortLocaleAware(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_isSortLocaleAware(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSortLocaleAware();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_isSortLocaleAware, doc_QSortFilterProxyModel_isSortLocaleAware);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_setSortLocaleAware, "setSortLocaleAware(self, bool)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_setSortLocaleAware(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_setSortLocaleAware(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0))
        {
            sipCpp->setSortLocaleAware(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_setSortLocaleAware, doc_QSortFilterProxyModel_setSortLocaleAware);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_sibling, "sibling(self, int, int, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QSortFilterProxyModel_sibling(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_sibling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
        const  ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QSortFilterProxyModel::sibling(a0,a1,*a2) : sipCpp->sibling(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_sibling, doc_QSortFilterProxyModel_sibling);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_invalidate, "invalidate(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSortFilterProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            sipCpp->invalidate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_invalidate, doc_QSortFilterProxyModel_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QSortFilterProxyModel_invalidateFilter, "invalidateFilter(self)");

extern "C" {static PyObject *meth_QSortFilterProxyModel_invalidateFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSortFilterProxyModel_invalidateFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSortFilterProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSortFilterProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_invalidateFilter();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSortFilterProxyModel, sipName_invalidateFilter, doc_QSortFilterProxyModel_invalidateFilter);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSortFilterProxyModel(void *, const sipTypeDef *);}
static void *cast_QSortFilterProxyModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSortFilterProxyModel *sipCpp = reinterpret_cast< ::QSortFilterProxyModel *>(sipCppV);

    if (targetType == sipType_QAbstractProxyModel)
        return static_cast< ::QAbstractProxyModel *>(sipCpp);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSortFilterProxyModel(void *, int);}
static void release_QSortFilterProxyModel(void *sipCppV, int)
{
     ::QSortFilterProxyModel *sipCpp = reinterpret_cast< ::QSortFilterProxyModel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSortFilterProxyModel(sipSimpleWrapper *);}
static void dealloc_QSortFilterProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSortFilterProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSortFilterProxyModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSortFilterProxyModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSortFilterProxyModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSortFilterProxyModel *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 sipQSortFilterProxyModel(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSortFilterProxyModel[] = {{10, 255, 1}};


static PyMethodDef methods_QSortFilterProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), (PyCFunction)meth_QSortFilterProxyModel_beginInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), (PyCFunction)meth_QSortFilterProxyModel_beginInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), (PyCFunction)meth_QSortFilterProxyModel_beginMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), (PyCFunction)meth_QSortFilterProxyModel_beginMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), (PyCFunction)meth_QSortFilterProxyModel_beginRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), (PyCFunction)meth_QSortFilterProxyModel_beginRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginResetModel), (PyCFunction)meth_QSortFilterProxyModel_beginResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_buddy), meth_QSortFilterProxyModel_buddy, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_buddy)},
    {SIP_MLNAME_CAST(sipName_canFetchMore), meth_QSortFilterProxyModel_canFetchMore, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_canFetchMore)},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), (PyCFunction)meth_QSortFilterProxyModel_changePersistentIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), (PyCFunction)meth_QSortFilterProxyModel_changePersistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSortFilterProxyModel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), (PyCFunction)meth_QSortFilterProxyModel_columnCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_columnCount)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSortFilterProxyModel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), (PyCFunction)meth_QSortFilterProxyModel_createIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSortFilterProxyModel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), (PyCFunction)meth_QSortFilterProxyModel_data, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_data)},
    {SIP_MLNAME_CAST(sipName_decodeData), (PyCFunction)meth_QSortFilterProxyModel_decodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSortFilterProxyModel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_QSortFilterProxyModel_dropMimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_dynamicSortFilter), meth_QSortFilterProxyModel_dynamicSortFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_dynamicSortFilter)},
    {SIP_MLNAME_CAST(sipName_encodeData), (PyCFunction)meth_QSortFilterProxyModel_encodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), (PyCFunction)meth_QSortFilterProxyModel_endInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), (PyCFunction)meth_QSortFilterProxyModel_endInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), (PyCFunction)meth_QSortFilterProxyModel_endMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveRows), (PyCFunction)meth_QSortFilterProxyModel_endMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), (PyCFunction)meth_QSortFilterProxyModel_endRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), (PyCFunction)meth_QSortFilterProxyModel_endRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endResetModel), (PyCFunction)meth_QSortFilterProxyModel_endResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fetchMore), meth_QSortFilterProxyModel_fetchMore, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_fetchMore)},
    {SIP_MLNAME_CAST(sipName_filterAcceptsColumn), (PyCFunction)meth_QSortFilterProxyModel_filterAcceptsColumn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_filterAcceptsColumn)},
    {SIP_MLNAME_CAST(sipName_filterAcceptsRow), (PyCFunction)meth_QSortFilterProxyModel_filterAcceptsRow, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_filterAcceptsRow)},
    {SIP_MLNAME_CAST(sipName_filterCaseSensitivity), meth_QSortFilterProxyModel_filterCaseSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_filterCaseSensitivity)},
    {SIP_MLNAME_CAST(sipName_filterKeyColumn), meth_QSortFilterProxyModel_filterKeyColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_filterKeyColumn)},
    {SIP_MLNAME_CAST(sipName_filterRegExp), meth_QSortFilterProxyModel_filterRegExp, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_filterRegExp)},
    {SIP_MLNAME_CAST(sipName_filterRole), meth_QSortFilterProxyModel_filterRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_filterRole)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QSortFilterProxyModel_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_flags)},
    {SIP_MLNAME_CAST(sipName_hasChildren), (PyCFunction)meth_QSortFilterProxyModel_hasChildren, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_hasChildren)},
    {SIP_MLNAME_CAST(sipName_headerData), (PyCFunction)meth_QSortFilterProxyModel_headerData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_headerData)},
    {SIP_MLNAME_CAST(sipName_index), (PyCFunction)meth_QSortFilterProxyModel_index, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_index)},
    {SIP_MLNAME_CAST(sipName_insertColumns), (PyCFunction)meth_QSortFilterProxyModel_insertColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_insertColumns)},
    {SIP_MLNAME_CAST(sipName_insertRows), (PyCFunction)meth_QSortFilterProxyModel_insertRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_insertRows)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QSortFilterProxyModel_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_invalidate)},
    {SIP_MLNAME_CAST(sipName_invalidateFilter), (PyCFunction)meth_QSortFilterProxyModel_invalidateFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_invalidateFilter)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSortFilterProxyModel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortLocaleAware), meth_QSortFilterProxyModel_isSortLocaleAware, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_isSortLocaleAware)},
    {SIP_MLNAME_CAST(sipName_lessThan), (PyCFunction)meth_QSortFilterProxyModel_lessThan, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_lessThan)},
    {SIP_MLNAME_CAST(sipName_mapFromSource), meth_QSortFilterProxyModel_mapFromSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_mapFromSource)},
    {SIP_MLNAME_CAST(sipName_mapSelectionFromSource), meth_QSortFilterProxyModel_mapSelectionFromSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_mapSelectionFromSource)},
    {SIP_MLNAME_CAST(sipName_mapSelectionToSource), meth_QSortFilterProxyModel_mapSelectionToSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_mapSelectionToSource)},
    {SIP_MLNAME_CAST(sipName_mapToSource), meth_QSortFilterProxyModel_mapToSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_mapToSource)},
    {SIP_MLNAME_CAST(sipName_match), (PyCFunction)meth_QSortFilterProxyModel_match, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_match)},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_QSortFilterProxyModel_mimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_mimeData)},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_QSortFilterProxyModel_mimeTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_mimeTypes)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QSortFilterProxyModel_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_parent)},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), (PyCFunction)meth_QSortFilterProxyModel_persistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSortFilterProxyModel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeColumns), (PyCFunction)meth_QSortFilterProxyModel_removeColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_removeColumns)},
    {SIP_MLNAME_CAST(sipName_removeRows), (PyCFunction)meth_QSortFilterProxyModel_removeRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_removeRows)},
    {SIP_MLNAME_CAST(sipName_resetInternalData), (PyCFunction)meth_QSortFilterProxyModel_resetInternalData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), (PyCFunction)meth_QSortFilterProxyModel_rowCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_rowCount)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSortFilterProxyModel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSortFilterProxyModel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), (PyCFunction)meth_QSortFilterProxyModel_setData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setData)},
    {SIP_MLNAME_CAST(sipName_setDynamicSortFilter), meth_QSortFilterProxyModel_setDynamicSortFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setDynamicSortFilter)},
    {SIP_MLNAME_CAST(sipName_setFilterCaseSensitivity), meth_QSortFilterProxyModel_setFilterCaseSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setFilterCaseSensitivity)},
    {SIP_MLNAME_CAST(sipName_setFilterFixedString), meth_QSortFilterProxyModel_setFilterFixedString, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setFilterFixedString)},
    {SIP_MLNAME_CAST(sipName_setFilterKeyColumn), meth_QSortFilterProxyModel_setFilterKeyColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setFilterKeyColumn)},
    {SIP_MLNAME_CAST(sipName_setFilterRegExp), meth_QSortFilterProxyModel_setFilterRegExp, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setFilterRegExp)},
    {SIP_MLNAME_CAST(sipName_setFilterRole), meth_QSortFilterProxyModel_setFilterRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setFilterRole)},
    {SIP_MLNAME_CAST(sipName_setFilterWildcard), meth_QSortFilterProxyModel_setFilterWildcard, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setFilterWildcard)},
    {SIP_MLNAME_CAST(sipName_setHeaderData), (PyCFunction)meth_QSortFilterProxyModel_setHeaderData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setHeaderData)},
    {SIP_MLNAME_CAST(sipName_setSortCaseSensitivity), meth_QSortFilterProxyModel_setSortCaseSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setSortCaseSensitivity)},
    {SIP_MLNAME_CAST(sipName_setSortLocaleAware), meth_QSortFilterProxyModel_setSortLocaleAware, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setSortLocaleAware)},
    {SIP_MLNAME_CAST(sipName_setSortRole), meth_QSortFilterProxyModel_setSortRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setSortRole)},
    {SIP_MLNAME_CAST(sipName_setSourceModel), meth_QSortFilterProxyModel_setSourceModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_setSourceModel)},
    {SIP_MLNAME_CAST(sipName_sibling), meth_QSortFilterProxyModel_sibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_sibling)},
    {SIP_MLNAME_CAST(sipName_sort), (PyCFunction)meth_QSortFilterProxyModel_sort, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_sort)},
    {SIP_MLNAME_CAST(sipName_sortCaseSensitivity), meth_QSortFilterProxyModel_sortCaseSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_sortCaseSensitivity)},
    {SIP_MLNAME_CAST(sipName_sortColumn), meth_QSortFilterProxyModel_sortColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_sortColumn)},
    {SIP_MLNAME_CAST(sipName_sortOrder), meth_QSortFilterProxyModel_sortOrder, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_sortOrder)},
    {SIP_MLNAME_CAST(sipName_sortRole), meth_QSortFilterProxyModel_sortRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_sortRole)},
    {SIP_MLNAME_CAST(sipName_span), meth_QSortFilterProxyModel_span, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_span)},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), meth_QSortFilterProxyModel_supportedDropActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QSortFilterProxyModel_supportedDropActions)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSortFilterProxyModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QSortFilterProxyModel, "\1QSortFilterProxyModel(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QSortFilterProxyModel = {
    & ::QSortFilterProxyModel::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSortFilterProxyModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSortFilterProxyModel,
        {0},
        &plugin_QSortFilterProxyModel
    },
    {
        sipNameNr_QSortFilterProxyModel,
        {0, 0, 1},
        85, methods_QSortFilterProxyModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSortFilterProxyModel,
    -1,
    -1,
    supers_QSortFilterProxyModel,
    0,
    init_type_QSortFilterProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSortFilterProxyModel,
    0,
    0,
    0,
    release_QSortFilterProxyModel,
    cast_QSortFilterProxyModel,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsocketnotifier.sip"
#include <qsocketnotifier.h>
#line 58533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 58537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 58540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 58546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 58555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 58558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 58561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 58564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 58567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 58570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 58573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 58576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 58579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 58582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 58585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQSocketNotifier : public  ::QSocketNotifier
{
public:
    sipQSocketNotifier( ::qintptr, ::QSocketNotifier::Type, ::QObject*);
    virtual ~sipQSocketNotifier();

    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;
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    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:
    sipQSocketNotifier(const sipQSocketNotifier &);
    sipQSocketNotifier &operator = (const sipQSocketNotifier &);

    char sipPyMethods[7];
};

sipQSocketNotifier::sipQSocketNotifier( ::qintptr a0, ::QSocketNotifier::Type a1, ::QObject*a2):  ::QSocketNotifier(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSocketNotifier::~sipQSocketNotifier()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSocketNotifier::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSocketNotifier);

    return  ::QSocketNotifier::metaObject();
}

int sipQSocketNotifier::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSocketNotifier::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QSocketNotifier,_c,_id,_a);

    return _id;
}

void *sipQSocketNotifier::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSocketNotifier, _clname, &sipCpp) ? sipCpp :  ::QSocketNotifier::qt_metacast(_clname));
}

bool sipQSocketNotifier::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSocketNotifier::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSocketNotifier::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSocketNotifier::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQSocketNotifier::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSocketNotifier::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSocketNotifier::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSocketNotifier::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSocketNotifier::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSocketNotifier::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSocketNotifier::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSocketNotifier::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSocketNotifier::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSocketNotifier::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSocketNotifier::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSocketNotifier::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSocketNotifier::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSocketNotifier::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSocketNotifier::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSocketNotifier::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSocketNotifier::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSocketNotifier::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSocketNotifier::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQSocketNotifier::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QSocketNotifier::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QSocketNotifier_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QSocketNotifier_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSocketNotifier, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 58885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSocketNotifier, sipName_sender, doc_QSocketNotifier_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QSocketNotifier_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSocketNotifier, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 58945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QSocketNotifier, sipName_receivers, doc_QSocketNotifier_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSocketNotifier_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSocketNotifier, &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_QSocketNotifier, sipName_timerEvent, doc_QSocketNotifier_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSocketNotifier_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSocketNotifier, &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_QSocketNotifier, sipName_childEvent, doc_QSocketNotifier_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSocketNotifier_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSocketNotifier, &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_QSocketNotifier, sipName_customEvent, doc_QSocketNotifier_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSocketNotifier_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSocketNotifier, &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_QSocketNotifier, sipName_connectNotify, doc_QSocketNotifier_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSocketNotifier_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSocketNotifier, &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_QSocketNotifier, sipName_disconnectNotify, doc_QSocketNotifier_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QSocketNotifier_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSocketNotifier, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSocketNotifier, sipName_senderSignalIndex, doc_QSocketNotifier_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSocketNotifier_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSocketNotifier, &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_QSocketNotifier, sipName_isSignalConnected, doc_QSocketNotifier_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_socket, "socket(self) -> sip.voidptr");

extern "C" {static PyObject *meth_QSocketNotifier_socket(PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_socket(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSocketNotifier *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSocketNotifier, &sipCpp))
        {
             ::qintptr*sipRes;

            sipRes = new  ::qintptr(sipCpp->socket());

            return sipConvertFromNewType(sipRes,sipType_qintptr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSocketNotifier, sipName_socket, doc_QSocketNotifier_socket);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_type, "type(self) -> QSocketNotifier.Type");

extern "C" {static PyObject *meth_QSocketNotifier_type(PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSocketNotifier *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSocketNotifier, &sipCpp))
        {
             ::QSocketNotifier::Type sipRes;

            sipRes = sipCpp->type();

            return sipConvertFromEnum(sipRes,sipType_QSocketNotifier_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSocketNotifier, sipName_type, doc_QSocketNotifier_type);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_isEnabled, "isEnabled(self) -> bool");

extern "C" {static PyObject *meth_QSocketNotifier_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSocketNotifier *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSocketNotifier, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSocketNotifier, sipName_isEnabled, doc_QSocketNotifier_isEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_setEnabled, "setEnabled(self, bool)");

extern "C" {static PyObject *meth_QSocketNotifier_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QSocketNotifier *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSocketNotifier, &sipCpp, &a0))
        {
            sipCpp->setEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSocketNotifier, sipName_setEnabled, doc_QSocketNotifier_setEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QSocketNotifier_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QSocketNotifier_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSocketNotifier_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSocketNotifier *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSocketNotifier, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSocketNotifier, sipName_event, doc_QSocketNotifier_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSocketNotifier(void *, const sipTypeDef *);}
static void *cast_QSocketNotifier(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSocketNotifier *sipCpp = reinterpret_cast< ::QSocketNotifier *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSocketNotifier(void *, int);}
static void release_QSocketNotifier(void *sipCppV, int)
{
     ::QSocketNotifier *sipCpp = reinterpret_cast< ::QSocketNotifier *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSocketNotifier(sipSimpleWrapper *);}
static void dealloc_QSocketNotifier(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSocketNotifier *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSocketNotifier(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSocketNotifier(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSocketNotifier(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSocketNotifier *sipCpp = 0;

    {
         ::qintptr* a0;
        int a0State = 0;
         ::QSocketNotifier::Type a1;
         ::QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1E|JH", sipType_qintptr,&a0, &a0State, sipType_QSocketNotifier_Type, &a1, sipType_QObject, &a2, sipOwner))
        {
            sipCpp = new sipQSocketNotifier(*a0,a1,a2);
            sipReleaseType(a0,sipType_qintptr,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSocketNotifier[] = {{169, 255, 1}};


static PyMethodDef methods_QSocketNotifier[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSocketNotifier_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSocketNotifier_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSocketNotifier_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSocketNotifier_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QSocketNotifier_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSocketNotifier_event)},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_QSocketNotifier_isEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QSocketNotifier_isEnabled)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSocketNotifier_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSocketNotifier_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSocketNotifier_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSocketNotifier_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_QSocketNotifier_setEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QSocketNotifier_setEnabled)},
    {SIP_MLNAME_CAST(sipName_socket), meth_QSocketNotifier_socket, METH_VARARGS, SIP_MLDOC_CAST(doc_QSocketNotifier_socket)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSocketNotifier_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_QSocketNotifier_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QSocketNotifier_type)}
};

static sipEnumMemberDef enummembers_QSocketNotifier[] = {
    {sipName_Exception, static_cast<int>( ::QSocketNotifier::Exception), 224},
    {sipName_Read, static_cast<int>( ::QSocketNotifier::Read), 224},
    {sipName_Write, static_cast<int>( ::QSocketNotifier::Write), 224},
};

PyDoc_STRVAR(doc_QSocketNotifier, "\1QSocketNotifier(sip.voidptr, QSocketNotifier.Type, parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSocketNotifier[] = {
    {"activated(int)", "\1activated(self, int)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QSocketNotifier = {
    & ::QSocketNotifier::staticMetaObject,
    0,
    signals_QSocketNotifier,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSocketNotifier = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSocketNotifier,
        {0},
        &plugin_QSocketNotifier
    },
    {
        sipNameNr_QSocketNotifier,
        {0, 0, 1},
        14, methods_QSocketNotifier,
        3, enummembers_QSocketNotifier,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSocketNotifier,
    -1,
    -1,
    supers_QSocketNotifier,
    0,
    init_type_QSocketNotifier,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSocketNotifier,
    0,
    0,
    0,
    release_QSocketNotifier,
    cast_QSocketNotifier,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 97 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 59478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 59482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 59485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QSizeF_transpose, "transpose(self)");

extern "C" {static PyObject *meth_QSizeF_transpose(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_transpose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizeF, &sipCpp))
        {
            sipCpp->transpose();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_transpose, doc_QSizeF_transpose);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_scale, "scale(self, QSizeF, Qt.AspectRatioMode)\n"
    "scale(self, float, float, Qt.AspectRatioMode)");

extern "C" {static PyObject *meth_QSizeF_scale(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_scale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;
         ::Qt::AspectRatioMode a1;
         ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9E", &sipSelf, sipType_QSizeF, &sipCpp, sipType_QSizeF, &a0, sipType_Qt_AspectRatioMode, &a1))
        {
            sipCpp->scale(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::Qt::AspectRatioMode a2;
         ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BddE", &sipSelf, sipType_QSizeF, &sipCpp, &a0, &a1, sipType_Qt_AspectRatioMode, &a2))
        {
            sipCpp->scale(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_scale, doc_QSizeF_scale);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QSizeF_isNull(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizeF, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_isNull, doc_QSizeF_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QSizeF_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizeF, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_isEmpty, doc_QSizeF_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QSizeF_isValid(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizeF, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_isValid, doc_QSizeF_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_width, "width(self) -> float");

extern "C" {static PyObject *meth_QSizeF_width(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizeF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->width();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_width, doc_QSizeF_width);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_height, "height(self) -> float");

extern "C" {static PyObject *meth_QSizeF_height(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_height(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizeF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->height();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_height, doc_QSizeF_height);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_setWidth, "setWidth(self, float)");

extern "C" {static PyObject *meth_QSizeF_setWidth(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_setWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QSizeF, &sipCpp, &a0))
        {
            sipCpp->setWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_setWidth, doc_QSizeF_setWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_setHeight, "setHeight(self, float)");

extern "C" {static PyObject *meth_QSizeF_setHeight(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_setHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QSizeF, &sipCpp, &a0))
        {
            sipCpp->setHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_setHeight, doc_QSizeF_setHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_expandedTo, "expandedTo(self, QSizeF) -> QSizeF");

extern "C" {static PyObject *meth_QSizeF_expandedTo(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_expandedTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSizeF, &sipCpp, sipType_QSizeF, &a0))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF(sipCpp->expandedTo(*a0));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_expandedTo, doc_QSizeF_expandedTo);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_boundedTo, "boundedTo(self, QSizeF) -> QSizeF");

extern "C" {static PyObject *meth_QSizeF_boundedTo(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_boundedTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSizeF, &sipCpp, sipType_QSizeF, &a0))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF(sipCpp->boundedTo(*a0));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_boundedTo, doc_QSizeF_boundedTo);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_toSize, "toSize(self) -> QSize");

extern "C" {static PyObject *meth_QSizeF_toSize(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_toSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizeF, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->toSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_toSize, doc_QSizeF_toSize);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_scaled, "scaled(self, QSizeF, Qt.AspectRatioMode) -> QSizeF\n"
    "scaled(self, float, float, Qt.AspectRatioMode) -> QSizeF");

extern "C" {static PyObject *meth_QSizeF_scaled(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_scaled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;
         ::Qt::AspectRatioMode a1;
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9E", &sipSelf, sipType_QSizeF, &sipCpp, sipType_QSizeF, &a0, sipType_Qt_AspectRatioMode, &a1))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF(sipCpp->scaled(*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::Qt::AspectRatioMode a2;
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BddE", &sipSelf, sipType_QSizeF, &sipCpp, &a0, &a1, sipType_Qt_AspectRatioMode, &a2))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF(sipCpp->scaled(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_scaled, doc_QSizeF_scaled);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeF_transposed, "transposed(self) -> QSizeF");

extern "C" {static PyObject *meth_QSizeF_transposed(PyObject *, PyObject *);}
static PyObject *meth_QSizeF_transposed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizeF, &sipCpp))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF(sipCpp->transposed());

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeF, sipName_transposed, doc_QSizeF_transposed);

    return NULL;
}


extern "C" {static PyObject *slot_QSizeF___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSizeF___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSizeF *sipCpp = reinterpret_cast< ::QSizeF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizeF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QSizeF, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QSizeF, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSizeF___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSizeF___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSizeF *sipCpp = reinterpret_cast< ::QSizeF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizeF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QSizeF, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QSizeF, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSizeF___add__(PyObject *,PyObject *);}
static PyObject *slot_QSizeF___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;
        const  ::QSizeF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QSizeF, &a0, sipType_QSizeF, &a1))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF((*a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSizeF___sub__(PyObject *,PyObject *);}
static PyObject *slot_QSizeF___sub__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;
        const  ::QSizeF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QSizeF, &a0, sipType_QSizeF, &a1))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF((*a0 - *a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, sub_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSizeF___mul__(PyObject *,PyObject *);}
static PyObject *slot_QSizeF___mul__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QSizeF, &a0, &a1))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF((*a0 * a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    {
         ::qreal a0;
        const  ::QSizeF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &a0, sipType_QSizeF, &a1))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF((a0 * *a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, mul_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSizeF___div__(PyObject *,PyObject *);}
static PyObject *slot_QSizeF___div__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QSizeF, &a0, &a1))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF((*a0 / a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, div_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSizeF___idiv__(PyObject *,PyObject *);}
static PyObject *slot_QSizeF___idiv__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSizeF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSizeF *sipCpp = reinterpret_cast< ::QSizeF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizeF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QSizeF::operator/=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSizeF___imul__(PyObject *,PyObject *);}
static PyObject *slot_QSizeF___imul__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSizeF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSizeF *sipCpp = reinterpret_cast< ::QSizeF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizeF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QSizeF::operator*=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSizeF___isub__(PyObject *,PyObject *);}
static PyObject *slot_QSizeF___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSizeF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSizeF *sipCpp = reinterpret_cast< ::QSizeF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizeF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QSizeF, &a0))
        {
            sipCpp-> ::QSizeF::operator-=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSizeF___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QSizeF___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSizeF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSizeF *sipCpp = reinterpret_cast< ::QSizeF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizeF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QSizeF, &a0))
        {
            sipCpp-> ::QSizeF::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static int slot_QSizeF___bool__(PyObject *);}
static int slot_QSizeF___bool__(PyObject *sipSelf)
{
     ::QSizeF *sipCpp = reinterpret_cast< ::QSizeF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizeF));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
        sipRes = sipCpp->isValid();
#line 60284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSizeF___repr__(PyObject *);}
static PyObject *slot_QSizeF___repr__(PyObject *sipSelf)
{
     ::QSizeF *sipCpp = reinterpret_cast< ::QSizeF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizeF));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QSizeF()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QSizeF()");
        #endif
        }
        else
        {
            PyObject *w = PyFloat_FromDouble(sipCpp->width());
            PyObject *h = PyFloat_FromDouble(sipCpp->height());
        
            if (w && h)
            {
        #if PY_MAJOR_VERSION >= 3
                sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QSizeF(%R, %R)", w, h);
        #else
                sipRes = PyString_FromString("PyQt5.QtCore.QSizeF(");
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(w));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(", "));
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(h));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
            }
        
            Py_XDECREF(w);
            Py_XDECREF(h);
        }
#line 60337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSizeF(void *, int);}
static void release_QSizeF(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSizeF *>(sipCppV);
}


extern "C" {static PyObject *pickle_QSizeF(void *);}
static PyObject *pickle_QSizeF(void *sipCppV)
{
     ::QSizeF *sipCpp = reinterpret_cast< ::QSizeF *>(sipCppV);
    PyObject *sipRes;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
    sipRes = Py_BuildValue((char *)"dd", sipCpp->width(), sipCpp->height());
#line 60363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QSizeF(void *, SIP_SSIZE_T, const void *);}
static void assign_QSizeF(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSizeF *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSizeF *>(sipSrc);
}


extern "C" {static void *array_QSizeF(SIP_SSIZE_T);}
static void *array_QSizeF(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSizeF[sipNrElem];
}


extern "C" {static void *copy_QSizeF(const void *, SIP_SSIZE_T);}
static void *copy_QSizeF(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSizeF(reinterpret_cast<const  ::QSizeF *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSizeF(sipSimpleWrapper *);}
static void dealloc_QSizeF(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSizeF(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSizeF(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSizeF(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSizeF *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QSizeF();

            return sipCpp;
        }
    }

    {
        const  ::QSize* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSize, &a0))
        {
            sipCpp = new  ::QSizeF(*a0);

            return sipCpp;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "dd", &a0, &a1))
        {
            sipCpp = new  ::QSizeF(a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QSizeF* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSizeF, &a0))
        {
            sipCpp = new  ::QSizeF(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSizeF[] = {
    {(void *)slot_QSizeF___eq__, eq_slot},
    {(void *)slot_QSizeF___ne__, ne_slot},
    {(void *)slot_QSizeF___add__, add_slot},
    {(void *)slot_QSizeF___sub__, sub_slot},
    {(void *)slot_QSizeF___mul__, mul_slot},
    {(void *)slot_QSizeF___div__, div_slot},
    {(void *)slot_QSizeF___idiv__, idiv_slot},
    {(void *)slot_QSizeF___imul__, imul_slot},
    {(void *)slot_QSizeF___isub__, isub_slot},
    {(void *)slot_QSizeF___iadd__, iadd_slot},
    {(void *)slot_QSizeF___bool__, bool_slot},
    {(void *)slot_QSizeF___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QSizeF[] = {
    {SIP_MLNAME_CAST(sipName_boundedTo), meth_QSizeF_boundedTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_boundedTo)},
    {SIP_MLNAME_CAST(sipName_expandedTo), meth_QSizeF_expandedTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_expandedTo)},
    {SIP_MLNAME_CAST(sipName_height), meth_QSizeF_height, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_height)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QSizeF_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QSizeF_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_isNull)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QSizeF_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_isValid)},
    {SIP_MLNAME_CAST(sipName_scale), meth_QSizeF_scale, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_scale)},
    {SIP_MLNAME_CAST(sipName_scaled), meth_QSizeF_scaled, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_scaled)},
    {SIP_MLNAME_CAST(sipName_setHeight), meth_QSizeF_setHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_setHeight)},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_QSizeF_setWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_setWidth)},
    {SIP_MLNAME_CAST(sipName_toSize), meth_QSizeF_toSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_toSize)},
    {SIP_MLNAME_CAST(sipName_transpose), meth_QSizeF_transpose, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_transpose)},
    {SIP_MLNAME_CAST(sipName_transposed), meth_QSizeF_transposed, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_transposed)},
    {SIP_MLNAME_CAST(sipName_width), meth_QSizeF_width, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeF_width)}
};

PyDoc_STRVAR(doc_QSizeF, "\1QSizeF()\n"
    "QSizeF(QSize)\n"
    "QSizeF(float, float)\n"
    "QSizeF(QSizeF)");


static pyqt5ClassPluginDef plugin_QSizeF = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSizeF = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSizeF,
        {0},
        &plugin_QSizeF
    },
    {
        sipNameNr_QSizeF,
        {0, 0, 1},
        14, methods_QSizeF,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSizeF,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSizeF,
    init_type_QSizeF,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSizeF,
    assign_QSizeF,
    array_QSizeF,
    copy_QSizeF,
    release_QSizeF,
    0,
    0,
    0,
    0,
    pickle_QSizeF,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 60553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 60557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QSize_transpose, "transpose(self)");

extern "C" {static PyObject *meth_QSize_transpose(PyObject *, PyObject *);}
static PyObject *meth_QSize_transpose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSize, &sipCpp))
        {
            sipCpp->transpose();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_transpose, doc_QSize_transpose);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_scale, "scale(self, QSize, Qt.AspectRatioMode)\n"
    "scale(self, int, int, Qt.AspectRatioMode)");

extern "C" {static PyObject *meth_QSize_scale(PyObject *, PyObject *);}
static PyObject *meth_QSize_scale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::Qt::AspectRatioMode a1;
         ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9E", &sipSelf, sipType_QSize, &sipCpp, sipType_QSize, &a0, sipType_Qt_AspectRatioMode, &a1))
        {
            sipCpp->scale(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
         ::Qt::AspectRatioMode a2;
         ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiE", &sipSelf, sipType_QSize, &sipCpp, &a0, &a1, sipType_Qt_AspectRatioMode, &a2))
        {
            sipCpp->scale(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_scale, doc_QSize_scale);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QSize_isNull(PyObject *, PyObject *);}
static PyObject *meth_QSize_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSize, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_isNull, doc_QSize_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QSize_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QSize_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSize, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_isEmpty, doc_QSize_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QSize_isValid(PyObject *, PyObject *);}
static PyObject *meth_QSize_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSize, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_isValid, doc_QSize_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_width, "width(self) -> int");

extern "C" {static PyObject *meth_QSize_width(PyObject *, PyObject *);}
static PyObject *meth_QSize_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSize, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->width();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_width, doc_QSize_width);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_height, "height(self) -> int");

extern "C" {static PyObject *meth_QSize_height(PyObject *, PyObject *);}
static PyObject *meth_QSize_height(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSize, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->height();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_height, doc_QSize_height);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_setWidth, "setWidth(self, int)");

extern "C" {static PyObject *meth_QSize_setWidth(PyObject *, PyObject *);}
static PyObject *meth_QSize_setWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSize, &sipCpp, &a0))
        {
            sipCpp->setWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_setWidth, doc_QSize_setWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_setHeight, "setHeight(self, int)");

extern "C" {static PyObject *meth_QSize_setHeight(PyObject *, PyObject *);}
static PyObject *meth_QSize_setHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSize, &sipCpp, &a0))
        {
            sipCpp->setHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_setHeight, doc_QSize_setHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_expandedTo, "expandedTo(self, QSize) -> QSize");

extern "C" {static PyObject *meth_QSize_expandedTo(PyObject *, PyObject *);}
static PyObject *meth_QSize_expandedTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
        const  ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSize, &sipCpp, sipType_QSize, &a0))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->expandedTo(*a0));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_expandedTo, doc_QSize_expandedTo);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_boundedTo, "boundedTo(self, QSize) -> QSize");

extern "C" {static PyObject *meth_QSize_boundedTo(PyObject *, PyObject *);}
static PyObject *meth_QSize_boundedTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
        const  ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSize, &sipCpp, sipType_QSize, &a0))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->boundedTo(*a0));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_boundedTo, doc_QSize_boundedTo);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_scaled, "scaled(self, QSize, Qt.AspectRatioMode) -> QSize\n"
    "scaled(self, int, int, Qt.AspectRatioMode) -> QSize");

extern "C" {static PyObject *meth_QSize_scaled(PyObject *, PyObject *);}
static PyObject *meth_QSize_scaled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::Qt::AspectRatioMode a1;
        const  ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9E", &sipSelf, sipType_QSize, &sipCpp, sipType_QSize, &a0, sipType_Qt_AspectRatioMode, &a1))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->scaled(*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    {
        int a0;
        int a1;
         ::Qt::AspectRatioMode a2;
        const  ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiE", &sipSelf, sipType_QSize, &sipCpp, &a0, &a1, sipType_Qt_AspectRatioMode, &a2))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->scaled(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_scaled, doc_QSize_scaled);

    return NULL;
}


PyDoc_STRVAR(doc_QSize_transposed, "transposed(self) -> QSize");

extern "C" {static PyObject *meth_QSize_transposed(PyObject *, PyObject *);}
static PyObject *meth_QSize_transposed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSize, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->transposed());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSize, sipName_transposed, doc_QSize_transposed);

    return NULL;
}


extern "C" {static PyObject *slot_QSize___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSize___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSize *sipCpp = reinterpret_cast< ::QSize *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSize));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QSize, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QSize, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSize___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSize___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QSize *sipCpp = reinterpret_cast< ::QSize *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSize));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QSize, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QSize, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QSize___add__(PyObject *,PyObject *);}
static PyObject *slot_QSize___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
        const  ::QSize* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QSize, &a0, sipType_QSize, &a1))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize((*a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSize___sub__(PyObject *,PyObject *);}
static PyObject *slot_QSize___sub__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
        const  ::QSize* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QSize, &a0, sipType_QSize, &a1))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize((*a0 - *a1));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, sub_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSize___mul__(PyObject *,PyObject *);}
static PyObject *slot_QSize___mul__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QSize, &a0, &a1))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize((*a0 * a1));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    {
         ::qreal a0;
        const  ::QSize* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &a0, sipType_QSize, &a1))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize((a0 * *a1));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, mul_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSize___div__(PyObject *,PyObject *);}
static PyObject *slot_QSize___div__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QSize, &a0, &a1))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize((*a0 / a1));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, div_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QSize___idiv__(PyObject *,PyObject *);}
static PyObject *slot_QSize___idiv__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSize)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSize *sipCpp = reinterpret_cast< ::QSize *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSize));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QSize::operator/=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSize___imul__(PyObject *,PyObject *);}
static PyObject *slot_QSize___imul__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSize)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSize *sipCpp = reinterpret_cast< ::QSize *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSize));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QSize::operator*=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSize___isub__(PyObject *,PyObject *);}
static PyObject *slot_QSize___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSize)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSize *sipCpp = reinterpret_cast< ::QSize *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSize));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QSize, &a0))
        {
            sipCpp-> ::QSize::operator-=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QSize___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QSize___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSize)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QSize *sipCpp = reinterpret_cast< ::QSize *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSize));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QSize, &a0))
        {
            sipCpp-> ::QSize::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static int slot_QSize___bool__(PyObject *);}
static int slot_QSize___bool__(PyObject *sipSelf)
{
     ::QSize *sipCpp = reinterpret_cast< ::QSize *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSize));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 65 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
        sipRes = sipCpp->isValid();
#line 61328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSize___repr__(PyObject *);}
static PyObject *slot_QSize___repr__(PyObject *sipSelf)
{
     ::QSize *sipCpp = reinterpret_cast< ::QSize *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSize));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 40 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QSize()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QSize()");
        #endif
        }
        else
        {
            sipRes =
        #if PY_MAJOR_VERSION >= 3
                PyUnicode_FromFormat
        #else
                PyString_FromFormat
        #endif
                    ("PyQt5.QtCore.QSize(%i, %i)", sipCpp->width(), sipCpp->height());
        }
#line 61370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSize(void *, int);}
static void release_QSize(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSize *>(sipCppV);
}


extern "C" {static PyObject *pickle_QSize(void *);}
static PyObject *pickle_QSize(void *sipCppV)
{
     ::QSize *sipCpp = reinterpret_cast< ::QSize *>(sipCppV);
    PyObject *sipRes;

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
    sipRes = Py_BuildValue((char *)"ii", sipCpp->width(), sipCpp->height());
#line 61396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QSize(void *, SIP_SSIZE_T, const void *);}
static void assign_QSize(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QSize *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QSize *>(sipSrc);
}


extern "C" {static void *array_QSize(SIP_SSIZE_T);}
static void *array_QSize(SIP_SSIZE_T sipNrElem)
{
    return new  ::QSize[sipNrElem];
}


extern "C" {static void *copy_QSize(const void *, SIP_SSIZE_T);}
static void *copy_QSize(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QSize(reinterpret_cast<const  ::QSize *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSize(sipSimpleWrapper *);}
static void dealloc_QSize(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSize(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSize(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSize(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSize *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QSize();

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "ii", &a0, &a1))
        {
            sipCpp = new  ::QSize(a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QSize* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSize, &a0))
        {
            sipCpp = new  ::QSize(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSize[] = {
    {(void *)slot_QSize___eq__, eq_slot},
    {(void *)slot_QSize___ne__, ne_slot},
    {(void *)slot_QSize___add__, add_slot},
    {(void *)slot_QSize___sub__, sub_slot},
    {(void *)slot_QSize___mul__, mul_slot},
    {(void *)slot_QSize___div__, div_slot},
    {(void *)slot_QSize___idiv__, idiv_slot},
    {(void *)slot_QSize___imul__, imul_slot},
    {(void *)slot_QSize___isub__, isub_slot},
    {(void *)slot_QSize___iadd__, iadd_slot},
    {(void *)slot_QSize___bool__, bool_slot},
    {(void *)slot_QSize___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QSize[] = {
    {SIP_MLNAME_CAST(sipName_boundedTo), meth_QSize_boundedTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_boundedTo)},
    {SIP_MLNAME_CAST(sipName_expandedTo), meth_QSize_expandedTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_expandedTo)},
    {SIP_MLNAME_CAST(sipName_height), meth_QSize_height, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_height)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QSize_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QSize_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_isNull)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QSize_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_isValid)},
    {SIP_MLNAME_CAST(sipName_scale), meth_QSize_scale, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_scale)},
    {SIP_MLNAME_CAST(sipName_scaled), meth_QSize_scaled, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_scaled)},
    {SIP_MLNAME_CAST(sipName_setHeight), meth_QSize_setHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_setHeight)},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_QSize_setWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_setWidth)},
    {SIP_MLNAME_CAST(sipName_transpose), meth_QSize_transpose, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_transpose)},
    {SIP_MLNAME_CAST(sipName_transposed), meth_QSize_transposed, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_transposed)},
    {SIP_MLNAME_CAST(sipName_width), meth_QSize_width, METH_VARARGS, SIP_MLDOC_CAST(doc_QSize_width)}
};

PyDoc_STRVAR(doc_QSize, "\1QSize()\n"
    "QSize(int, int)\n"
    "QSize(QSize)");


static pyqt5ClassPluginDef plugin_QSize = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSize = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSize,
        {0},
        &plugin_QSize
    },
    {
        sipNameNr_QSize,
        {0, 0, 1},
        13, methods_QSize,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSize,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSize,
    init_type_QSize,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSize,
    assign_QSize,
    array_QSize,
    copy_QSize,
    release_QSize,
    0,
    0,
    0,
    0,
    pickle_QSize,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsignaltransition.sip"
#include <qsignaltransition.h>
#line 61573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 61577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 61580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 61583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 61586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 61589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 61592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 61595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 61598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 61601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 61604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 61607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 61610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 61613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 61616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 61619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 61622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 61625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 61628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 61631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 61634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 61637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 61640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 61643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQSignalTransition : public  ::QSignalTransition
{
public:
    sipQSignalTransition( ::QState*);
    virtual ~sipQSignalTransition();

    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;
    bool sipProtectVirt_eventTest(bool, ::QEvent*);
    void sipProtectVirt_onTransition(bool, ::QEvent*);
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    bool eventTest( ::QEvent*);
    void onTransition( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSignalTransition(const sipQSignalTransition &);
    sipQSignalTransition &operator = (const sipQSignalTransition &);

    char sipPyMethods[9];
};

sipQSignalTransition::sipQSignalTransition( ::QState*a0):  ::QSignalTransition(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSignalTransition::~sipQSignalTransition()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSignalTransition::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSignalTransition);

    return  ::QSignalTransition::metaObject();
}

int sipQSignalTransition::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSignalTransition::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QSignalTransition,_c,_id,_a);

    return _id;
}

void *sipQSignalTransition::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSignalTransition, _clname, &sipCpp) ? sipCpp :  ::QSignalTransition::qt_metacast(_clname));
}

void sipQSignalTransition::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSignalTransition::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSignalTransition::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSignalTransition::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSignalTransition::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSignalTransition::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSignalTransition::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSignalTransition::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSignalTransition::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSignalTransition::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSignalTransition::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSignalTransition::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQSignalTransition::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSignalTransition::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSignalTransition::eventTest( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventTest);

    if (!sipMeth)
        return  ::QSignalTransition::eventTest(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSignalTransition::onTransition( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_onTransition);

    if (!sipMeth)
    {
         ::QSignalTransition::onTransition(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSignalTransition::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSignalTransition::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSignalTransition::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSignalTransition::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSignalTransition::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSignalTransition::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSignalTransition::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSignalTransition::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSignalTransition::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQSignalTransition::sipProtectVirt_eventTest(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QSignalTransition::eventTest(a0) : eventTest(a0));
}

void sipQSignalTransition::sipProtectVirt_onTransition(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QSignalTransition::onTransition(a0) : onTransition(a0));
}

bool sipQSignalTransition::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QSignalTransition::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QSignalTransition_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QSignalTransition_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSignalTransition, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 61990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalTransition, sipName_sender, doc_QSignalTransition_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QSignalTransition_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSignalTransition, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 62050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QSignalTransition, sipName_receivers, doc_QSignalTransition_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSignalTransition_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSignalTransition, &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_QSignalTransition, sipName_timerEvent, doc_QSignalTransition_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSignalTransition_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSignalTransition, &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_QSignalTransition, sipName_childEvent, doc_QSignalTransition_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSignalTransition_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSignalTransition, &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_QSignalTransition, sipName_customEvent, doc_QSignalTransition_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSignalTransition_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSignalTransition, &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_QSignalTransition, sipName_connectNotify, doc_QSignalTransition_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSignalTransition_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSignalTransition, &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_QSignalTransition, sipName_disconnectNotify, doc_QSignalTransition_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QSignalTransition_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSignalTransition, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalTransition, sipName_senderSignalIndex, doc_QSignalTransition_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSignalTransition_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSignalTransition, &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_QSignalTransition, sipName_isSignalConnected, doc_QSignalTransition_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_senderObject, "senderObject(self) -> QObject");

extern "C" {static PyObject *meth_QSignalTransition_senderObject(PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_senderObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSignalTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSignalTransition, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->senderObject();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalTransition, sipName_senderObject, doc_QSignalTransition_senderObject);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_setSenderObject, "setSenderObject(self, QObject)");

extern "C" {static PyObject *meth_QSignalTransition_setSenderObject(PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_setSenderObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject* a0;
         ::QSignalTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSignalTransition, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->setSenderObject(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalTransition, sipName_setSenderObject, doc_QSignalTransition_setSenderObject);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_signal, "signal(self) -> QByteArray");

extern "C" {static PyObject *meth_QSignalTransition_signal(PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_signal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSignalTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSignalTransition, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->signal());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalTransition, sipName_signal, doc_QSignalTransition_signal);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_setSignal, "setSignal(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QSignalTransition_setSignal(PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_setSignal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QSignalTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSignalTransition, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->setSignal(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalTransition, sipName_setSignal, doc_QSignalTransition_setSignal);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_eventTest, "eventTest(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QSignalTransition_eventTest(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_eventTest(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSignalTransition, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventTest(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalTransition, sipName_eventTest, doc_QSignalTransition_eventTest);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_onTransition, "onTransition(self, QEvent)");

extern "C" {static PyObject *meth_QSignalTransition_onTransition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_onTransition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSignalTransition, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onTransition(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalTransition, sipName_onTransition, doc_QSignalTransition_onTransition);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalTransition_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QSignalTransition_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalTransition_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSignalTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSignalTransition, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalTransition, sipName_event, doc_QSignalTransition_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSignalTransition(void *, const sipTypeDef *);}
static void *cast_QSignalTransition(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSignalTransition *sipCpp = reinterpret_cast< ::QSignalTransition *>(sipCppV);

    if (targetType == sipType_QAbstractTransition)
        return static_cast< ::QAbstractTransition *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSignalTransition(void *, int);}
static void release_QSignalTransition(void *sipCppV, int)
{
     ::QSignalTransition *sipCpp = reinterpret_cast< ::QSignalTransition *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSignalTransition(sipSimpleWrapper *);}
static void dealloc_QSignalTransition(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSignalTransition *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSignalTransition(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSignalTransition(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSignalTransition(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSignalTransition *sipCpp = 0;

    {
         ::QState* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_sourceState,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QState, &a0, sipOwner))
        {
            sipCpp = new sipQSignalTransition(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        PyObject * a0;
         ::QState* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_sourceState,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "P0|JH", &a0, sipType_QState, &a1, sipOwner))
        {
            sipErrorState sipError = sipErrorNone;

#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsignaltransition.sip"
        QObject *sender;
        QByteArray signal_signature;
        
        if ((sipError = pyqt5_get_pyqtsignal_parts(a0, &sender, signal_signature)) == sipErrorNone)
        {
            sipCpp = new sipQSignalTransition(a1);
            sipCpp->setSenderObject(sender);
            sipCpp->setSignal(signal_signature);
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 62567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipError == sipErrorNone)
            {
                sipCpp->sipPySelf = sipSelf;

                return sipCpp;
            }

            if (sipUnused)
            {
                Py_XDECREF(*sipUnused);
            }

            sipAddException(sipError, sipParseErr);

            if (sipError == sipErrorFail)
                return NULL;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSignalTransition[] = {{13, 255, 1}};


static PyMethodDef methods_QSignalTransition[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSignalTransition_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSignalTransition_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSignalTransition_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSignalTransition_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QSignalTransition_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSignalTransition_event)},
    {SIP_MLNAME_CAST(sipName_eventTest), (PyCFunction)meth_QSignalTransition_eventTest, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSignalTransition_eventTest)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSignalTransition_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_onTransition), (PyCFunction)meth_QSignalTransition_onTransition, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSignalTransition_onTransition)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSignalTransition_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSignalTransition_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderObject), meth_QSignalTransition_senderObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalTransition_senderObject)},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSignalTransition_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSenderObject), meth_QSignalTransition_setSenderObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalTransition_setSenderObject)},
    {SIP_MLNAME_CAST(sipName_setSignal), meth_QSignalTransition_setSignal, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalTransition_setSignal)},
    {SIP_MLNAME_CAST(sipName_signal), meth_QSignalTransition_signal, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalTransition_signal)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSignalTransition_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QSignalTransition, "\1QSignalTransition(sourceState: QState = None)\n"
    "QSignalTransition(pyqtBoundSignal, sourceState: QState = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSignalTransition[] = {
    {"signalChanged()", "\1signalChanged(self)", 0, 0},
    {"senderObjectChanged()", "\1senderObjectChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QSignalTransition = {
    & ::QSignalTransition::staticMetaObject,
    0,
    signals_QSignalTransition,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSignalTransition = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSignalTransition,
        {0},
        &plugin_QSignalTransition
    },
    {
        sipNameNr_QSignalTransition,
        {0, 0, 1},
        16, methods_QSignalTransition,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSignalTransition,
    -1,
    -1,
    supers_QSignalTransition,
    0,
    init_type_QSignalTransition,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSignalTransition,
    0,
    0,
    0,
    release_QSignalTransition,
    cast_QSignalTransition,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsignalmapper.sip"
#include <qsignalmapper.h>
#line 62687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 62691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 62694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 62697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 62709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 62715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 62724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 62730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 62733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 62736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQSignalMapper : public  ::QSignalMapper
{
public:
    sipQSignalMapper( ::QObject*);
    virtual ~sipQSignalMapper();

    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 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:
    sipQSignalMapper(const sipQSignalMapper &);
    sipQSignalMapper &operator = (const sipQSignalMapper &);

    char sipPyMethods[7];
};

sipQSignalMapper::sipQSignalMapper( ::QObject*a0):  ::QSignalMapper(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSignalMapper::~sipQSignalMapper()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSignalMapper::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSignalMapper);

    return  ::QSignalMapper::metaObject();
}

int sipQSignalMapper::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSignalMapper::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QSignalMapper,_c,_id,_a);

    return _id;
}

void *sipQSignalMapper::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSignalMapper, _clname, &sipCpp) ? sipCpp :  ::QSignalMapper::qt_metacast(_clname));
}

bool sipQSignalMapper::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSignalMapper::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSignalMapper::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSignalMapper::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQSignalMapper::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSignalMapper::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSignalMapper::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSignalMapper::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSignalMapper::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSignalMapper::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSignalMapper::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSignalMapper::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSignalMapper::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSignalMapper::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSignalMapper::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSignalMapper::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSignalMapper::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSignalMapper::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSignalMapper::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSignalMapper::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSignalMapper::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSignalMapper::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSignalMapper::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QSignalMapper_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QSignalMapper_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSignalMapper, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 63030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalMapper, sipName_sender, doc_QSignalMapper_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QSignalMapper_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSignalMapper, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 63090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QSignalMapper, sipName_receivers, doc_QSignalMapper_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSignalMapper_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSignalMapper, &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_QSignalMapper, sipName_timerEvent, doc_QSignalMapper_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSignalMapper_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSignalMapper, &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_QSignalMapper, sipName_childEvent, doc_QSignalMapper_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSignalMapper_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSignalMapper, &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_QSignalMapper, sipName_customEvent, doc_QSignalMapper_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSignalMapper_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSignalMapper, &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_QSignalMapper, sipName_connectNotify, doc_QSignalMapper_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSignalMapper_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSignalMapper, &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_QSignalMapper, sipName_disconnectNotify, doc_QSignalMapper_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QSignalMapper_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSignalMapper, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalMapper, sipName_senderSignalIndex, doc_QSignalMapper_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSignalMapper_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQSignalMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSignalMapper, &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_QSignalMapper, sipName_isSignalConnected, doc_QSignalMapper_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_setMapping, "setMapping(self, QObject, int)\n"
    "setMapping(self, QObject, str)\n"
    "setMapping(self, QObject, QWidget)\n"
    "setMapping(self, QObject, QObject)");

extern "C" {static PyObject *meth_QSignalMapper_setMapping(PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_setMapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        int a1;
         ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_QSignalMapper, &sipCpp, sipType_QObject, &a0, &a1))
        {
            sipCpp->setMapping(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QObject* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QSignalMapper, &sipCpp, sipType_QObject, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setMapping(a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QObject* a0;
         ::QWidget* a1;
         ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QSignalMapper, &sipCpp, sipType_QObject, &a0, sipType_QWidget, &a1))
        {
            sipCpp->setMapping(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QObject* a0;
         ::QObject* a1;
         ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QSignalMapper, &sipCpp, sipType_QObject, &a0, sipType_QObject, &a1))
        {
            sipCpp->setMapping(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalMapper, sipName_setMapping, doc_QSignalMapper_setMapping);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_removeMappings, "removeMappings(self, QObject)");

extern "C" {static PyObject *meth_QSignalMapper_removeMappings(PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_removeMappings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSignalMapper, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->removeMappings(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalMapper, sipName_removeMappings, doc_QSignalMapper_removeMappings);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_mapping, "mapping(self, int) -> QObject\n"
    "mapping(self, str) -> QObject\n"
    "mapping(self, QWidget) -> QObject\n"
    "mapping(self, QObject) -> QObject");

extern "C" {static PyObject *meth_QSignalMapper_mapping(PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_mapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSignalMapper, &sipCpp, &a0))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->mapping(a0);

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSignalMapper, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->mapping(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    {
         ::QWidget* a0;
        const  ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSignalMapper, &sipCpp, sipType_QWidget, &a0))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->mapping(a0);

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    {
         ::QObject* a0;
        const  ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSignalMapper, &sipCpp, sipType_QObject, &a0))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->mapping(a0);

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalMapper, sipName_mapping, doc_QSignalMapper_mapping);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalMapper_map, "map(self)\n"
    "map(self, QObject)");

extern "C" {static PyObject *meth_QSignalMapper_map(PyObject *, PyObject *);}
static PyObject *meth_QSignalMapper_map(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSignalMapper, &sipCpp))
        {
            sipCpp->map();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QObject* a0;
         ::QSignalMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSignalMapper, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->map(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalMapper, sipName_map, doc_QSignalMapper_map);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSignalMapper(void *, const sipTypeDef *);}
static void *cast_QSignalMapper(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSignalMapper *sipCpp = reinterpret_cast< ::QSignalMapper *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSignalMapper(void *, int);}
static void release_QSignalMapper(void *sipCppV, int)
{
     ::QSignalMapper *sipCpp = reinterpret_cast< ::QSignalMapper *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSignalMapper(sipSimpleWrapper *);}
static void dealloc_QSignalMapper(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSignalMapper *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSignalMapper(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSignalMapper(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSignalMapper(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSignalMapper *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 sipQSignalMapper(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSignalMapper[] = {{169, 255, 1}};


static PyMethodDef methods_QSignalMapper[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSignalMapper_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSignalMapper_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSignalMapper_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSignalMapper_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSignalMapper_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_map), meth_QSignalMapper_map, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalMapper_map)},
    {SIP_MLNAME_CAST(sipName_mapping), meth_QSignalMapper_mapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalMapper_mapping)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSignalMapper_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeMappings), meth_QSignalMapper_removeMappings, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalMapper_removeMappings)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSignalMapper_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSignalMapper_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setMapping), meth_QSignalMapper_setMapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalMapper_setMapping)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSignalMapper_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QSignalMapper, "\1QSignalMapper(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSignalMapper[] = {
    {"mapped(int)", "\1mapped(self, int)", 0, 0},
    {"mapped(QString)", "\1mapped(self, str)", 0, 0},
    {"mapped(QWidget*)", "\1mapped(self, QWidget)", 0, 0},
    {"mapped(QObject*)", "\1mapped(self, QObject)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QSignalMapper = {
    & ::QSignalMapper::staticMetaObject,
    0,
    signals_QSignalMapper,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSignalMapper = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSignalMapper,
        {0},
        &plugin_QSignalMapper
    },
    {
        sipNameNr_QSignalMapper,
        {0, 0, 1},
        13, methods_QSignalMapper,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSignalMapper,
    -1,
    -1,
    supers_QSignalMapper,
    0,
    init_type_QSignalMapper,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSignalMapper,
    0,
    0,
    0,
    release_QSignalMapper,
    cast_QSignalMapper,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsharedmemory.sip"
#include <qsharedmemory.h>
#line 63699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 63703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 63706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 63709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 63712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 63715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 63718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 63721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 63724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 63727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 63730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 63733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 63736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 63739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 63742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 63745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 63748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQSharedMemory : public  ::QSharedMemory
{
public:
    sipQSharedMemory( ::QObject*);
    sipQSharedMemory(const  ::QString&, ::QObject*);
    virtual ~sipQSharedMemory();

    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 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:
    sipQSharedMemory(const sipQSharedMemory &);
    sipQSharedMemory &operator = (const sipQSharedMemory &);

    char sipPyMethods[7];
};

sipQSharedMemory::sipQSharedMemory( ::QObject*a0):  ::QSharedMemory(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSharedMemory::sipQSharedMemory(const  ::QString& a0, ::QObject*a1):  ::QSharedMemory(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSharedMemory::~sipQSharedMemory()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSharedMemory::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSharedMemory);

    return  ::QSharedMemory::metaObject();
}

int sipQSharedMemory::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSharedMemory::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QSharedMemory,_c,_id,_a);

    return _id;
}

void *sipQSharedMemory::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSharedMemory, _clname, &sipCpp) ? sipCpp :  ::QSharedMemory::qt_metacast(_clname));
}

bool sipQSharedMemory::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSharedMemory::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSharedMemory::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSharedMemory::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQSharedMemory::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSharedMemory::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSharedMemory::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSharedMemory::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSharedMemory::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSharedMemory::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSharedMemory::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSharedMemory::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSharedMemory::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSharedMemory::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSharedMemory::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSharedMemory::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSharedMemory::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSharedMemory::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSharedMemory::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSharedMemory::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSharedMemory::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSharedMemory::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSharedMemory::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QSharedMemory_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QSharedMemory_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 64048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_sender, doc_QSharedMemory_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QSharedMemory_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSharedMemory, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 64108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QSharedMemory, sipName_receivers, doc_QSharedMemory_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSharedMemory_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSharedMemory, &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_QSharedMemory, sipName_timerEvent, doc_QSharedMemory_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSharedMemory_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSharedMemory, &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_QSharedMemory, sipName_childEvent, doc_QSharedMemory_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSharedMemory_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSharedMemory, &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_QSharedMemory, sipName_customEvent, doc_QSharedMemory_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSharedMemory_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSharedMemory, &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_QSharedMemory, sipName_connectNotify, doc_QSharedMemory_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSharedMemory_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSharedMemory, &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_QSharedMemory, sipName_disconnectNotify, doc_QSharedMemory_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QSharedMemory_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_senderSignalIndex, doc_QSharedMemory_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSharedMemory_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQSharedMemory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSharedMemory, &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_QSharedMemory, sipName_isSignalConnected, doc_QSharedMemory_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_setKey, "setKey(self, str)");

extern "C" {static PyObject *meth_QSharedMemory_setKey(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_setKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSharedMemory, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setKey(*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_QSharedMemory, sipName_setKey, doc_QSharedMemory_setKey);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_key, "key(self) -> str");

extern "C" {static PyObject *meth_QSharedMemory_key(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_key(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->key());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_key, doc_QSharedMemory_key);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_create, "create(self, int, mode: QSharedMemory.AccessMode = QSharedMemory.ReadWrite) -> bool");

extern "C" {static PyObject *meth_QSharedMemory_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QSharedMemory::AccessMode a1 = QSharedMemory::ReadWrite;
         ::QSharedMemory *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QSharedMemory, &sipCpp, &a0, sipType_QSharedMemory_AccessMode, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->create(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_create, doc_QSharedMemory_create);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_size, "size(self) -> int");

extern "C" {static PyObject *meth_QSharedMemory_size(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->size();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_size, doc_QSharedMemory_size);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_attach, "attach(self, mode: QSharedMemory.AccessMode = QSharedMemory.ReadWrite) -> bool");

extern "C" {static PyObject *meth_QSharedMemory_attach(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_attach(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSharedMemory::AccessMode a0 = QSharedMemory::ReadWrite;
         ::QSharedMemory *sipCpp;

        static const char *sipKwdList[] = {
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QSharedMemory, &sipCpp, sipType_QSharedMemory_AccessMode, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->attach(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_attach, doc_QSharedMemory_attach);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_isAttached, "isAttached(self) -> bool");

extern "C" {static PyObject *meth_QSharedMemory_isAttached(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_isAttached(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAttached();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_isAttached, doc_QSharedMemory_isAttached);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_detach, "detach(self) -> bool");

extern "C" {static PyObject *meth_QSharedMemory_detach(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_detach(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->detach();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_detach, doc_QSharedMemory_detach);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_data, "data(self) -> sip.voidptr");

extern "C" {static PyObject *meth_QSharedMemory_data(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 61 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsharedmemory.sip"
        sipRes = sipConvertFromVoidPtrAndSize(sipCpp->data(), sipCpp->size());
#line 64558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_data, doc_QSharedMemory_data);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_constData, "constData(self) -> sip.voidptr");

extern "C" {static PyObject *meth_QSharedMemory_constData(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_constData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 66 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsharedmemory.sip"
        sipRes = sipConvertFromConstVoidPtrAndSize(sipCpp->constData(), sipCpp->size());
#line 64588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_constData, doc_QSharedMemory_constData);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_lock, "lock(self) -> bool");

extern "C" {static PyObject *meth_QSharedMemory_lock(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_lock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->lock();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_lock, doc_QSharedMemory_lock);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_unlock, "unlock(self) -> bool");

extern "C" {static PyObject *meth_QSharedMemory_unlock(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_unlock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->unlock();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_unlock, doc_QSharedMemory_unlock);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_error, "error(self) -> QSharedMemory.SharedMemoryError");

extern "C" {static PyObject *meth_QSharedMemory_error(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
             ::QSharedMemory::SharedMemoryError sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QSharedMemory_SharedMemoryError);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_error, doc_QSharedMemory_error);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QSharedMemory_errorString(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_errorString, doc_QSharedMemory_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_setNativeKey, "setNativeKey(self, str)");

extern "C" {static PyObject *meth_QSharedMemory_setNativeKey(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_setNativeKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSharedMemory, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setNativeKey(*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_QSharedMemory, sipName_setNativeKey, doc_QSharedMemory_setNativeKey);

    return NULL;
}


PyDoc_STRVAR(doc_QSharedMemory_nativeKey, "nativeKey(self) -> str");

extern "C" {static PyObject *meth_QSharedMemory_nativeKey(PyObject *, PyObject *);}
static PyObject *meth_QSharedMemory_nativeKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSharedMemory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSharedMemory, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->nativeKey());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSharedMemory, sipName_nativeKey, doc_QSharedMemory_nativeKey);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSharedMemory(void *, const sipTypeDef *);}
static void *cast_QSharedMemory(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSharedMemory *sipCpp = reinterpret_cast< ::QSharedMemory *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSharedMemory(void *, int);}
static void release_QSharedMemory(void *sipCppV, int)
{
     ::QSharedMemory *sipCpp = reinterpret_cast< ::QSharedMemory *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSharedMemory(sipSimpleWrapper *);}
static void dealloc_QSharedMemory(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSharedMemory *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSharedMemory(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSharedMemory(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSharedMemory(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSharedMemory *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 sipQSharedMemory(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQSharedMemory(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSharedMemory[] = {{169, 255, 1}};


static PyMethodDef methods_QSharedMemory[] = {
    {SIP_MLNAME_CAST(sipName_attach), (PyCFunction)meth_QSharedMemory_attach, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSharedMemory_attach)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSharedMemory_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSharedMemory_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_constData), meth_QSharedMemory_constData, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_constData)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QSharedMemory_create, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSharedMemory_create)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSharedMemory_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_QSharedMemory_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_data)},
    {SIP_MLNAME_CAST(sipName_detach), meth_QSharedMemory_detach, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_detach)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSharedMemory_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_QSharedMemory_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QSharedMemory_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_errorString)},
    {SIP_MLNAME_CAST(sipName_isAttached), meth_QSharedMemory_isAttached, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_isAttached)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSharedMemory_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_key), meth_QSharedMemory_key, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_key)},
    {SIP_MLNAME_CAST(sipName_lock), meth_QSharedMemory_lock, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_lock)},
    {SIP_MLNAME_CAST(sipName_nativeKey), meth_QSharedMemory_nativeKey, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_nativeKey)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSharedMemory_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSharedMemory_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSharedMemory_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setKey), meth_QSharedMemory_setKey, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_setKey)},
    {SIP_MLNAME_CAST(sipName_setNativeKey), meth_QSharedMemory_setNativeKey, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_setNativeKey)},
    {SIP_MLNAME_CAST(sipName_size), meth_QSharedMemory_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_size)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSharedMemory_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unlock), meth_QSharedMemory_unlock, METH_VARARGS, SIP_MLDOC_CAST(doc_QSharedMemory_unlock)}
};

static sipEnumMemberDef enummembers_QSharedMemory[] = {
    {sipName_AlreadyExists, static_cast<int>( ::QSharedMemory::AlreadyExists), 217},
    {sipName_InvalidSize, static_cast<int>( ::QSharedMemory::InvalidSize), 217},
    {sipName_KeyError, static_cast<int>( ::QSharedMemory::KeyError), 217},
    {sipName_LockError, static_cast<int>( ::QSharedMemory::LockError), 217},
    {sipName_NoError, static_cast<int>( ::QSharedMemory::NoError), 217},
    {sipName_NotFound, static_cast<int>( ::QSharedMemory::NotFound), 217},
    {sipName_OutOfResources, static_cast<int>( ::QSharedMemory::OutOfResources), 217},
    {sipName_PermissionDenied, static_cast<int>( ::QSharedMemory::PermissionDenied), 217},
    {sipName_ReadOnly, static_cast<int>( ::QSharedMemory::ReadOnly), 216},
    {sipName_ReadWrite, static_cast<int>( ::QSharedMemory::ReadWrite), 216},
    {sipName_UnknownError, static_cast<int>( ::QSharedMemory::UnknownError), 217},
};

PyDoc_STRVAR(doc_QSharedMemory, "\1QSharedMemory(parent: QObject = None)\n"
    "QSharedMemory(str, parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QSharedMemory = {
    & ::QSharedMemory::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSharedMemory = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSharedMemory,
        {0},
        &plugin_QSharedMemory
    },
    {
        sipNameNr_QSharedMemory,
        {0, 0, 1},
        24, methods_QSharedMemory,
        11, enummembers_QSharedMemory,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSharedMemory,
    -1,
    -1,
    supers_QSharedMemory,
    0,
    init_type_QSharedMemory,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSharedMemory,
    0,
    0,
    0,
    release_QSharedMemory,
    cast_QSharedMemory,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsettings.sip"
#include <qsettings.h>
#line 64966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 64970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 64973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtextcodec.sip"
#include <qtextcodec.h>
#line 64979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 64982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 64985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 64988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 64997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 65000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 65003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 65006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 65009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 65012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 65015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 65018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 65021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQSettings : public  ::QSettings
{
public:
    sipQSettings(const  ::QString&,const  ::QString&, ::QObject*);
    sipQSettings( ::QSettings::Scope,const  ::QString&,const  ::QString&, ::QObject*);
    sipQSettings( ::QSettings::Format, ::QSettings::Scope,const  ::QString&,const  ::QString&, ::QObject*);
    sipQSettings(const  ::QString&, ::QSettings::Format, ::QObject*);
    sipQSettings( ::QObject*);
    virtual ~sipQSettings();

    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;
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    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:
    sipQSettings(const sipQSettings &);
    sipQSettings &operator = (const sipQSettings &);

    char sipPyMethods[7];
};

sipQSettings::sipQSettings(const  ::QString& a0,const  ::QString& a1, ::QObject*a2):  ::QSettings(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSettings::sipQSettings( ::QSettings::Scope a0,const  ::QString& a1,const  ::QString& a2, ::QObject*a3):  ::QSettings(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSettings::sipQSettings( ::QSettings::Format a0, ::QSettings::Scope a1,const  ::QString& a2,const  ::QString& a3, ::QObject*a4):  ::QSettings(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSettings::sipQSettings(const  ::QString& a0, ::QSettings::Format a1, ::QObject*a2):  ::QSettings(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSettings::sipQSettings( ::QObject*a0):  ::QSettings(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSettings::~sipQSettings()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSettings::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSettings);

    return  ::QSettings::metaObject();
}

int sipQSettings::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSettings::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QSettings,_c,_id,_a);

    return _id;
}

void *sipQSettings::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSettings, _clname, &sipCpp) ? sipCpp :  ::QSettings::qt_metacast(_clname));
}

bool sipQSettings::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSettings::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSettings::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSettings::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQSettings::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSettings::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSettings::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSettings::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSettings::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSettings::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSettings::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSettings::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSettings::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSettings::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSettings::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSettings::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSettings::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSettings::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSettings::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSettings::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSettings::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSettings::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSettings::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQSettings::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QSettings::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QSettings_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QSettings_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 65345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_sender, doc_QSettings_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QSettings_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSettings, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 65405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QSettings, sipName_receivers, doc_QSettings_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSettings_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSettings, &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_QSettings, sipName_timerEvent, doc_QSettings_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSettings_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSettings, &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_QSettings, sipName_childEvent, doc_QSettings_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSettings_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSettings, &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_QSettings, sipName_customEvent, doc_QSettings_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSettings_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSettings, &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_QSettings, sipName_connectNotify, doc_QSettings_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSettings_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSettings, &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_QSettings, sipName_disconnectNotify, doc_QSettings_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QSettings_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_senderSignalIndex, doc_QSettings_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSettings_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSettings, &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_QSettings, sipName_isSignalConnected, doc_QSettings_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_clear, "clear(self)");

extern "C" {static PyObject *meth_QSettings_clear(PyObject *, PyObject *);}
static PyObject *meth_QSettings_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_clear, doc_QSettings_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_sync, "sync(self)");

extern "C" {static PyObject *meth_QSettings_sync(PyObject *, PyObject *);}
static PyObject *meth_QSettings_sync(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
            sipCpp->sync();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_sync, doc_QSettings_sync);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_status, "status(self) -> QSettings.Status");

extern "C" {static PyObject *meth_QSettings_status(PyObject *, PyObject *);}
static PyObject *meth_QSettings_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QSettings::Status sipRes;

            sipRes = sipCpp->status();

            return sipConvertFromEnum(sipRes,sipType_QSettings_Status);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_status, doc_QSettings_status);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_beginGroup, "beginGroup(self, str)");

extern "C" {static PyObject *meth_QSettings_beginGroup(PyObject *, PyObject *);}
static PyObject *meth_QSettings_beginGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->beginGroup(*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_QSettings, sipName_beginGroup, doc_QSettings_beginGroup);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_endGroup, "endGroup(self)");

extern "C" {static PyObject *meth_QSettings_endGroup(PyObject *, PyObject *);}
static PyObject *meth_QSettings_endGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
            sipCpp->endGroup();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_endGroup, doc_QSettings_endGroup);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_group, "group(self) -> str");

extern "C" {static PyObject *meth_QSettings_group(PyObject *, PyObject *);}
static PyObject *meth_QSettings_group(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->group());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_group, doc_QSettings_group);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_beginReadArray, "beginReadArray(self, str) -> int");

extern "C" {static PyObject *meth_QSettings_beginReadArray(PyObject *, PyObject *);}
static PyObject *meth_QSettings_beginReadArray(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->beginReadArray(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_beginReadArray, doc_QSettings_beginReadArray);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_beginWriteArray, "beginWriteArray(self, str, size: int = -1)");

extern "C" {static PyObject *meth_QSettings_beginWriteArray(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_beginWriteArray(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1 = -1;
         ::QSettings *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_size,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QSettings, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            sipCpp->beginWriteArray(*a0,a1);
            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_QSettings, sipName_beginWriteArray, doc_QSettings_beginWriteArray);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_endArray, "endArray(self)");

extern "C" {static PyObject *meth_QSettings_endArray(PyObject *, PyObject *);}
static PyObject *meth_QSettings_endArray(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
            sipCpp->endArray();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_endArray, doc_QSettings_endArray);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_setArrayIndex, "setArrayIndex(self, int)");

extern "C" {static PyObject *meth_QSettings_setArrayIndex(PyObject *, PyObject *);}
static PyObject *meth_QSettings_setArrayIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSettings, &sipCpp, &a0))
        {
            sipCpp->setArrayIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_setArrayIndex, doc_QSettings_setArrayIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_allKeys, "allKeys(self) -> List[str]");

extern "C" {static PyObject *meth_QSettings_allKeys(PyObject *, PyObject *);}
static PyObject *meth_QSettings_allKeys(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->allKeys());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_allKeys, doc_QSettings_allKeys);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_childKeys, "childKeys(self) -> List[str]");

extern "C" {static PyObject *meth_QSettings_childKeys(PyObject *, PyObject *);}
static PyObject *meth_QSettings_childKeys(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->childKeys());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_childKeys, doc_QSettings_childKeys);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_childGroups, "childGroups(self) -> List[str]");

extern "C" {static PyObject *meth_QSettings_childGroups(PyObject *, PyObject *);}
static PyObject *meth_QSettings_childGroups(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->childGroups());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_childGroups, doc_QSettings_childGroups);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_isWritable, "isWritable(self) -> bool");

extern "C" {static PyObject *meth_QSettings_isWritable(PyObject *, PyObject *);}
static PyObject *meth_QSettings_isWritable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWritable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_isWritable, doc_QSettings_isWritable);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_setValue, "setValue(self, str, Any)");

extern "C" {static PyObject *meth_QSettings_setValue(PyObject *, PyObject *);}
static PyObject *meth_QSettings_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QSettings, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setValue(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_setValue, doc_QSettings_setValue);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_value, "value(self, str, defaultValue: Any = None, type: type = None) -> object");

extern "C" {static PyObject *meth_QSettings_value(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_value(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant& a1def = QVariant();
        const  ::QVariant* a1 = &a1def;
        int a1State = 0;
        PyObject * a2 = 0;
        const  ::QSettings *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_defaultValue,
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1P0", &sipSelf, sipType_QSettings, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant, &a1, &a1State, &a2))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 73 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsettings.sip"
        QVariant value;
        
        // QSettings has an internal mutex so release the GIL to avoid the possibility
        // of deadlocks.
        Py_BEGIN_ALLOW_THREADS
        value = sipCpp->value(*a0, *a1);
        Py_END_ALLOW_THREADS
        
        sipRes = pyqt5_from_qvariant_by_type(value, a2);
        
        sipIsErr = !sipRes;
#line 66102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_value, doc_QSettings_value);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_remove, "remove(self, str)");

extern "C" {static PyObject *meth_QSettings_remove(PyObject *, PyObject *);}
static PyObject *meth_QSettings_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->remove(*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_QSettings, sipName_remove, doc_QSettings_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_contains, "contains(self, str) -> bool");

extern "C" {static PyObject *meth_QSettings_contains(PyObject *, PyObject *);}
static PyObject *meth_QSettings_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->contains(*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_QSettings, sipName_contains, doc_QSettings_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_setFallbacksEnabled, "setFallbacksEnabled(self, bool)");

extern "C" {static PyObject *meth_QSettings_setFallbacksEnabled(PyObject *, PyObject *);}
static PyObject *meth_QSettings_setFallbacksEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSettings, &sipCpp, &a0))
        {
            sipCpp->setFallbacksEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_setFallbacksEnabled, doc_QSettings_setFallbacksEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_fallbacksEnabled, "fallbacksEnabled(self) -> bool");

extern "C" {static PyObject *meth_QSettings_fallbacksEnabled(PyObject *, PyObject *);}
static PyObject *meth_QSettings_fallbacksEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->fallbacksEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_fallbacksEnabled, doc_QSettings_fallbacksEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_fileName, "fileName(self) -> str");

extern "C" {static PyObject *meth_QSettings_fileName(PyObject *, PyObject *);}
static PyObject *meth_QSettings_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &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_QSettings, sipName_fileName, doc_QSettings_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_setPath, "setPath(QSettings.Format, QSettings.Scope, str)");

extern "C" {static PyObject *meth_QSettings_setPath(PyObject *, PyObject *);}
static PyObject *meth_QSettings_setPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSettings::Format a0;
         ::QSettings::Scope a1;
        const  ::QString* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "EEJ1", sipType_QSettings_Format, &a0, sipType_QSettings_Scope, &a1, sipType_QString,&a2, &a2State))
        {
             ::QSettings::setPath(a0,a1,*a2);
            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_QSettings, sipName_setPath, doc_QSettings_setPath);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_format, "format(self) -> QSettings.Format");

extern "C" {static PyObject *meth_QSettings_format(PyObject *, PyObject *);}
static PyObject *meth_QSettings_format(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QSettings::Format sipRes;

            sipRes = sipCpp->format();

            return sipConvertFromEnum(sipRes,sipType_QSettings_Format);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_format, doc_QSettings_format);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_scope, "scope(self) -> QSettings.Scope");

extern "C" {static PyObject *meth_QSettings_scope(PyObject *, PyObject *);}
static PyObject *meth_QSettings_scope(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QSettings::Scope sipRes;

            sipRes = sipCpp->scope();

            return sipConvertFromEnum(sipRes,sipType_QSettings_Scope);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_scope, doc_QSettings_scope);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_organizationName, "organizationName(self) -> str");

extern "C" {static PyObject *meth_QSettings_organizationName(PyObject *, PyObject *);}
static PyObject *meth_QSettings_organizationName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->organizationName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_organizationName, doc_QSettings_organizationName);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_applicationName, "applicationName(self) -> str");

extern "C" {static PyObject *meth_QSettings_applicationName(PyObject *, PyObject *);}
static PyObject *meth_QSettings_applicationName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->applicationName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_applicationName, doc_QSettings_applicationName);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_setDefaultFormat, "setDefaultFormat(QSettings.Format)");

extern "C" {static PyObject *meth_QSettings_setDefaultFormat(PyObject *, PyObject *);}
static PyObject *meth_QSettings_setDefaultFormat(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSettings::Format a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QSettings_Format, &a0))
        {
             ::QSettings::setDefaultFormat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_setDefaultFormat, doc_QSettings_setDefaultFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_defaultFormat, "defaultFormat() -> QSettings.Format");

extern "C" {static PyObject *meth_QSettings_defaultFormat(PyObject *, PyObject *);}
static PyObject *meth_QSettings_defaultFormat(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QSettings::Format sipRes;

            sipRes =  ::QSettings::defaultFormat();

            return sipConvertFromEnum(sipRes,sipType_QSettings_Format);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_defaultFormat, doc_QSettings_defaultFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_setIniCodec, "setIniCodec(self, QTextCodec)\n"
    "setIniCodec(self, str)");

extern "C" {static PyObject *meth_QSettings_setIniCodec(PyObject *, PyObject *);}
static PyObject *meth_QSettings_setIniCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTextCodec* a0;
        PyObject *a0Keep;
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QSettings, &sipCpp, &a0Keep, sipType_QTextCodec, &a0))
        {
            sipCpp->setIniCodec(a0);

            sipKeepReference(sipSelf, -3, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
         ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QSettings, &sipCpp, &a0Keep, &a0))
        {
            sipCpp->setIniCodec(a0);
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_setIniCodec, doc_QSettings_setIniCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_iniCodec, "iniCodec(self) -> QTextCodec");

extern "C" {static PyObject *meth_QSettings_iniCodec(PyObject *, PyObject *);}
static PyObject *meth_QSettings_iniCodec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSettings, &sipCpp))
        {
             ::QTextCodec*sipRes;

            sipRes = sipCpp->iniCodec();

            return sipConvertFromType(sipRes,sipType_QTextCodec,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_iniCodec, doc_QSettings_iniCodec);

    return NULL;
}


PyDoc_STRVAR(doc_QSettings_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QSettings_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSettings_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSettings *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSettings, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSettings, sipName_event, doc_QSettings_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSettings(void *, const sipTypeDef *);}
static void *cast_QSettings(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSettings *sipCpp = reinterpret_cast< ::QSettings *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSettings(void *, int);}
static void release_QSettings(void *sipCppV, int)
{
     ::QSettings *sipCpp = reinterpret_cast< ::QSettings *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSettings(sipSimpleWrapper *);}
static void dealloc_QSettings(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSettings *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSettings(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSettings(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSettings(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSettings *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_application,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|J1JH", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            sipCpp = new sipQSettings(*a0,*a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QSettings::Scope a0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::QObject* a3 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_application,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "EJ1|J1JH", sipType_QSettings_Scope, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QObject, &a3, sipOwner))
        {
            sipCpp = new sipQSettings(a0,*a1,*a2,a3);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QSettings::Format a0;
         ::QSettings::Scope a1;
        const  ::QString* a2;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;
         ::QObject* a4 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_application,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "EEJ1|J1JH", sipType_QSettings_Format, &a0, sipType_QSettings_Scope, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QObject, &a4, sipOwner))
        {
            sipCpp = new sipQSettings(a0,a1,*a2,*a3,a4);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSettings::Format a1;
         ::QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1E|JH", sipType_QString,&a0, &a0State, sipType_QSettings_Format, &a1, sipType_QObject, &a2, sipOwner))
        {
            sipCpp = new sipQSettings(*a0,a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQSettings(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSettings[] = {{169, 255, 1}};


static PyMethodDef methods_QSettings[] = {
    {SIP_MLNAME_CAST(sipName_allKeys), meth_QSettings_allKeys, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_allKeys)},
    {SIP_MLNAME_CAST(sipName_applicationName), meth_QSettings_applicationName, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_applicationName)},
    {SIP_MLNAME_CAST(sipName_beginGroup), meth_QSettings_beginGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_beginGroup)},
    {SIP_MLNAME_CAST(sipName_beginReadArray), meth_QSettings_beginReadArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_beginReadArray)},
    {SIP_MLNAME_CAST(sipName_beginWriteArray), (PyCFunction)meth_QSettings_beginWriteArray, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSettings_beginWriteArray)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSettings_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childGroups), meth_QSettings_childGroups, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_childGroups)},
    {SIP_MLNAME_CAST(sipName_childKeys), meth_QSettings_childKeys, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_childKeys)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QSettings_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_clear)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSettings_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), meth_QSettings_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_contains)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSettings_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultFormat), meth_QSettings_defaultFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_defaultFormat)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSettings_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endArray), meth_QSettings_endArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_endArray)},
    {SIP_MLNAME_CAST(sipName_endGroup), meth_QSettings_endGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_endGroup)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QSettings_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSettings_event)},
    {SIP_MLNAME_CAST(sipName_fallbacksEnabled), meth_QSettings_fallbacksEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_fallbacksEnabled)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QSettings_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_fileName)},
    {SIP_MLNAME_CAST(sipName_format), meth_QSettings_format, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_format)},
    {SIP_MLNAME_CAST(sipName_group), meth_QSettings_group, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_group)},
    {SIP_MLNAME_CAST(sipName_iniCodec), meth_QSettings_iniCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_iniCodec)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSettings_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isWritable), meth_QSettings_isWritable, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_isWritable)},
    {SIP_MLNAME_CAST(sipName_organizationName), meth_QSettings_organizationName, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_organizationName)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSettings_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_QSettings_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_remove)},
    {SIP_MLNAME_CAST(sipName_scope), meth_QSettings_scope, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_scope)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSettings_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSettings_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setArrayIndex), meth_QSettings_setArrayIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_setArrayIndex)},
    {SIP_MLNAME_CAST(sipName_setDefaultFormat), meth_QSettings_setDefaultFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_setDefaultFormat)},
    {SIP_MLNAME_CAST(sipName_setFallbacksEnabled), meth_QSettings_setFallbacksEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_setFallbacksEnabled)},
    {SIP_MLNAME_CAST(sipName_setIniCodec), meth_QSettings_setIniCodec, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_setIniCodec)},
    {SIP_MLNAME_CAST(sipName_setPath), meth_QSettings_setPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_setPath)},
    {SIP_MLNAME_CAST(sipName_setValue), meth_QSettings_setValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_setValue)},
    {SIP_MLNAME_CAST(sipName_status), meth_QSettings_status, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_status)},
    {SIP_MLNAME_CAST(sipName_sync), meth_QSettings_sync, METH_VARARGS, SIP_MLDOC_CAST(doc_QSettings_sync)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSettings_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_value), (PyCFunction)meth_QSettings_value, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSettings_value)}
};

static sipEnumMemberDef enummembers_QSettings[] = {
    {sipName_AccessError, static_cast<int>( ::QSettings::AccessError), 214},
    {sipName_FormatError, static_cast<int>( ::QSettings::FormatError), 214},
    {sipName_IniFormat, static_cast<int>( ::QSettings::IniFormat), 212},
    {sipName_InvalidFormat, static_cast<int>( ::QSettings::InvalidFormat), 212},
    {sipName_NativeFormat, static_cast<int>( ::QSettings::NativeFormat), 212},
    {sipName_NoError, static_cast<int>( ::QSettings::NoError), 214},
    {sipName_SystemScope, static_cast<int>( ::QSettings::SystemScope), 213},
    {sipName_UserScope, static_cast<int>( ::QSettings::UserScope), 213},
};

PyDoc_STRVAR(doc_QSettings, "\1QSettings(str, application: str = '', parent: QObject = None)\n"
    "QSettings(QSettings.Scope, str, application: str = '', parent: QObject = None)\n"
    "QSettings(QSettings.Format, QSettings.Scope, str, application: str = '', parent: QObject = None)\n"
    "QSettings(str, QSettings.Format, parent: QObject = None)\n"
    "QSettings(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QSettings = {
    & ::QSettings::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSettings = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSettings,
        {0},
        &plugin_QSettings
    },
    {
        sipNameNr_QSettings,
        {0, 0, 1},
        40, methods_QSettings,
        8, enummembers_QSettings,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSettings,
    -1,
    -1,
    supers_QSettings,
    0,
    init_type_QSettings,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSettings,
    0,
    0,
    0,
    release_QSettings,
    cast_QSettings,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsequentialanimationgroup.sip"
#include <qsequentialanimationgroup.h>
#line 66864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 66868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 66871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 66874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpauseanimation.sip"
#include <qpauseanimation.h>
#line 66877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 66880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 66883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 66886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 66889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 66892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 66895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 66898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 66901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 66904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 66910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 66916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 66919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 66922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQSequentialAnimationGroup : public  ::QSequentialAnimationGroup
{
public:
    sipQSequentialAnimationGroup( ::QObject*);
    virtual ~sipQSequentialAnimationGroup();

    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;
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_updateCurrentTime(bool,int);
    void sipProtectVirt_updateState(bool, ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void sipProtectVirt_updateDirection(bool, ::QAbstractAnimation::Direction);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void updateDirection( ::QAbstractAnimation::Direction);
    void updateState( ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void updateCurrentTime(int);
    int duration() 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:
    sipQSequentialAnimationGroup(const sipQSequentialAnimationGroup &);
    sipQSequentialAnimationGroup &operator = (const sipQSequentialAnimationGroup &);

    char sipPyMethods[11];
};

sipQSequentialAnimationGroup::sipQSequentialAnimationGroup( ::QObject*a0):  ::QSequentialAnimationGroup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSequentialAnimationGroup::~sipQSequentialAnimationGroup()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSequentialAnimationGroup::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSequentialAnimationGroup);

    return  ::QSequentialAnimationGroup::metaObject();
}

int sipQSequentialAnimationGroup::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSequentialAnimationGroup::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QSequentialAnimationGroup,_c,_id,_a);

    return _id;
}

void *sipQSequentialAnimationGroup::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSequentialAnimationGroup, _clname, &sipCpp) ? sipCpp :  ::QSequentialAnimationGroup::qt_metacast(_clname));
}

void sipQSequentialAnimationGroup::updateDirection( ::QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
         ::QSequentialAnimationGroup::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::Direction);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSequentialAnimationGroup::updateState( ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
         ::QSequentialAnimationGroup::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::State, ::QAbstractAnimation::State);

    sipVH_QtCore_8(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQSequentialAnimationGroup::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_updateCurrentTime);

    if (!sipMeth)
    {
         ::QSequentialAnimationGroup::updateCurrentTime(a0);
        return;
    }

    extern void sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQSequentialAnimationGroup::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_duration);

    if (!sipMeth)
        return  ::QSequentialAnimationGroup::duration();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSequentialAnimationGroup::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSequentialAnimationGroup::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSequentialAnimationGroup::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSequentialAnimationGroup::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQSequentialAnimationGroup::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSequentialAnimationGroup::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSequentialAnimationGroup::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSequentialAnimationGroup::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSequentialAnimationGroup::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSequentialAnimationGroup::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSequentialAnimationGroup::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSequentialAnimationGroup::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSequentialAnimationGroup::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSequentialAnimationGroup::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSequentialAnimationGroup::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSequentialAnimationGroup::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSequentialAnimationGroup::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSequentialAnimationGroup::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSequentialAnimationGroup::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSequentialAnimationGroup::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSequentialAnimationGroup::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSequentialAnimationGroup::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSequentialAnimationGroup::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQSequentialAnimationGroup::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QSequentialAnimationGroup::event(a0) : event(a0));
}

void sipQSequentialAnimationGroup::sipProtectVirt_updateCurrentTime(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ?  ::QSequentialAnimationGroup::updateCurrentTime(a0) : updateCurrentTime(a0));
}

void sipQSequentialAnimationGroup::sipProtectVirt_updateState(bool sipSelfWasArg, ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    (sipSelfWasArg ?  ::QSequentialAnimationGroup::updateState(a0,a1) : updateState(a0,a1));
}

void sipQSequentialAnimationGroup::sipProtectVirt_updateDirection(bool sipSelfWasArg, ::QAbstractAnimation::Direction a0)
{
    (sipSelfWasArg ?  ::QSequentialAnimationGroup::updateDirection(a0) : updateDirection(a0));
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 67313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSequentialAnimationGroup, sipName_sender, doc_QSequentialAnimationGroup_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 67373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QSequentialAnimationGroup, sipName_receivers, doc_QSequentialAnimationGroup_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSequentialAnimationGroup, &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_QSequentialAnimationGroup, sipName_timerEvent, doc_QSequentialAnimationGroup_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSequentialAnimationGroup, &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_QSequentialAnimationGroup, sipName_childEvent, doc_QSequentialAnimationGroup_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSequentialAnimationGroup, &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_QSequentialAnimationGroup, sipName_customEvent, doc_QSequentialAnimationGroup_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSequentialAnimationGroup, &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_QSequentialAnimationGroup, sipName_connectNotify, doc_QSequentialAnimationGroup_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSequentialAnimationGroup, &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_QSequentialAnimationGroup, sipName_disconnectNotify, doc_QSequentialAnimationGroup_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSequentialAnimationGroup, sipName_senderSignalIndex, doc_QSequentialAnimationGroup_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSequentialAnimationGroup, &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_QSequentialAnimationGroup, sipName_isSignalConnected, doc_QSequentialAnimationGroup_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_addPause, "addPause(self, int) -> QPauseAnimation");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_addPause(PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_addPause(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QSequentialAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp, &a0))
        {
             ::QPauseAnimation*sipRes;

            sipRes = sipCpp->addPause(a0);

            return sipConvertFromType(sipRes,sipType_QPauseAnimation,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSequentialAnimationGroup, sipName_addPause, doc_QSequentialAnimationGroup_addPause);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_insertPause, "insertPause(self, int, int) -> QPauseAnimation");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_insertPause(PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_insertPause(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
         ::QSequentialAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp, &a0, &a1))
        {
             ::QPauseAnimation*sipRes;

            sipRes = sipCpp->insertPause(a0,a1);

            return sipConvertFromType(sipRes,sipType_QPauseAnimation,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSequentialAnimationGroup, sipName_insertPause, doc_QSequentialAnimationGroup_insertPause);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_currentAnimation, "currentAnimation(self) -> QAbstractAnimation");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_currentAnimation(PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_currentAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSequentialAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp))
        {
             ::QAbstractAnimation*sipRes;

            sipRes = sipCpp->currentAnimation();

            return sipConvertFromType(sipRes,sipType_QAbstractAnimation,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSequentialAnimationGroup, sipName_currentAnimation, doc_QSequentialAnimationGroup_currentAnimation);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_duration, "duration(self) -> int");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_duration(PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSequentialAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QSequentialAnimationGroup::duration() : sipCpp->duration());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSequentialAnimationGroup, sipName_duration, doc_QSequentialAnimationGroup_duration);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSequentialAnimationGroup, sipName_event, doc_QSequentialAnimationGroup_event);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_updateCurrentTime, "updateCurrentTime(self, int)");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_updateCurrentTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_updateCurrentTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSequentialAnimationGroup, sipName_updateCurrentTime, doc_QSequentialAnimationGroup_updateCurrentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_updateState, "updateState(self, QAbstractAnimation.State, QAbstractAnimation.State)");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_updateState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_updateState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::State a0;
         ::QAbstractAnimation::State a1;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEE", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp, sipType_QAbstractAnimation_State, &a0, sipType_QAbstractAnimation_State, &a1))
        {
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSequentialAnimationGroup, sipName_updateState, doc_QSequentialAnimationGroup_updateState);

    return NULL;
}


PyDoc_STRVAR(doc_QSequentialAnimationGroup_updateDirection, "updateDirection(self, QAbstractAnimation.Direction)");

extern "C" {static PyObject *meth_QSequentialAnimationGroup_updateDirection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSequentialAnimationGroup_updateDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::Direction a0;
        sipQSequentialAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QSequentialAnimationGroup, &sipCpp, sipType_QAbstractAnimation_Direction, &a0))
        {
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSequentialAnimationGroup, sipName_updateDirection, doc_QSequentialAnimationGroup_updateDirection);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSequentialAnimationGroup(void *, const sipTypeDef *);}
static void *cast_QSequentialAnimationGroup(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSequentialAnimationGroup *sipCpp = reinterpret_cast< ::QSequentialAnimationGroup *>(sipCppV);

    if (targetType == sipType_QAnimationGroup)
        return static_cast< ::QAnimationGroup *>(sipCpp);

    if (targetType == sipType_QAbstractAnimation)
        return static_cast< ::QAbstractAnimation *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSequentialAnimationGroup(void *, int);}
static void release_QSequentialAnimationGroup(void *sipCppV, int)
{
     ::QSequentialAnimationGroup *sipCpp = reinterpret_cast< ::QSequentialAnimationGroup *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSequentialAnimationGroup(sipSimpleWrapper *);}
static void dealloc_QSequentialAnimationGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSequentialAnimationGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSequentialAnimationGroup(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSequentialAnimationGroup(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSequentialAnimationGroup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSequentialAnimationGroup *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 sipQSequentialAnimationGroup(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSequentialAnimationGroup[] = {{15, 255, 1}};


static PyMethodDef methods_QSequentialAnimationGroup[] = {
    {SIP_MLNAME_CAST(sipName_addPause), meth_QSequentialAnimationGroup_addPause, METH_VARARGS, SIP_MLDOC_CAST(doc_QSequentialAnimationGroup_addPause)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSequentialAnimationGroup_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSequentialAnimationGroup_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentAnimation), meth_QSequentialAnimationGroup_currentAnimation, METH_VARARGS, SIP_MLDOC_CAST(doc_QSequentialAnimationGroup_currentAnimation)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSequentialAnimationGroup_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSequentialAnimationGroup_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_QSequentialAnimationGroup_duration, METH_VARARGS, SIP_MLDOC_CAST(doc_QSequentialAnimationGroup_duration)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QSequentialAnimationGroup_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSequentialAnimationGroup_event)},
    {SIP_MLNAME_CAST(sipName_insertPause), meth_QSequentialAnimationGroup_insertPause, METH_VARARGS, SIP_MLDOC_CAST(doc_QSequentialAnimationGroup_insertPause)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSequentialAnimationGroup_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSequentialAnimationGroup_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSequentialAnimationGroup_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSequentialAnimationGroup_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSequentialAnimationGroup_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCurrentTime), (PyCFunction)meth_QSequentialAnimationGroup_updateCurrentTime, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSequentialAnimationGroup_updateCurrentTime)},
    {SIP_MLNAME_CAST(sipName_updateDirection), (PyCFunction)meth_QSequentialAnimationGroup_updateDirection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSequentialAnimationGroup_updateDirection)},
    {SIP_MLNAME_CAST(sipName_updateState), (PyCFunction)meth_QSequentialAnimationGroup_updateState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSequentialAnimationGroup_updateState)}
};

PyDoc_STRVAR(doc_QSequentialAnimationGroup, "\1QSequentialAnimationGroup(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSequentialAnimationGroup[] = {
    {"currentAnimationChanged(QAbstractAnimation*)", "\1currentAnimationChanged(self, QAbstractAnimation)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QSequentialAnimationGroup = {
    & ::QSequentialAnimationGroup::staticMetaObject,
    0,
    signals_QSequentialAnimationGroup,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSequentialAnimationGroup = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSequentialAnimationGroup,
        {0},
        &plugin_QSequentialAnimationGroup
    },
    {
        sipNameNr_QSequentialAnimationGroup,
        {0, 0, 1},
        17, methods_QSequentialAnimationGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSequentialAnimationGroup,
    -1,
    -1,
    supers_QSequentialAnimationGroup,
    0,
    init_type_QSequentialAnimationGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSequentialAnimationGroup,
    0,
    0,
    0,
    release_QSequentialAnimationGroup,
    cast_QSequentialAnimationGroup,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsemaphore.sip"
#include <qsemaphore.h>
#line 67995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QSemaphore_acquire, "acquire(self, n: int = 1)");

extern "C" {static PyObject *meth_QSemaphore_acquire(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSemaphore_acquire(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
         ::QSemaphore *sipCpp;

        static const char *sipKwdList[] = {
            sipName_n,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QSemaphore, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->acquire(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSemaphore, sipName_acquire, doc_QSemaphore_acquire);

    return NULL;
}


PyDoc_STRVAR(doc_QSemaphore_tryAcquire, "tryAcquire(self, n: int = 1) -> bool\n"
    "tryAcquire(self, int, int) -> bool");

extern "C" {static PyObject *meth_QSemaphore_tryAcquire(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSemaphore_tryAcquire(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
         ::QSemaphore *sipCpp;

        static const char *sipKwdList[] = {
            sipName_n,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QSemaphore, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->tryAcquire(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
         ::QSemaphore *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QSemaphore, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tryAcquire(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSemaphore, sipName_tryAcquire, doc_QSemaphore_tryAcquire);

    return NULL;
}


PyDoc_STRVAR(doc_QSemaphore_release, "release(self, n: int = 1)");

extern "C" {static PyObject *meth_QSemaphore_release(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSemaphore_release(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
         ::QSemaphore *sipCpp;

        static const char *sipKwdList[] = {
            sipName_n,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QSemaphore, &sipCpp, &a0))
        {
            sipCpp->release(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSemaphore, sipName_release, doc_QSemaphore_release);

    return NULL;
}


PyDoc_STRVAR(doc_QSemaphore_available, "available(self) -> int");

extern "C" {static PyObject *meth_QSemaphore_available(PyObject *, PyObject *);}
static PyObject *meth_QSemaphore_available(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSemaphore *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSemaphore, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->available();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSemaphore, sipName_available, doc_QSemaphore_available);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSemaphore(void *, int);}
static void release_QSemaphore(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSemaphore *>(sipCppV);
}


extern "C" {static void dealloc_QSemaphore(sipSimpleWrapper *);}
static void dealloc_QSemaphore(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSemaphore(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSemaphore(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSemaphore(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSemaphore *sipCpp = 0;

    {
        int a0 = 0;

        static const char *sipKwdList[] = {
            sipName_n,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|i", &a0))
        {
            sipCpp = new  ::QSemaphore(a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSemaphore[] = {
    {SIP_MLNAME_CAST(sipName_acquire), (PyCFunction)meth_QSemaphore_acquire, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSemaphore_acquire)},
    {SIP_MLNAME_CAST(sipName_available), meth_QSemaphore_available, METH_VARARGS, SIP_MLDOC_CAST(doc_QSemaphore_available)},
    {SIP_MLNAME_CAST(sipName_release), (PyCFunction)meth_QSemaphore_release, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSemaphore_release)},
    {SIP_MLNAME_CAST(sipName_tryAcquire), (PyCFunction)meth_QSemaphore_tryAcquire, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSemaphore_tryAcquire)}
};

PyDoc_STRVAR(doc_QSemaphore, "\1QSemaphore(n: int = 0)");


static pyqt5ClassPluginDef plugin_QSemaphore = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSemaphore = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSemaphore,
        {0},
        &plugin_QSemaphore
    },
    {
        sipNameNr_QSemaphore,
        {0, 0, 1},
        4, methods_QSemaphore,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSemaphore,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSemaphore,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSemaphore,
    0,
    0,
    0,
    release_QSemaphore,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsavefile.sip"
#include <qsavefile.h>
#line 68257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 68261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 68264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 68267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 68270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 68273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 68276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 68279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 68291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 68294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 68297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 68300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 68303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 68306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 68309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 68312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 68315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQSaveFile : public  ::QSaveFile
{
public:
    sipQSaveFile(const  ::QString&);
    sipQSaveFile( ::QObject*);
    sipQSaveFile(const  ::QString&, ::QObject*);
    virtual ~sipQSaveFile();

    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;
    void sipProtect_setOpenMode( ::QIODevice::OpenMode);
    void sipProtect_setErrorString(const  ::QString&);
     ::qint64 sipProtectVirt_readData(bool,char*, ::qint64);
     ::qint64 sipProtectVirt_readLineData(bool,char*, ::qint64);
     ::qint64 sipProtectVirt_writeData(bool,const char*,PY_LONG_LONG);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::qint64 writeData(const char*,PY_LONG_LONG);
     ::qint64 readLineData(char*, ::qint64);
     ::qint64 readData(char*, ::qint64);
    bool waitForBytesWritten(int);
    bool waitForReadyRead(int);
    bool canReadLine() const;
     ::qint64 bytesToWrite() const;
     ::qint64 bytesAvailable() const;
    bool reset();
    bool atEnd() const;
    bool seek( ::qint64);
     ::qint64 size() const;
     ::qint64 pos() const;
    bool open( ::QIODevice::OpenMode);
    bool isSequential() 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&);
     ::QString fileName() const;
    bool resize( ::qint64);
     ::QFileDevice::Permissions permissions() const;
    bool setPermissions( ::QFileDevice::Permissions);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSaveFile(const sipQSaveFile &);
    sipQSaveFile &operator = (const sipQSaveFile &);

    char sipPyMethods[26];
};

sipQSaveFile::sipQSaveFile(const  ::QString& a0):  ::QSaveFile(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSaveFile::sipQSaveFile( ::QObject*a0):  ::QSaveFile(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSaveFile::sipQSaveFile(const  ::QString& a0, ::QObject*a1):  ::QSaveFile(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSaveFile::~sipQSaveFile()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQSaveFile::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QSaveFile);

    return  ::QSaveFile::metaObject();
}

int sipQSaveFile::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QSaveFile::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QSaveFile,_c,_id,_a);

    return _id;
}

void *sipQSaveFile::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QSaveFile, _clname, &sipCpp) ? sipCpp :  ::QSaveFile::qt_metacast(_clname));
}

 ::qint64 sipQSaveFile::writeData(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_writeData);

    if (!sipMeth)
        return  ::QSaveFile::writeData(a0,a1);

    extern  ::qint64 sipVH_QtCore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_49(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQSaveFile::readLineData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_readLineData);

    if (!sipMeth)
        return  ::QSaveFile::readLineData(a0,a1);

    extern  ::qint64 sipVH_QtCore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_48(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQSaveFile::readData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_readData);

    if (!sipMeth)
        return  ::QSaveFile::readData(a0,a1);

    extern  ::qint64 sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQSaveFile::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!sipMeth)
        return  ::QSaveFile::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSaveFile::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!sipMeth)
        return  ::QSaveFile::waitForReadyRead(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSaveFile::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_canReadLine);

    if (!sipMeth)
        return  ::QSaveFile::canReadLine();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQSaveFile::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!sipMeth)
        return  ::QSaveFile::bytesToWrite();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQSaveFile::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!sipMeth)
        return  ::QSaveFile::bytesAvailable();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
        return  ::QSaveFile::reset();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_atEnd);

    if (!sipMeth)
        return  ::QSaveFile::atEnd();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::seek( ::qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return  ::QSaveFile::seek(a0);

    extern bool sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qint64);

    return sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::qint64 sipQSaveFile::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return  ::QSaveFile::size();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQSaveFile::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return  ::QSaveFile::pos();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::open( ::QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return  ::QSaveFile::open(a0);

    extern bool sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QIODevice::OpenMode);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSaveFile::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return  ::QSaveFile::isSequential();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QSaveFile::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQSaveFile::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QSaveFile::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQSaveFile::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QSaveFile::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSaveFile::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QSaveFile::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSaveFile::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QSaveFile::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSaveFile::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QSaveFile::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQSaveFile::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QSaveFile::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QString sipQSaveFile::fileName() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_fileName);

    if (!sipMeth)
        return  ::QSaveFile::fileName();

    extern  ::QString sipVH_QtCore_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_50(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::resize( ::qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resize);

    if (!sipMeth)
        return  ::QSaveFile::resize(a0);

    extern bool sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qint64);

    return sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QFileDevice::Permissions sipQSaveFile::permissions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_permissions);

    if (!sipMeth)
        return  ::QSaveFile::permissions();

    extern  ::QFileDevice::Permissions sipVH_QtCore_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_51(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQSaveFile::setPermissions( ::QFileDevice::Permissions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_setPermissions);

    if (!sipMeth)
        return  ::QSaveFile::setPermissions(a0);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFileDevice::Permissions);

    return sipVH_QtCore_52(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQSaveFile::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQSaveFile::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQSaveFile::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSaveFile::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQSaveFile::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQSaveFile::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSaveFile::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSaveFile::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQSaveFile::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQSaveFile::sipProtect_setOpenMode( ::QIODevice::OpenMode a0)
{
     ::QIODevice::setOpenMode(a0);
}

void sipQSaveFile::sipProtect_setErrorString(const  ::QString& a0)
{
     ::QIODevice::setErrorString(a0);
}

 ::qint64 sipQSaveFile::sipProtectVirt_readData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QFileDevice::readData(a0,a1) : readData(a0,a1));
}

 ::qint64 sipQSaveFile::sipProtectVirt_readLineData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QFileDevice::readLineData(a0,a1) : readLineData(a0,a1));
}

 ::qint64 sipQSaveFile::sipProtectVirt_writeData(bool sipSelfWasArg,const char*a0,PY_LONG_LONG a1)
{
    return (sipSelfWasArg ?  ::QSaveFile::writeData(a0,a1) : writeData(a0,a1));
}


PyDoc_STRVAR(doc_QSaveFile_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QSaveFile_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSaveFile, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 68955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_sender, doc_QSaveFile_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QSaveFile_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSaveFile, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 69015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QSaveFile, sipName_receivers, doc_QSaveFile_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QSaveFile_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSaveFile, &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_QSaveFile, sipName_timerEvent, doc_QSaveFile_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QSaveFile_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSaveFile, &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_QSaveFile, sipName_childEvent, doc_QSaveFile_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QSaveFile_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSaveFile, &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_QSaveFile, sipName_customEvent, doc_QSaveFile_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSaveFile_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSaveFile, &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_QSaveFile, sipName_connectNotify, doc_QSaveFile_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QSaveFile_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSaveFile, &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_QSaveFile, sipName_disconnectNotify, doc_QSaveFile_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QSaveFile_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSaveFile, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_senderSignalIndex, doc_QSaveFile_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSaveFile_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSaveFile, &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_QSaveFile, sipName_isSignalConnected, doc_QSaveFile_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_setOpenMode, "setOpenMode(self, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag])");

extern "C" {static PyObject *meth_QSaveFile_setOpenMode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_setOpenMode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
        sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QSaveFile, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            sipCpp->sipProtect_setOpenMode(*a0);
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_setOpenMode, doc_QSaveFile_setOpenMode);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_setErrorString, "setErrorString(self, str)");

extern "C" {static PyObject *meth_QSaveFile_setErrorString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_setErrorString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QSaveFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->sipProtect_setErrorString(*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_QSaveFile, sipName_setErrorString, doc_QSaveFile_setErrorString);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_readData, "readData(self, int) -> bytes");

extern "C" {static PyObject *meth_QSaveFile_readData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_readData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QSaveFile, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QFileDevice::readData(s, a0) : sipCpp->readData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 69351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_readData, doc_QSaveFile_readData);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_readLineData, "readLineData(self, int) -> bytes");

extern "C" {static PyObject *meth_QSaveFile_readLineData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_readLineData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QSaveFile, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QFileDevice::readLineData(s, a0) : sipCpp->readLineData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 69420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_readLineData, doc_QSaveFile_readLineData);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_fileName, "fileName(self) -> str");

extern "C" {static PyObject *meth_QSaveFile_fileName(PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QSaveFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSaveFile, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::QSaveFile::fileName() : sipCpp->fileName()));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_fileName, doc_QSaveFile_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_setFileName, "setFileName(self, str)");

extern "C" {static PyObject *meth_QSaveFile_setFileName(PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_setFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QSaveFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSaveFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFileName(*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_QSaveFile, sipName_setFileName, doc_QSaveFile_setFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_open, "open(self, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag]) -> bool");

extern "C" {static PyObject *meth_QSaveFile_open(PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
         ::QSaveFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSaveFile, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QSaveFile::open(*a0) : sipCpp->open(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_open, doc_QSaveFile_open);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_commit, "commit(self) -> bool");

extern "C" {static PyObject *meth_QSaveFile_commit(PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_commit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSaveFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSaveFile, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->commit();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_commit, doc_QSaveFile_commit);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_cancelWriting, "cancelWriting(self)");

extern "C" {static PyObject *meth_QSaveFile_cancelWriting(PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_cancelWriting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSaveFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSaveFile, &sipCpp))
        {
            sipCpp->cancelWriting();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_cancelWriting, doc_QSaveFile_cancelWriting);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_setDirectWriteFallback, "setDirectWriteFallback(self, bool)");

extern "C" {static PyObject *meth_QSaveFile_setDirectWriteFallback(PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_setDirectWriteFallback(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QSaveFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSaveFile, &sipCpp, &a0))
        {
            sipCpp->setDirectWriteFallback(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_setDirectWriteFallback, doc_QSaveFile_setDirectWriteFallback);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_directWriteFallback, "directWriteFallback(self) -> bool");

extern "C" {static PyObject *meth_QSaveFile_directWriteFallback(PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_directWriteFallback(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSaveFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSaveFile, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->directWriteFallback();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_directWriteFallback, doc_QSaveFile_directWriteFallback);

    return NULL;
}


PyDoc_STRVAR(doc_QSaveFile_writeData, "writeData(self, bytes) -> int");

extern "C" {static PyObject *meth_QSaveFile_writeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_writeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const char* a0;
        SIP_SSIZE_T a1;
        sipQSaveFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bk", &sipSelf, sipType_QSaveFile, &sipCpp, &a0, &a1))
        {
             ::qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_writeData(sipSelfWasArg,a0,(PY_LONG_LONG)a1);
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSaveFile, sipName_writeData, doc_QSaveFile_writeData);

    return NULL;
}


extern "C" {static PyObject *meth_QSaveFile_close(PyObject *, PyObject *);}
static PyObject *meth_QSaveFile_close(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_QSaveFile, sipName_close, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QSaveFile(void *, const sipTypeDef *);}
static void *cast_QSaveFile(void *sipCppV, const sipTypeDef *targetType)
{
     ::QSaveFile *sipCpp = reinterpret_cast< ::QSaveFile *>(sipCppV);

    if (targetType == sipType_QFileDevice)
        return static_cast< ::QFileDevice *>(sipCpp);

    if (targetType == sipType_QIODevice)
        return static_cast< ::QIODevice *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSaveFile(void *, int);}
static void release_QSaveFile(void *sipCppV, int)
{
     ::QSaveFile *sipCpp = reinterpret_cast< ::QSaveFile *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSaveFile(sipSimpleWrapper *);}
static void dealloc_QSaveFile(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQSaveFile *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSaveFile(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QSaveFile(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSaveFile(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSaveFile *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new sipQSaveFile(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQSaveFile(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQSaveFile(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSaveFile[] = {{67, 255, 1}};


static PyMethodDef methods_QSaveFile[] = {
    {SIP_MLNAME_CAST(sipName_cancelWriting), meth_QSaveFile_cancelWriting, METH_VARARGS, SIP_MLDOC_CAST(doc_QSaveFile_cancelWriting)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSaveFile_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_QSaveFile_close, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_commit), meth_QSaveFile_commit, METH_VARARGS, SIP_MLDOC_CAST(doc_QSaveFile_commit)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSaveFile_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSaveFile_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_directWriteFallback), meth_QSaveFile_directWriteFallback, METH_VARARGS, SIP_MLDOC_CAST(doc_QSaveFile_directWriteFallback)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSaveFile_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QSaveFile_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QSaveFile_fileName)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSaveFile_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_QSaveFile_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QSaveFile_open)},
    {SIP_MLNAME_CAST(sipName_readData), (PyCFunction)meth_QSaveFile_readData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_readLineData), (PyCFunction)meth_QSaveFile_readLineData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSaveFile_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSaveFile_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSaveFile_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirectWriteFallback), meth_QSaveFile_setDirectWriteFallback, METH_VARARGS, SIP_MLDOC_CAST(doc_QSaveFile_setDirectWriteFallback)},
    {SIP_MLNAME_CAST(sipName_setErrorString), (PyCFunction)meth_QSaveFile_setErrorString, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFileName), meth_QSaveFile_setFileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QSaveFile_setFileName)},
    {SIP_MLNAME_CAST(sipName_setOpenMode), (PyCFunction)meth_QSaveFile_setOpenMode, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSaveFile_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), (PyCFunction)meth_QSaveFile_writeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSaveFile_writeData)}
};

PyDoc_STRVAR(doc_QSaveFile, "\1QSaveFile(str)\n"
    "QSaveFile(parent: QObject = None)\n"
    "QSaveFile(str, QObject)");


static pyqt5ClassPluginDef plugin_QSaveFile = {
    & ::QSaveFile::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSaveFile = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSaveFile,
        {0},
        &plugin_QSaveFile
    },
    {
        sipNameNr_QSaveFile,
        {0, 0, 1},
        22, methods_QSaveFile,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSaveFile,
    -1,
    -1,
    supers_QSaveFile,
    0,
    init_type_QSaveFile,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSaveFile,
    0,
    0,
    0,
    release_QSaveFile,
    cast_QSaveFile,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrunnable.sip"
#include <qrunnable.h>
#line 69880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



class sipQRunnable : public  ::QRunnable
{
public:
    sipQRunnable();
    sipQRunnable(const  ::QRunnable&);
    virtual ~sipQRunnable();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void run();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQRunnable(const sipQRunnable &);
    sipQRunnable &operator = (const sipQRunnable &);

    char sipPyMethods[1];
};

sipQRunnable::sipQRunnable():  ::QRunnable(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQRunnable::sipQRunnable(const  ::QRunnable& a0):  ::QRunnable(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQRunnable::~sipQRunnable()
{
    sipInstanceDestroyed(sipPySelf);
}

void sipQRunnable::run()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QRunnable,sipName_run);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QRunnable_run, "run(self)");

extern "C" {static PyObject *meth_QRunnable_run(PyObject *, PyObject *);}
static PyObject *meth_QRunnable_run(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QRunnable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRunnable, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QRunnable, sipName_run);
                return NULL;
            }

            sipCpp->run();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRunnable, sipName_run, doc_QRunnable_run);

    return NULL;
}


PyDoc_STRVAR(doc_QRunnable_autoDelete, "autoDelete(self) -> bool");

extern "C" {static PyObject *meth_QRunnable_autoDelete(PyObject *, PyObject *);}
static PyObject *meth_QRunnable_autoDelete(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRunnable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRunnable, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoDelete();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRunnable, sipName_autoDelete, doc_QRunnable_autoDelete);

    return NULL;
}


PyDoc_STRVAR(doc_QRunnable_setAutoDelete, "setAutoDelete(self, bool)");

extern "C" {static PyObject *meth_QRunnable_setAutoDelete(PyObject *, PyObject *);}
static PyObject *meth_QRunnable_setAutoDelete(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QRunnable *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QRunnable, &sipCpp, &a0))
        {
            sipCpp->setAutoDelete(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRunnable, sipName_setAutoDelete, doc_QRunnable_setAutoDelete);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRunnable(void *, int);}
static void release_QRunnable(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQRunnable *>(sipCppV);
    else
        delete reinterpret_cast< ::QRunnable *>(sipCppV);
}


extern "C" {static void dealloc_QRunnable(sipSimpleWrapper *);}
static void dealloc_QRunnable(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQRunnable *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRunnable(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QRunnable(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRunnable(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQRunnable *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQRunnable();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QRunnable* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRunnable, &a0))
        {
            sipCpp = new sipQRunnable(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QRunnable[] = {
    {SIP_MLNAME_CAST(sipName_autoDelete), meth_QRunnable_autoDelete, METH_VARARGS, SIP_MLDOC_CAST(doc_QRunnable_autoDelete)},
    {SIP_MLNAME_CAST(sipName_run), meth_QRunnable_run, METH_VARARGS, SIP_MLDOC_CAST(doc_QRunnable_run)},
    {SIP_MLNAME_CAST(sipName_setAutoDelete), meth_QRunnable_setAutoDelete, METH_VARARGS, SIP_MLDOC_CAST(doc_QRunnable_setAutoDelete)}
};

PyDoc_STRVAR(doc_QRunnable, "\1QRunnable()\n"
    "QRunnable(QRunnable)");


static pyqt5ClassPluginDef plugin_QRunnable = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QRunnable = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRunnable,
        {0},
        &plugin_QRunnable
    },
    {
        sipNameNr_QRunnable,
        {0, 0, 1},
        3, methods_QRunnable,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRunnable,
    -1,
    -1,
    0,
    0,
    init_type_QRunnable,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRunnable,
    0,
    0,
    0,
    release_QRunnable,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qresource.sip"
#include <qresource.h>
#line 70156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 70160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 70163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 70166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 70169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQResource : public  ::QResource
{
public:
    sipQResource(const  ::QString&,const  ::QLocale&);
    ~sipQResource();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QStringList sipProtect_children() const;
    bool sipProtect_isDir() const;
    bool sipProtect_isFile() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQResource(const sipQResource &);
    sipQResource &operator = (const sipQResource &);
};

sipQResource::sipQResource(const  ::QString& a0,const  ::QLocale& a1):  ::QResource(a0,a1), sipPySelf(0)
{
}

sipQResource::~sipQResource()
{
    sipInstanceDestroyed(sipPySelf);
}

 ::QStringList sipQResource::sipProtect_children() const
{
    return  ::QResource::children();
}

bool sipQResource::sipProtect_isDir() const
{
    return  ::QResource::isDir();
}

bool sipQResource::sipProtect_isFile() const
{
    return  ::QResource::isFile();
}


PyDoc_STRVAR(doc_QResource_absoluteFilePath, "absoluteFilePath(self) -> str");

extern "C" {static PyObject *meth_QResource_absoluteFilePath(PyObject *, PyObject *);}
static PyObject *meth_QResource_absoluteFilePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QResource, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->absoluteFilePath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_absoluteFilePath, doc_QResource_absoluteFilePath);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_data, "data(self) -> bytes");

extern "C" {static PyObject *meth_QResource_data(PyObject *, PyObject *);}
static PyObject *meth_QResource_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QResource, &sipCpp))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qresource.sip"
        // The data may contain embedded '\0's so set the size explicitly.
        
        if (sipCpp->data())
        {
            if ((sipRes = SIPBytes_FromStringAndSize((char *)sipCpp->data(), sipCpp->size())) == NULL)
                sipIsErr = 1;
        }
        else
        {
            Py_INCREF(Py_None);
            sipRes = Py_None;
        }
#line 70276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_data, doc_QResource_data);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_fileName, "fileName(self) -> str");

extern "C" {static PyObject *meth_QResource_fileName(PyObject *, PyObject *);}
static PyObject *meth_QResource_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QResource, &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_QResource, sipName_fileName, doc_QResource_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_isCompressed, "isCompressed(self) -> bool");

extern "C" {static PyObject *meth_QResource_isCompressed(PyObject *, PyObject *);}
static PyObject *meth_QResource_isCompressed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QResource, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isCompressed();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_isCompressed, doc_QResource_isCompressed);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QResource_isValid(PyObject *, PyObject *);}
static PyObject *meth_QResource_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QResource, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_isValid, doc_QResource_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_locale, "locale(self) -> QLocale");

extern "C" {static PyObject *meth_QResource_locale(PyObject *, PyObject *);}
static PyObject *meth_QResource_locale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QResource, &sipCpp))
        {
             ::QLocale*sipRes;

            sipRes = new  ::QLocale(sipCpp->locale());

            return sipConvertFromNewType(sipRes,sipType_QLocale,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_locale, doc_QResource_locale);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_setFileName, "setFileName(self, str)");

extern "C" {static PyObject *meth_QResource_setFileName(PyObject *, PyObject *);}
static PyObject *meth_QResource_setFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QResource, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFileName(*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_QResource, sipName_setFileName, doc_QResource_setFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_setLocale, "setLocale(self, QLocale)");

extern "C" {static PyObject *meth_QResource_setLocale(PyObject *, PyObject *);}
static PyObject *meth_QResource_setLocale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale* a0;
         ::QResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QResource, &sipCpp, sipType_QLocale, &a0))
        {
            sipCpp->setLocale(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_setLocale, doc_QResource_setLocale);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_size, "size(self) -> int");

extern "C" {static PyObject *meth_QResource_size(PyObject *, PyObject *);}
static PyObject *meth_QResource_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QResource, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->size();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_size, doc_QResource_size);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_registerResource, "registerResource(str, mapRoot: str = '') -> bool");

extern "C" {static PyObject *meth_QResource_registerResource(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QResource_registerResource(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mapRoot,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            sipRes =  ::QResource::registerResource(*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_QResource, sipName_registerResource, doc_QResource_registerResource);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_registerResourceData, "registerResourceData(bytes, mapRoot: str = '') -> bool");

extern "C" {static PyObject *meth_QResource_registerResourceData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QResource_registerResourceData(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::uchar* a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mapRoot,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "s|J1", &a0, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            sipRes =  ::QResource::registerResource(a0,*a1);
            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_QResource, sipName_registerResourceData, doc_QResource_registerResourceData);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_unregisterResource, "unregisterResource(str, mapRoot: str = '') -> bool");

extern "C" {static PyObject *meth_QResource_unregisterResource(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QResource_unregisterResource(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mapRoot,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            sipRes =  ::QResource::unregisterResource(*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_QResource, sipName_unregisterResource, doc_QResource_unregisterResource);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_unregisterResourceData, "unregisterResourceData(bytes, mapRoot: str = '') -> bool");

extern "C" {static PyObject *meth_QResource_unregisterResourceData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QResource_unregisterResourceData(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::uchar* a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mapRoot,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "s|J1", &a0, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            sipRes =  ::QResource::unregisterResource(a0,*a1);
            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_QResource, sipName_unregisterResourceData, doc_QResource_unregisterResourceData);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_children, "children(self) -> List[str]");

extern "C" {static PyObject *meth_QResource_children(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QResource_children(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQResource *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QResource, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->sipProtect_children());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_children, doc_QResource_children);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_isDir, "isDir(self) -> bool");

extern "C" {static PyObject *meth_QResource_isDir(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QResource_isDir(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQResource *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QResource, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isDir();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_isDir, doc_QResource_isDir);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_isFile, "isFile(self) -> bool");

extern "C" {static PyObject *meth_QResource_isFile(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QResource_isFile(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQResource *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QResource, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isFile();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_isFile, doc_QResource_isFile);

    return NULL;
}


PyDoc_STRVAR(doc_QResource_lastModified, "lastModified(self) -> QDateTime");

extern "C" {static PyObject *meth_QResource_lastModified(PyObject *, PyObject *);}
static PyObject *meth_QResource_lastModified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QResource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QResource, &sipCpp))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->lastModified());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QResource, sipName_lastModified, doc_QResource_lastModified);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QResource(void *, int);}
static void release_QResource(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQResource *>(sipCppV);
    else
        delete reinterpret_cast< ::QResource *>(sipCppV);
}


extern "C" {static void dealloc_QResource(sipSimpleWrapper *);}
static void dealloc_QResource(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQResource *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QResource(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QResource(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QResource(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQResource *sipCpp = 0;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
        const  ::QLocale& a1def = QLocale();
        const  ::QLocale* a1 = &a1def;

        static const char *sipKwdList[] = {
            sipName_fileName,
            sipName_locale,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J1J9", sipType_QString,&a0, &a0State, sipType_QLocale, &a1))
        {
            sipCpp = new sipQResource(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QResource[] = {
    {SIP_MLNAME_CAST(sipName_absoluteFilePath), meth_QResource_absoluteFilePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_absoluteFilePath)},
    {SIP_MLNAME_CAST(sipName_children), (PyCFunction)meth_QResource_children, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QResource_children)},
    {SIP_MLNAME_CAST(sipName_data), meth_QResource_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_data)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QResource_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_fileName)},
    {SIP_MLNAME_CAST(sipName_isCompressed), meth_QResource_isCompressed, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_isCompressed)},
    {SIP_MLNAME_CAST(sipName_isDir), (PyCFunction)meth_QResource_isDir, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QResource_isDir)},
    {SIP_MLNAME_CAST(sipName_isFile), (PyCFunction)meth_QResource_isFile, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QResource_isFile)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QResource_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_isValid)},
    {SIP_MLNAME_CAST(sipName_lastModified), meth_QResource_lastModified, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_lastModified)},
    {SIP_MLNAME_CAST(sipName_locale), meth_QResource_locale, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_locale)},
    {SIP_MLNAME_CAST(sipName_registerResource), (PyCFunction)meth_QResource_registerResource, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QResource_registerResource)},
    {SIP_MLNAME_CAST(sipName_registerResourceData), (PyCFunction)meth_QResource_registerResourceData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QResource_registerResourceData)},
    {SIP_MLNAME_CAST(sipName_setFileName), meth_QResource_setFileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_setFileName)},
    {SIP_MLNAME_CAST(sipName_setLocale), meth_QResource_setLocale, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_setLocale)},
    {SIP_MLNAME_CAST(sipName_size), meth_QResource_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QResource_size)},
    {SIP_MLNAME_CAST(sipName_unregisterResource), (PyCFunction)meth_QResource_unregisterResource, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QResource_unregisterResource)},
    {SIP_MLNAME_CAST(sipName_unregisterResourceData), (PyCFunction)meth_QResource_unregisterResourceData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QResource_unregisterResourceData)}
};

PyDoc_STRVAR(doc_QResource, "\1QResource(fileName: str = '', locale: QLocale = QLocale())");


static pyqt5ClassPluginDef plugin_QResource = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QResource = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QResource,
        {0},
        &plugin_QResource
    },
    {
        sipNameNr_QResource,
        {0, 0, 1},
        17, methods_QResource,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QResource,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QResource,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QResource,
    0,
    0,
    0,
    release_QResource,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 70903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRegularExpressionMatchIterator_swap, "swap(self, QRegularExpressionMatchIterator)");

extern "C" {static PyObject *meth_QRegularExpressionMatchIterator_swap(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatchIterator_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpressionMatchIterator* a0;
         ::QRegularExpressionMatchIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRegularExpressionMatchIterator, &sipCpp, sipType_QRegularExpressionMatchIterator, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatchIterator, sipName_swap, doc_QRegularExpressionMatchIterator_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatchIterator_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QRegularExpressionMatchIterator_isValid(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatchIterator_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatchIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatchIterator, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatchIterator, sipName_isValid, doc_QRegularExpressionMatchIterator_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatchIterator_hasNext, "hasNext(self) -> bool");

extern "C" {static PyObject *meth_QRegularExpressionMatchIterator_hasNext(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatchIterator_hasNext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatchIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatchIterator, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasNext();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatchIterator, sipName_hasNext, doc_QRegularExpressionMatchIterator_hasNext);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatchIterator_next, "next(self) -> QRegularExpressionMatch");

extern "C" {static PyObject *meth_QRegularExpressionMatchIterator_next(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatchIterator_next(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpressionMatchIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatchIterator, &sipCpp))
        {
             ::QRegularExpressionMatch*sipRes;

            sipRes = new  ::QRegularExpressionMatch(sipCpp->next());

            return sipConvertFromNewType(sipRes,sipType_QRegularExpressionMatch,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatchIterator, sipName_next, doc_QRegularExpressionMatchIterator_next);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatchIterator_peekNext, "peekNext(self) -> QRegularExpressionMatch");

extern "C" {static PyObject *meth_QRegularExpressionMatchIterator_peekNext(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatchIterator_peekNext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatchIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatchIterator, &sipCpp))
        {
             ::QRegularExpressionMatch*sipRes;

            sipRes = new  ::QRegularExpressionMatch(sipCpp->peekNext());

            return sipConvertFromNewType(sipRes,sipType_QRegularExpressionMatch,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatchIterator, sipName_peekNext, doc_QRegularExpressionMatchIterator_peekNext);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatchIterator_regularExpression, "regularExpression(self) -> QRegularExpression");

extern "C" {static PyObject *meth_QRegularExpressionMatchIterator_regularExpression(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatchIterator_regularExpression(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatchIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatchIterator, &sipCpp))
        {
             ::QRegularExpression*sipRes;

            sipRes = new  ::QRegularExpression(sipCpp->regularExpression());

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatchIterator, sipName_regularExpression, doc_QRegularExpressionMatchIterator_regularExpression);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatchIterator_matchType, "matchType(self) -> QRegularExpression.MatchType");

extern "C" {static PyObject *meth_QRegularExpressionMatchIterator_matchType(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatchIterator_matchType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatchIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatchIterator, &sipCpp))
        {
             ::QRegularExpression::MatchType sipRes;

            sipRes = sipCpp->matchType();

            return sipConvertFromEnum(sipRes,sipType_QRegularExpression_MatchType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatchIterator, sipName_matchType, doc_QRegularExpressionMatchIterator_matchType);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatchIterator_matchOptions, "matchOptions(self) -> QRegularExpression.MatchOptions");

extern "C" {static PyObject *meth_QRegularExpressionMatchIterator_matchOptions(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatchIterator_matchOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatchIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatchIterator, &sipCpp))
        {
             ::QRegularExpression::MatchOptions*sipRes;

            sipRes = new  ::QRegularExpression::MatchOptions(sipCpp->matchOptions());

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_MatchOptions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatchIterator, sipName_matchOptions, doc_QRegularExpressionMatchIterator_matchOptions);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRegularExpressionMatchIterator(void *, int);}
static void release_QRegularExpressionMatchIterator(void *sipCppV, int)
{
    delete reinterpret_cast< ::QRegularExpressionMatchIterator *>(sipCppV);
}


extern "C" {static void assign_QRegularExpressionMatchIterator(void *, SIP_SSIZE_T, const void *);}
static void assign_QRegularExpressionMatchIterator(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QRegularExpressionMatchIterator *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QRegularExpressionMatchIterator *>(sipSrc);
}


extern "C" {static void *array_QRegularExpressionMatchIterator(SIP_SSIZE_T);}
static void *array_QRegularExpressionMatchIterator(SIP_SSIZE_T sipNrElem)
{
    return new  ::QRegularExpressionMatchIterator[sipNrElem];
}


extern "C" {static void *copy_QRegularExpressionMatchIterator(const void *, SIP_SSIZE_T);}
static void *copy_QRegularExpressionMatchIterator(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QRegularExpressionMatchIterator(reinterpret_cast<const  ::QRegularExpressionMatchIterator *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QRegularExpressionMatchIterator(sipSimpleWrapper *);}
static void dealloc_QRegularExpressionMatchIterator(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRegularExpressionMatchIterator(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QRegularExpressionMatchIterator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRegularExpressionMatchIterator(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QRegularExpressionMatchIterator *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QRegularExpressionMatchIterator();

            return sipCpp;
        }
    }

    {
        const  ::QRegularExpressionMatchIterator* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRegularExpressionMatchIterator, &a0))
        {
            sipCpp = new  ::QRegularExpressionMatchIterator(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QRegularExpressionMatchIterator[] = {
    {SIP_MLNAME_CAST(sipName_hasNext), meth_QRegularExpressionMatchIterator_hasNext, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatchIterator_hasNext)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QRegularExpressionMatchIterator_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatchIterator_isValid)},
    {SIP_MLNAME_CAST(sipName_matchOptions), meth_QRegularExpressionMatchIterator_matchOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatchIterator_matchOptions)},
    {SIP_MLNAME_CAST(sipName_matchType), meth_QRegularExpressionMatchIterator_matchType, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatchIterator_matchType)},
    {SIP_MLNAME_CAST(sipName_next), meth_QRegularExpressionMatchIterator_next, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatchIterator_next)},
    {SIP_MLNAME_CAST(sipName_peekNext), meth_QRegularExpressionMatchIterator_peekNext, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatchIterator_peekNext)},
    {SIP_MLNAME_CAST(sipName_regularExpression), meth_QRegularExpressionMatchIterator_regularExpression, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatchIterator_regularExpression)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QRegularExpressionMatchIterator_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatchIterator_swap)}
};

PyDoc_STRVAR(doc_QRegularExpressionMatchIterator, "\1QRegularExpressionMatchIterator()\n"
    "QRegularExpressionMatchIterator(QRegularExpressionMatchIterator)");


static pyqt5ClassPluginDef plugin_QRegularExpressionMatchIterator = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QRegularExpressionMatchIterator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRegularExpressionMatchIterator,
        {0},
        &plugin_QRegularExpressionMatchIterator
    },
    {
        sipNameNr_QRegularExpressionMatchIterator,
        {0, 0, 1},
        8, methods_QRegularExpressionMatchIterator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegularExpressionMatchIterator,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QRegularExpressionMatchIterator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRegularExpressionMatchIterator,
    assign_QRegularExpressionMatchIterator,
    array_QRegularExpressionMatchIterator,
    copy_QRegularExpressionMatchIterator,
    release_QRegularExpressionMatchIterator,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 71273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 71277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 71280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 71283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 71286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRegularExpressionMatch_swap, "swap(self, QRegularExpressionMatch)");

extern "C" {static PyObject *meth_QRegularExpressionMatch_swap(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpressionMatch* a0;
         ::QRegularExpressionMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp, sipType_QRegularExpressionMatch, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_swap, doc_QRegularExpressionMatch_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_regularExpression, "regularExpression(self) -> QRegularExpression");

extern "C" {static PyObject *meth_QRegularExpressionMatch_regularExpression(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_regularExpression(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp))
        {
             ::QRegularExpression*sipRes;

            sipRes = new  ::QRegularExpression(sipCpp->regularExpression());

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_regularExpression, doc_QRegularExpressionMatch_regularExpression);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_matchType, "matchType(self) -> QRegularExpression.MatchType");

extern "C" {static PyObject *meth_QRegularExpressionMatch_matchType(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_matchType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp))
        {
             ::QRegularExpression::MatchType sipRes;

            sipRes = sipCpp->matchType();

            return sipConvertFromEnum(sipRes,sipType_QRegularExpression_MatchType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_matchType, doc_QRegularExpressionMatch_matchType);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_matchOptions, "matchOptions(self) -> QRegularExpression.MatchOptions");

extern "C" {static PyObject *meth_QRegularExpressionMatch_matchOptions(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_matchOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp))
        {
             ::QRegularExpression::MatchOptions*sipRes;

            sipRes = new  ::QRegularExpression::MatchOptions(sipCpp->matchOptions());

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_MatchOptions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_matchOptions, doc_QRegularExpressionMatch_matchOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_hasMatch, "hasMatch(self) -> bool");

extern "C" {static PyObject *meth_QRegularExpressionMatch_hasMatch(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_hasMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasMatch();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_hasMatch, doc_QRegularExpressionMatch_hasMatch);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_hasPartialMatch, "hasPartialMatch(self) -> bool");

extern "C" {static PyObject *meth_QRegularExpressionMatch_hasPartialMatch(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_hasPartialMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasPartialMatch();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_hasPartialMatch, doc_QRegularExpressionMatch_hasPartialMatch);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QRegularExpressionMatch_isValid(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_isValid, doc_QRegularExpressionMatch_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_lastCapturedIndex, "lastCapturedIndex(self) -> int");

extern "C" {static PyObject *meth_QRegularExpressionMatch_lastCapturedIndex(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_lastCapturedIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->lastCapturedIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_lastCapturedIndex, doc_QRegularExpressionMatch_lastCapturedIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_captured, "captured(self, nth: int = 0) -> str\n"
    "captured(self, str) -> str");

extern "C" {static PyObject *meth_QRegularExpressionMatch_captured(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_captured(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
        const  ::QRegularExpressionMatch *sipCpp;

        static const char *sipKwdList[] = {
            sipName_nth,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->captured(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->captured(*a0));
            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_QRegularExpressionMatch, sipName_captured, doc_QRegularExpressionMatch_captured);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_capturedTexts, "capturedTexts(self) -> List[str]");

extern "C" {static PyObject *meth_QRegularExpressionMatch_capturedTexts(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_capturedTexts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->capturedTexts());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_capturedTexts, doc_QRegularExpressionMatch_capturedTexts);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_capturedStart, "capturedStart(self, nth: int = 0) -> int\n"
    "capturedStart(self, str) -> int");

extern "C" {static PyObject *meth_QRegularExpressionMatch_capturedStart(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_capturedStart(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
        const  ::QRegularExpressionMatch *sipCpp;

        static const char *sipKwdList[] = {
            sipName_nth,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->capturedStart(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->capturedStart(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_capturedStart, doc_QRegularExpressionMatch_capturedStart);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_capturedLength, "capturedLength(self, nth: int = 0) -> int\n"
    "capturedLength(self, str) -> int");

extern "C" {static PyObject *meth_QRegularExpressionMatch_capturedLength(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_capturedLength(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
        const  ::QRegularExpressionMatch *sipCpp;

        static const char *sipKwdList[] = {
            sipName_nth,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->capturedLength(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->capturedLength(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_capturedLength, doc_QRegularExpressionMatch_capturedLength);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpressionMatch_capturedEnd, "capturedEnd(self, nth: int = 0) -> int\n"
    "capturedEnd(self, str) -> int");

extern "C" {static PyObject *meth_QRegularExpressionMatch_capturedEnd(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRegularExpressionMatch_capturedEnd(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
        const  ::QRegularExpressionMatch *sipCpp;

        static const char *sipKwdList[] = {
            sipName_nth,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->capturedEnd(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QRegularExpressionMatch *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QRegularExpressionMatch, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->capturedEnd(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpressionMatch, sipName_capturedEnd, doc_QRegularExpressionMatch_capturedEnd);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRegularExpressionMatch(void *, int);}
static void release_QRegularExpressionMatch(void *sipCppV, int)
{
    delete reinterpret_cast< ::QRegularExpressionMatch *>(sipCppV);
}


extern "C" {static void assign_QRegularExpressionMatch(void *, SIP_SSIZE_T, const void *);}
static void assign_QRegularExpressionMatch(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QRegularExpressionMatch *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QRegularExpressionMatch *>(sipSrc);
}


extern "C" {static void *array_QRegularExpressionMatch(SIP_SSIZE_T);}
static void *array_QRegularExpressionMatch(SIP_SSIZE_T sipNrElem)
{
    return new  ::QRegularExpressionMatch[sipNrElem];
}


extern "C" {static void *copy_QRegularExpressionMatch(const void *, SIP_SSIZE_T);}
static void *copy_QRegularExpressionMatch(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QRegularExpressionMatch(reinterpret_cast<const  ::QRegularExpressionMatch *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QRegularExpressionMatch(sipSimpleWrapper *);}
static void dealloc_QRegularExpressionMatch(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRegularExpressionMatch(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QRegularExpressionMatch(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRegularExpressionMatch(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QRegularExpressionMatch *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QRegularExpressionMatch();

            return sipCpp;
        }
    }

    {
        const  ::QRegularExpressionMatch* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRegularExpressionMatch, &a0))
        {
            sipCpp = new  ::QRegularExpressionMatch(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QRegularExpressionMatch[] = {
    {SIP_MLNAME_CAST(sipName_captured), (PyCFunction)meth_QRegularExpressionMatch_captured, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_captured)},
    {SIP_MLNAME_CAST(sipName_capturedEnd), (PyCFunction)meth_QRegularExpressionMatch_capturedEnd, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_capturedEnd)},
    {SIP_MLNAME_CAST(sipName_capturedLength), (PyCFunction)meth_QRegularExpressionMatch_capturedLength, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_capturedLength)},
    {SIP_MLNAME_CAST(sipName_capturedStart), (PyCFunction)meth_QRegularExpressionMatch_capturedStart, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_capturedStart)},
    {SIP_MLNAME_CAST(sipName_capturedTexts), meth_QRegularExpressionMatch_capturedTexts, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_capturedTexts)},
    {SIP_MLNAME_CAST(sipName_hasMatch), meth_QRegularExpressionMatch_hasMatch, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_hasMatch)},
    {SIP_MLNAME_CAST(sipName_hasPartialMatch), meth_QRegularExpressionMatch_hasPartialMatch, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_hasPartialMatch)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QRegularExpressionMatch_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_isValid)},
    {SIP_MLNAME_CAST(sipName_lastCapturedIndex), meth_QRegularExpressionMatch_lastCapturedIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_lastCapturedIndex)},
    {SIP_MLNAME_CAST(sipName_matchOptions), meth_QRegularExpressionMatch_matchOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_matchOptions)},
    {SIP_MLNAME_CAST(sipName_matchType), meth_QRegularExpressionMatch_matchType, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_matchType)},
    {SIP_MLNAME_CAST(sipName_regularExpression), meth_QRegularExpressionMatch_regularExpression, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_regularExpression)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QRegularExpressionMatch_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpressionMatch_swap)}
};

PyDoc_STRVAR(doc_QRegularExpressionMatch, "\1QRegularExpressionMatch()\n"
    "QRegularExpressionMatch(QRegularExpressionMatch)");


static pyqt5ClassPluginDef plugin_QRegularExpressionMatch = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QRegularExpressionMatch = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRegularExpressionMatch,
        {0},
        &plugin_QRegularExpressionMatch
    },
    {
        sipNameNr_QRegularExpressionMatch,
        {0, 0, 1},
        13, methods_QRegularExpressionMatch,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegularExpressionMatch,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QRegularExpressionMatch,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRegularExpressionMatch,
    assign_QRegularExpressionMatch,
    array_QRegularExpressionMatch,
    copy_QRegularExpressionMatch,
    release_QRegularExpressionMatch,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 71893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 71897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QRegularExpression_MatchOptions___hash__(PyObject *);}
static long slot_QRegularExpression_MatchOptions___hash__(PyObject *sipSelf)
{
     ::QRegularExpression::MatchOptions *sipCpp = reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_MatchOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QRegularExpression::MatchOptions::Int();
#line 71915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QRegularExpression_MatchOptions___bool__(PyObject *);}
static int slot_QRegularExpression_MatchOptions___bool__(PyObject *sipSelf)
{
     ::QRegularExpression::MatchOptions *sipCpp = reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_MatchOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::MatchOptions::Int() != 0);
#line 71940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QRegularExpression_MatchOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRegularExpression::MatchOptions *sipCpp = reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_MatchOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression::MatchOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QRegularExpression_MatchOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::MatchOptions::Int() != a0->operator QRegularExpression::MatchOptions::Int());
#line 71970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QRegularExpression::MatchOptions *>(a0),sipType_QRegularExpression_MatchOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QRegularExpression_MatchOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRegularExpression_MatchOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRegularExpression::MatchOptions *sipCpp = reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_MatchOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression::MatchOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QRegularExpression_MatchOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::MatchOptions::Int() == a0->operator QRegularExpression::MatchOptions::Int());
#line 72006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QRegularExpression::MatchOptions *>(a0),sipType_QRegularExpression_MatchOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QRegularExpression_MatchOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRegularExpression_MatchOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRegularExpression_MatchOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRegularExpression::MatchOptions *sipCpp = reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_MatchOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QRegularExpression::MatchOptions(*sipCpp ^ a0);
#line 72045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRegularExpression_MatchOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpression::MatchOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QRegularExpression_MatchOptions, &a0, &a0State, &a1))
        {
             ::QRegularExpression::MatchOptions*sipRes;

            sipRes = new  ::QRegularExpression::MatchOptions((*a0 ^ a1));
            sipReleaseType(a0,sipType_QRegularExpression_MatchOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_MatchOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRegularExpression_MatchOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRegularExpression_MatchOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRegularExpression::MatchOptions *sipCpp = reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_MatchOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QRegularExpression::MatchOptions(*sipCpp | a0);
#line 72117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRegularExpression_MatchOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpression::MatchOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QRegularExpression_MatchOptions, &a0, &a0State, &a1))
        {
             ::QRegularExpression::MatchOptions*sipRes;

            sipRes = new  ::QRegularExpression::MatchOptions((*a0 | a1));
            sipReleaseType(a0,sipType_QRegularExpression_MatchOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_MatchOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRegularExpression_MatchOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRegularExpression_MatchOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRegularExpression::MatchOptions *sipCpp = reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_MatchOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QRegularExpression::MatchOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRegularExpression_MatchOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpression::MatchOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QRegularExpression_MatchOptions, &a0, &a0State, &a1))
        {
             ::QRegularExpression::MatchOptions*sipRes;

            sipRes = new  ::QRegularExpression::MatchOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QRegularExpression_MatchOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_MatchOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRegularExpression_MatchOptions___invert__(PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___invert__(PyObject *sipSelf)
{
     ::QRegularExpression::MatchOptions *sipCpp = reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_MatchOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QRegularExpression::MatchOptions*sipRes;

            sipRes = new  ::QRegularExpression::MatchOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_MatchOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QRegularExpression_MatchOptions___int__(PyObject *);}
static PyObject *slot_QRegularExpression_MatchOptions___int__(PyObject *sipSelf)
{
     ::QRegularExpression::MatchOptions *sipCpp = reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_MatchOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRegularExpression_MatchOptions(void *, int);}
static void release_QRegularExpression_MatchOptions(void *sipCppV, int)
{
    delete reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipCppV);
}


extern "C" {static void assign_QRegularExpression_MatchOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QRegularExpression_MatchOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QRegularExpression::MatchOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QRegularExpression::MatchOptions *>(sipSrc);
}


extern "C" {static void *array_QRegularExpression_MatchOptions(SIP_SSIZE_T);}
static void *array_QRegularExpression_MatchOptions(SIP_SSIZE_T sipNrElem)
{
    return new  ::QRegularExpression::MatchOptions[sipNrElem];
}


extern "C" {static void *copy_QRegularExpression_MatchOptions(const void *, SIP_SSIZE_T);}
static void *copy_QRegularExpression_MatchOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QRegularExpression::MatchOptions(reinterpret_cast<const  ::QRegularExpression::MatchOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QRegularExpression_MatchOptions(sipSimpleWrapper *);}
static void dealloc_QRegularExpression_MatchOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRegularExpression_MatchOptions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QRegularExpression_MatchOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRegularExpression_MatchOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QRegularExpression::MatchOptions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QRegularExpression::MatchOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QRegularExpression::MatchOptions(a0);

            return sipCpp;
        }
    }

    {
        const  ::QRegularExpression::MatchOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QRegularExpression_MatchOptions, &a0, &a0State))
        {
            sipCpp = new  ::QRegularExpression::MatchOptions(*a0);
            sipReleaseType(const_cast< ::QRegularExpression::MatchOptions *>(a0),sipType_QRegularExpression_MatchOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QRegularExpression_MatchOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QRegularExpression_MatchOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QRegularExpression::MatchOptions **sipCppPtr = reinterpret_cast< ::QRegularExpression::MatchOptions **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QRegularExpression::MatchOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QRegularExpression_MatchOption)) ||
            sipCanConvertToType(sipPy, sipType_QRegularExpression_MatchOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QRegularExpression_MatchOption)))
{
    *sipCppPtr = new QRegularExpression::MatchOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QRegularExpression::MatchOptions *>(sipConvertToType(sipPy, sipType_QRegularExpression_MatchOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 72385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QRegularExpression_MatchOptions[] = {
    {(void *)slot_QRegularExpression_MatchOptions___hash__, hash_slot},
    {(void *)slot_QRegularExpression_MatchOptions___bool__, bool_slot},
    {(void *)slot_QRegularExpression_MatchOptions___ne__, ne_slot},
    {(void *)slot_QRegularExpression_MatchOptions___eq__, eq_slot},
    {(void *)slot_QRegularExpression_MatchOptions___ixor__, ixor_slot},
    {(void *)slot_QRegularExpression_MatchOptions___xor__, xor_slot},
    {(void *)slot_QRegularExpression_MatchOptions___ior__, ior_slot},
    {(void *)slot_QRegularExpression_MatchOptions___or__, or_slot},
    {(void *)slot_QRegularExpression_MatchOptions___iand__, iand_slot},
    {(void *)slot_QRegularExpression_MatchOptions___and__, and_slot},
    {(void *)slot_QRegularExpression_MatchOptions___invert__, invert_slot},
    {(void *)slot_QRegularExpression_MatchOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QRegularExpression_MatchOptions, "\1QRegularExpression.MatchOptions()\n"
    "QRegularExpression.MatchOptions(Union[QRegularExpression.MatchOptions, QRegularExpression.MatchOption])\n"
    "QRegularExpression.MatchOptions(QRegularExpression.MatchOptions)");


static pyqt5ClassPluginDef plugin_QRegularExpression_MatchOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QRegularExpression_MatchOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRegularExpression__MatchOptions,
        {0},
        &plugin_QRegularExpression_MatchOptions
    },
    {
        sipNameNr_MatchOptions,
        {197, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegularExpression_MatchOptions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QRegularExpression_MatchOptions,
    init_type_QRegularExpression_MatchOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRegularExpression_MatchOptions,
    assign_QRegularExpression_MatchOptions,
    array_QRegularExpression_MatchOptions,
    copy_QRegularExpression_MatchOptions,
    release_QRegularExpression_MatchOptions,
    0,
    convertTo_QRegularExpression_MatchOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 72471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 72475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QRegularExpression_PatternOptions___hash__(PyObject *);}
static long slot_QRegularExpression_PatternOptions___hash__(PyObject *sipSelf)
{
     ::QRegularExpression::PatternOptions *sipCpp = reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_PatternOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QRegularExpression::PatternOptions::Int();
#line 72493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QRegularExpression_PatternOptions___bool__(PyObject *);}
static int slot_QRegularExpression_PatternOptions___bool__(PyObject *sipSelf)
{
     ::QRegularExpression::PatternOptions *sipCpp = reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_PatternOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::PatternOptions::Int() != 0);
#line 72518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QRegularExpression_PatternOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRegularExpression::PatternOptions *sipCpp = reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_PatternOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression::PatternOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QRegularExpression_PatternOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::PatternOptions::Int() != a0->operator QRegularExpression::PatternOptions::Int());
#line 72548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QRegularExpression::PatternOptions *>(a0),sipType_QRegularExpression_PatternOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QRegularExpression_PatternOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRegularExpression_PatternOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRegularExpression::PatternOptions *sipCpp = reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_PatternOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression::PatternOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QRegularExpression_PatternOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QRegularExpression::PatternOptions::Int() == a0->operator QRegularExpression::PatternOptions::Int());
#line 72584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QRegularExpression::PatternOptions *>(a0),sipType_QRegularExpression_PatternOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QRegularExpression_PatternOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRegularExpression_PatternOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRegularExpression_PatternOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRegularExpression::PatternOptions *sipCpp = reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_PatternOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QRegularExpression::PatternOptions(*sipCpp ^ a0);
#line 72623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRegularExpression_PatternOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpression::PatternOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QRegularExpression_PatternOptions, &a0, &a0State, &a1))
        {
             ::QRegularExpression::PatternOptions*sipRes;

            sipRes = new  ::QRegularExpression::PatternOptions((*a0 ^ a1));
            sipReleaseType(a0,sipType_QRegularExpression_PatternOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_PatternOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRegularExpression_PatternOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRegularExpression_PatternOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRegularExpression::PatternOptions *sipCpp = reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_PatternOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QRegularExpression::PatternOptions(*sipCpp | a0);
#line 72695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRegularExpression_PatternOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpression::PatternOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QRegularExpression_PatternOptions, &a0, &a0State, &a1))
        {
             ::QRegularExpression::PatternOptions*sipRes;

            sipRes = new  ::QRegularExpression::PatternOptions((*a0 | a1));
            sipReleaseType(a0,sipType_QRegularExpression_PatternOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_PatternOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRegularExpression_PatternOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRegularExpression_PatternOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRegularExpression::PatternOptions *sipCpp = reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_PatternOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QRegularExpression::PatternOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRegularExpression_PatternOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpression::PatternOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QRegularExpression_PatternOptions, &a0, &a0State, &a1))
        {
             ::QRegularExpression::PatternOptions*sipRes;

            sipRes = new  ::QRegularExpression::PatternOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QRegularExpression_PatternOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_PatternOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRegularExpression_PatternOptions___invert__(PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___invert__(PyObject *sipSelf)
{
     ::QRegularExpression::PatternOptions *sipCpp = reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_PatternOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QRegularExpression::PatternOptions*sipRes;

            sipRes = new  ::QRegularExpression::PatternOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_PatternOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QRegularExpression_PatternOptions___int__(PyObject *);}
static PyObject *slot_QRegularExpression_PatternOptions___int__(PyObject *sipSelf)
{
     ::QRegularExpression::PatternOptions *sipCpp = reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression_PatternOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRegularExpression_PatternOptions(void *, int);}
static void release_QRegularExpression_PatternOptions(void *sipCppV, int)
{
    delete reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipCppV);
}


extern "C" {static void assign_QRegularExpression_PatternOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QRegularExpression_PatternOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QRegularExpression::PatternOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QRegularExpression::PatternOptions *>(sipSrc);
}


extern "C" {static void *array_QRegularExpression_PatternOptions(SIP_SSIZE_T);}
static void *array_QRegularExpression_PatternOptions(SIP_SSIZE_T sipNrElem)
{
    return new  ::QRegularExpression::PatternOptions[sipNrElem];
}


extern "C" {static void *copy_QRegularExpression_PatternOptions(const void *, SIP_SSIZE_T);}
static void *copy_QRegularExpression_PatternOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QRegularExpression::PatternOptions(reinterpret_cast<const  ::QRegularExpression::PatternOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QRegularExpression_PatternOptions(sipSimpleWrapper *);}
static void dealloc_QRegularExpression_PatternOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRegularExpression_PatternOptions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QRegularExpression_PatternOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRegularExpression_PatternOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QRegularExpression::PatternOptions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QRegularExpression::PatternOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QRegularExpression::PatternOptions(a0);

            return sipCpp;
        }
    }

    {
        const  ::QRegularExpression::PatternOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QRegularExpression_PatternOptions, &a0, &a0State))
        {
            sipCpp = new  ::QRegularExpression::PatternOptions(*a0);
            sipReleaseType(const_cast< ::QRegularExpression::PatternOptions *>(a0),sipType_QRegularExpression_PatternOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QRegularExpression_PatternOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QRegularExpression_PatternOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QRegularExpression::PatternOptions **sipCppPtr = reinterpret_cast< ::QRegularExpression::PatternOptions **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QRegularExpression::PatternOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QRegularExpression_PatternOption)) ||
            sipCanConvertToType(sipPy, sipType_QRegularExpression_PatternOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QRegularExpression_PatternOption)))
{
    *sipCppPtr = new QRegularExpression::PatternOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QRegularExpression::PatternOptions *>(sipConvertToType(sipPy, sipType_QRegularExpression_PatternOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 72963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QRegularExpression_PatternOptions[] = {
    {(void *)slot_QRegularExpression_PatternOptions___hash__, hash_slot},
    {(void *)slot_QRegularExpression_PatternOptions___bool__, bool_slot},
    {(void *)slot_QRegularExpression_PatternOptions___ne__, ne_slot},
    {(void *)slot_QRegularExpression_PatternOptions___eq__, eq_slot},
    {(void *)slot_QRegularExpression_PatternOptions___ixor__, ixor_slot},
    {(void *)slot_QRegularExpression_PatternOptions___xor__, xor_slot},
    {(void *)slot_QRegularExpression_PatternOptions___ior__, ior_slot},
    {(void *)slot_QRegularExpression_PatternOptions___or__, or_slot},
    {(void *)slot_QRegularExpression_PatternOptions___iand__, iand_slot},
    {(void *)slot_QRegularExpression_PatternOptions___and__, and_slot},
    {(void *)slot_QRegularExpression_PatternOptions___invert__, invert_slot},
    {(void *)slot_QRegularExpression_PatternOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QRegularExpression_PatternOptions, "\1QRegularExpression.PatternOptions()\n"
    "QRegularExpression.PatternOptions(Union[QRegularExpression.PatternOptions, QRegularExpression.PatternOption])\n"
    "QRegularExpression.PatternOptions(QRegularExpression.PatternOptions)");


static pyqt5ClassPluginDef plugin_QRegularExpression_PatternOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QRegularExpression_PatternOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRegularExpression__PatternOptions,
        {0},
        &plugin_QRegularExpression_PatternOptions
    },
    {
        sipNameNr_PatternOptions,
        {197, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegularExpression_PatternOptions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QRegularExpression_PatternOptions,
    init_type_QRegularExpression_PatternOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRegularExpression_PatternOptions,
    assign_QRegularExpression_PatternOptions,
    array_QRegularExpression_PatternOptions,
    copy_QRegularExpression_PatternOptions,
    release_QRegularExpression_PatternOptions,
    0,
    convertTo_QRegularExpression_PatternOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 73049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 73053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 73056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 73059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 73062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 73065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 73068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRegularExpression_patternOptions, "patternOptions(self) -> QRegularExpression.PatternOptions");

extern "C" {static PyObject *meth_QRegularExpression_patternOptions(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_patternOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpression, &sipCpp))
        {
             ::QRegularExpression::PatternOptions*sipRes;

            sipRes = new  ::QRegularExpression::PatternOptions(sipCpp->patternOptions());

            return sipConvertFromNewType(sipRes,sipType_QRegularExpression_PatternOptions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_patternOptions, doc_QRegularExpression_patternOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_setPatternOptions, "setPatternOptions(self, Union[QRegularExpression.PatternOptions, QRegularExpression.PatternOption])");

extern "C" {static PyObject *meth_QRegularExpression_setPatternOptions(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_setPatternOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpression::PatternOptions* a0;
        int a0State = 0;
         ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRegularExpression, &sipCpp, sipType_QRegularExpression_PatternOptions, &a0, &a0State))
        {
            sipCpp->setPatternOptions(*a0);
            sipReleaseType(a0,sipType_QRegularExpression_PatternOptions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_setPatternOptions, doc_QRegularExpression_setPatternOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_swap, "swap(self, QRegularExpression)");

extern "C" {static PyObject *meth_QRegularExpression_swap(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegularExpression* a0;
         ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRegularExpression, &sipCpp, sipType_QRegularExpression, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_swap, doc_QRegularExpression_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_pattern, "pattern(self) -> str");

extern "C" {static PyObject *meth_QRegularExpression_pattern(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_pattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpression, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->pattern());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_pattern, doc_QRegularExpression_pattern);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_setPattern, "setPattern(self, str)");

extern "C" {static PyObject *meth_QRegularExpression_setPattern(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_setPattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRegularExpression, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPattern(*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_QRegularExpression, sipName_setPattern, doc_QRegularExpression_setPattern);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QRegularExpression_isValid(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpression, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_isValid, doc_QRegularExpression_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_patternErrorOffset, "patternErrorOffset(self) -> int");

extern "C" {static PyObject *meth_QRegularExpression_patternErrorOffset(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_patternErrorOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpression, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->patternErrorOffset();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_patternErrorOffset, doc_QRegularExpression_patternErrorOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QRegularExpression_errorString(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpression, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_errorString, doc_QRegularExpression_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_captureCount, "captureCount(self) -> int");

extern "C" {static PyObject *meth_QRegularExpression_captureCount(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_captureCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpression, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->captureCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_captureCount, doc_QRegularExpression_captureCount);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_match, "match(self, str, offset: int = 0, matchType: QRegularExpression.MatchType = QRegularExpression.NormalMatch, matchOptions: Union[QRegularExpression.MatchOptions, QRegularExpression.MatchOption] = QRegularExpression.NoMatchOption) -> QRegularExpressionMatch");

extern "C" {static PyObject *meth_QRegularExpression_match(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_match(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1 = 0;
         ::QRegularExpression::MatchType a2 = QRegularExpression::NormalMatch;
         ::QRegularExpression::MatchOptions a3def = QRegularExpression::NoMatchOption;
         ::QRegularExpression::MatchOptions* a3 = &a3def;
        int a3State = 0;
        const  ::QRegularExpression *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_offset,
            sipName_matchType,
            sipName_matchOptions,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iEJ1", &sipSelf, sipType_QRegularExpression, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QRegularExpression_MatchType, &a2, sipType_QRegularExpression_MatchOptions, &a3, &a3State))
        {
             ::QRegularExpressionMatch*sipRes;

            sipRes = new  ::QRegularExpressionMatch(sipCpp->match(*a0,a1,a2,*a3));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a3,sipType_QRegularExpression_MatchOptions,a3State);

            return sipConvertFromNewType(sipRes,sipType_QRegularExpressionMatch,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_match, doc_QRegularExpression_match);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_globalMatch, "globalMatch(self, str, offset: int = 0, matchType: QRegularExpression.MatchType = QRegularExpression.NormalMatch, matchOptions: Union[QRegularExpression.MatchOptions, QRegularExpression.MatchOption] = QRegularExpression.NoMatchOption) -> QRegularExpressionMatchIterator");

extern "C" {static PyObject *meth_QRegularExpression_globalMatch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_globalMatch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1 = 0;
         ::QRegularExpression::MatchType a2 = QRegularExpression::NormalMatch;
         ::QRegularExpression::MatchOptions a3def = QRegularExpression::NoMatchOption;
         ::QRegularExpression::MatchOptions* a3 = &a3def;
        int a3State = 0;
        const  ::QRegularExpression *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_offset,
            sipName_matchType,
            sipName_matchOptions,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iEJ1", &sipSelf, sipType_QRegularExpression, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QRegularExpression_MatchType, &a2, sipType_QRegularExpression_MatchOptions, &a3, &a3State))
        {
             ::QRegularExpressionMatchIterator*sipRes;

            sipRes = new  ::QRegularExpressionMatchIterator(sipCpp->globalMatch(*a0,a1,a2,*a3));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a3,sipType_QRegularExpression_MatchOptions,a3State);

            return sipConvertFromNewType(sipRes,sipType_QRegularExpressionMatchIterator,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_globalMatch, doc_QRegularExpression_globalMatch);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_escape, "escape(str) -> str");

extern "C" {static PyObject *meth_QRegularExpression_escape(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_escape(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QRegularExpression::escape(*a0));
            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_QRegularExpression, sipName_escape, doc_QRegularExpression_escape);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_namedCaptureGroups, "namedCaptureGroups(self) -> List[str]");

extern "C" {static PyObject *meth_QRegularExpression_namedCaptureGroups(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_namedCaptureGroups(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpression, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->namedCaptureGroups());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_namedCaptureGroups, doc_QRegularExpression_namedCaptureGroups);

    return NULL;
}


PyDoc_STRVAR(doc_QRegularExpression_optimize, "optimize(self)");

extern "C" {static PyObject *meth_QRegularExpression_optimize(PyObject *, PyObject *);}
static PyObject *meth_QRegularExpression_optimize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegularExpression, &sipCpp))
        {
            sipCpp->optimize();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegularExpression, sipName_optimize, doc_QRegularExpression_optimize);

    return NULL;
}


extern "C" {static long slot_QRegularExpression___hash__(PyObject *);}
static long slot_QRegularExpression___hash__(PyObject *sipSelf)
{
     ::QRegularExpression *sipCpp = reinterpret_cast< ::QRegularExpression *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
        sipRes = qHash(*sipCpp);
#line 73515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QRegularExpression___ne__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRegularExpression *sipCpp = reinterpret_cast< ::QRegularExpression *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRegularExpression, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QRegularExpression::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QRegularExpression, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRegularExpression___eq__(PyObject *,PyObject *);}
static PyObject *slot_QRegularExpression___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRegularExpression *sipCpp = reinterpret_cast< ::QRegularExpression *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRegularExpression* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRegularExpression, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QRegularExpression::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QRegularExpression, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRegularExpression___repr__(PyObject *);}
static PyObject *slot_QRegularExpression___repr__(PyObject *sipSelf)
{
     ::QRegularExpression *sipCpp = reinterpret_cast< ::QRegularExpression *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegularExpression));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 57 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
        PyObject *uni = qpycore_PyObject_FromQString(sipCpp->pattern());
        
        if (uni)
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QRegularExpression(%R", uni);
        
            if (sipCpp->patternOptions() != QRegularExpression::NoPatternOption)
            {
                qpycore_Unicode_ConcatAndDel(&sipRes,
                        PyUnicode_FromFormat(
                                ", PyQt5.QtCore.QRegularExpression.PatternOptions(%i)",
                                (int)sipCpp->patternOptions()));
            }
        
            qpycore_Unicode_ConcatAndDel(&sipRes, PyUnicode_FromString(")"));
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QRegularExpression(");
            PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni));
        
            if (sipCpp->patternOptions() != QRegularExpression::NoPatternOption)
            {
                PyString_ConcatAndDel(&sipRes,
                        PyString_FromFormat(
                                ", PyQt5.QtCore.QRegularExpression.PatternOptions(%i)",
                                (int)sipCpp->patternOptions()));
            }
        
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
            Py_DECREF(uni);
        }
        else
        {
            sipRes = 0;
        }
#line 73640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRegularExpression(void *, int);}
static void release_QRegularExpression(void *sipCppV, int)
{
    delete reinterpret_cast< ::QRegularExpression *>(sipCppV);
}


extern "C" {static void assign_QRegularExpression(void *, SIP_SSIZE_T, const void *);}
static void assign_QRegularExpression(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QRegularExpression *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QRegularExpression *>(sipSrc);
}


extern "C" {static void *array_QRegularExpression(SIP_SSIZE_T);}
static void *array_QRegularExpression(SIP_SSIZE_T sipNrElem)
{
    return new  ::QRegularExpression[sipNrElem];
}


extern "C" {static void *copy_QRegularExpression(const void *, SIP_SSIZE_T);}
static void *copy_QRegularExpression(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QRegularExpression(reinterpret_cast<const  ::QRegularExpression *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QRegularExpression(sipSimpleWrapper *);}
static void dealloc_QRegularExpression(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRegularExpression(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QRegularExpression(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRegularExpression(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QRegularExpression *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QRegularExpression();

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QRegularExpression::PatternOptions a1def = QRegularExpression::NoPatternOption;
         ::QRegularExpression::PatternOptions* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|J1", sipType_QString,&a0, &a0State, sipType_QRegularExpression_PatternOptions, &a1, &a1State))
        {
            sipCpp = new  ::QRegularExpression(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QRegularExpression_PatternOptions,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QRegularExpression* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRegularExpression, &a0))
        {
            sipCpp = new  ::QRegularExpression(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QRegularExpression[] = {
    {(void *)slot_QRegularExpression___hash__, hash_slot},
    {(void *)slot_QRegularExpression___ne__, ne_slot},
    {(void *)slot_QRegularExpression___eq__, eq_slot},
    {(void *)slot_QRegularExpression___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QRegularExpression[] = {
    {SIP_MLNAME_CAST(sipName_captureCount), meth_QRegularExpression_captureCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_captureCount)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QRegularExpression_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_errorString)},
    {SIP_MLNAME_CAST(sipName_escape), meth_QRegularExpression_escape, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_escape)},
    {SIP_MLNAME_CAST(sipName_globalMatch), (PyCFunction)meth_QRegularExpression_globalMatch, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRegularExpression_globalMatch)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QRegularExpression_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_isValid)},
    {SIP_MLNAME_CAST(sipName_match), (PyCFunction)meth_QRegularExpression_match, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRegularExpression_match)},
    {SIP_MLNAME_CAST(sipName_namedCaptureGroups), meth_QRegularExpression_namedCaptureGroups, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_namedCaptureGroups)},
    {SIP_MLNAME_CAST(sipName_optimize), meth_QRegularExpression_optimize, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_optimize)},
    {SIP_MLNAME_CAST(sipName_pattern), meth_QRegularExpression_pattern, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_pattern)},
    {SIP_MLNAME_CAST(sipName_patternErrorOffset), meth_QRegularExpression_patternErrorOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_patternErrorOffset)},
    {SIP_MLNAME_CAST(sipName_patternOptions), meth_QRegularExpression_patternOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_patternOptions)},
    {SIP_MLNAME_CAST(sipName_setPattern), meth_QRegularExpression_setPattern, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_setPattern)},
    {SIP_MLNAME_CAST(sipName_setPatternOptions), meth_QRegularExpression_setPatternOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_setPatternOptions)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QRegularExpression_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegularExpression_swap)}
};

static sipEnumMemberDef enummembers_QRegularExpression[] = {
    {sipName_AnchoredMatchOption, static_cast<int>( ::QRegularExpression::AnchoredMatchOption), 198},
    {sipName_CaseInsensitiveOption, static_cast<int>( ::QRegularExpression::CaseInsensitiveOption), 201},
    {sipName_DontAutomaticallyOptimizeOption, static_cast<int>( ::QRegularExpression::DontAutomaticallyOptimizeOption), 201},
    {sipName_DontCaptureOption, static_cast<int>( ::QRegularExpression::DontCaptureOption), 201},
    {sipName_DontCheckSubjectStringMatchOption, static_cast<int>( ::QRegularExpression::DontCheckSubjectStringMatchOption), 198},
    {sipName_DotMatchesEverythingOption, static_cast<int>( ::QRegularExpression::DotMatchesEverythingOption), 201},
    {sipName_ExtendedPatternSyntaxOption, static_cast<int>( ::QRegularExpression::ExtendedPatternSyntaxOption), 201},
    {sipName_InvertedGreedinessOption, static_cast<int>( ::QRegularExpression::InvertedGreedinessOption), 201},
    {sipName_MultilineOption, static_cast<int>( ::QRegularExpression::MultilineOption), 201},
    {sipName_NoMatch, static_cast<int>( ::QRegularExpression::NoMatch), 200},
    {sipName_NoMatchOption, static_cast<int>( ::QRegularExpression::NoMatchOption), 198},
    {sipName_NoPatternOption, static_cast<int>( ::QRegularExpression::NoPatternOption), 201},
    {sipName_NormalMatch, static_cast<int>( ::QRegularExpression::NormalMatch), 200},
    {sipName_OptimizeOnFirstUsageOption, static_cast<int>( ::QRegularExpression::OptimizeOnFirstUsageOption), 201},
    {sipName_PartialPreferCompleteMatch, static_cast<int>( ::QRegularExpression::PartialPreferCompleteMatch), 200},
    {sipName_PartialPreferFirstMatch, static_cast<int>( ::QRegularExpression::PartialPreferFirstMatch), 200},
    {sipName_UseUnicodePropertiesOption, static_cast<int>( ::QRegularExpression::UseUnicodePropertiesOption), 201},
};

PyDoc_STRVAR(doc_QRegularExpression, "\1QRegularExpression()\n"
    "QRegularExpression(str, options: Union[QRegularExpression.PatternOptions, QRegularExpression.PatternOption] = QRegularExpression.NoPatternOption)\n"
    "QRegularExpression(QRegularExpression)");


static pyqt5ClassPluginDef plugin_QRegularExpression = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QRegularExpression = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRegularExpression,
        {0},
        &plugin_QRegularExpression
    },
    {
        sipNameNr_QRegularExpression,
        {0, 0, 1},
        14, methods_QRegularExpression,
        17, enummembers_QRegularExpression,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegularExpression,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QRegularExpression,
    init_type_QRegularExpression,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRegularExpression,
    assign_QRegularExpression,
    array_QRegularExpression,
    copy_QRegularExpression,
    release_QRegularExpression,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 73852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 73856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 73859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 73862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRegExp_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QRegExp_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_isEmpty, doc_QRegExp_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QRegExp_isValid(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_isValid, doc_QRegExp_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_pattern, "pattern(self) -> str");

extern "C" {static PyObject *meth_QRegExp_pattern(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_pattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->pattern());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_pattern, doc_QRegExp_pattern);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_setPattern, "setPattern(self, str)");

extern "C" {static PyObject *meth_QRegExp_setPattern(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_setPattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRegExp, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPattern(*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_QRegExp, sipName_setPattern, doc_QRegExp_setPattern);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_caseSensitivity, "caseSensitivity(self) -> Qt.CaseSensitivity");

extern "C" {static PyObject *meth_QRegExp_caseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_caseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
             ::Qt::CaseSensitivity sipRes;

            sipRes = sipCpp->caseSensitivity();

            return sipConvertFromEnum(sipRes,sipType_Qt_CaseSensitivity);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_caseSensitivity, doc_QRegExp_caseSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_setCaseSensitivity, "setCaseSensitivity(self, Qt.CaseSensitivity)");

extern "C" {static PyObject *meth_QRegExp_setCaseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_setCaseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::CaseSensitivity a0;
         ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QRegExp, &sipCpp, sipType_Qt_CaseSensitivity, &a0))
        {
            sipCpp->setCaseSensitivity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_setCaseSensitivity, doc_QRegExp_setCaseSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_patternSyntax, "patternSyntax(self) -> QRegExp.PatternSyntax");

extern "C" {static PyObject *meth_QRegExp_patternSyntax(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_patternSyntax(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
             ::QRegExp::PatternSyntax sipRes;

            sipRes = sipCpp->patternSyntax();

            return sipConvertFromEnum(sipRes,sipType_QRegExp_PatternSyntax);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_patternSyntax, doc_QRegExp_patternSyntax);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_setPatternSyntax, "setPatternSyntax(self, QRegExp.PatternSyntax)");

extern "C" {static PyObject *meth_QRegExp_setPatternSyntax(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_setPatternSyntax(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegExp::PatternSyntax a0;
         ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QRegExp, &sipCpp, sipType_QRegExp_PatternSyntax, &a0))
        {
            sipCpp->setPatternSyntax(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_setPatternSyntax, doc_QRegExp_setPatternSyntax);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_isMinimal, "isMinimal(self) -> bool");

extern "C" {static PyObject *meth_QRegExp_isMinimal(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_isMinimal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMinimal();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_isMinimal, doc_QRegExp_isMinimal);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_setMinimal, "setMinimal(self, bool)");

extern "C" {static PyObject *meth_QRegExp_setMinimal(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_setMinimal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QRegExp, &sipCpp, &a0))
        {
            sipCpp->setMinimal(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_setMinimal, doc_QRegExp_setMinimal);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_exactMatch, "exactMatch(self, str) -> bool");

extern "C" {static PyObject *meth_QRegExp_exactMatch(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_exactMatch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRegExp, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->exactMatch(*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_QRegExp, sipName_exactMatch, doc_QRegExp_exactMatch);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_indexIn, "indexIn(self, str, offset: int = 0, caretMode: QRegExp.CaretMode = QRegExp.CaretAtZero) -> int");

extern "C" {static PyObject *meth_QRegExp_indexIn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRegExp_indexIn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1 = 0;
         ::QRegExp::CaretMode a2 = QRegExp::CaretAtZero;
        const  ::QRegExp *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_offset,
            sipName_caretMode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QRegExp, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QRegExp_CaretMode, &a2))
        {
            int sipRes;

            sipRes = sipCpp->indexIn(*a0,a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_indexIn, doc_QRegExp_indexIn);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_lastIndexIn, "lastIndexIn(self, str, offset: int = -1, caretMode: QRegExp.CaretMode = QRegExp.CaretAtZero) -> int");

extern "C" {static PyObject *meth_QRegExp_lastIndexIn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRegExp_lastIndexIn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1 = -1;
         ::QRegExp::CaretMode a2 = QRegExp::CaretAtZero;
        const  ::QRegExp *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_offset,
            sipName_caretMode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iE", &sipSelf, sipType_QRegExp, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QRegExp_CaretMode, &a2))
        {
            int sipRes;

            sipRes = sipCpp->lastIndexIn(*a0,a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_lastIndexIn, doc_QRegExp_lastIndexIn);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_matchedLength, "matchedLength(self) -> int");

extern "C" {static PyObject *meth_QRegExp_matchedLength(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_matchedLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->matchedLength();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_matchedLength, doc_QRegExp_matchedLength);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_capturedTexts, "capturedTexts(self) -> List[str]");

extern "C" {static PyObject *meth_QRegExp_capturedTexts(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_capturedTexts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->capturedTexts());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_capturedTexts, doc_QRegExp_capturedTexts);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_cap, "cap(self, nth: int = 0) -> str");

extern "C" {static PyObject *meth_QRegExp_cap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRegExp_cap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
         ::QRegExp *sipCpp;

        static const char *sipKwdList[] = {
            sipName_nth,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QRegExp, &sipCpp, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->cap(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_cap, doc_QRegExp_cap);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_pos, "pos(self, nth: int = 0) -> int");

extern "C" {static PyObject *meth_QRegExp_pos(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRegExp_pos(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
         ::QRegExp *sipCpp;

        static const char *sipKwdList[] = {
            sipName_nth,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QRegExp, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->pos(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_pos, doc_QRegExp_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QRegExp_errorString(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_errorString, doc_QRegExp_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_escape, "escape(str) -> str");

extern "C" {static PyObject *meth_QRegExp_escape(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_escape(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QRegExp::escape(*a0));
            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_QRegExp, sipName_escape, doc_QRegExp_escape);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_captureCount, "captureCount(self) -> int");

extern "C" {static PyObject *meth_QRegExp_captureCount(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_captureCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRegExp, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->captureCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_captureCount, doc_QRegExp_captureCount);

    return NULL;
}


PyDoc_STRVAR(doc_QRegExp_swap, "swap(self, QRegExp)");

extern "C" {static PyObject *meth_QRegExp_swap(PyObject *, PyObject *);}
static PyObject *meth_QRegExp_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRegExp* a0;
         ::QRegExp *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRegExp, &sipCpp, sipType_QRegExp, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRegExp, sipName_swap, doc_QRegExp_swap);

    return NULL;
}


extern "C" {static long slot_QRegExp___hash__(PyObject *);}
static long slot_QRegExp___hash__(PyObject *sipSelf)
{
     ::QRegExp *sipCpp = reinterpret_cast< ::QRegExp *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegExp));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
        sipRes = qHash(*sipCpp);
#line 74507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QRegExp___ne__(PyObject *,PyObject *);}
static PyObject *slot_QRegExp___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRegExp *sipCpp = reinterpret_cast< ::QRegExp *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegExp));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRegExp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QRegExp::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QRegExp, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRegExp___eq__(PyObject *,PyObject *);}
static PyObject *slot_QRegExp___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRegExp *sipCpp = reinterpret_cast< ::QRegExp *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegExp));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRegExp* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRegExp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QRegExp::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QRegExp, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRegExp___repr__(PyObject *);}
static PyObject *slot_QRegExp___repr__(PyObject *sipSelf)
{
     ::QRegExp *sipCpp = reinterpret_cast< ::QRegExp *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRegExp));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 53 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
        PyObject *uni = qpycore_PyObject_FromQString(sipCpp->pattern());
        
        if (uni)
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QRegExp(%R", uni);
        
            if (sipCpp->caseSensitivity() != Qt::CaseSensitive ||
                sipCpp->patternSyntax() != QRegExp::RegExp)
            {
                qpycore_Unicode_ConcatAndDel(&sipRes,
                        PyUnicode_FromFormat(", PyQt5.QtCore.Qt.CaseSensitivity(%i)",
                                (int)sipCpp->caseSensitivity()));
        
                if (sipCpp->patternSyntax() != QRegExp::RegExp)
                    qpycore_Unicode_ConcatAndDel(&sipRes,
                            PyUnicode_FromFormat(
                                    ", PyQt5.QtCore.QRegExp.PatternSyntax(%i)",
                                    (int)sipCpp->patternSyntax()));
            }
        
            qpycore_Unicode_ConcatAndDel(&sipRes, PyUnicode_FromString(")"));
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QRegExp(");
            PyString_ConcatAndDel(&sipRes, PyObject_Repr(uni));
        
            if (sipCpp->caseSensitivity() != Qt::CaseSensitive ||
                sipCpp->patternSyntax() != QRegExp::RegExp)
            {
                PyString_ConcatAndDel(&sipRes,
                        PyString_FromFormat(", PyQt5.QtCore.Qt.CaseSensitivity(%i)",
                                (int)sipCpp->caseSensitivity()));
        
                if (sipCpp->patternSyntax() != QRegExp::RegExp)
                    PyString_ConcatAndDel(&sipRes,
                            PyString_FromFormat(
                                    ", PyQt5.QtCore.QRegExp.PatternSyntax(%i)",
                                    (int)sipCpp->patternSyntax()));
            }
        
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
            Py_DECREF(uni);
        }
        else
        {
            sipRes = 0;
        }
#line 74644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRegExp(void *, int);}
static void release_QRegExp(void *sipCppV, int)
{
    delete reinterpret_cast< ::QRegExp *>(sipCppV);
}


extern "C" {static void assign_QRegExp(void *, SIP_SSIZE_T, const void *);}
static void assign_QRegExp(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QRegExp *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QRegExp *>(sipSrc);
}


extern "C" {static void *array_QRegExp(SIP_SSIZE_T);}
static void *array_QRegExp(SIP_SSIZE_T sipNrElem)
{
    return new  ::QRegExp[sipNrElem];
}


extern "C" {static void *copy_QRegExp(const void *, SIP_SSIZE_T);}
static void *copy_QRegExp(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QRegExp(reinterpret_cast<const  ::QRegExp *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QRegExp(sipSimpleWrapper *);}
static void dealloc_QRegExp(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRegExp(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QRegExp(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRegExp(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QRegExp *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QRegExp();

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Qt::CaseSensitivity a1 = Qt::CaseSensitive;
         ::QRegExp::PatternSyntax a2 = QRegExp::RegExp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_cs,
            sipName_syntax,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|EE", sipType_QString,&a0, &a0State, sipType_Qt_CaseSensitivity, &a1, sipType_QRegExp_PatternSyntax, &a2))
        {
            sipCpp = new  ::QRegExp(*a0,a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QRegExp* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRegExp, &a0))
        {
            sipCpp = new  ::QRegExp(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QRegExp[] = {
    {(void *)slot_QRegExp___hash__, hash_slot},
    {(void *)slot_QRegExp___ne__, ne_slot},
    {(void *)slot_QRegExp___eq__, eq_slot},
    {(void *)slot_QRegExp___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QRegExp[] = {
    {SIP_MLNAME_CAST(sipName_cap), (PyCFunction)meth_QRegExp_cap, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRegExp_cap)},
    {SIP_MLNAME_CAST(sipName_captureCount), meth_QRegExp_captureCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_captureCount)},
    {SIP_MLNAME_CAST(sipName_capturedTexts), meth_QRegExp_capturedTexts, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_capturedTexts)},
    {SIP_MLNAME_CAST(sipName_caseSensitivity), meth_QRegExp_caseSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_caseSensitivity)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QRegExp_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_errorString)},
    {SIP_MLNAME_CAST(sipName_escape), meth_QRegExp_escape, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_escape)},
    {SIP_MLNAME_CAST(sipName_exactMatch), meth_QRegExp_exactMatch, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_exactMatch)},
    {SIP_MLNAME_CAST(sipName_indexIn), (PyCFunction)meth_QRegExp_indexIn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRegExp_indexIn)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QRegExp_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isMinimal), meth_QRegExp_isMinimal, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_isMinimal)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QRegExp_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_isValid)},
    {SIP_MLNAME_CAST(sipName_lastIndexIn), (PyCFunction)meth_QRegExp_lastIndexIn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRegExp_lastIndexIn)},
    {SIP_MLNAME_CAST(sipName_matchedLength), meth_QRegExp_matchedLength, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_matchedLength)},
    {SIP_MLNAME_CAST(sipName_pattern), meth_QRegExp_pattern, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_pattern)},
    {SIP_MLNAME_CAST(sipName_patternSyntax), meth_QRegExp_patternSyntax, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_patternSyntax)},
    {SIP_MLNAME_CAST(sipName_pos), (PyCFunction)meth_QRegExp_pos, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRegExp_pos)},
    {SIP_MLNAME_CAST(sipName_setCaseSensitivity), meth_QRegExp_setCaseSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_setCaseSensitivity)},
    {SIP_MLNAME_CAST(sipName_setMinimal), meth_QRegExp_setMinimal, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_setMinimal)},
    {SIP_MLNAME_CAST(sipName_setPattern), meth_QRegExp_setPattern, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_setPattern)},
    {SIP_MLNAME_CAST(sipName_setPatternSyntax), meth_QRegExp_setPatternSyntax, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_setPatternSyntax)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QRegExp_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QRegExp_swap)}
};

static sipEnumMemberDef enummembers_QRegExp[] = {
    {sipName_CaretAtOffset, static_cast<int>( ::QRegExp::CaretAtOffset), 195},
    {sipName_CaretAtZero, static_cast<int>( ::QRegExp::CaretAtZero), 195},
    {sipName_CaretWontMatch, static_cast<int>( ::QRegExp::CaretWontMatch), 195},
    {sipName_FixedString, static_cast<int>( ::QRegExp::FixedString), 196},
    {sipName_RegExp, static_cast<int>( ::QRegExp::RegExp), 196},
    {sipName_RegExp2, static_cast<int>( ::QRegExp::RegExp2), 196},
    {sipName_W3CXmlSchema11, static_cast<int>( ::QRegExp::W3CXmlSchema11), 196},
    {sipName_Wildcard, static_cast<int>( ::QRegExp::Wildcard), 196},
    {sipName_WildcardUnix, static_cast<int>( ::QRegExp::WildcardUnix), 196},
};

PyDoc_STRVAR(doc_QRegExp, "\1QRegExp()\n"
    "QRegExp(str, cs: Qt.CaseSensitivity = Qt.CaseSensitive, syntax: QRegExp.PatternSyntax = QRegExp.RegExp)\n"
    "QRegExp(QRegExp)");


static pyqt5ClassPluginDef plugin_QRegExp = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QRegExp = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRegExp,
        {0},
        &plugin_QRegExp
    },
    {
        sipNameNr_QRegExp,
        {0, 0, 1},
        21, methods_QRegExp,
        9, enummembers_QRegExp,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRegExp,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QRegExp,
    init_type_QRegExp,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRegExp,
    assign_QRegExp,
    array_QRegExp,
    copy_QRegExp,
    release_QRegExp,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 74854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 74858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 97 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 74861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 74864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 74867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRectF_normalized, "normalized(self) -> QRectF");

extern "C" {static PyObject *meth_QRectF_normalized(PyObject *, PyObject *);}
static PyObject *meth_QRectF_normalized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->normalized());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_normalized, doc_QRectF_normalized);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_left, "left(self) -> float");

extern "C" {static PyObject *meth_QRectF_left(PyObject *, PyObject *);}
static PyObject *meth_QRectF_left(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->left();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_left, doc_QRectF_left);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_top, "top(self) -> float");

extern "C" {static PyObject *meth_QRectF_top(PyObject *, PyObject *);}
static PyObject *meth_QRectF_top(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->top();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_top, doc_QRectF_top);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_right, "right(self) -> float");

extern "C" {static PyObject *meth_QRectF_right(PyObject *, PyObject *);}
static PyObject *meth_QRectF_right(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->right();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_right, doc_QRectF_right);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_bottom, "bottom(self) -> float");

extern "C" {static PyObject *meth_QRectF_bottom(PyObject *, PyObject *);}
static PyObject *meth_QRectF_bottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->bottom();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_bottom, doc_QRectF_bottom);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setX, "setX(self, float)");

extern "C" {static PyObject *meth_QRectF_setX(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setX(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->setX(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setX, doc_QRectF_setX);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setY, "setY(self, float)");

extern "C" {static PyObject *meth_QRectF_setY(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setY(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->setY(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setY, doc_QRectF_setY);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_topLeft, "topLeft(self) -> QPointF");

extern "C" {static PyObject *meth_QRectF_topLeft(PyObject *, PyObject *);}
static PyObject *meth_QRectF_topLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->topLeft());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_topLeft, doc_QRectF_topLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_bottomRight, "bottomRight(self) -> QPointF");

extern "C" {static PyObject *meth_QRectF_bottomRight(PyObject *, PyObject *);}
static PyObject *meth_QRectF_bottomRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->bottomRight());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_bottomRight, doc_QRectF_bottomRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_topRight, "topRight(self) -> QPointF");

extern "C" {static PyObject *meth_QRectF_topRight(PyObject *, PyObject *);}
static PyObject *meth_QRectF_topRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->topRight());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_topRight, doc_QRectF_topRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_bottomLeft, "bottomLeft(self) -> QPointF");

extern "C" {static PyObject *meth_QRectF_bottomLeft(PyObject *, PyObject *);}
static PyObject *meth_QRectF_bottomLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->bottomLeft());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_bottomLeft, doc_QRectF_bottomLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_contains, "contains(self, Union[QPointF, QPoint]) -> bool\n"
    "contains(self, QRectF) -> bool\n"
    "contains(self, float, float) -> bool");

extern "C" {static PyObject *meth_QRectF_contains(PyObject *, PyObject *);}
static PyObject *meth_QRectF_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->contains(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QRectF* a0;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRectF, &sipCpp, sipType_QRectF, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->contains(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QRectF, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->contains(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_contains, doc_QRectF_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_intersects, "intersects(self, QRectF) -> bool");

extern "C" {static PyObject *meth_QRectF_intersects(PyObject *, PyObject *);}
static PyObject *meth_QRectF_intersects(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRectF, &sipCpp, sipType_QRectF, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->intersects(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_intersects, doc_QRectF_intersects);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QRectF_isNull(PyObject *, PyObject *);}
static PyObject *meth_QRectF_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_isNull, doc_QRectF_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QRectF_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QRectF_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_isEmpty, doc_QRectF_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QRectF_isValid(PyObject *, PyObject *);}
static PyObject *meth_QRectF_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_isValid, doc_QRectF_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_x, "x(self) -> float");

extern "C" {static PyObject *meth_QRectF_x(PyObject *, PyObject *);}
static PyObject *meth_QRectF_x(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->x();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_x, doc_QRectF_x);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_y, "y(self) -> float");

extern "C" {static PyObject *meth_QRectF_y(PyObject *, PyObject *);}
static PyObject *meth_QRectF_y(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->y();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_y, doc_QRectF_y);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setLeft, "setLeft(self, float)");

extern "C" {static PyObject *meth_QRectF_setLeft(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->setLeft(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setLeft, doc_QRectF_setLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setRight, "setRight(self, float)");

extern "C" {static PyObject *meth_QRectF_setRight(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->setRight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setRight, doc_QRectF_setRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setTop, "setTop(self, float)");

extern "C" {static PyObject *meth_QRectF_setTop(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setTop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->setTop(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setTop, doc_QRectF_setTop);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setBottom, "setBottom(self, float)");

extern "C" {static PyObject *meth_QRectF_setBottom(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setBottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->setBottom(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setBottom, doc_QRectF_setBottom);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setTopLeft, "setTopLeft(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_setTopLeft(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setTopLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setTopLeft(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setTopLeft, doc_QRectF_setTopLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setTopRight, "setTopRight(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_setTopRight(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setTopRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setTopRight(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setTopRight, doc_QRectF_setTopRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setBottomLeft, "setBottomLeft(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_setBottomLeft(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setBottomLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setBottomLeft(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setBottomLeft, doc_QRectF_setBottomLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setBottomRight, "setBottomRight(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_setBottomRight(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setBottomRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setBottomRight(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setBottomRight, doc_QRectF_setBottomRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_center, "center(self) -> QPointF");

extern "C" {static PyObject *meth_QRectF_center(PyObject *, PyObject *);}
static PyObject *meth_QRectF_center(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->center());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_center, doc_QRectF_center);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_moveLeft, "moveLeft(self, float)");

extern "C" {static PyObject *meth_QRectF_moveLeft(PyObject *, PyObject *);}
static PyObject *meth_QRectF_moveLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->moveLeft(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_moveLeft, doc_QRectF_moveLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_moveTop, "moveTop(self, float)");

extern "C" {static PyObject *meth_QRectF_moveTop(PyObject *, PyObject *);}
static PyObject *meth_QRectF_moveTop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->moveTop(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_moveTop, doc_QRectF_moveTop);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_moveRight, "moveRight(self, float)");

extern "C" {static PyObject *meth_QRectF_moveRight(PyObject *, PyObject *);}
static PyObject *meth_QRectF_moveRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->moveRight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_moveRight, doc_QRectF_moveRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_moveBottom, "moveBottom(self, float)");

extern "C" {static PyObject *meth_QRectF_moveBottom(PyObject *, PyObject *);}
static PyObject *meth_QRectF_moveBottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->moveBottom(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_moveBottom, doc_QRectF_moveBottom);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_moveTopLeft, "moveTopLeft(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_moveTopLeft(PyObject *, PyObject *);}
static PyObject *meth_QRectF_moveTopLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->moveTopLeft(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_moveTopLeft, doc_QRectF_moveTopLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_moveTopRight, "moveTopRight(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_moveTopRight(PyObject *, PyObject *);}
static PyObject *meth_QRectF_moveTopRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->moveTopRight(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_moveTopRight, doc_QRectF_moveTopRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_moveBottomLeft, "moveBottomLeft(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_moveBottomLeft(PyObject *, PyObject *);}
static PyObject *meth_QRectF_moveBottomLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->moveBottomLeft(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_moveBottomLeft, doc_QRectF_moveBottomLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_moveBottomRight, "moveBottomRight(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_moveBottomRight(PyObject *, PyObject *);}
static PyObject *meth_QRectF_moveBottomRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->moveBottomRight(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_moveBottomRight, doc_QRectF_moveBottomRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_moveCenter, "moveCenter(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_moveCenter(PyObject *, PyObject *);}
static PyObject *meth_QRectF_moveCenter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->moveCenter(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_moveCenter, doc_QRectF_moveCenter);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_width, "width(self) -> float");

extern "C" {static PyObject *meth_QRectF_width(PyObject *, PyObject *);}
static PyObject *meth_QRectF_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->width();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_width, doc_QRectF_width);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_height, "height(self) -> float");

extern "C" {static PyObject *meth_QRectF_height(PyObject *, PyObject *);}
static PyObject *meth_QRectF_height(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->height();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_height, doc_QRectF_height);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_size, "size(self) -> QSizeF");

extern "C" {static PyObject *meth_QRectF_size(PyObject *, PyObject *);}
static PyObject *meth_QRectF_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::QSizeF*sipRes;

            sipRes = new  ::QSizeF(sipCpp->size());

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_size, doc_QRectF_size);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_translate, "translate(self, float, float)\n"
    "translate(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_translate(PyObject *, PyObject *);}
static PyObject *meth_QRectF_translate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QRectF, &sipCpp, &a0, &a1))
        {
            sipCpp->translate(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->translate(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_translate, doc_QRectF_translate);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_moveTo, "moveTo(self, float, float)\n"
    "moveTo(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QRectF_moveTo(PyObject *, PyObject *);}
static PyObject *meth_QRectF_moveTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QRectF, &sipCpp, &a0, &a1))
        {
            sipCpp->moveTo(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->moveTo(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_moveTo, doc_QRectF_moveTo);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_translated, "translated(self, float, float) -> QRectF\n"
    "translated(self, Union[QPointF, QPoint]) -> QRectF");

extern "C" {static PyObject *meth_QRectF_translated(PyObject *, PyObject *);}
static PyObject *meth_QRectF_translated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QRectF, &sipCpp, &a0, &a1))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->translated(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QRectF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->translated(*a0));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_translated, doc_QRectF_translated);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_getRect, "getRect(self) -> Tuple[float, float, float, float]");

extern "C" {static PyObject *meth_QRectF_getRect(PyObject *, PyObject *);}
static PyObject *meth_QRectF_getRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
            sipCpp->getRect(&a0,&a1,&a2,&a3);

            return sipBuildResult(0,"(dddd)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_getRect, doc_QRectF_getRect);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setRect, "setRect(self, float, float, float, float)");

extern "C" {static PyObject *meth_QRectF_setRect(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QRectF, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setRect, doc_QRectF_setRect);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_getCoords, "getCoords(self) -> Tuple[float, float, float, float]");

extern "C" {static PyObject *meth_QRectF_getCoords(PyObject *, PyObject *);}
static PyObject *meth_QRectF_getCoords(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
            sipCpp->getCoords(&a0,&a1,&a2,&a3);

            return sipBuildResult(0,"(dddd)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_getCoords, doc_QRectF_getCoords);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setCoords, "setCoords(self, float, float, float, float)");

extern "C" {static PyObject *meth_QRectF_setCoords(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setCoords(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QRectF, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setCoords(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setCoords, doc_QRectF_setCoords);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_adjust, "adjust(self, float, float, float, float)");

extern "C" {static PyObject *meth_QRectF_adjust(PyObject *, PyObject *);}
static PyObject *meth_QRectF_adjust(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QRectF, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->adjust(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_adjust, doc_QRectF_adjust);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_adjusted, "adjusted(self, float, float, float, float) -> QRectF");

extern "C" {static PyObject *meth_QRectF_adjusted(PyObject *, PyObject *);}
static PyObject *meth_QRectF_adjusted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QRectF, &sipCpp, &a0, &a1, &a2, &a3))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->adjusted(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_adjusted, doc_QRectF_adjusted);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setWidth, "setWidth(self, float)");

extern "C" {static PyObject *meth_QRectF_setWidth(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->setWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setWidth, doc_QRectF_setWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setHeight, "setHeight(self, float)");

extern "C" {static PyObject *meth_QRectF_setHeight(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QRectF, &sipCpp, &a0))
        {
            sipCpp->setHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setHeight, doc_QRectF_setHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_setSize, "setSize(self, QSizeF)");

extern "C" {static PyObject *meth_QRectF_setSize(PyObject *, PyObject *);}
static PyObject *meth_QRectF_setSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSizeF* a0;
         ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRectF, &sipCpp, sipType_QSizeF, &a0))
        {
            sipCpp->setSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_setSize, doc_QRectF_setSize);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_intersected, "intersected(self, QRectF) -> QRectF");

extern "C" {static PyObject *meth_QRectF_intersected(PyObject *, PyObject *);}
static PyObject *meth_QRectF_intersected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRectF, &sipCpp, sipType_QRectF, &a0))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->intersected(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_intersected, doc_QRectF_intersected);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_united, "united(self, QRectF) -> QRectF");

extern "C" {static PyObject *meth_QRectF_united(PyObject *, PyObject *);}
static PyObject *meth_QRectF_united(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRectF, &sipCpp, sipType_QRectF, &a0))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->united(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_united, doc_QRectF_united);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_toAlignedRect, "toAlignedRect(self) -> QRect");

extern "C" {static PyObject *meth_QRectF_toAlignedRect(PyObject *, PyObject *);}
static PyObject *meth_QRectF_toAlignedRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->toAlignedRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_toAlignedRect, doc_QRectF_toAlignedRect);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_toRect, "toRect(self) -> QRect");

extern "C" {static PyObject *meth_QRectF_toRect(PyObject *, PyObject *);}
static PyObject *meth_QRectF_toRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->toRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_toRect, doc_QRectF_toRect);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_marginsAdded, "marginsAdded(self, QMarginsF) -> QRectF");

extern "C" {static PyObject *meth_QRectF_marginsAdded(PyObject *, PyObject *);}
static PyObject *meth_QRectF_marginsAdded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRectF, &sipCpp, sipType_QMarginsF, &a0))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->marginsAdded(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_marginsAdded, doc_QRectF_marginsAdded);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_marginsRemoved, "marginsRemoved(self, QMarginsF) -> QRectF");

extern "C" {static PyObject *meth_QRectF_marginsRemoved(PyObject *, PyObject *);}
static PyObject *meth_QRectF_marginsRemoved(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRectF, &sipCpp, sipType_QMarginsF, &a0))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->marginsRemoved(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_marginsRemoved, doc_QRectF_marginsRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QRectF_transposed, "transposed(self) -> QRectF");

extern "C" {static PyObject *meth_QRectF_transposed(PyObject *, PyObject *);}
static PyObject *meth_QRectF_transposed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRectF, &sipCpp))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF(sipCpp->transposed());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName_transposed, doc_QRectF_transposed);

    return NULL;
}


extern "C" {static PyObject *slot_QRectF___eq__(PyObject *,PyObject *);}
static PyObject *slot_QRectF___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRectF *sipCpp = reinterpret_cast< ::QRectF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRectF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRectF, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QRectF, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRectF___ne__(PyObject *,PyObject *);}
static PyObject *slot_QRectF___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRectF *sipCpp = reinterpret_cast< ::QRectF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRectF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRectF, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QRectF, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRectF___add__(PyObject *,PyObject *);}
static PyObject *slot_QRectF___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;
        const  ::QMarginsF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QRectF, &a0, sipType_QMarginsF, &a1))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF((*a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRectF___sub__(PyObject *,PyObject *);}
static PyObject *slot_QRectF___sub__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;
        const  ::QMarginsF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QRectF, &a0, sipType_QMarginsF, &a1))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF((*a0 - *a1));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, sub_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRectF___isub__(PyObject *,PyObject *);}
static PyObject *slot_QRectF___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRectF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRectF *sipCpp = reinterpret_cast< ::QRectF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRectF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMarginsF, &a0))
        {
            sipCpp-> ::QRectF::operator-=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRectF___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QRectF___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRectF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRectF *sipCpp = reinterpret_cast< ::QRectF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRectF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMarginsF, &a0))
        {
            sipCpp-> ::QRectF::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRectF___iand__(PyObject *,PyObject *);}
static PyObject *slot_QRectF___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRectF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRectF *sipCpp = reinterpret_cast< ::QRectF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRectF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRectF, &a0))
        {
            sipCpp-> ::QRectF::operator&=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRectF___ior__(PyObject *,PyObject *);}
static PyObject *slot_QRectF___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRectF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRectF *sipCpp = reinterpret_cast< ::QRectF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRectF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRectF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRectF, &a0))
        {
            sipCpp-> ::QRectF::operator|=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static int slot_QRectF___bool__(PyObject *);}
static int slot_QRectF___bool__(PyObject *sipSelf)
{
     ::QRectF *sipCpp = reinterpret_cast< ::QRectF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRectF));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
        sipRes = sipCpp->isValid();
#line 76921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QRectF___contains__(PyObject *,PyObject *);}
static int slot_QRectF___contains__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRectF *sipCpp = reinterpret_cast< ::QRectF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRectF));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPointF, &a0, &a0State))
        {
            int sipRes = 0;

#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 76951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipRes;
        }
    }

    {
        const  ::QRectF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRectF, &a0))
        {
            int sipRes = 0;

#line 241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 76967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRectF, sipName___contains__, NULL);

    return -1;
}


extern "C" {static PyObject *slot_QRectF___and__(PyObject *,PyObject *);}
static PyObject *slot_QRectF___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRectF* a0;
        const  ::QRectF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QRectF, &a0, sipType_QRectF, &a1))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF((*a0 & *a1));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRectF___or__(PyObject *,PyObject *);}
static PyObject *slot_QRectF___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRectF* a0;
        const  ::QRectF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QRectF, &a0, sipType_QRectF, &a1))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF((*a0 | *a1));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRectF___repr__(PyObject *);}
static PyObject *slot_QRectF___repr__(PyObject *sipSelf)
{
     ::QRectF *sipCpp = reinterpret_cast< ::QRectF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRectF));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QRectF()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QRectF()");
        #endif
        }
        else
        {
            PyObject *l = PyFloat_FromDouble(sipCpp->left());
            PyObject *t = PyFloat_FromDouble(sipCpp->top());
            PyObject *w = PyFloat_FromDouble(sipCpp->width());
            PyObject *h = PyFloat_FromDouble(sipCpp->height());
        
            if (l && t && w && h)
            {
        #if PY_MAJOR_VERSION >= 3
                sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QRectF(%R, %R, %R, %R)", l,
                        t, w, h);
        #else
                sipRes = PyString_FromString("PyQt5.QtCore.QRectF(");
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(l));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(", "));
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(t));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(", "));
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(w));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(", "));
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(h));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
            }
        
            Py_XDECREF(l);
            Py_XDECREF(t);
            Py_XDECREF(w);
            Py_XDECREF(h);
        }
#line 77088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRectF(void *, int);}
static void release_QRectF(void *sipCppV, int)
{
    delete reinterpret_cast< ::QRectF *>(sipCppV);
}


extern "C" {static PyObject *pickle_QRectF(void *);}
static PyObject *pickle_QRectF(void *sipCppV)
{
     ::QRectF *sipCpp = reinterpret_cast< ::QRectF *>(sipCppV);
    PyObject *sipRes;

#line 168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
    sipRes = Py_BuildValue((char *)"dddd", sipCpp->x(), sipCpp->y(), sipCpp->width(), sipCpp->height());
#line 77114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QRectF(void *, SIP_SSIZE_T, const void *);}
static void assign_QRectF(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QRectF *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QRectF *>(sipSrc);
}


extern "C" {static void *array_QRectF(SIP_SSIZE_T);}
static void *array_QRectF(SIP_SSIZE_T sipNrElem)
{
    return new  ::QRectF[sipNrElem];
}


extern "C" {static void *copy_QRectF(const void *, SIP_SSIZE_T);}
static void *copy_QRectF(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QRectF(reinterpret_cast<const  ::QRectF *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QRectF(sipSimpleWrapper *);}
static void dealloc_QRectF(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRectF(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QRectF(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRectF(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QRectF *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QRectF();

            return sipCpp;
        }
    }

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QSizeF* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J9", sipType_QPointF, &a0, &a0State, sipType_QSizeF, &a1))
        {
            sipCpp = new  ::QRectF(*a0,*a1);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QPointF* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1", sipType_QPointF, &a0, &a0State, sipType_QPointF, &a1, &a1State))
        {
            sipCpp = new  ::QRectF(*a0,*a1);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            return sipCpp;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "dddd", &a0, &a1, &a2, &a3))
        {
            sipCpp = new  ::QRectF(a0,a1,a2,a3);

            return sipCpp;
        }
    }

    {
        const  ::QRect* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRect, &a0))
        {
            sipCpp = new  ::QRectF(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QRectF* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRectF, &a0))
        {
            sipCpp = new  ::QRectF(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QRectF[] = {
    {(void *)slot_QRectF___eq__, eq_slot},
    {(void *)slot_QRectF___ne__, ne_slot},
    {(void *)slot_QRectF___add__, add_slot},
    {(void *)slot_QRectF___sub__, sub_slot},
    {(void *)slot_QRectF___isub__, isub_slot},
    {(void *)slot_QRectF___iadd__, iadd_slot},
    {(void *)slot_QRectF___iand__, iand_slot},
    {(void *)slot_QRectF___ior__, ior_slot},
    {(void *)slot_QRectF___bool__, bool_slot},
    {(void *)slot_QRectF___contains__, contains_slot},
    {(void *)slot_QRectF___and__, and_slot},
    {(void *)slot_QRectF___or__, or_slot},
    {(void *)slot_QRectF___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QRectF[] = {
    {SIP_MLNAME_CAST(sipName_adjust), meth_QRectF_adjust, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_adjust)},
    {SIP_MLNAME_CAST(sipName_adjusted), meth_QRectF_adjusted, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_adjusted)},
    {SIP_MLNAME_CAST(sipName_bottom), meth_QRectF_bottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_bottom)},
    {SIP_MLNAME_CAST(sipName_bottomLeft), meth_QRectF_bottomLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_bottomLeft)},
    {SIP_MLNAME_CAST(sipName_bottomRight), meth_QRectF_bottomRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_bottomRight)},
    {SIP_MLNAME_CAST(sipName_center), meth_QRectF_center, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_center)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QRectF_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_contains)},
    {SIP_MLNAME_CAST(sipName_getCoords), meth_QRectF_getCoords, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_getCoords)},
    {SIP_MLNAME_CAST(sipName_getRect), meth_QRectF_getRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_getRect)},
    {SIP_MLNAME_CAST(sipName_height), meth_QRectF_height, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_height)},
    {SIP_MLNAME_CAST(sipName_intersected), meth_QRectF_intersected, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_intersected)},
    {SIP_MLNAME_CAST(sipName_intersects), meth_QRectF_intersects, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_intersects)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QRectF_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QRectF_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_isNull)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QRectF_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_isValid)},
    {SIP_MLNAME_CAST(sipName_left), meth_QRectF_left, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_left)},
    {SIP_MLNAME_CAST(sipName_marginsAdded), meth_QRectF_marginsAdded, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_marginsAdded)},
    {SIP_MLNAME_CAST(sipName_marginsRemoved), meth_QRectF_marginsRemoved, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_marginsRemoved)},
    {SIP_MLNAME_CAST(sipName_moveBottom), meth_QRectF_moveBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_moveBottom)},
    {SIP_MLNAME_CAST(sipName_moveBottomLeft), meth_QRectF_moveBottomLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_moveBottomLeft)},
    {SIP_MLNAME_CAST(sipName_moveBottomRight), meth_QRectF_moveBottomRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_moveBottomRight)},
    {SIP_MLNAME_CAST(sipName_moveCenter), meth_QRectF_moveCenter, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_moveCenter)},
    {SIP_MLNAME_CAST(sipName_moveLeft), meth_QRectF_moveLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_moveLeft)},
    {SIP_MLNAME_CAST(sipName_moveRight), meth_QRectF_moveRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_moveRight)},
    {SIP_MLNAME_CAST(sipName_moveTo), meth_QRectF_moveTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_moveTo)},
    {SIP_MLNAME_CAST(sipName_moveTop), meth_QRectF_moveTop, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_moveTop)},
    {SIP_MLNAME_CAST(sipName_moveTopLeft), meth_QRectF_moveTopLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_moveTopLeft)},
    {SIP_MLNAME_CAST(sipName_moveTopRight), meth_QRectF_moveTopRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_moveTopRight)},
    {SIP_MLNAME_CAST(sipName_normalized), meth_QRectF_normalized, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_normalized)},
    {SIP_MLNAME_CAST(sipName_right), meth_QRectF_right, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_right)},
    {SIP_MLNAME_CAST(sipName_setBottom), meth_QRectF_setBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setBottom)},
    {SIP_MLNAME_CAST(sipName_setBottomLeft), meth_QRectF_setBottomLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setBottomLeft)},
    {SIP_MLNAME_CAST(sipName_setBottomRight), meth_QRectF_setBottomRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setBottomRight)},
    {SIP_MLNAME_CAST(sipName_setCoords), meth_QRectF_setCoords, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setCoords)},
    {SIP_MLNAME_CAST(sipName_setHeight), meth_QRectF_setHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setHeight)},
    {SIP_MLNAME_CAST(sipName_setLeft), meth_QRectF_setLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setLeft)},
    {SIP_MLNAME_CAST(sipName_setRect), meth_QRectF_setRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setRect)},
    {SIP_MLNAME_CAST(sipName_setRight), meth_QRectF_setRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setRight)},
    {SIP_MLNAME_CAST(sipName_setSize), meth_QRectF_setSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setSize)},
    {SIP_MLNAME_CAST(sipName_setTop), meth_QRectF_setTop, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setTop)},
    {SIP_MLNAME_CAST(sipName_setTopLeft), meth_QRectF_setTopLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setTopLeft)},
    {SIP_MLNAME_CAST(sipName_setTopRight), meth_QRectF_setTopRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setTopRight)},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_QRectF_setWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setWidth)},
    {SIP_MLNAME_CAST(sipName_setX), meth_QRectF_setX, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setX)},
    {SIP_MLNAME_CAST(sipName_setY), meth_QRectF_setY, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_setY)},
    {SIP_MLNAME_CAST(sipName_size), meth_QRectF_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_size)},
    {SIP_MLNAME_CAST(sipName_toAlignedRect), meth_QRectF_toAlignedRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_toAlignedRect)},
    {SIP_MLNAME_CAST(sipName_toRect), meth_QRectF_toRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_toRect)},
    {SIP_MLNAME_CAST(sipName_top), meth_QRectF_top, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_top)},
    {SIP_MLNAME_CAST(sipName_topLeft), meth_QRectF_topLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_topLeft)},
    {SIP_MLNAME_CAST(sipName_topRight), meth_QRectF_topRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_topRight)},
    {SIP_MLNAME_CAST(sipName_translate), meth_QRectF_translate, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_translate)},
    {SIP_MLNAME_CAST(sipName_translated), meth_QRectF_translated, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_translated)},
    {SIP_MLNAME_CAST(sipName_transposed), meth_QRectF_transposed, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_transposed)},
    {SIP_MLNAME_CAST(sipName_united), meth_QRectF_united, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_united)},
    {SIP_MLNAME_CAST(sipName_width), meth_QRectF_width, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_width)},
    {SIP_MLNAME_CAST(sipName_x), meth_QRectF_x, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_x)},
    {SIP_MLNAME_CAST(sipName_y), meth_QRectF_y, METH_VARARGS, SIP_MLDOC_CAST(doc_QRectF_y)}
};

PyDoc_STRVAR(doc_QRectF, "\1QRectF()\n"
    "QRectF(Union[QPointF, QPoint], QSizeF)\n"
    "QRectF(Union[QPointF, QPoint], Union[QPointF, QPoint])\n"
    "QRectF(float, float, float, float)\n"
    "QRectF(QRect)\n"
    "QRectF(QRectF)");


static pyqt5ClassPluginDef plugin_QRectF = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QRectF = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRectF,
        {0},
        &plugin_QRectF
    },
    {
        sipNameNr_QRectF,
        {0, 0, 1},
        58, methods_QRectF,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRectF,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QRectF,
    init_type_QRectF,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRectF,
    assign_QRectF,
    array_QRectF,
    copy_QRectF,
    release_QRectF,
    0,
    0,
    0,
    0,
    pickle_QRectF,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 77383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 77387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 77390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 77393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QRect_normalized, "normalized(self) -> QRect");

extern "C" {static PyObject *meth_QRect_normalized(PyObject *, PyObject *);}
static PyObject *meth_QRect_normalized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->normalized());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_normalized, doc_QRect_normalized);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_moveCenter, "moveCenter(self, QPoint)");

extern "C" {static PyObject *meth_QRect_moveCenter(PyObject *, PyObject *);}
static PyObject *meth_QRect_moveCenter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->moveCenter(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_moveCenter, doc_QRect_moveCenter);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_contains, "contains(self, QPoint, proper: bool = False) -> bool\n"
    "contains(self, QRect, proper: bool = False) -> bool\n"
    "contains(self, int, int, bool) -> bool\n"
    "contains(self, int, int) -> bool");

extern "C" {static PyObject *meth_QRect_contains(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRect_contains(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
        bool a1 = 0;
        const  ::QRect *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_proper,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|b", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->contains(*a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QRect* a0;
        bool a1 = 0;
        const  ::QRect *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_proper,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|b", &sipSelf, sipType_QRect, &sipCpp, sipType_QRect, &a0, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->contains(*a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
        bool a2;
        const  ::QRect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biib", &sipSelf, sipType_QRect, &sipCpp, &a0, &a1, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->contains(a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
        const  ::QRect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QRect, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->contains(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_contains, doc_QRect_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_intersects, "intersects(self, QRect) -> bool");

extern "C" {static PyObject *meth_QRect_intersects(PyObject *, PyObject *);}
static PyObject *meth_QRect_intersects(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QRect, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->intersects(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_intersects, doc_QRect_intersects);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QRect_isNull(PyObject *, PyObject *);}
static PyObject *meth_QRect_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_isNull, doc_QRect_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QRect_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QRect_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_isEmpty, doc_QRect_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QRect_isValid(PyObject *, PyObject *);}
static PyObject *meth_QRect_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_isValid, doc_QRect_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_left, "left(self) -> int");

extern "C" {static PyObject *meth_QRect_left(PyObject *, PyObject *);}
static PyObject *meth_QRect_left(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->left();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_left, doc_QRect_left);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_top, "top(self) -> int");

extern "C" {static PyObject *meth_QRect_top(PyObject *, PyObject *);}
static PyObject *meth_QRect_top(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->top();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_top, doc_QRect_top);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_right, "right(self) -> int");

extern "C" {static PyObject *meth_QRect_right(PyObject *, PyObject *);}
static PyObject *meth_QRect_right(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->right();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_right, doc_QRect_right);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_bottom, "bottom(self) -> int");

extern "C" {static PyObject *meth_QRect_bottom(PyObject *, PyObject *);}
static PyObject *meth_QRect_bottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bottom();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_bottom, doc_QRect_bottom);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_x, "x(self) -> int");

extern "C" {static PyObject *meth_QRect_x(PyObject *, PyObject *);}
static PyObject *meth_QRect_x(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->x();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_x, doc_QRect_x);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_y, "y(self) -> int");

extern "C" {static PyObject *meth_QRect_y(PyObject *, PyObject *);}
static PyObject *meth_QRect_y(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->y();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_y, doc_QRect_y);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setLeft, "setLeft(self, int)");

extern "C" {static PyObject *meth_QRect_setLeft(PyObject *, PyObject *);}
static PyObject *meth_QRect_setLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->setLeft(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setLeft, doc_QRect_setLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setTop, "setTop(self, int)");

extern "C" {static PyObject *meth_QRect_setTop(PyObject *, PyObject *);}
static PyObject *meth_QRect_setTop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->setTop(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setTop, doc_QRect_setTop);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setRight, "setRight(self, int)");

extern "C" {static PyObject *meth_QRect_setRight(PyObject *, PyObject *);}
static PyObject *meth_QRect_setRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->setRight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setRight, doc_QRect_setRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setBottom, "setBottom(self, int)");

extern "C" {static PyObject *meth_QRect_setBottom(PyObject *, PyObject *);}
static PyObject *meth_QRect_setBottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->setBottom(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setBottom, doc_QRect_setBottom);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setTopLeft, "setTopLeft(self, QPoint)");

extern "C" {static PyObject *meth_QRect_setTopLeft(PyObject *, PyObject *);}
static PyObject *meth_QRect_setTopLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->setTopLeft(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setTopLeft, doc_QRect_setTopLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setBottomRight, "setBottomRight(self, QPoint)");

extern "C" {static PyObject *meth_QRect_setBottomRight(PyObject *, PyObject *);}
static PyObject *meth_QRect_setBottomRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->setBottomRight(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setBottomRight, doc_QRect_setBottomRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setTopRight, "setTopRight(self, QPoint)");

extern "C" {static PyObject *meth_QRect_setTopRight(PyObject *, PyObject *);}
static PyObject *meth_QRect_setTopRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->setTopRight(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setTopRight, doc_QRect_setTopRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setBottomLeft, "setBottomLeft(self, QPoint)");

extern "C" {static PyObject *meth_QRect_setBottomLeft(PyObject *, PyObject *);}
static PyObject *meth_QRect_setBottomLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->setBottomLeft(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setBottomLeft, doc_QRect_setBottomLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setX, "setX(self, int)");

extern "C" {static PyObject *meth_QRect_setX(PyObject *, PyObject *);}
static PyObject *meth_QRect_setX(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->setX(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setX, doc_QRect_setX);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setY, "setY(self, int)");

extern "C" {static PyObject *meth_QRect_setY(PyObject *, PyObject *);}
static PyObject *meth_QRect_setY(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->setY(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setY, doc_QRect_setY);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_topLeft, "topLeft(self) -> QPoint");

extern "C" {static PyObject *meth_QRect_topLeft(PyObject *, PyObject *);}
static PyObject *meth_QRect_topLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(sipCpp->topLeft());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_topLeft, doc_QRect_topLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_bottomRight, "bottomRight(self) -> QPoint");

extern "C" {static PyObject *meth_QRect_bottomRight(PyObject *, PyObject *);}
static PyObject *meth_QRect_bottomRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(sipCpp->bottomRight());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_bottomRight, doc_QRect_bottomRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_topRight, "topRight(self) -> QPoint");

extern "C" {static PyObject *meth_QRect_topRight(PyObject *, PyObject *);}
static PyObject *meth_QRect_topRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(sipCpp->topRight());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_topRight, doc_QRect_topRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_bottomLeft, "bottomLeft(self) -> QPoint");

extern "C" {static PyObject *meth_QRect_bottomLeft(PyObject *, PyObject *);}
static PyObject *meth_QRect_bottomLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(sipCpp->bottomLeft());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_bottomLeft, doc_QRect_bottomLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_center, "center(self) -> QPoint");

extern "C" {static PyObject *meth_QRect_center(PyObject *, PyObject *);}
static PyObject *meth_QRect_center(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(sipCpp->center());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_center, doc_QRect_center);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_width, "width(self) -> int");

extern "C" {static PyObject *meth_QRect_width(PyObject *, PyObject *);}
static PyObject *meth_QRect_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->width();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_width, doc_QRect_width);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_height, "height(self) -> int");

extern "C" {static PyObject *meth_QRect_height(PyObject *, PyObject *);}
static PyObject *meth_QRect_height(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->height();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_height, doc_QRect_height);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_size, "size(self) -> QSize");

extern "C" {static PyObject *meth_QRect_size(PyObject *, PyObject *);}
static PyObject *meth_QRect_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->size());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_size, doc_QRect_size);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_translate, "translate(self, int, int)\n"
    "translate(self, QPoint)");

extern "C" {static PyObject *meth_QRect_translate(PyObject *, PyObject *);}
static PyObject *meth_QRect_translate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QRect, &sipCpp, &a0, &a1))
        {
            sipCpp->translate(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->translate(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_translate, doc_QRect_translate);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_translated, "translated(self, int, int) -> QRect\n"
    "translated(self, QPoint) -> QRect");

extern "C" {static PyObject *meth_QRect_translated(PyObject *, PyObject *);}
static PyObject *meth_QRect_translated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QRect, &sipCpp, &a0, &a1))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->translated(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    {
        const  ::QPoint* a0;
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->translated(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_translated, doc_QRect_translated);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_moveTo, "moveTo(self, int, int)\n"
    "moveTo(self, QPoint)");

extern "C" {static PyObject *meth_QRect_moveTo(PyObject *, PyObject *);}
static PyObject *meth_QRect_moveTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QRect, &sipCpp, &a0, &a1))
        {
            sipCpp->moveTo(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->moveTo(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_moveTo, doc_QRect_moveTo);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_moveLeft, "moveLeft(self, int)");

extern "C" {static PyObject *meth_QRect_moveLeft(PyObject *, PyObject *);}
static PyObject *meth_QRect_moveLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->moveLeft(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_moveLeft, doc_QRect_moveLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_moveTop, "moveTop(self, int)");

extern "C" {static PyObject *meth_QRect_moveTop(PyObject *, PyObject *);}
static PyObject *meth_QRect_moveTop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->moveTop(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_moveTop, doc_QRect_moveTop);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_moveRight, "moveRight(self, int)");

extern "C" {static PyObject *meth_QRect_moveRight(PyObject *, PyObject *);}
static PyObject *meth_QRect_moveRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->moveRight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_moveRight, doc_QRect_moveRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_moveBottom, "moveBottom(self, int)");

extern "C" {static PyObject *meth_QRect_moveBottom(PyObject *, PyObject *);}
static PyObject *meth_QRect_moveBottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->moveBottom(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_moveBottom, doc_QRect_moveBottom);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_moveTopLeft, "moveTopLeft(self, QPoint)");

extern "C" {static PyObject *meth_QRect_moveTopLeft(PyObject *, PyObject *);}
static PyObject *meth_QRect_moveTopLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->moveTopLeft(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_moveTopLeft, doc_QRect_moveTopLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_moveBottomRight, "moveBottomRight(self, QPoint)");

extern "C" {static PyObject *meth_QRect_moveBottomRight(PyObject *, PyObject *);}
static PyObject *meth_QRect_moveBottomRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->moveBottomRight(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_moveBottomRight, doc_QRect_moveBottomRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_moveTopRight, "moveTopRight(self, QPoint)");

extern "C" {static PyObject *meth_QRect_moveTopRight(PyObject *, PyObject *);}
static PyObject *meth_QRect_moveTopRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->moveTopRight(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_moveTopRight, doc_QRect_moveTopRight);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_moveBottomLeft, "moveBottomLeft(self, QPoint)");

extern "C" {static PyObject *meth_QRect_moveBottomLeft(PyObject *, PyObject *);}
static PyObject *meth_QRect_moveBottomLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->moveBottomLeft(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_moveBottomLeft, doc_QRect_moveBottomLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_getRect, "getRect(self) -> Tuple[int, int, int, int]");

extern "C" {static PyObject *meth_QRect_getRect(PyObject *, PyObject *);}
static PyObject *meth_QRect_getRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            sipCpp->getRect(&a0,&a1,&a2,&a3);

            return sipBuildResult(0,"(iiii)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_getRect, doc_QRect_getRect);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setRect, "setRect(self, int, int, int, int)");

extern "C" {static PyObject *meth_QRect_setRect(PyObject *, PyObject *);}
static PyObject *meth_QRect_setRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QRect, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setRect, doc_QRect_setRect);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_getCoords, "getCoords(self) -> Tuple[int, int, int, int]");

extern "C" {static PyObject *meth_QRect_getCoords(PyObject *, PyObject *);}
static PyObject *meth_QRect_getCoords(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
            sipCpp->getCoords(&a0,&a1,&a2,&a3);

            return sipBuildResult(0,"(iiii)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_getCoords, doc_QRect_getCoords);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setCoords, "setCoords(self, int, int, int, int)");

extern "C" {static PyObject *meth_QRect_setCoords(PyObject *, PyObject *);}
static PyObject *meth_QRect_setCoords(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QRect, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setCoords(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setCoords, doc_QRect_setCoords);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_adjusted, "adjusted(self, int, int, int, int) -> QRect");

extern "C" {static PyObject *meth_QRect_adjusted(PyObject *, PyObject *);}
static PyObject *meth_QRect_adjusted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QRect, &sipCpp, &a0, &a1, &a2, &a3))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->adjusted(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_adjusted, doc_QRect_adjusted);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_adjust, "adjust(self, int, int, int, int)");

extern "C" {static PyObject *meth_QRect_adjust(PyObject *, PyObject *);}
static PyObject *meth_QRect_adjust(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QRect, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->adjust(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_adjust, doc_QRect_adjust);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setWidth, "setWidth(self, int)");

extern "C" {static PyObject *meth_QRect_setWidth(PyObject *, PyObject *);}
static PyObject *meth_QRect_setWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->setWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setWidth, doc_QRect_setWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setHeight, "setHeight(self, int)");

extern "C" {static PyObject *meth_QRect_setHeight(PyObject *, PyObject *);}
static PyObject *meth_QRect_setHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QRect, &sipCpp, &a0))
        {
            sipCpp->setHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setHeight, doc_QRect_setHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_setSize, "setSize(self, QSize)");

extern "C" {static PyObject *meth_QRect_setSize(PyObject *, PyObject *);}
static PyObject *meth_QRect_setSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_setSize, doc_QRect_setSize);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_intersected, "intersected(self, QRect) -> QRect");

extern "C" {static PyObject *meth_QRect_intersected(PyObject *, PyObject *);}
static PyObject *meth_QRect_intersected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QRect, &a0))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->intersected(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_intersected, doc_QRect_intersected);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_united, "united(self, QRect) -> QRect");

extern "C" {static PyObject *meth_QRect_united(PyObject *, PyObject *);}
static PyObject *meth_QRect_united(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QRect, &a0))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->united(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_united, doc_QRect_united);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_marginsAdded, "marginsAdded(self, QMargins) -> QRect");

extern "C" {static PyObject *meth_QRect_marginsAdded(PyObject *, PyObject *);}
static PyObject *meth_QRect_marginsAdded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QMargins, &a0))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->marginsAdded(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_marginsAdded, doc_QRect_marginsAdded);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_marginsRemoved, "marginsRemoved(self, QMargins) -> QRect");

extern "C" {static PyObject *meth_QRect_marginsRemoved(PyObject *, PyObject *);}
static PyObject *meth_QRect_marginsRemoved(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRect, &sipCpp, sipType_QMargins, &a0))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->marginsRemoved(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_marginsRemoved, doc_QRect_marginsRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QRect_transposed, "transposed(self) -> QRect");

extern "C" {static PyObject *meth_QRect_transposed(PyObject *, PyObject *);}
static PyObject *meth_QRect_transposed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRect, &sipCpp))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->transposed());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName_transposed, doc_QRect_transposed);

    return NULL;
}


extern "C" {static PyObject *slot_QRect___eq__(PyObject *,PyObject *);}
static PyObject *slot_QRect___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRect *sipCpp = reinterpret_cast< ::QRect *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRect));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRect, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QRect, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRect___ne__(PyObject *,PyObject *);}
static PyObject *slot_QRect___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRect *sipCpp = reinterpret_cast< ::QRect *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRect));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRect, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QRect, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QRect___add__(PyObject *,PyObject *);}
static PyObject *slot_QRect___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;
        const  ::QMargins* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QRect, &a0, sipType_QMargins, &a1))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect((*a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRect___sub__(PyObject *,PyObject *);}
static PyObject *slot_QRect___sub__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;
        const  ::QMargins* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QRect, &a0, sipType_QMargins, &a1))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect((*a0 - *a1));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, sub_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRect___isub__(PyObject *,PyObject *);}
static PyObject *slot_QRect___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRect)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRect *sipCpp = reinterpret_cast< ::QRect *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRect));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMargins, &a0))
        {
            sipCpp-> ::QRect::operator-=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRect___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QRect___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRect)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRect *sipCpp = reinterpret_cast< ::QRect *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRect));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMargins, &a0))
        {
            sipCpp-> ::QRect::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRect___iand__(PyObject *,PyObject *);}
static PyObject *slot_QRect___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRect)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRect *sipCpp = reinterpret_cast< ::QRect *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRect));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRect, &a0))
        {
            sipCpp-> ::QRect::operator&=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QRect___ior__(PyObject *,PyObject *);}
static PyObject *slot_QRect___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QRect)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QRect *sipCpp = reinterpret_cast< ::QRect *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRect));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QRect* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRect, &a0))
        {
            sipCpp-> ::QRect::operator|=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static int slot_QRect___bool__(PyObject *);}
static int slot_QRect___bool__(PyObject *sipSelf)
{
     ::QRect *sipCpp = reinterpret_cast< ::QRect *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRect));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 83 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
        sipRes = sipCpp->isValid();
#line 79395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QRect___repr__(PyObject *);}
static PyObject *slot_QRect___repr__(PyObject *sipSelf)
{
     ::QRect *sipCpp = reinterpret_cast< ::QRect *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRect));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 57 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QRect()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QRect()");
        #endif
        }
        else
        {
            sipRes =
        #if PY_MAJOR_VERSION >= 3
                PyUnicode_FromFormat
        #else
                PyString_FromFormat
        #endif
                    ("PyQt5.QtCore.QRect(%i, %i, %i, %i)", sipCpp->left(),
                    sipCpp->top(), sipCpp->width(), sipCpp->height());
        }
#line 79438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QRect___contains__(PyObject *,PyObject *);}
static int slot_QRect___contains__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QRect *sipCpp = reinterpret_cast< ::QRect *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QRect));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QPoint, &a0))
        {
            int sipRes = 0;

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 79467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    {
        const  ::QRect* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QRect, &a0))
        {
            int sipRes = 0;

#line 48 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
        sipRes = sipCpp->contains(*a0);
#line 79482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRect, sipName___contains__, NULL);

    return -1;
}


extern "C" {static PyObject *slot_QRect___and__(PyObject *,PyObject *);}
static PyObject *slot_QRect___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRect* a0;
        const  ::QRect* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QRect, &a0, sipType_QRect, &a1))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect((*a0 & *a1));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QRect___or__(PyObject *,PyObject *);}
static PyObject *slot_QRect___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QRect* a0;
        const  ::QRect* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QRect, &a0, sipType_QRect, &a1))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect((*a0 | *a1));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


/* Call the instance's destructor. */
extern "C" {static void release_QRect(void *, int);}
static void release_QRect(void *sipCppV, int)
{
    delete reinterpret_cast< ::QRect *>(sipCppV);
}


extern "C" {static PyObject *pickle_QRect(void *);}
static PyObject *pickle_QRect(void *sipCppV)
{
     ::QRect *sipCpp = reinterpret_cast< ::QRect *>(sipCppV);
    PyObject *sipRes;

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
    sipRes = Py_BuildValue((char *)"iiii", sipCpp->x(), sipCpp->y(), sipCpp->width(), sipCpp->height());
#line 79567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QRect(void *, SIP_SSIZE_T, const void *);}
static void assign_QRect(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QRect *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QRect *>(sipSrc);
}


extern "C" {static void *array_QRect(SIP_SSIZE_T);}
static void *array_QRect(SIP_SSIZE_T sipNrElem)
{
    return new  ::QRect[sipNrElem];
}


extern "C" {static void *copy_QRect(const void *, SIP_SSIZE_T);}
static void *copy_QRect(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QRect(reinterpret_cast<const  ::QRect *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QRect(sipSimpleWrapper *);}
static void dealloc_QRect(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QRect(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QRect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRect(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QRect *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QRect();

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iiii", &a0, &a1, &a2, &a3))
        {
            sipCpp = new  ::QRect(a0,a1,a2,a3);

            return sipCpp;
        }
    }

    {
        const  ::QPoint* a0;
        const  ::QPoint* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9", sipType_QPoint, &a0, sipType_QPoint, &a1))
        {
            sipCpp = new  ::QRect(*a0,*a1);

            return sipCpp;
        }
    }

    {
        const  ::QPoint* a0;
        const  ::QSize* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9", sipType_QPoint, &a0, sipType_QSize, &a1))
        {
            sipCpp = new  ::QRect(*a0,*a1);

            return sipCpp;
        }
    }

    {
        const  ::QRect* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QRect, &a0))
        {
            sipCpp = new  ::QRect(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QRect[] = {
    {(void *)slot_QRect___eq__, eq_slot},
    {(void *)slot_QRect___ne__, ne_slot},
    {(void *)slot_QRect___add__, add_slot},
    {(void *)slot_QRect___sub__, sub_slot},
    {(void *)slot_QRect___isub__, isub_slot},
    {(void *)slot_QRect___iadd__, iadd_slot},
    {(void *)slot_QRect___iand__, iand_slot},
    {(void *)slot_QRect___ior__, ior_slot},
    {(void *)slot_QRect___bool__, bool_slot},
    {(void *)slot_QRect___repr__, repr_slot},
    {(void *)slot_QRect___contains__, contains_slot},
    {(void *)slot_QRect___and__, and_slot},
    {(void *)slot_QRect___or__, or_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QRect[] = {
    {SIP_MLNAME_CAST(sipName_adjust), meth_QRect_adjust, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_adjust)},
    {SIP_MLNAME_CAST(sipName_adjusted), meth_QRect_adjusted, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_adjusted)},
    {SIP_MLNAME_CAST(sipName_bottom), meth_QRect_bottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_bottom)},
    {SIP_MLNAME_CAST(sipName_bottomLeft), meth_QRect_bottomLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_bottomLeft)},
    {SIP_MLNAME_CAST(sipName_bottomRight), meth_QRect_bottomRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_bottomRight)},
    {SIP_MLNAME_CAST(sipName_center), meth_QRect_center, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_center)},
    {SIP_MLNAME_CAST(sipName_contains), (PyCFunction)meth_QRect_contains, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRect_contains)},
    {SIP_MLNAME_CAST(sipName_getCoords), meth_QRect_getCoords, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_getCoords)},
    {SIP_MLNAME_CAST(sipName_getRect), meth_QRect_getRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_getRect)},
    {SIP_MLNAME_CAST(sipName_height), meth_QRect_height, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_height)},
    {SIP_MLNAME_CAST(sipName_intersected), meth_QRect_intersected, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_intersected)},
    {SIP_MLNAME_CAST(sipName_intersects), meth_QRect_intersects, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_intersects)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QRect_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QRect_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_isNull)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QRect_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_isValid)},
    {SIP_MLNAME_CAST(sipName_left), meth_QRect_left, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_left)},
    {SIP_MLNAME_CAST(sipName_marginsAdded), meth_QRect_marginsAdded, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_marginsAdded)},
    {SIP_MLNAME_CAST(sipName_marginsRemoved), meth_QRect_marginsRemoved, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_marginsRemoved)},
    {SIP_MLNAME_CAST(sipName_moveBottom), meth_QRect_moveBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_moveBottom)},
    {SIP_MLNAME_CAST(sipName_moveBottomLeft), meth_QRect_moveBottomLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_moveBottomLeft)},
    {SIP_MLNAME_CAST(sipName_moveBottomRight), meth_QRect_moveBottomRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_moveBottomRight)},
    {SIP_MLNAME_CAST(sipName_moveCenter), meth_QRect_moveCenter, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_moveCenter)},
    {SIP_MLNAME_CAST(sipName_moveLeft), meth_QRect_moveLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_moveLeft)},
    {SIP_MLNAME_CAST(sipName_moveRight), meth_QRect_moveRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_moveRight)},
    {SIP_MLNAME_CAST(sipName_moveTo), meth_QRect_moveTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_moveTo)},
    {SIP_MLNAME_CAST(sipName_moveTop), meth_QRect_moveTop, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_moveTop)},
    {SIP_MLNAME_CAST(sipName_moveTopLeft), meth_QRect_moveTopLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_moveTopLeft)},
    {SIP_MLNAME_CAST(sipName_moveTopRight), meth_QRect_moveTopRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_moveTopRight)},
    {SIP_MLNAME_CAST(sipName_normalized), meth_QRect_normalized, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_normalized)},
    {SIP_MLNAME_CAST(sipName_right), meth_QRect_right, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_right)},
    {SIP_MLNAME_CAST(sipName_setBottom), meth_QRect_setBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setBottom)},
    {SIP_MLNAME_CAST(sipName_setBottomLeft), meth_QRect_setBottomLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setBottomLeft)},
    {SIP_MLNAME_CAST(sipName_setBottomRight), meth_QRect_setBottomRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setBottomRight)},
    {SIP_MLNAME_CAST(sipName_setCoords), meth_QRect_setCoords, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setCoords)},
    {SIP_MLNAME_CAST(sipName_setHeight), meth_QRect_setHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setHeight)},
    {SIP_MLNAME_CAST(sipName_setLeft), meth_QRect_setLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setLeft)},
    {SIP_MLNAME_CAST(sipName_setRect), meth_QRect_setRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setRect)},
    {SIP_MLNAME_CAST(sipName_setRight), meth_QRect_setRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setRight)},
    {SIP_MLNAME_CAST(sipName_setSize), meth_QRect_setSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setSize)},
    {SIP_MLNAME_CAST(sipName_setTop), meth_QRect_setTop, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setTop)},
    {SIP_MLNAME_CAST(sipName_setTopLeft), meth_QRect_setTopLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setTopLeft)},
    {SIP_MLNAME_CAST(sipName_setTopRight), meth_QRect_setTopRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setTopRight)},
    {SIP_MLNAME_CAST(sipName_setWidth), meth_QRect_setWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setWidth)},
    {SIP_MLNAME_CAST(sipName_setX), meth_QRect_setX, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setX)},
    {SIP_MLNAME_CAST(sipName_setY), meth_QRect_setY, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_setY)},
    {SIP_MLNAME_CAST(sipName_size), meth_QRect_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_size)},
    {SIP_MLNAME_CAST(sipName_top), meth_QRect_top, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_top)},
    {SIP_MLNAME_CAST(sipName_topLeft), meth_QRect_topLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_topLeft)},
    {SIP_MLNAME_CAST(sipName_topRight), meth_QRect_topRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_topRight)},
    {SIP_MLNAME_CAST(sipName_translate), meth_QRect_translate, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_translate)},
    {SIP_MLNAME_CAST(sipName_translated), meth_QRect_translated, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_translated)},
    {SIP_MLNAME_CAST(sipName_transposed), meth_QRect_transposed, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_transposed)},
    {SIP_MLNAME_CAST(sipName_united), meth_QRect_united, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_united)},
    {SIP_MLNAME_CAST(sipName_width), meth_QRect_width, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_width)},
    {SIP_MLNAME_CAST(sipName_x), meth_QRect_x, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_x)},
    {SIP_MLNAME_CAST(sipName_y), meth_QRect_y, METH_VARARGS, SIP_MLDOC_CAST(doc_QRect_y)}
};

PyDoc_STRVAR(doc_QRect, "\1QRect()\n"
    "QRect(int, int, int, int)\n"
    "QRect(QPoint, QPoint)\n"
    "QRect(QPoint, QSize)\n"
    "QRect(QRect)");


static pyqt5ClassPluginDef plugin_QRect = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QRect = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QRect,
        {0},
        &plugin_QRect
    },
    {
        sipNameNr_QRect,
        {0, 0, 1},
        56, methods_QRect,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRect,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QRect,
    init_type_QRect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRect,
    assign_QRect,
    array_QRect,
    copy_QRect,
    release_QRect,
    0,
    0,
    0,
    0,
    pickle_QRect,
    0,
    0
};

#line 81 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 79816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 79820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QWriteLocker_unlock, "unlock(self)");

extern "C" {static PyObject *meth_QWriteLocker_unlock(PyObject *, PyObject *);}
static PyObject *meth_QWriteLocker_unlock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWriteLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWriteLocker, &sipCpp))
        {
            sipCpp->unlock();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWriteLocker, sipName_unlock, doc_QWriteLocker_unlock);

    return NULL;
}


PyDoc_STRVAR(doc_QWriteLocker_relock, "relock(self)");

extern "C" {static PyObject *meth_QWriteLocker_relock(PyObject *, PyObject *);}
static PyObject *meth_QWriteLocker_relock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWriteLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWriteLocker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->relock();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWriteLocker, sipName_relock, doc_QWriteLocker_relock);

    return NULL;
}


PyDoc_STRVAR(doc_QWriteLocker_readWriteLock, "readWriteLock(self) -> QReadWriteLock");

extern "C" {static PyObject *meth_QWriteLocker_readWriteLock(PyObject *, PyObject *);}
static PyObject *meth_QWriteLocker_readWriteLock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QWriteLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWriteLocker, &sipCpp))
        {
             ::QReadWriteLock*sipRes;

            sipRes = sipCpp->readWriteLock();

            return sipConvertFromType(sipRes,sipType_QReadWriteLock,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWriteLocker, sipName_readWriteLock, doc_QWriteLocker_readWriteLock);

    return NULL;
}


PyDoc_STRVAR(doc_QWriteLocker___enter__, "__enter__(self) -> object");

extern "C" {static PyObject *meth_QWriteLocker___enter__(PyObject *, PyObject *);}
static PyObject *meth_QWriteLocker___enter__(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QWriteLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWriteLocker, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 92 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qreadwritelock.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 79926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWriteLocker, sipName___enter__, doc_QWriteLocker___enter__);

    return NULL;
}


PyDoc_STRVAR(doc_QWriteLocker___exit__, "__exit__(self, object, object, object)");

extern "C" {static PyObject *meth_QWriteLocker___exit__(PyObject *, PyObject *);}
static PyObject *meth_QWriteLocker___exit__(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        PyObject * a1;
        PyObject * a2;
         ::QWriteLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0P0P0", &sipSelf, sipType_QWriteLocker, &sipCpp, &a0, &a1, &a2))
        {
#line 99 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qreadwritelock.sip"
        sipCpp->unlock();
#line 79957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWriteLocker, sipName___exit__, doc_QWriteLocker___exit__);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWriteLocker(void *, int);}
static void release_QWriteLocker(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWriteLocker *>(sipCppV);
}


extern "C" {static void dealloc_QWriteLocker(sipSimpleWrapper *);}
static void dealloc_QWriteLocker(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWriteLocker(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWriteLocker(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWriteLocker(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWriteLocker *sipCpp = 0;

    {
         ::QReadWriteLock* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QReadWriteLock, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QWriteLocker(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QWriteLocker[] = {
    {SIP_MLNAME_CAST(sipName___enter__), meth_QWriteLocker___enter__, METH_VARARGS, SIP_MLDOC_CAST(doc_QWriteLocker___enter__)},
    {SIP_MLNAME_CAST(sipName___exit__), meth_QWriteLocker___exit__, METH_VARARGS, SIP_MLDOC_CAST(doc_QWriteLocker___exit__)},
    {SIP_MLNAME_CAST(sipName_readWriteLock), meth_QWriteLocker_readWriteLock, METH_VARARGS, SIP_MLDOC_CAST(doc_QWriteLocker_readWriteLock)},
    {SIP_MLNAME_CAST(sipName_relock), meth_QWriteLocker_relock, METH_VARARGS, SIP_MLDOC_CAST(doc_QWriteLocker_relock)},
    {SIP_MLNAME_CAST(sipName_unlock), meth_QWriteLocker_unlock, METH_VARARGS, SIP_MLDOC_CAST(doc_QWriteLocker_unlock)}
};

PyDoc_STRVAR(doc_QWriteLocker, "\1QWriteLocker(QReadWriteLock)");


static pyqt5ClassPluginDef plugin_QWriteLocker = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QWriteLocker = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWriteLocker,
        {0},
        &plugin_QWriteLocker
    },
    {
        sipNameNr_QWriteLocker,
        {0, 0, 1},
        5, methods_QWriteLocker,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWriteLocker,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QWriteLocker,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWriteLocker,
    0,
    0,
    0,
    release_QWriteLocker,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 53 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 80082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 80086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QReadLocker_unlock, "unlock(self)");

extern "C" {static PyObject *meth_QReadLocker_unlock(PyObject *, PyObject *);}
static PyObject *meth_QReadLocker_unlock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QReadLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QReadLocker, &sipCpp))
        {
            sipCpp->unlock();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QReadLocker, sipName_unlock, doc_QReadLocker_unlock);

    return NULL;
}


PyDoc_STRVAR(doc_QReadLocker_relock, "relock(self)");

extern "C" {static PyObject *meth_QReadLocker_relock(PyObject *, PyObject *);}
static PyObject *meth_QReadLocker_relock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QReadLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QReadLocker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->relock();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QReadLocker, sipName_relock, doc_QReadLocker_relock);

    return NULL;
}


PyDoc_STRVAR(doc_QReadLocker_readWriteLock, "readWriteLock(self) -> QReadWriteLock");

extern "C" {static PyObject *meth_QReadLocker_readWriteLock(PyObject *, PyObject *);}
static PyObject *meth_QReadLocker_readWriteLock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QReadLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QReadLocker, &sipCpp))
        {
             ::QReadWriteLock*sipRes;

            sipRes = sipCpp->readWriteLock();

            return sipConvertFromType(sipRes,sipType_QReadWriteLock,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QReadLocker, sipName_readWriteLock, doc_QReadLocker_readWriteLock);

    return NULL;
}


PyDoc_STRVAR(doc_QReadLocker___enter__, "__enter__(self) -> object");

extern "C" {static PyObject *meth_QReadLocker___enter__(PyObject *, PyObject *);}
static PyObject *meth_QReadLocker___enter__(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QReadLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QReadLocker, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 64 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qreadwritelock.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 80192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QReadLocker, sipName___enter__, doc_QReadLocker___enter__);

    return NULL;
}


PyDoc_STRVAR(doc_QReadLocker___exit__, "__exit__(self, object, object, object)");

extern "C" {static PyObject *meth_QReadLocker___exit__(PyObject *, PyObject *);}
static PyObject *meth_QReadLocker___exit__(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        PyObject * a1;
        PyObject * a2;
         ::QReadLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0P0P0", &sipSelf, sipType_QReadLocker, &sipCpp, &a0, &a1, &a2))
        {
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qreadwritelock.sip"
        sipCpp->unlock();
#line 80223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QReadLocker, sipName___exit__, doc_QReadLocker___exit__);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QReadLocker(void *, int);}
static void release_QReadLocker(void *sipCppV, int)
{
    delete reinterpret_cast< ::QReadLocker *>(sipCppV);
}


extern "C" {static void dealloc_QReadLocker(sipSimpleWrapper *);}
static void dealloc_QReadLocker(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QReadLocker(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QReadLocker(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QReadLocker(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QReadLocker *sipCpp = 0;

    {
         ::QReadWriteLock* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QReadWriteLock, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QReadLocker(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QReadLocker[] = {
    {SIP_MLNAME_CAST(sipName___enter__), meth_QReadLocker___enter__, METH_VARARGS, SIP_MLDOC_CAST(doc_QReadLocker___enter__)},
    {SIP_MLNAME_CAST(sipName___exit__), meth_QReadLocker___exit__, METH_VARARGS, SIP_MLDOC_CAST(doc_QReadLocker___exit__)},
    {SIP_MLNAME_CAST(sipName_readWriteLock), meth_QReadLocker_readWriteLock, METH_VARARGS, SIP_MLDOC_CAST(doc_QReadLocker_readWriteLock)},
    {SIP_MLNAME_CAST(sipName_relock), meth_QReadLocker_relock, METH_VARARGS, SIP_MLDOC_CAST(doc_QReadLocker_relock)},
    {SIP_MLNAME_CAST(sipName_unlock), meth_QReadLocker_unlock, METH_VARARGS, SIP_MLDOC_CAST(doc_QReadLocker_unlock)}
};

PyDoc_STRVAR(doc_QReadLocker, "\1QReadLocker(QReadWriteLock)");


static pyqt5ClassPluginDef plugin_QReadLocker = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QReadLocker = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QReadLocker,
        {0},
        &plugin_QReadLocker
    },
    {
        sipNameNr_QReadLocker,
        {0, 0, 1},
        5, methods_QReadLocker,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QReadLocker,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QReadLocker,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QReadLocker,
    0,
    0,
    0,
    release_QReadLocker,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qreadwritelock.sip"
#include <qreadwritelock.h>
#line 80348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QReadWriteLock_lockForRead, "lockForRead(self)");

extern "C" {static PyObject *meth_QReadWriteLock_lockForRead(PyObject *, PyObject *);}
static PyObject *meth_QReadWriteLock_lockForRead(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QReadWriteLock *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QReadWriteLock, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->lockForRead();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QReadWriteLock, sipName_lockForRead, doc_QReadWriteLock_lockForRead);

    return NULL;
}


PyDoc_STRVAR(doc_QReadWriteLock_tryLockForRead, "tryLockForRead(self) -> bool\n"
    "tryLockForRead(self, int) -> bool");

extern "C" {static PyObject *meth_QReadWriteLock_tryLockForRead(PyObject *, PyObject *);}
static PyObject *meth_QReadWriteLock_tryLockForRead(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QReadWriteLock *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QReadWriteLock, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tryLockForRead();

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
         ::QReadWriteLock *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QReadWriteLock, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tryLockForRead(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QReadWriteLock, sipName_tryLockForRead, doc_QReadWriteLock_tryLockForRead);

    return NULL;
}


PyDoc_STRVAR(doc_QReadWriteLock_lockForWrite, "lockForWrite(self)");

extern "C" {static PyObject *meth_QReadWriteLock_lockForWrite(PyObject *, PyObject *);}
static PyObject *meth_QReadWriteLock_lockForWrite(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QReadWriteLock *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QReadWriteLock, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->lockForWrite();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QReadWriteLock, sipName_lockForWrite, doc_QReadWriteLock_lockForWrite);

    return NULL;
}


PyDoc_STRVAR(doc_QReadWriteLock_tryLockForWrite, "tryLockForWrite(self) -> bool\n"
    "tryLockForWrite(self, int) -> bool");

extern "C" {static PyObject *meth_QReadWriteLock_tryLockForWrite(PyObject *, PyObject *);}
static PyObject *meth_QReadWriteLock_tryLockForWrite(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QReadWriteLock *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QReadWriteLock, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tryLockForWrite();

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
         ::QReadWriteLock *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QReadWriteLock, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tryLockForWrite(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QReadWriteLock, sipName_tryLockForWrite, doc_QReadWriteLock_tryLockForWrite);

    return NULL;
}


PyDoc_STRVAR(doc_QReadWriteLock_unlock, "unlock(self)");

extern "C" {static PyObject *meth_QReadWriteLock_unlock(PyObject *, PyObject *);}
static PyObject *meth_QReadWriteLock_unlock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QReadWriteLock *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QReadWriteLock, &sipCpp))
        {
            sipCpp->unlock();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QReadWriteLock, sipName_unlock, doc_QReadWriteLock_unlock);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QReadWriteLock(void *, int);}
static void release_QReadWriteLock(void *sipCppV, int)
{
    delete reinterpret_cast< ::QReadWriteLock *>(sipCppV);
}


extern "C" {static void dealloc_QReadWriteLock(sipSimpleWrapper *);}
static void dealloc_QReadWriteLock(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QReadWriteLock(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QReadWriteLock(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QReadWriteLock(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QReadWriteLock *sipCpp = 0;

    {
         ::QReadWriteLock::RecursionMode a0 = QReadWriteLock::NonRecursive;

        static const char *sipKwdList[] = {
            sipName_recursionMode,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|E", sipType_QReadWriteLock_RecursionMode, &a0))
        {
            sipCpp = new  ::QReadWriteLock(a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QReadWriteLock[] = {
    {SIP_MLNAME_CAST(sipName_lockForRead), meth_QReadWriteLock_lockForRead, METH_VARARGS, SIP_MLDOC_CAST(doc_QReadWriteLock_lockForRead)},
    {SIP_MLNAME_CAST(sipName_lockForWrite), meth_QReadWriteLock_lockForWrite, METH_VARARGS, SIP_MLDOC_CAST(doc_QReadWriteLock_lockForWrite)},
    {SIP_MLNAME_CAST(sipName_tryLockForRead), meth_QReadWriteLock_tryLockForRead, METH_VARARGS, SIP_MLDOC_CAST(doc_QReadWriteLock_tryLockForRead)},
    {SIP_MLNAME_CAST(sipName_tryLockForWrite), meth_QReadWriteLock_tryLockForWrite, METH_VARARGS, SIP_MLDOC_CAST(doc_QReadWriteLock_tryLockForWrite)},
    {SIP_MLNAME_CAST(sipName_unlock), meth_QReadWriteLock_unlock, METH_VARARGS, SIP_MLDOC_CAST(doc_QReadWriteLock_unlock)}
};

static sipEnumMemberDef enummembers_QReadWriteLock[] = {
    {sipName_NonRecursive, static_cast<int>( ::QReadWriteLock::NonRecursive), 191},
    {sipName_Recursive, static_cast<int>( ::QReadWriteLock::Recursive), 191},
};

PyDoc_STRVAR(doc_QReadWriteLock, "\1QReadWriteLock(recursionMode: QReadWriteLock.RecursionMode = QReadWriteLock.NonRecursive)");


static pyqt5ClassPluginDef plugin_QReadWriteLock = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QReadWriteLock = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QReadWriteLock,
        {0},
        &plugin_QReadWriteLock
    },
    {
        sipNameNr_QReadWriteLock,
        {0, 0, 1},
        5, methods_QReadWriteLock,
        2, enummembers_QReadWriteLock,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QReadWriteLock,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QReadWriteLock,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QReadWriteLock,
    0,
    0,
    0,
    release_QReadWriteLock,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 80647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 80651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 80654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QProcessEnvironment_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QProcessEnvironment_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QProcessEnvironment_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcessEnvironment, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcessEnvironment, sipName_isEmpty, doc_QProcessEnvironment_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QProcessEnvironment_clear, "clear(self)");

extern "C" {static PyObject *meth_QProcessEnvironment_clear(PyObject *, PyObject *);}
static PyObject *meth_QProcessEnvironment_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcessEnvironment, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcessEnvironment, sipName_clear, doc_QProcessEnvironment_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QProcessEnvironment_contains, "contains(self, str) -> bool");

extern "C" {static PyObject *meth_QProcessEnvironment_contains(PyObject *, PyObject *);}
static PyObject *meth_QProcessEnvironment_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QProcessEnvironment, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->contains(*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_QProcessEnvironment, sipName_contains, doc_QProcessEnvironment_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QProcessEnvironment_insert, "insert(self, str, str)\n"
    "insert(self, QProcessEnvironment)");

extern "C" {static PyObject *meth_QProcessEnvironment_insert(PyObject *, PyObject *);}
static PyObject *meth_QProcessEnvironment_insert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QProcessEnvironment, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->insert(*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;
        }
    }

    {
        const  ::QProcessEnvironment* a0;
         ::QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QProcessEnvironment, &sipCpp, sipType_QProcessEnvironment, &a0))
        {
            sipCpp->insert(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcessEnvironment, sipName_insert, doc_QProcessEnvironment_insert);

    return NULL;
}


PyDoc_STRVAR(doc_QProcessEnvironment_remove, "remove(self, str)");

extern "C" {static PyObject *meth_QProcessEnvironment_remove(PyObject *, PyObject *);}
static PyObject *meth_QProcessEnvironment_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QProcessEnvironment, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->remove(*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_QProcessEnvironment, sipName_remove, doc_QProcessEnvironment_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QProcessEnvironment_value, "value(self, str, defaultValue: str = '') -> str");

extern "C" {static PyObject *meth_QProcessEnvironment_value(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcessEnvironment_value(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  ::QProcessEnvironment *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_defaultValue,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QProcessEnvironment, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->value(*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_QProcessEnvironment, sipName_value, doc_QProcessEnvironment_value);

    return NULL;
}


PyDoc_STRVAR(doc_QProcessEnvironment_toStringList, "toStringList(self) -> List[str]");

extern "C" {static PyObject *meth_QProcessEnvironment_toStringList(PyObject *, PyObject *);}
static PyObject *meth_QProcessEnvironment_toStringList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcessEnvironment, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->toStringList());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcessEnvironment, sipName_toStringList, doc_QProcessEnvironment_toStringList);

    return NULL;
}


PyDoc_STRVAR(doc_QProcessEnvironment_systemEnvironment, "systemEnvironment() -> QProcessEnvironment");

extern "C" {static PyObject *meth_QProcessEnvironment_systemEnvironment(PyObject *, PyObject *);}
static PyObject *meth_QProcessEnvironment_systemEnvironment(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QProcessEnvironment*sipRes;

            sipRes = new  ::QProcessEnvironment( ::QProcessEnvironment::systemEnvironment());

            return sipConvertFromNewType(sipRes,sipType_QProcessEnvironment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcessEnvironment, sipName_systemEnvironment, doc_QProcessEnvironment_systemEnvironment);

    return NULL;
}


PyDoc_STRVAR(doc_QProcessEnvironment_keys, "keys(self) -> List[str]");

extern "C" {static PyObject *meth_QProcessEnvironment_keys(PyObject *, PyObject *);}
static PyObject *meth_QProcessEnvironment_keys(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcessEnvironment, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->keys());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcessEnvironment, sipName_keys, doc_QProcessEnvironment_keys);

    return NULL;
}


PyDoc_STRVAR(doc_QProcessEnvironment_swap, "swap(self, QProcessEnvironment)");

extern "C" {static PyObject *meth_QProcessEnvironment_swap(PyObject *, PyObject *);}
static PyObject *meth_QProcessEnvironment_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcessEnvironment* a0;
         ::QProcessEnvironment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QProcessEnvironment, &sipCpp, sipType_QProcessEnvironment, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcessEnvironment, sipName_swap, doc_QProcessEnvironment_swap);

    return NULL;
}


extern "C" {static PyObject *slot_QProcessEnvironment___ne__(PyObject *,PyObject *);}
static PyObject *slot_QProcessEnvironment___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QProcessEnvironment *sipCpp = reinterpret_cast< ::QProcessEnvironment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QProcessEnvironment));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QProcessEnvironment* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QProcessEnvironment, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QProcessEnvironment::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QProcessEnvironment, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QProcessEnvironment___eq__(PyObject *,PyObject *);}
static PyObject *slot_QProcessEnvironment___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QProcessEnvironment *sipCpp = reinterpret_cast< ::QProcessEnvironment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QProcessEnvironment));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QProcessEnvironment* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QProcessEnvironment, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QProcessEnvironment::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QProcessEnvironment, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QProcessEnvironment(void *, int);}
static void release_QProcessEnvironment(void *sipCppV, int)
{
    delete reinterpret_cast< ::QProcessEnvironment *>(sipCppV);
}


extern "C" {static void assign_QProcessEnvironment(void *, SIP_SSIZE_T, const void *);}
static void assign_QProcessEnvironment(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QProcessEnvironment *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QProcessEnvironment *>(sipSrc);
}


extern "C" {static void *array_QProcessEnvironment(SIP_SSIZE_T);}
static void *array_QProcessEnvironment(SIP_SSIZE_T sipNrElem)
{
    return new  ::QProcessEnvironment[sipNrElem];
}


extern "C" {static void *copy_QProcessEnvironment(const void *, SIP_SSIZE_T);}
static void *copy_QProcessEnvironment(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QProcessEnvironment(reinterpret_cast<const  ::QProcessEnvironment *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QProcessEnvironment(sipSimpleWrapper *);}
static void dealloc_QProcessEnvironment(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QProcessEnvironment(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QProcessEnvironment(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QProcessEnvironment(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QProcessEnvironment *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QProcessEnvironment();

            return sipCpp;
        }
    }

    {
        const  ::QProcessEnvironment* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QProcessEnvironment, &a0))
        {
            sipCpp = new  ::QProcessEnvironment(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QProcessEnvironment[] = {
    {(void *)slot_QProcessEnvironment___ne__, ne_slot},
    {(void *)slot_QProcessEnvironment___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QProcessEnvironment[] = {
    {SIP_MLNAME_CAST(sipName_clear), meth_QProcessEnvironment_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcessEnvironment_clear)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QProcessEnvironment_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcessEnvironment_contains)},
    {SIP_MLNAME_CAST(sipName_insert), meth_QProcessEnvironment_insert, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcessEnvironment_insert)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QProcessEnvironment_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcessEnvironment_isEmpty)},
    {SIP_MLNAME_CAST(sipName_keys), meth_QProcessEnvironment_keys, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcessEnvironment_keys)},
    {SIP_MLNAME_CAST(sipName_remove), meth_QProcessEnvironment_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcessEnvironment_remove)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QProcessEnvironment_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcessEnvironment_swap)},
    {SIP_MLNAME_CAST(sipName_systemEnvironment), meth_QProcessEnvironment_systemEnvironment, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcessEnvironment_systemEnvironment)},
    {SIP_MLNAME_CAST(sipName_toStringList), meth_QProcessEnvironment_toStringList, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcessEnvironment_toStringList)},
    {SIP_MLNAME_CAST(sipName_value), (PyCFunction)meth_QProcessEnvironment_value, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcessEnvironment_value)}
};

PyDoc_STRVAR(doc_QProcessEnvironment, "\1QProcessEnvironment()\n"
    "QProcessEnvironment(QProcessEnvironment)");


static pyqt5ClassPluginDef plugin_QProcessEnvironment = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QProcessEnvironment = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QProcessEnvironment,
        {0},
        &plugin_QProcessEnvironment
    },
    {
        sipNameNr_QProcessEnvironment,
        {0, 0, 1},
        10, methods_QProcessEnvironment,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QProcessEnvironment,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QProcessEnvironment,
    init_type_QProcessEnvironment,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QProcessEnvironment,
    assign_QProcessEnvironment,
    array_QProcessEnvironment,
    copy_QProcessEnvironment,
    release_QProcessEnvironment,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 81188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 81192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 81195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 81198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 81201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qprocess.sip"
#include <qprocess.h>
#line 81204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 81207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 81210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 81213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 81216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 81219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 81222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 81225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 81228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 81231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 81234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 81237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 81240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 81243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 81246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQProcess : public  ::QProcess
{
public:
    sipQProcess( ::QObject*);
    virtual ~sipQProcess();

    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;
     ::qint64 sipProtectVirt_readLineData(bool,char*, ::qint64);
    void sipProtect_setOpenMode( ::QIODevice::OpenMode);
    void sipProtect_setErrorString(const  ::QString&);
    void sipProtect_setProcessState( ::QProcess::ProcessState);
    void sipProtectVirt_setupChildProcess(bool);
     ::qint64 sipProtectVirt_readData(bool,char*, ::qint64);
     ::qint64 sipProtectVirt_writeData(bool,const char*,PY_LONG_LONG);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setupChildProcess();
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    bool isSequential() const;
    bool open( ::QIODevice::OpenMode);
    void close();
     ::qint64 pos() const;
     ::qint64 size() const;
    bool seek( ::qint64);
    bool atEnd() const;
    bool reset();
     ::qint64 bytesAvailable() const;
     ::qint64 bytesToWrite() const;
    bool canReadLine() const;
    bool waitForReadyRead(int);
    bool waitForBytesWritten(int);
     ::qint64 readData(char*, ::qint64);
     ::qint64 readLineData(char*, ::qint64);
     ::qint64 writeData(const char*,PY_LONG_LONG);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQProcess(const sipQProcess &);
    sipQProcess &operator = (const sipQProcess &);

    char sipPyMethods[24];
};

sipQProcess::sipQProcess( ::QObject*a0):  ::QProcess(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQProcess::~sipQProcess()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQProcess::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QProcess);

    return  ::QProcess::metaObject();
}

int sipQProcess::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QProcess::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QProcess,_c,_id,_a);

    return _id;
}

void *sipQProcess::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QProcess, _clname, &sipCpp) ? sipCpp :  ::QProcess::qt_metacast(_clname));
}

void sipQProcess::setupChildProcess()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setupChildProcess);

    if (!sipMeth)
    {
         ::QProcess::setupChildProcess();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQProcess::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QProcess::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQProcess::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QProcess::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQProcess::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QProcess::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQProcess::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QProcess::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQProcess::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QProcess::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQProcess::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QProcess::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQProcess::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QProcess::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQProcess::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return  ::QProcess::isSequential();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQProcess::open( ::QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return  ::QProcess::open(a0);

    extern bool sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QIODevice::OpenMode);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQProcess::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
    {
         ::QProcess::close();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQProcess::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return  ::QProcess::pos();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQProcess::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return  ::QProcess::size();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQProcess::seek( ::qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return  ::QProcess::seek(a0);

    extern bool sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qint64);

    return sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQProcess::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_atEnd);

    if (!sipMeth)
        return  ::QProcess::atEnd();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQProcess::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
        return  ::QProcess::reset();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQProcess::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!sipMeth)
        return  ::QProcess::bytesAvailable();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQProcess::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!sipMeth)
        return  ::QProcess::bytesToWrite();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQProcess::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_canReadLine);

    if (!sipMeth)
        return  ::QProcess::canReadLine();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQProcess::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!sipMeth)
        return  ::QProcess::waitForReadyRead(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQProcess::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!sipMeth)
        return  ::QProcess::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::qint64 sipQProcess::readData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_readData);

    if (!sipMeth)
        return  ::QProcess::readData(a0,a1);

    extern  ::qint64 sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQProcess::readLineData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_readLineData);

    if (!sipMeth)
        return  ::QProcess::readLineData(a0,a1);

    extern  ::qint64 sipVH_QtCore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_48(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQProcess::writeData(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_writeData);

    if (!sipMeth)
        return  ::QProcess::writeData(a0,a1);

    extern  ::qint64 sipVH_QtCore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_49(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::QObject* sipQProcess::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQProcess::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQProcess::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQProcess::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQProcess::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQProcess::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQProcess::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQProcess::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQProcess::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

 ::qint64 sipQProcess::sipProtectVirt_readLineData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QIODevice::readLineData(a0,a1) : readLineData(a0,a1));
}

void sipQProcess::sipProtect_setOpenMode( ::QIODevice::OpenMode a0)
{
     ::QIODevice::setOpenMode(a0);
}

void sipQProcess::sipProtect_setErrorString(const  ::QString& a0)
{
     ::QIODevice::setErrorString(a0);
}

void sipQProcess::sipProtect_setProcessState( ::QProcess::ProcessState a0)
{
     ::QProcess::setProcessState(a0);
}

void sipQProcess::sipProtectVirt_setupChildProcess(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QProcess::setupChildProcess() : setupChildProcess());
}

 ::qint64 sipQProcess::sipProtectVirt_readData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QProcess::readData(a0,a1) : readData(a0,a1));
}

 ::qint64 sipQProcess::sipProtectVirt_writeData(bool sipSelfWasArg,const char*a0,PY_LONG_LONG a1)
{
    return (sipSelfWasArg ?  ::QProcess::writeData(a0,a1) : writeData(a0,a1));
}


PyDoc_STRVAR(doc_QProcess_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QProcess_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 81860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_sender, doc_QProcess_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QProcess_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QProcess, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 81920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QProcess, sipName_receivers, doc_QProcess_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QProcess_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProcess, &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_QProcess, sipName_timerEvent, doc_QProcess_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QProcess_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProcess, &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_QProcess, sipName_childEvent, doc_QProcess_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QProcess_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProcess, &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_QProcess, sipName_customEvent, doc_QProcess_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QProcess_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProcess, &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_QProcess, sipName_connectNotify, doc_QProcess_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QProcess_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProcess, &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_QProcess, sipName_disconnectNotify, doc_QProcess_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QProcess_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_senderSignalIndex, doc_QProcess_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QProcess_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProcess, &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_QProcess, sipName_isSignalConnected, doc_QProcess_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_readLineData, "readLineData(self, int) -> bytes");

extern "C" {static PyObject *meth_QProcess_readLineData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_readLineData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QProcess, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QIODevice::readLineData(s, a0) : sipCpp->readLineData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 82196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_readLineData, doc_QProcess_readLineData);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setOpenMode, "setOpenMode(self, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag])");

extern "C" {static PyObject *meth_QProcess_setOpenMode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_setOpenMode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            sipCpp->sipProtect_setOpenMode(*a0);
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setOpenMode, doc_QProcess_setOpenMode);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setErrorString, "setErrorString(self, str)");

extern "C" {static PyObject *meth_QProcess_setErrorString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_setErrorString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->sipProtect_setErrorString(*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_QProcess, sipName_setErrorString, doc_QProcess_setErrorString);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_start, "start(self, str, Iterable[str], mode: Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = QIODevice.ReadWrite)\n"
    "start(self, str, mode: Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = QIODevice.ReadWrite)\n"
    "start(self, mode: Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = QIODevice.ReadWrite)");

extern "C" {static PyObject *meth_QProcess_start(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_start(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QStringList* a1;
        int a1State = 0;
         ::QIODevice::OpenMode a2def = QIODevice::ReadWrite;
         ::QIODevice::OpenMode* a2 = &a2def;
        int a2State = 0;
         ::QProcess *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J1|J1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State, sipType_QIODevice_OpenMode, &a2, &a2State))
        {
            sipCpp->start(*a0,*a1,*a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(a2,sipType_QIODevice_OpenMode,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QIODevice::OpenMode a1def = QIODevice::ReadWrite;
         ::QIODevice::OpenMode* a1 = &a1def;
        int a1State = 0;
         ::QProcess *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QString,&a0, &a0State, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            sipCpp->start(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QIODevice::OpenMode a0def = QIODevice::ReadWrite;
         ::QIODevice::OpenMode* a0 = &a0def;
        int a0State = 0;
         ::QProcess *sipCpp;

        static const char *sipKwdList[] = {
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            sipCpp->start(*a0);
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_start, doc_QProcess_start);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_readChannel, "readChannel(self) -> QProcess.ProcessChannel");

extern "C" {static PyObject *meth_QProcess_readChannel(PyObject *, PyObject *);}
static PyObject *meth_QProcess_readChannel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QProcess::ProcessChannel sipRes;

            sipRes = sipCpp->readChannel();

            return sipConvertFromEnum(sipRes,sipType_QProcess_ProcessChannel);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_readChannel, doc_QProcess_readChannel);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setReadChannel, "setReadChannel(self, QProcess.ProcessChannel)");

extern "C" {static PyObject *meth_QProcess_setReadChannel(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setReadChannel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess::ProcessChannel a0;
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QProcess, &sipCpp, sipType_QProcess_ProcessChannel, &a0))
        {
            sipCpp->setReadChannel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setReadChannel, doc_QProcess_setReadChannel);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_closeReadChannel, "closeReadChannel(self, QProcess.ProcessChannel)");

extern "C" {static PyObject *meth_QProcess_closeReadChannel(PyObject *, PyObject *);}
static PyObject *meth_QProcess_closeReadChannel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess::ProcessChannel a0;
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QProcess, &sipCpp, sipType_QProcess_ProcessChannel, &a0))
        {
            sipCpp->closeReadChannel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_closeReadChannel, doc_QProcess_closeReadChannel);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_closeWriteChannel, "closeWriteChannel(self)");

extern "C" {static PyObject *meth_QProcess_closeWriteChannel(PyObject *, PyObject *);}
static PyObject *meth_QProcess_closeWriteChannel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            sipCpp->closeWriteChannel();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_closeWriteChannel, doc_QProcess_closeWriteChannel);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_workingDirectory, "workingDirectory(self) -> str");

extern "C" {static PyObject *meth_QProcess_workingDirectory(PyObject *, PyObject *);}
static PyObject *meth_QProcess_workingDirectory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->workingDirectory());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_workingDirectory, doc_QProcess_workingDirectory);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setWorkingDirectory, "setWorkingDirectory(self, str)");

extern "C" {static PyObject *meth_QProcess_setWorkingDirectory(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setWorkingDirectory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWorkingDirectory(*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_QProcess, sipName_setWorkingDirectory, doc_QProcess_setWorkingDirectory);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_error, "error(self) -> QProcess.ProcessError");

extern "C" {static PyObject *meth_QProcess_error(PyObject *, PyObject *);}
static PyObject *meth_QProcess_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QProcess::ProcessError sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QProcess_ProcessError);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_error, doc_QProcess_error);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_state, "state(self) -> QProcess.ProcessState");

extern "C" {static PyObject *meth_QProcess_state(PyObject *, PyObject *);}
static PyObject *meth_QProcess_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QProcess::ProcessState sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QProcess_ProcessState);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_state, doc_QProcess_state);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_pid, "pid(self) -> int");

extern "C" {static PyObject *meth_QProcess_pid(PyObject *, PyObject *);}
static PyObject *meth_QProcess_pid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::Q_PID sipRes;

            sipRes = sipCpp->pid();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_pid, doc_QProcess_pid);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_waitForStarted, "waitForStarted(self, msecs: int = 30000) -> bool");

extern "C" {static PyObject *meth_QProcess_waitForStarted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_waitForStarted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 30000;
         ::QProcess *sipCpp;

        static const char *sipKwdList[] = {
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QProcess, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->waitForStarted(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_waitForStarted, doc_QProcess_waitForStarted);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_waitForReadyRead, "waitForReadyRead(self, msecs: int = 30000) -> bool");

extern "C" {static PyObject *meth_QProcess_waitForReadyRead(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_waitForReadyRead(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0 = 30000;
         ::QProcess *sipCpp;

        static const char *sipKwdList[] = {
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QProcess, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QProcess::waitForReadyRead(a0) : sipCpp->waitForReadyRead(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_waitForReadyRead, doc_QProcess_waitForReadyRead);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_waitForBytesWritten, "waitForBytesWritten(self, msecs: int = 30000) -> bool");

extern "C" {static PyObject *meth_QProcess_waitForBytesWritten(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_waitForBytesWritten(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0 = 30000;
         ::QProcess *sipCpp;

        static const char *sipKwdList[] = {
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QProcess, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QProcess::waitForBytesWritten(a0) : sipCpp->waitForBytesWritten(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_waitForBytesWritten, doc_QProcess_waitForBytesWritten);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_waitForFinished, "waitForFinished(self, msecs: int = 30000) -> bool");

extern "C" {static PyObject *meth_QProcess_waitForFinished(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_waitForFinished(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 30000;
         ::QProcess *sipCpp;

        static const char *sipKwdList[] = {
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QProcess, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->waitForFinished(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_waitForFinished, doc_QProcess_waitForFinished);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_readAllStandardOutput, "readAllStandardOutput(self) -> QByteArray");

extern "C" {static PyObject *meth_QProcess_readAllStandardOutput(PyObject *, PyObject *);}
static PyObject *meth_QProcess_readAllStandardOutput(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QByteArray(sipCpp->readAllStandardOutput());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_readAllStandardOutput, doc_QProcess_readAllStandardOutput);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_readAllStandardError, "readAllStandardError(self) -> QByteArray");

extern "C" {static PyObject *meth_QProcess_readAllStandardError(PyObject *, PyObject *);}
static PyObject *meth_QProcess_readAllStandardError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QByteArray(sipCpp->readAllStandardError());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_readAllStandardError, doc_QProcess_readAllStandardError);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_exitCode, "exitCode(self) -> int");

extern "C" {static PyObject *meth_QProcess_exitCode(PyObject *, PyObject *);}
static PyObject *meth_QProcess_exitCode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->exitCode();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_exitCode, doc_QProcess_exitCode);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_exitStatus, "exitStatus(self) -> QProcess.ExitStatus");

extern "C" {static PyObject *meth_QProcess_exitStatus(PyObject *, PyObject *);}
static PyObject *meth_QProcess_exitStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QProcess::ExitStatus sipRes;

            sipRes = sipCpp->exitStatus();

            return sipConvertFromEnum(sipRes,sipType_QProcess_ExitStatus);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_exitStatus, doc_QProcess_exitStatus);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_bytesAvailable, "bytesAvailable(self) -> int");

extern "C" {static PyObject *meth_QProcess_bytesAvailable(PyObject *, PyObject *);}
static PyObject *meth_QProcess_bytesAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QProcess::bytesAvailable() : sipCpp->bytesAvailable());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_bytesAvailable, doc_QProcess_bytesAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_bytesToWrite, "bytesToWrite(self) -> int");

extern "C" {static PyObject *meth_QProcess_bytesToWrite(PyObject *, PyObject *);}
static PyObject *meth_QProcess_bytesToWrite(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QProcess::bytesToWrite() : sipCpp->bytesToWrite());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_bytesToWrite, doc_QProcess_bytesToWrite);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_isSequential, "isSequential(self) -> bool");

extern "C" {static PyObject *meth_QProcess_isSequential(PyObject *, PyObject *);}
static PyObject *meth_QProcess_isSequential(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QProcess::isSequential() : sipCpp->isSequential());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_isSequential, doc_QProcess_isSequential);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_canReadLine, "canReadLine(self) -> bool");

extern "C" {static PyObject *meth_QProcess_canReadLine(PyObject *, PyObject *);}
static PyObject *meth_QProcess_canReadLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QProcess::canReadLine() : sipCpp->canReadLine());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_canReadLine, doc_QProcess_canReadLine);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_close, "close(self)");

extern "C" {static PyObject *meth_QProcess_close(PyObject *, PyObject *);}
static PyObject *meth_QProcess_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QProcess::close() : sipCpp->close());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_close, doc_QProcess_close);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_atEnd, "atEnd(self) -> bool");

extern "C" {static PyObject *meth_QProcess_atEnd(PyObject *, PyObject *);}
static PyObject *meth_QProcess_atEnd(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QProcess::atEnd() : sipCpp->atEnd());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_atEnd, doc_QProcess_atEnd);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_execute, "execute(str, Iterable[str]) -> int\n"
    "execute(str) -> int");

extern "C" {static PyObject *meth_QProcess_execute(PyObject *, PyObject *);}
static PyObject *meth_QProcess_execute(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QStringList* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QProcess::execute(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a1),sipType_QStringList,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QProcess::execute(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_execute, doc_QProcess_execute);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_startDetached, "startDetached(str, Iterable[str], str) -> Tuple[bool, int]\n"
    "startDetached(str, Iterable[str]) -> bool\n"
    "startDetached(str) -> bool");

extern "C" {static PyObject *meth_QProcess_startDetached(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_startDetached(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QStringList* a1;
        int a1State = 0;
        const  ::QString* a2;
        int a2State = 0;
         ::qint64 a3;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1J1J1", sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            sipRes =  ::QProcess::startDetached(*a0,*a1,*a2,&a3);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);

            return sipBuildResult(0,"(bn)",sipRes,a3);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QStringList* a1;
        int a1State = 0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "J1J1", sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
            bool sipRes;

            sipRes =  ::QProcess::startDetached(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a1),sipType_QStringList,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes =  ::QProcess::startDetached(*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_QProcess, sipName_startDetached, doc_QProcess_startDetached);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_systemEnvironment, "systemEnvironment() -> List[str]");

extern "C" {static PyObject *meth_QProcess_systemEnvironment(PyObject *, PyObject *);}
static PyObject *meth_QProcess_systemEnvironment(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QProcess::systemEnvironment());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_systemEnvironment, doc_QProcess_systemEnvironment);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_processChannelMode, "processChannelMode(self) -> QProcess.ProcessChannelMode");

extern "C" {static PyObject *meth_QProcess_processChannelMode(PyObject *, PyObject *);}
static PyObject *meth_QProcess_processChannelMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QProcess::ProcessChannelMode sipRes;

            sipRes = sipCpp->processChannelMode();

            return sipConvertFromEnum(sipRes,sipType_QProcess_ProcessChannelMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_processChannelMode, doc_QProcess_processChannelMode);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setProcessChannelMode, "setProcessChannelMode(self, QProcess.ProcessChannelMode)");

extern "C" {static PyObject *meth_QProcess_setProcessChannelMode(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setProcessChannelMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess::ProcessChannelMode a0;
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QProcess, &sipCpp, sipType_QProcess_ProcessChannelMode, &a0))
        {
            sipCpp->setProcessChannelMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setProcessChannelMode, doc_QProcess_setProcessChannelMode);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setStandardInputFile, "setStandardInputFile(self, str)");

extern "C" {static PyObject *meth_QProcess_setStandardInputFile(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setStandardInputFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setStandardInputFile(*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_QProcess, sipName_setStandardInputFile, doc_QProcess_setStandardInputFile);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setStandardOutputFile, "setStandardOutputFile(self, str, mode: Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = QIODevice.Truncate)");

extern "C" {static PyObject *meth_QProcess_setStandardOutputFile(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_setStandardOutputFile(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QIODevice::OpenMode a1def = QIODevice::Truncate;
         ::QIODevice::OpenMode* a1 = &a1def;
        int a1State = 0;
         ::QProcess *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QString,&a0, &a0State, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            sipCpp->setStandardOutputFile(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setStandardOutputFile, doc_QProcess_setStandardOutputFile);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setStandardErrorFile, "setStandardErrorFile(self, str, mode: Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = QIODevice.Truncate)");

extern "C" {static PyObject *meth_QProcess_setStandardErrorFile(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_setStandardErrorFile(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QIODevice::OpenMode a1def = QIODevice::Truncate;
         ::QIODevice::OpenMode* a1 = &a1def;
        int a1State = 0;
         ::QProcess *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QString,&a0, &a0State, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            sipCpp->setStandardErrorFile(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setStandardErrorFile, doc_QProcess_setStandardErrorFile);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setStandardOutputProcess, "setStandardOutputProcess(self, QProcess)");

extern "C" {static PyObject *meth_QProcess_setStandardOutputProcess(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setStandardOutputProcess(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess* a0;
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QProcess, &sipCpp, sipType_QProcess, &a0))
        {
            sipCpp->setStandardOutputProcess(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setStandardOutputProcess, doc_QProcess_setStandardOutputProcess);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_terminate, "terminate(self)");

extern "C" {static PyObject *meth_QProcess_terminate(PyObject *, PyObject *);}
static PyObject *meth_QProcess_terminate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            sipCpp->terminate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_terminate, doc_QProcess_terminate);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_kill, "kill(self)");

extern "C" {static PyObject *meth_QProcess_kill(PyObject *, PyObject *);}
static PyObject *meth_QProcess_kill(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            sipCpp->kill();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_kill, doc_QProcess_kill);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setProcessState, "setProcessState(self, QProcess.ProcessState)");

extern "C" {static PyObject *meth_QProcess_setProcessState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_setProcessState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess::ProcessState a0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QProcess, &sipCpp, sipType_QProcess_ProcessState, &a0))
        {
            sipCpp->sipProtect_setProcessState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setProcessState, doc_QProcess_setProcessState);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setupChildProcess, "setupChildProcess(self)");

extern "C" {static PyObject *meth_QProcess_setupChildProcess(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_setupChildProcess(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
            sipCpp->sipProtectVirt_setupChildProcess(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setupChildProcess, doc_QProcess_setupChildProcess);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_readData, "readData(self, int) -> bytes");

extern "C" {static PyObject *meth_QProcess_readData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_readData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QProcess, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qprocess.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QProcess::readData(s, a0) : sipCpp->readData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 83562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_readData, doc_QProcess_readData);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_writeData, "writeData(self, bytes) -> int");

extern "C" {static PyObject *meth_QProcess_writeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_writeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const char* a0;
        SIP_SSIZE_T a1;
        sipQProcess *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bk", &sipSelf, sipType_QProcess, &sipCpp, &a0, &a1))
        {
             ::qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_writeData(sipSelfWasArg,a0,(PY_LONG_LONG)a1);
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_writeData, doc_QProcess_writeData);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setProcessEnvironment, "setProcessEnvironment(self, QProcessEnvironment)");

extern "C" {static PyObject *meth_QProcess_setProcessEnvironment(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setProcessEnvironment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcessEnvironment* a0;
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QProcess, &sipCpp, sipType_QProcessEnvironment, &a0))
        {
            sipCpp->setProcessEnvironment(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setProcessEnvironment, doc_QProcess_setProcessEnvironment);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_processEnvironment, "processEnvironment(self) -> QProcessEnvironment");

extern "C" {static PyObject *meth_QProcess_processEnvironment(PyObject *, PyObject *);}
static PyObject *meth_QProcess_processEnvironment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QProcessEnvironment*sipRes;

            sipRes = new  ::QProcessEnvironment(sipCpp->processEnvironment());

            return sipConvertFromNewType(sipRes,sipType_QProcessEnvironment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_processEnvironment, doc_QProcess_processEnvironment);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_program, "program(self) -> str");

extern "C" {static PyObject *meth_QProcess_program(PyObject *, PyObject *);}
static PyObject *meth_QProcess_program(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->program());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_program, doc_QProcess_program);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setProgram, "setProgram(self, str)");

extern "C" {static PyObject *meth_QProcess_setProgram(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setProgram(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setProgram(*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_QProcess, sipName_setProgram, doc_QProcess_setProgram);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_arguments, "arguments(self) -> List[str]");

extern "C" {static PyObject *meth_QProcess_arguments(PyObject *, PyObject *);}
static PyObject *meth_QProcess_arguments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->arguments());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_arguments, doc_QProcess_arguments);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setArguments, "setArguments(self, Iterable[str])");

extern "C" {static PyObject *meth_QProcess_setArguments(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setArguments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setArguments(*a0);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setArguments, doc_QProcess_setArguments);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_open, "open(self, mode: Union[QIODevice.OpenMode, QIODevice.OpenModeFlag] = QIODevice.ReadWrite) -> bool");

extern "C" {static PyObject *meth_QProcess_open(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProcess_open(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QIODevice::OpenMode a0def = QIODevice::ReadWrite;
         ::QIODevice::OpenMode* a0 = &a0def;
        int a0State = 0;
         ::QProcess *sipCpp;

        static const char *sipKwdList[] = {
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QProcess, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QProcess::open(*a0) : sipCpp->open(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_open, doc_QProcess_open);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_inputChannelMode, "inputChannelMode(self) -> QProcess.InputChannelMode");

extern "C" {static PyObject *meth_QProcess_inputChannelMode(PyObject *, PyObject *);}
static PyObject *meth_QProcess_inputChannelMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::QProcess::InputChannelMode sipRes;

            sipRes = sipCpp->inputChannelMode();

            return sipConvertFromEnum(sipRes,sipType_QProcess_InputChannelMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_inputChannelMode, doc_QProcess_inputChannelMode);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_setInputChannelMode, "setInputChannelMode(self, QProcess.InputChannelMode)");

extern "C" {static PyObject *meth_QProcess_setInputChannelMode(PyObject *, PyObject *);}
static PyObject *meth_QProcess_setInputChannelMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QProcess::InputChannelMode a0;
         ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QProcess, &sipCpp, sipType_QProcess_InputChannelMode, &a0))
        {
            sipCpp->setInputChannelMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_setInputChannelMode, doc_QProcess_setInputChannelMode);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_nullDevice, "nullDevice() -> str");

extern "C" {static PyObject *meth_QProcess_nullDevice(PyObject *, PyObject *);}
static PyObject *meth_QProcess_nullDevice(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QProcess::nullDevice());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_nullDevice, doc_QProcess_nullDevice);

    return NULL;
}


PyDoc_STRVAR(doc_QProcess_processId, "processId(self) -> int");

extern "C" {static PyObject *meth_QProcess_processId(PyObject *, PyObject *);}
static PyObject *meth_QProcess_processId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QProcess *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProcess, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->processId();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProcess, sipName_processId, doc_QProcess_processId);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QProcess(void *, const sipTypeDef *);}
static void *cast_QProcess(void *sipCppV, const sipTypeDef *targetType)
{
     ::QProcess *sipCpp = reinterpret_cast< ::QProcess *>(sipCppV);

    if (targetType == sipType_QIODevice)
        return static_cast< ::QIODevice *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QProcess(void *, int);}
static void release_QProcess(void *sipCppV, int)
{
     ::QProcess *sipCpp = reinterpret_cast< ::QProcess *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QProcess(sipSimpleWrapper *);}
static void dealloc_QProcess(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQProcess *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QProcess(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QProcess(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QProcess(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQProcess *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 sipQProcess(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QProcess[] = {{84, 255, 1}};


static PyMethodDef methods_QProcess[] = {
    {SIP_MLNAME_CAST(sipName_arguments), meth_QProcess_arguments, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_arguments)},
    {SIP_MLNAME_CAST(sipName_atEnd), meth_QProcess_atEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_atEnd)},
    {SIP_MLNAME_CAST(sipName_bytesAvailable), meth_QProcess_bytesAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_bytesAvailable)},
    {SIP_MLNAME_CAST(sipName_bytesToWrite), meth_QProcess_bytesToWrite, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_bytesToWrite)},
    {SIP_MLNAME_CAST(sipName_canReadLine), meth_QProcess_canReadLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_canReadLine)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QProcess_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_QProcess_close, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_close)},
    {SIP_MLNAME_CAST(sipName_closeReadChannel), meth_QProcess_closeReadChannel, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_closeReadChannel)},
    {SIP_MLNAME_CAST(sipName_closeWriteChannel), meth_QProcess_closeWriteChannel, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_closeWriteChannel)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QProcess_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QProcess_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QProcess_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_error), meth_QProcess_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_error)},
    {SIP_MLNAME_CAST(sipName_execute), meth_QProcess_execute, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_execute)},
    {SIP_MLNAME_CAST(sipName_exitCode), meth_QProcess_exitCode, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_exitCode)},
    {SIP_MLNAME_CAST(sipName_exitStatus), meth_QProcess_exitStatus, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_exitStatus)},
    {SIP_MLNAME_CAST(sipName_inputChannelMode), meth_QProcess_inputChannelMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_inputChannelMode)},
    {SIP_MLNAME_CAST(sipName_isSequential), meth_QProcess_isSequential, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_isSequential)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QProcess_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_kill), meth_QProcess_kill, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_kill)},
    {SIP_MLNAME_CAST(sipName_nullDevice), meth_QProcess_nullDevice, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_nullDevice)},
    {SIP_MLNAME_CAST(sipName_open), (PyCFunction)meth_QProcess_open, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_open)},
    {SIP_MLNAME_CAST(sipName_pid), meth_QProcess_pid, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_pid)},
    {SIP_MLNAME_CAST(sipName_processChannelMode), meth_QProcess_processChannelMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_processChannelMode)},
    {SIP_MLNAME_CAST(sipName_processEnvironment), meth_QProcess_processEnvironment, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_processEnvironment)},
    {SIP_MLNAME_CAST(sipName_processId), meth_QProcess_processId, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_processId)},
    {SIP_MLNAME_CAST(sipName_program), meth_QProcess_program, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_program)},
    {SIP_MLNAME_CAST(sipName_readAllStandardError), meth_QProcess_readAllStandardError, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_readAllStandardError)},
    {SIP_MLNAME_CAST(sipName_readAllStandardOutput), meth_QProcess_readAllStandardOutput, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_readAllStandardOutput)},
    {SIP_MLNAME_CAST(sipName_readChannel), meth_QProcess_readChannel, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_readChannel)},
    {SIP_MLNAME_CAST(sipName_readData), (PyCFunction)meth_QProcess_readData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_readData)},
    {SIP_MLNAME_CAST(sipName_readLineData), (PyCFunction)meth_QProcess_readLineData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QProcess_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QProcess_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QProcess_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setArguments), meth_QProcess_setArguments, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setArguments)},
    {SIP_MLNAME_CAST(sipName_setErrorString), (PyCFunction)meth_QProcess_setErrorString, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setInputChannelMode), meth_QProcess_setInputChannelMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setInputChannelMode)},
    {SIP_MLNAME_CAST(sipName_setOpenMode), (PyCFunction)meth_QProcess_setOpenMode, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessChannelMode), meth_QProcess_setProcessChannelMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setProcessChannelMode)},
    {SIP_MLNAME_CAST(sipName_setProcessEnvironment), meth_QProcess_setProcessEnvironment, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setProcessEnvironment)},
    {SIP_MLNAME_CAST(sipName_setProcessState), (PyCFunction)meth_QProcess_setProcessState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_setProcessState)},
    {SIP_MLNAME_CAST(sipName_setProgram), meth_QProcess_setProgram, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setProgram)},
    {SIP_MLNAME_CAST(sipName_setReadChannel), meth_QProcess_setReadChannel, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setReadChannel)},
    {SIP_MLNAME_CAST(sipName_setStandardErrorFile), (PyCFunction)meth_QProcess_setStandardErrorFile, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_setStandardErrorFile)},
    {SIP_MLNAME_CAST(sipName_setStandardInputFile), meth_QProcess_setStandardInputFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setStandardInputFile)},
    {SIP_MLNAME_CAST(sipName_setStandardOutputFile), (PyCFunction)meth_QProcess_setStandardOutputFile, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_setStandardOutputFile)},
    {SIP_MLNAME_CAST(sipName_setStandardOutputProcess), meth_QProcess_setStandardOutputProcess, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setStandardOutputProcess)},
    {SIP_MLNAME_CAST(sipName_setWorkingDirectory), meth_QProcess_setWorkingDirectory, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_setWorkingDirectory)},
    {SIP_MLNAME_CAST(sipName_setupChildProcess), (PyCFunction)meth_QProcess_setupChildProcess, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_setupChildProcess)},
    {SIP_MLNAME_CAST(sipName_start), (PyCFunction)meth_QProcess_start, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_start)},
    {SIP_MLNAME_CAST(sipName_startDetached), (PyCFunction)meth_QProcess_startDetached, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_startDetached)},
    {SIP_MLNAME_CAST(sipName_state), meth_QProcess_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_state)},
    {SIP_MLNAME_CAST(sipName_systemEnvironment), meth_QProcess_systemEnvironment, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_systemEnvironment)},
    {SIP_MLNAME_CAST(sipName_terminate), meth_QProcess_terminate, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_terminate)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QProcess_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_waitForBytesWritten), (PyCFunction)meth_QProcess_waitForBytesWritten, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_waitForBytesWritten)},
    {SIP_MLNAME_CAST(sipName_waitForFinished), (PyCFunction)meth_QProcess_waitForFinished, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_waitForFinished)},
    {SIP_MLNAME_CAST(sipName_waitForReadyRead), (PyCFunction)meth_QProcess_waitForReadyRead, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_waitForReadyRead)},
    {SIP_MLNAME_CAST(sipName_waitForStarted), (PyCFunction)meth_QProcess_waitForStarted, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_waitForStarted)},
    {SIP_MLNAME_CAST(sipName_workingDirectory), meth_QProcess_workingDirectory, METH_VARARGS, SIP_MLDOC_CAST(doc_QProcess_workingDirectory)},
    {SIP_MLNAME_CAST(sipName_writeData), (PyCFunction)meth_QProcess_writeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProcess_writeData)}
};

static sipEnumMemberDef enummembers_QProcess[] = {
    {sipName_CrashExit, static_cast<int>( ::QProcess::CrashExit), 181},
    {sipName_Crashed, static_cast<int>( ::QProcess::Crashed), 185},
    {sipName_FailedToStart, static_cast<int>( ::QProcess::FailedToStart), 185},
    {sipName_ForwardedChannels, static_cast<int>( ::QProcess::ForwardedChannels), 184},
    {sipName_ForwardedErrorChannel, static_cast<int>( ::QProcess::ForwardedErrorChannel), 184},
    {sipName_ForwardedInputChannel, static_cast<int>( ::QProcess::ForwardedInputChannel), 182},
    {sipName_ForwardedOutputChannel, static_cast<int>( ::QProcess::ForwardedOutputChannel), 184},
    {sipName_ManagedInputChannel, static_cast<int>( ::QProcess::ManagedInputChannel), 182},
    {sipName_MergedChannels, static_cast<int>( ::QProcess::MergedChannels), 184},
    {sipName_NormalExit, static_cast<int>( ::QProcess::NormalExit), 181},
    {sipName_NotRunning, static_cast<int>( ::QProcess::NotRunning), 186},
    {sipName_ReadError, static_cast<int>( ::QProcess::ReadError), 185},
    {sipName_Running, static_cast<int>( ::QProcess::Running), 186},
    {sipName_SeparateChannels, static_cast<int>( ::QProcess::SeparateChannels), 184},
    {sipName_StandardError, static_cast<int>( ::QProcess::StandardError), 183},
    {sipName_StandardOutput, static_cast<int>( ::QProcess::StandardOutput), 183},
    {sipName_Starting, static_cast<int>( ::QProcess::Starting), 186},
    {sipName_Timedout, static_cast<int>( ::QProcess::Timedout), 185},
    {sipName_UnknownError, static_cast<int>( ::QProcess::UnknownError), 185},
    {sipName_WriteError, static_cast<int>( ::QProcess::WriteError), 185},
};

PyDoc_STRVAR(doc_QProcess, "\1QProcess(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QProcess[] = {
    {"errorOccurred(QProcess::ProcessError)", "\1errorOccurred(self, QProcess.ProcessError)", 0, 0},
    {"readyReadStandardError()", "\1readyReadStandardError(self)", 0, 0},
    {"readyReadStandardOutput()", "\1readyReadStandardOutput(self)", 0, 0},
    {"stateChanged(QProcess::ProcessState)", "\1stateChanged(self, QProcess.ProcessState)", 0, 0},
    {"finished(int,QProcess::ExitStatus)", "\1finished(self, int, QProcess.ExitStatus)", 0, 0},
    {"started()", "\1started(self)", 0, 0},
    {"error(QProcess::ProcessError)", "\1error(self, QProcess.ProcessError)", &methods_QProcess[12], 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QProcess = {
    & ::QProcess::staticMetaObject,
    0,
    signals_QProcess,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QProcess = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QProcess,
        {0},
        &plugin_QProcess
    },
    {
        sipNameNr_QProcess,
        {0, 0, 1},
        62, methods_QProcess,
        20, enummembers_QProcess,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QProcess,
    -1,
    -1,
    supers_QProcess,
    0,
    init_type_QProcess,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QProcess,
    0,
    0,
    0,
    release_QProcess,
    cast_QProcess,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 84168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 84172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QPointF_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QPointF_isNull(PyObject *, PyObject *);}
static PyObject *meth_QPointF_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPointF, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPointF, sipName_isNull, doc_QPointF_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QPointF_x, "x(self) -> float");

extern "C" {static PyObject *meth_QPointF_x(PyObject *, PyObject *);}
static PyObject *meth_QPointF_x(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPointF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->x();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPointF, sipName_x, doc_QPointF_x);

    return NULL;
}


PyDoc_STRVAR(doc_QPointF_y, "y(self) -> float");

extern "C" {static PyObject *meth_QPointF_y(PyObject *, PyObject *);}
static PyObject *meth_QPointF_y(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPointF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->y();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPointF, sipName_y, doc_QPointF_y);

    return NULL;
}


PyDoc_STRVAR(doc_QPointF_setX, "setX(self, float)");

extern "C" {static PyObject *meth_QPointF_setX(PyObject *, PyObject *);}
static PyObject *meth_QPointF_setX(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QPointF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QPointF, &sipCpp, &a0))
        {
            sipCpp->setX(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPointF, sipName_setX, doc_QPointF_setX);

    return NULL;
}


PyDoc_STRVAR(doc_QPointF_setY, "setY(self, float)");

extern "C" {static PyObject *meth_QPointF_setY(PyObject *, PyObject *);}
static PyObject *meth_QPointF_setY(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QPointF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QPointF, &sipCpp, &a0))
        {
            sipCpp->setY(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPointF, sipName_setY, doc_QPointF_setY);

    return NULL;
}


PyDoc_STRVAR(doc_QPointF_toPoint, "toPoint(self) -> QPoint");

extern "C" {static PyObject *meth_QPointF_toPoint(PyObject *, PyObject *);}
static PyObject *meth_QPointF_toPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPointF, &sipCpp))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(sipCpp->toPoint());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPointF, sipName_toPoint, doc_QPointF_toPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QPointF_manhattanLength, "manhattanLength(self) -> float");

extern "C" {static PyObject *meth_QPointF_manhattanLength(PyObject *, PyObject *);}
static PyObject *meth_QPointF_manhattanLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPointF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->manhattanLength();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPointF, sipName_manhattanLength, doc_QPointF_manhattanLength);

    return NULL;
}


PyDoc_STRVAR(doc_QPointF_dotProduct, "dotProduct(Union[QPointF, QPoint], Union[QPointF, QPoint]) -> float");

extern "C" {static PyObject *meth_QPointF_dotProduct(PyObject *, PyObject *);}
static PyObject *meth_QPointF_dotProduct(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QPointF* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QPointF, &a0, &a0State, sipType_QPointF, &a1, &a1State))
        {
             ::qreal sipRes;

            sipRes =  ::QPointF::dotProduct(*a0,*a1);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPointF, sipName_dotProduct, doc_QPointF_dotProduct);

    return NULL;
}


extern "C" {static PyObject *slot_QPointF___eq__(PyObject *,PyObject *);}
static PyObject *slot_QPointF___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPointF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QPointF, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QPointF___ne__(PyObject *,PyObject *);}
static PyObject *slot_QPointF___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPointF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QPointF, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QPointF___add__(PyObject *,PyObject *);}
static PyObject *slot_QPointF___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QPointF* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QPointF, &a0, &a0State, sipType_QPointF, &a1, &a1State))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF((*a0 + *a1));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QPointF___sub__(PyObject *,PyObject *);}
static PyObject *slot_QPointF___sub__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QPointF* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QPointF, &a0, &a0State, sipType_QPointF, &a1, &a1State))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF((*a0 - *a1));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, sub_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QPointF___mul__(PyObject *,PyObject *);}
static PyObject *slot_QPointF___mul__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1d", sipType_QPointF, &a0, &a0State, &a1))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF((*a0 * a1));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
         ::qreal a0;
        const  ::QPointF* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ1", &a0, sipType_QPointF, &a1, &a1State))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF((a0 * *a1));
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, mul_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QPointF___div__(PyObject *,PyObject *);}
static PyObject *slot_QPointF___div__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1d", sipType_QPointF, &a0, &a0State, &a1))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF((*a0 / a1));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, div_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QPointF___neg__(PyObject *);}
static PyObject *slot_QPointF___neg__(PyObject *sipSelf)
{
     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPointF));

    if (!sipCpp)
        return 0;


    {
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(-(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QPointF___pos__(PyObject *);}
static PyObject *slot_QPointF___pos__(PyObject *sipSelf)
{
     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPointF));

    if (!sipCpp)
        return 0;


    {
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(+(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QPointF___idiv__(PyObject *,PyObject *);}
static PyObject *slot_QPointF___idiv__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPointF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPointF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QPointF::operator/=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QPointF___imul__(PyObject *,PyObject *);}
static PyObject *slot_QPointF___imul__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPointF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPointF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QPointF::operator*=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QPointF___isub__(PyObject *,PyObject *);}
static PyObject *slot_QPointF___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPointF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPointF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPointF, &a0, &a0State))
        {
            sipCpp-> ::QPointF::operator-=(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QPointF___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QPointF___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPointF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPointF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPointF, &a0, &a0State))
        {
            sipCpp-> ::QPointF::operator+=(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static int slot_QPointF___bool__(PyObject *);}
static int slot_QPointF___bool__(PyObject *sipSelf)
{
     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPointF));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
        sipRes = !sipCpp->isNull();
#line 84837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QPointF___repr__(PyObject *);}
static PyObject *slot_QPointF___repr__(PyObject *sipSelf)
{
     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPointF));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QPointF()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QPointF()");
        #endif
        }
        else
        {
            PyObject *x = PyFloat_FromDouble(sipCpp->x());
            PyObject *y = PyFloat_FromDouble(sipCpp->y());
        
            if (x && y)
            {
        #if PY_MAJOR_VERSION >= 3
                sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QPointF(%R, %R)", x, y);
        #else
                sipRes = PyString_FromString("PyQt5.QtCore.QPointF(");
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(x));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(", "));
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(y));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
            }
        
            Py_XDECREF(x);
            Py_XDECREF(y);
        }
#line 84890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPointF(void *, int);}
static void release_QPointF(void *sipCppV, int)
{
    delete reinterpret_cast< ::QPointF *>(sipCppV);
}


extern "C" {static PyObject *pickle_QPointF(void *);}
static PyObject *pickle_QPointF(void *sipCppV)
{
     ::QPointF *sipCpp = reinterpret_cast< ::QPointF *>(sipCppV);
    PyObject *sipRes;

#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
    sipRes = Py_BuildValue((char *)"dd", sipCpp->x(), sipCpp->y());
#line 84916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QPointF(void *, SIP_SSIZE_T, const void *);}
static void assign_QPointF(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QPointF *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QPointF *>(sipSrc);
}


extern "C" {static void *array_QPointF(SIP_SSIZE_T);}
static void *array_QPointF(SIP_SSIZE_T sipNrElem)
{
    return new  ::QPointF[sipNrElem];
}


extern "C" {static void *copy_QPointF(const void *, SIP_SSIZE_T);}
static void *copy_QPointF(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QPointF(reinterpret_cast<const  ::QPointF *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QPointF(sipSimpleWrapper *);}
static void dealloc_QPointF(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPointF(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QPointF(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPointF(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QPointF *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QPointF();

            return sipCpp;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "dd", &a0, &a1))
        {
            sipCpp = new  ::QPointF(a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QPoint* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QPoint, &a0))
        {
            sipCpp = new  ::QPointF(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QPointF* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QPointF, &a0, &a0State))
        {
            sipCpp = new  ::QPointF(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QPointF(PyObject *, void **, int *, PyObject *);}
static int convertTo_QPointF(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QPointF **sipCppPtr = reinterpret_cast< ::QPointF **>(sipCppPtrV);

#line 99 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
// Allow a QPoint whenever a QPointF is expected.  This is mainly to help source
// compatibility for Qt5.

if (sipIsErr == NULL)
    return (sipCanConvertToType(sipPy, sipType_QPointF, SIP_NO_CONVERTORS) ||
            sipCanConvertToType(sipPy, sipType_QPoint, 0));

if (sipCanConvertToType(sipPy, sipType_QPointF, SIP_NO_CONVERTORS))
{
    *sipCppPtr = reinterpret_cast<QPointF *>(sipConvertToType(sipPy, sipType_QPointF, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

    return 0;
}

int state;

QPoint *pt = reinterpret_cast<QPoint *>(sipConvertToType(sipPy, sipType_QPoint, 0, 0, &state, sipIsErr));

if (*sipIsErr)
{
    sipReleaseType(pt, sipType_QPoint, state);
    return 0;
}

*sipCppPtr = new QPointF(*pt);

sipReleaseType(pt, sipType_QPoint, state);

return sipGetState(sipTransferObj);
#line 85042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QPointF[] = {
    {(void *)slot_QPointF___eq__, eq_slot},
    {(void *)slot_QPointF___ne__, ne_slot},
    {(void *)slot_QPointF___add__, add_slot},
    {(void *)slot_QPointF___sub__, sub_slot},
    {(void *)slot_QPointF___mul__, mul_slot},
    {(void *)slot_QPointF___div__, div_slot},
    {(void *)slot_QPointF___neg__, neg_slot},
    {(void *)slot_QPointF___pos__, pos_slot},
    {(void *)slot_QPointF___idiv__, idiv_slot},
    {(void *)slot_QPointF___imul__, imul_slot},
    {(void *)slot_QPointF___isub__, isub_slot},
    {(void *)slot_QPointF___iadd__, iadd_slot},
    {(void *)slot_QPointF___bool__, bool_slot},
    {(void *)slot_QPointF___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QPointF[] = {
    {SIP_MLNAME_CAST(sipName_dotProduct), meth_QPointF_dotProduct, METH_VARARGS, SIP_MLDOC_CAST(doc_QPointF_dotProduct)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QPointF_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QPointF_isNull)},
    {SIP_MLNAME_CAST(sipName_manhattanLength), meth_QPointF_manhattanLength, METH_VARARGS, SIP_MLDOC_CAST(doc_QPointF_manhattanLength)},
    {SIP_MLNAME_CAST(sipName_setX), meth_QPointF_setX, METH_VARARGS, SIP_MLDOC_CAST(doc_QPointF_setX)},
    {SIP_MLNAME_CAST(sipName_setY), meth_QPointF_setY, METH_VARARGS, SIP_MLDOC_CAST(doc_QPointF_setY)},
    {SIP_MLNAME_CAST(sipName_toPoint), meth_QPointF_toPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QPointF_toPoint)},
    {SIP_MLNAME_CAST(sipName_x), meth_QPointF_x, METH_VARARGS, SIP_MLDOC_CAST(doc_QPointF_x)},
    {SIP_MLNAME_CAST(sipName_y), meth_QPointF_y, METH_VARARGS, SIP_MLDOC_CAST(doc_QPointF_y)}
};

PyDoc_STRVAR(doc_QPointF, "\1QPointF()\n"
    "QPointF(float, float)\n"
    "QPointF(QPoint)\n"
    "QPointF(QPointF)");


static pyqt5ClassPluginDef plugin_QPointF = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QPointF = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPointF,
        {0},
        &plugin_QPointF
    },
    {
        sipNameNr_QPointF,
        {0, 0, 1},
        8, methods_QPointF,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPointF,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QPointF,
    init_type_QPointF,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPointF,
    assign_QPointF,
    array_QPointF,
    copy_QPointF,
    release_QPointF,
    0,
    convertTo_QPointF,
    0,
    0,
    pickle_QPointF,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 85143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QPoint_manhattanLength, "manhattanLength(self) -> int");

extern "C" {static PyObject *meth_QPoint_manhattanLength(PyObject *, PyObject *);}
static PyObject *meth_QPoint_manhattanLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPoint, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->manhattanLength();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPoint, sipName_manhattanLength, doc_QPoint_manhattanLength);

    return NULL;
}


PyDoc_STRVAR(doc_QPoint_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QPoint_isNull(PyObject *, PyObject *);}
static PyObject *meth_QPoint_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPoint, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPoint, sipName_isNull, doc_QPoint_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QPoint_x, "x(self) -> int");

extern "C" {static PyObject *meth_QPoint_x(PyObject *, PyObject *);}
static PyObject *meth_QPoint_x(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPoint, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->x();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPoint, sipName_x, doc_QPoint_x);

    return NULL;
}


PyDoc_STRVAR(doc_QPoint_y, "y(self) -> int");

extern "C" {static PyObject *meth_QPoint_y(PyObject *, PyObject *);}
static PyObject *meth_QPoint_y(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPoint, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->y();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPoint, sipName_y, doc_QPoint_y);

    return NULL;
}


PyDoc_STRVAR(doc_QPoint_setX, "setX(self, int)");

extern "C" {static PyObject *meth_QPoint_setX(PyObject *, PyObject *);}
static PyObject *meth_QPoint_setX(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QPoint, &sipCpp, &a0))
        {
            sipCpp->setX(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPoint, sipName_setX, doc_QPoint_setX);

    return NULL;
}


PyDoc_STRVAR(doc_QPoint_setY, "setY(self, int)");

extern "C" {static PyObject *meth_QPoint_setY(PyObject *, PyObject *);}
static PyObject *meth_QPoint_setY(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QPoint *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QPoint, &sipCpp, &a0))
        {
            sipCpp->setY(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPoint, sipName_setY, doc_QPoint_setY);

    return NULL;
}


PyDoc_STRVAR(doc_QPoint_dotProduct, "dotProduct(QPoint, QPoint) -> int");

extern "C" {static PyObject *meth_QPoint_dotProduct(PyObject *, PyObject *);}
static PyObject *meth_QPoint_dotProduct(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
        const  ::QPoint* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_QPoint, &a0, sipType_QPoint, &a1))
        {
            int sipRes;

            sipRes =  ::QPoint::dotProduct(*a0,*a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPoint, sipName_dotProduct, doc_QPoint_dotProduct);

    return NULL;
}


extern "C" {static PyObject *slot_QPoint___eq__(PyObject *,PyObject *);}
static PyObject *slot_QPoint___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPoint));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QPoint, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QPoint, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QPoint___ne__(PyObject *,PyObject *);}
static PyObject *slot_QPoint___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPoint));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QPoint, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QPoint, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QPoint___add__(PyObject *,PyObject *);}
static PyObject *slot_QPoint___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
        const  ::QPoint* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QPoint, &a0, sipType_QPoint, &a1))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint((*a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QPoint___sub__(PyObject *,PyObject *);}
static PyObject *slot_QPoint___sub__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
        const  ::QPoint* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QPoint, &a0, sipType_QPoint, &a1))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint((*a0 - *a1));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, sub_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QPoint___mul__(PyObject *,PyObject *);}
static PyObject *slot_QPoint___mul__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9Xi", sipType_QPoint, &a0, &a1))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint((*a0 * a1));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    {
        int a0;
        const  ::QPoint* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "XiJ9", &a0, sipType_QPoint, &a1))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint((a0 * *a1));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    {
        const  ::QPoint* a0;
        double a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QPoint, &a0, &a1))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint((*a0 * a1));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    {
        double a0;
        const  ::QPoint* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &a0, sipType_QPoint, &a1))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint((a0 * *a1));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, mul_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QPoint___div__(PyObject *,PyObject *);}
static PyObject *slot_QPoint___div__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QPoint, &a0, &a1))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint((*a0 / a1));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, div_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QPoint___neg__(PyObject *);}
static PyObject *slot_QPoint___neg__(PyObject *sipSelf)
{
     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPoint));

    if (!sipCpp)
        return 0;


    {
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(-(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QPoint___pos__(PyObject *);}
static PyObject *slot_QPoint___pos__(PyObject *sipSelf)
{
     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPoint));

    if (!sipCpp)
        return 0;


    {
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(+(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QPoint___idiv__(PyObject *,PyObject *);}
static PyObject *slot_QPoint___idiv__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPoint)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPoint));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QPoint::operator/=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QPoint___imul__(PyObject *,PyObject *);}
static PyObject *slot_QPoint___imul__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPoint)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPoint));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1Xi", &a0))
        {
            sipCpp-> ::QPoint::operator*=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        double a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QPoint::operator*=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QPoint___isub__(PyObject *,PyObject *);}
static PyObject *slot_QPoint___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPoint)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPoint));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QPoint, &a0))
        {
            sipCpp-> ::QPoint::operator-=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QPoint___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QPoint___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPoint)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPoint));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QPoint, &a0))
        {
            sipCpp-> ::QPoint::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static int slot_QPoint___bool__(PyObject *);}
static int slot_QPoint___bool__(PyObject *sipSelf)
{
     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPoint));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
        sipRes = !sipCpp->isNull();
#line 85795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QPoint___repr__(PyObject *);}
static PyObject *slot_QPoint___repr__(PyObject *sipSelf)
{
     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPoint));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 39 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QPoint()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QPoint()");
        #endif
        }
        else
        {
            sipRes =
        #if PY_MAJOR_VERSION >= 3
                PyUnicode_FromFormat
        #else
                PyString_FromFormat
        #endif
                    ("PyQt5.QtCore.QPoint(%i, %i)", sipCpp->x(), sipCpp->y());
        }
#line 85837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPoint(void *, int);}
static void release_QPoint(void *sipCppV, int)
{
    delete reinterpret_cast< ::QPoint *>(sipCppV);
}


extern "C" {static PyObject *pickle_QPoint(void *);}
static PyObject *pickle_QPoint(void *sipCppV)
{
     ::QPoint *sipCpp = reinterpret_cast< ::QPoint *>(sipCppV);
    PyObject *sipRes;

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
    sipRes = Py_BuildValue((char *)"ii", sipCpp->x(), sipCpp->y());
#line 85863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QPoint(void *, SIP_SSIZE_T, const void *);}
static void assign_QPoint(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QPoint *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QPoint *>(sipSrc);
}


extern "C" {static void *array_QPoint(SIP_SSIZE_T);}
static void *array_QPoint(SIP_SSIZE_T sipNrElem)
{
    return new  ::QPoint[sipNrElem];
}


extern "C" {static void *copy_QPoint(const void *, SIP_SSIZE_T);}
static void *copy_QPoint(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QPoint(reinterpret_cast<const  ::QPoint *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QPoint(sipSimpleWrapper *);}
static void dealloc_QPoint(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPoint(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QPoint(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPoint(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QPoint *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QPoint();

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "ii", &a0, &a1))
        {
            sipCpp = new  ::QPoint(a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QPoint* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QPoint, &a0))
        {
            sipCpp = new  ::QPoint(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QPoint[] = {
    {(void *)slot_QPoint___eq__, eq_slot},
    {(void *)slot_QPoint___ne__, ne_slot},
    {(void *)slot_QPoint___add__, add_slot},
    {(void *)slot_QPoint___sub__, sub_slot},
    {(void *)slot_QPoint___mul__, mul_slot},
    {(void *)slot_QPoint___div__, div_slot},
    {(void *)slot_QPoint___neg__, neg_slot},
    {(void *)slot_QPoint___pos__, pos_slot},
    {(void *)slot_QPoint___idiv__, idiv_slot},
    {(void *)slot_QPoint___imul__, imul_slot},
    {(void *)slot_QPoint___isub__, isub_slot},
    {(void *)slot_QPoint___iadd__, iadd_slot},
    {(void *)slot_QPoint___bool__, bool_slot},
    {(void *)slot_QPoint___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QPoint[] = {
    {SIP_MLNAME_CAST(sipName_dotProduct), meth_QPoint_dotProduct, METH_VARARGS, SIP_MLDOC_CAST(doc_QPoint_dotProduct)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QPoint_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QPoint_isNull)},
    {SIP_MLNAME_CAST(sipName_manhattanLength), meth_QPoint_manhattanLength, METH_VARARGS, SIP_MLDOC_CAST(doc_QPoint_manhattanLength)},
    {SIP_MLNAME_CAST(sipName_setX), meth_QPoint_setX, METH_VARARGS, SIP_MLDOC_CAST(doc_QPoint_setX)},
    {SIP_MLNAME_CAST(sipName_setY), meth_QPoint_setY, METH_VARARGS, SIP_MLDOC_CAST(doc_QPoint_setY)},
    {SIP_MLNAME_CAST(sipName_x), meth_QPoint_x, METH_VARARGS, SIP_MLDOC_CAST(doc_QPoint_x)},
    {SIP_MLNAME_CAST(sipName_y), meth_QPoint_y, METH_VARARGS, SIP_MLDOC_CAST(doc_QPoint_y)}
};

PyDoc_STRVAR(doc_QPoint, "\1QPoint()\n"
    "QPoint(int, int)\n"
    "QPoint(QPoint)");


static pyqt5ClassPluginDef plugin_QPoint = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QPoint = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPoint,
        {0},
        &plugin_QPoint
    },
    {
        sipNameNr_QPoint,
        {0, 0, 1},
        7, methods_QPoint,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPoint,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QPoint,
    init_type_QPoint,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPoint,
    assign_QPoint,
    array_QPoint,
    copy_QPoint,
    release_QPoint,
    0,
    0,
    0,
    0,
    pickle_QPoint,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpluginloader.sip"
#include <qpluginloader.h>
#line 86036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 86040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 86043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 86046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 86049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 86052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 86055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 86058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 86061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 86064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 86067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 86070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 86076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 86082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 86085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 86088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQPluginLoader : public  ::QPluginLoader
{
public:
    sipQPluginLoader( ::QObject*);
    sipQPluginLoader(const  ::QString&, ::QObject*);
    virtual ~sipQPluginLoader();

    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 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:
    sipQPluginLoader(const sipQPluginLoader &);
    sipQPluginLoader &operator = (const sipQPluginLoader &);

    char sipPyMethods[7];
};

sipQPluginLoader::sipQPluginLoader( ::QObject*a0):  ::QPluginLoader(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPluginLoader::sipQPluginLoader(const  ::QString& a0, ::QObject*a1):  ::QPluginLoader(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPluginLoader::~sipQPluginLoader()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQPluginLoader::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QPluginLoader);

    return  ::QPluginLoader::metaObject();
}

int sipQPluginLoader::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QPluginLoader::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QPluginLoader,_c,_id,_a);

    return _id;
}

void *sipQPluginLoader::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QPluginLoader, _clname, &sipCpp) ? sipCpp :  ::QPluginLoader::qt_metacast(_clname));
}

bool sipQPluginLoader::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QPluginLoader::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQPluginLoader::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QPluginLoader::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQPluginLoader::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QPluginLoader::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPluginLoader::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QPluginLoader::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPluginLoader::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QPluginLoader::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPluginLoader::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QPluginLoader::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPluginLoader::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QPluginLoader::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQPluginLoader::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQPluginLoader::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQPluginLoader::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQPluginLoader::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQPluginLoader::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQPluginLoader::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPluginLoader::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPluginLoader::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQPluginLoader::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QPluginLoader_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QPluginLoader_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPluginLoader, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 86388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPluginLoader, sipName_sender, doc_QPluginLoader_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QPluginLoader_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QPluginLoader, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 86448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QPluginLoader, sipName_receivers, doc_QPluginLoader_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QPluginLoader_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPluginLoader, &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_QPluginLoader, sipName_timerEvent, doc_QPluginLoader_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QPluginLoader_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPluginLoader, &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_QPluginLoader, sipName_childEvent, doc_QPluginLoader_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QPluginLoader_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPluginLoader, &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_QPluginLoader, sipName_customEvent, doc_QPluginLoader_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QPluginLoader_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPluginLoader, &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_QPluginLoader, sipName_connectNotify, doc_QPluginLoader_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QPluginLoader_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPluginLoader, &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_QPluginLoader, sipName_disconnectNotify, doc_QPluginLoader_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QPluginLoader_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPluginLoader, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPluginLoader, sipName_senderSignalIndex, doc_QPluginLoader_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QPluginLoader_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQPluginLoader *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPluginLoader, &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_QPluginLoader, sipName_isSignalConnected, doc_QPluginLoader_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_instance, "instance(self) -> QObject");

extern "C" {static PyObject *meth_QPluginLoader_instance(PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_instance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QPluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPluginLoader, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->instance();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPluginLoader, sipName_instance, doc_QPluginLoader_instance);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_staticInstances, "staticInstances() -> object");

extern "C" {static PyObject *meth_QPluginLoader_staticInstances(PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_staticInstances(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QObjectList*sipRes;

            sipRes = new  ::QObjectList( ::QPluginLoader::staticInstances());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPluginLoader, sipName_staticInstances, doc_QPluginLoader_staticInstances);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_load, "load(self) -> bool");

extern "C" {static PyObject *meth_QPluginLoader_load(PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_load(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QPluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPluginLoader, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->load();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPluginLoader, sipName_load, doc_QPluginLoader_load);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_unload, "unload(self) -> bool");

extern "C" {static PyObject *meth_QPluginLoader_unload(PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_unload(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QPluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPluginLoader, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->unload();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPluginLoader, sipName_unload, doc_QPluginLoader_unload);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_isLoaded, "isLoaded(self) -> bool");

extern "C" {static PyObject *meth_QPluginLoader_isLoaded(PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_isLoaded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPluginLoader, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isLoaded();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPluginLoader, sipName_isLoaded, doc_QPluginLoader_isLoaded);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_setFileName, "setFileName(self, str)");

extern "C" {static PyObject *meth_QPluginLoader_setFileName(PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_setFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QPluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPluginLoader, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFileName(*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_QPluginLoader, sipName_setFileName, doc_QPluginLoader_setFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_fileName, "fileName(self) -> str");

extern "C" {static PyObject *meth_QPluginLoader_fileName(PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPluginLoader, &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_QPluginLoader, sipName_fileName, doc_QPluginLoader_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QPluginLoader_errorString(PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPluginLoader, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPluginLoader, sipName_errorString, doc_QPluginLoader_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_setLoadHints, "setLoadHints(self, Union[QLibrary.LoadHints, QLibrary.LoadHint])");

extern "C" {static PyObject *meth_QPluginLoader_setLoadHints(PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_setLoadHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLibrary::LoadHints* a0;
        int a0State = 0;
         ::QPluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPluginLoader, &sipCpp, sipType_QLibrary_LoadHints, &a0, &a0State))
        {
            sipCpp->setLoadHints(*a0);
            sipReleaseType(a0,sipType_QLibrary_LoadHints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPluginLoader, sipName_setLoadHints, doc_QPluginLoader_setLoadHints);

    return NULL;
}


PyDoc_STRVAR(doc_QPluginLoader_loadHints, "loadHints(self) -> QLibrary.LoadHints");

extern "C" {static PyObject *meth_QPluginLoader_loadHints(PyObject *, PyObject *);}
static PyObject *meth_QPluginLoader_loadHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPluginLoader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPluginLoader, &sipCpp))
        {
             ::QLibrary::LoadHints*sipRes;

            sipRes = new  ::QLibrary::LoadHints(sipCpp->loadHints());

            return sipConvertFromNewType(sipRes,sipType_QLibrary_LoadHints,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPluginLoader, sipName_loadHints, doc_QPluginLoader_loadHints);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QPluginLoader(void *, const sipTypeDef *);}
static void *cast_QPluginLoader(void *sipCppV, const sipTypeDef *targetType)
{
     ::QPluginLoader *sipCpp = reinterpret_cast< ::QPluginLoader *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPluginLoader(void *, int);}
static void release_QPluginLoader(void *sipCppV, int)
{
     ::QPluginLoader *sipCpp = reinterpret_cast< ::QPluginLoader *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QPluginLoader(sipSimpleWrapper *);}
static void dealloc_QPluginLoader(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQPluginLoader *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPluginLoader(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QPluginLoader(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPluginLoader(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQPluginLoader *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 sipQPluginLoader(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQPluginLoader(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QPluginLoader[] = {{169, 255, 1}};


static PyMethodDef methods_QPluginLoader[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QPluginLoader_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QPluginLoader_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QPluginLoader_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QPluginLoader_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QPluginLoader_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QPluginLoader_errorString)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QPluginLoader_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QPluginLoader_fileName)},
    {SIP_MLNAME_CAST(sipName_instance), meth_QPluginLoader_instance, METH_VARARGS, SIP_MLDOC_CAST(doc_QPluginLoader_instance)},
    {SIP_MLNAME_CAST(sipName_isLoaded), meth_QPluginLoader_isLoaded, METH_VARARGS, SIP_MLDOC_CAST(doc_QPluginLoader_isLoaded)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QPluginLoader_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_QPluginLoader_load, METH_VARARGS, SIP_MLDOC_CAST(doc_QPluginLoader_load)},
    {SIP_MLNAME_CAST(sipName_loadHints), meth_QPluginLoader_loadHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QPluginLoader_loadHints)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QPluginLoader_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QPluginLoader_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QPluginLoader_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFileName), meth_QPluginLoader_setFileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QPluginLoader_setFileName)},
    {SIP_MLNAME_CAST(sipName_setLoadHints), meth_QPluginLoader_setLoadHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QPluginLoader_setLoadHints)},
    {SIP_MLNAME_CAST(sipName_staticInstances), meth_QPluginLoader_staticInstances, METH_VARARGS, SIP_MLDOC_CAST(doc_QPluginLoader_staticInstances)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QPluginLoader_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unload), meth_QPluginLoader_unload, METH_VARARGS, SIP_MLDOC_CAST(doc_QPluginLoader_unload)}
};

PyDoc_STRVAR(doc_QPluginLoader, "\1QPluginLoader(parent: QObject = None)\n"
    "QPluginLoader(str, parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QPluginLoader = {
    & ::QPluginLoader::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QPluginLoader = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPluginLoader,
        {0},
        &plugin_QPluginLoader
    },
    {
        sipNameNr_QPluginLoader,
        {0, 0, 1},
        19, methods_QPluginLoader,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPluginLoader,
    -1,
    -1,
    supers_QPluginLoader,
    0,
    init_type_QPluginLoader,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPluginLoader,
    0,
    0,
    0,
    release_QPluginLoader,
    cast_QPluginLoader,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpropertyanimation.sip"
#include <qpropertyanimation.h>
#line 87129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 87133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 87136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 87139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 87142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 87145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 87148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 87152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 87155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 87158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 87161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 87164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 87167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 87170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 87173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 87176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 87179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 87182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 87185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 87188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 87191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQPropertyAnimation : public  ::QPropertyAnimation
{
public:
    sipQPropertyAnimation( ::QObject*);
    sipQPropertyAnimation( ::QObject*,const  ::QByteArray&, ::QObject*);
    virtual ~sipQPropertyAnimation();

    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;
    void sipProtectVirt_updateDirection(bool, ::QAbstractAnimation::Direction);
    void sipProtectVirt_updateCurrentTime(bool,int);
     ::QVariant sipProtectVirt_interpolated(bool,const  ::QVariant&,const  ::QVariant&, ::qreal) const;
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_updateCurrentValue(bool,const  ::QVariant&);
    void sipProtectVirt_updateState(bool, ::QAbstractAnimation::State, ::QAbstractAnimation::State);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void updateDirection( ::QAbstractAnimation::Direction);
    void updateState( ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void updateCurrentTime(int);
    int duration() 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&);
    void updateCurrentValue(const  ::QVariant&);
     ::QVariant interpolated(const  ::QVariant&,const  ::QVariant&, ::qreal) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQPropertyAnimation(const sipQPropertyAnimation &);
    sipQPropertyAnimation &operator = (const sipQPropertyAnimation &);

    char sipPyMethods[13];
};

sipQPropertyAnimation::sipQPropertyAnimation( ::QObject*a0):  ::QPropertyAnimation(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPropertyAnimation::sipQPropertyAnimation( ::QObject*a0,const  ::QByteArray& a1, ::QObject*a2):  ::QPropertyAnimation(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPropertyAnimation::~sipQPropertyAnimation()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQPropertyAnimation::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QPropertyAnimation);

    return  ::QPropertyAnimation::metaObject();
}

int sipQPropertyAnimation::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QPropertyAnimation::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QPropertyAnimation,_c,_id,_a);

    return _id;
}

void *sipQPropertyAnimation::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QPropertyAnimation, _clname, &sipCpp) ? sipCpp :  ::QPropertyAnimation::qt_metacast(_clname));
}

void sipQPropertyAnimation::updateDirection( ::QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
         ::QPropertyAnimation::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::Direction);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPropertyAnimation::updateState( ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
         ::QPropertyAnimation::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::State, ::QAbstractAnimation::State);

    sipVH_QtCore_8(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQPropertyAnimation::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_updateCurrentTime);

    if (!sipMeth)
    {
         ::QPropertyAnimation::updateCurrentTime(a0);
        return;
    }

    extern void sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQPropertyAnimation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_duration);

    if (!sipMeth)
        return  ::QPropertyAnimation::duration();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQPropertyAnimation::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QPropertyAnimation::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQPropertyAnimation::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QPropertyAnimation::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQPropertyAnimation::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QPropertyAnimation::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPropertyAnimation::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QPropertyAnimation::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPropertyAnimation::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QPropertyAnimation::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPropertyAnimation::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QPropertyAnimation::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPropertyAnimation::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QPropertyAnimation::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPropertyAnimation::updateCurrentValue(const  ::QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_updateCurrentValue);

    if (!sipMeth)
    {
         ::QPropertyAnimation::updateCurrentValue(a0);
        return;
    }

    extern void sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVariant&);

    sipVH_QtCore_57(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQPropertyAnimation::interpolated(const  ::QVariant& a0,const  ::QVariant& a1, ::qreal a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_interpolated);

    if (!sipMeth)
        return  ::QPropertyAnimation::interpolated(a0,a1,a2);

    extern  ::QVariant sipVH_QtCore_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVariant&,const  ::QVariant&, ::qreal);

    return sipVH_QtCore_58(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QObject* sipQPropertyAnimation::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQPropertyAnimation::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQPropertyAnimation::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQPropertyAnimation::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQPropertyAnimation::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQPropertyAnimation::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPropertyAnimation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPropertyAnimation::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQPropertyAnimation::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQPropertyAnimation::sipProtectVirt_updateDirection(bool sipSelfWasArg, ::QAbstractAnimation::Direction a0)
{
    (sipSelfWasArg ?  ::QAbstractAnimation::updateDirection(a0) : updateDirection(a0));
}

void sipQPropertyAnimation::sipProtectVirt_updateCurrentTime(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ?  ::QVariantAnimation::updateCurrentTime(a0) : updateCurrentTime(a0));
}

 ::QVariant sipQPropertyAnimation::sipProtectVirt_interpolated(bool sipSelfWasArg,const  ::QVariant& a0,const  ::QVariant& a1, ::qreal a2) const
{
    return (sipSelfWasArg ?  ::QVariantAnimation::interpolated(a0,a1,a2) : interpolated(a0,a1,a2));
}

bool sipQPropertyAnimation::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QPropertyAnimation::event(a0) : event(a0));
}

void sipQPropertyAnimation::sipProtectVirt_updateCurrentValue(bool sipSelfWasArg,const  ::QVariant& a0)
{
    (sipSelfWasArg ?  ::QPropertyAnimation::updateCurrentValue(a0) : updateCurrentValue(a0));
}

void sipQPropertyAnimation::sipProtectVirt_updateState(bool sipSelfWasArg, ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    (sipSelfWasArg ?  ::QPropertyAnimation::updateState(a0,a1) : updateState(a0,a1));
}


PyDoc_STRVAR(doc_QPropertyAnimation_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QPropertyAnimation_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPropertyAnimation, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 87635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_sender, doc_QPropertyAnimation_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QPropertyAnimation_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QPropertyAnimation, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 87695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QPropertyAnimation, sipName_receivers, doc_QPropertyAnimation_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QPropertyAnimation_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPropertyAnimation, &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_QPropertyAnimation, sipName_timerEvent, doc_QPropertyAnimation_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QPropertyAnimation_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPropertyAnimation, &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_QPropertyAnimation, sipName_childEvent, doc_QPropertyAnimation_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QPropertyAnimation_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPropertyAnimation, &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_QPropertyAnimation, sipName_customEvent, doc_QPropertyAnimation_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QPropertyAnimation_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPropertyAnimation, &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_QPropertyAnimation, sipName_connectNotify, doc_QPropertyAnimation_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QPropertyAnimation_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPropertyAnimation, &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_QPropertyAnimation, sipName_disconnectNotify, doc_QPropertyAnimation_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QPropertyAnimation_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPropertyAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_senderSignalIndex, doc_QPropertyAnimation_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QPropertyAnimation_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPropertyAnimation, &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_QPropertyAnimation, sipName_isSignalConnected, doc_QPropertyAnimation_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_updateDirection, "updateDirection(self, QAbstractAnimation.Direction)");

extern "C" {static PyObject *meth_QPropertyAnimation_updateDirection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_updateDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::Direction a0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QPropertyAnimation, &sipCpp, sipType_QAbstractAnimation_Direction, &a0))
        {
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_updateDirection, doc_QPropertyAnimation_updateDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_updateCurrentTime, "updateCurrentTime(self, int)");

extern "C" {static PyObject *meth_QPropertyAnimation_updateCurrentTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_updateCurrentTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QPropertyAnimation, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_updateCurrentTime, doc_QPropertyAnimation_updateCurrentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_interpolated, "interpolated(self, Any, Any, float) -> Any");

extern "C" {static PyObject *meth_QPropertyAnimation_interpolated(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_interpolated(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVariant* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::qreal a2;
        const sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1d", &sipSelf, sipType_QPropertyAnimation, &sipCpp, sipType_QVariant, &a0, &a0State, sipType_QVariant, &a1, &a1State, &a2))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->sipProtectVirt_interpolated(sipSelfWasArg,*a0,*a1,a2));
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_interpolated, doc_QPropertyAnimation_interpolated);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_targetObject, "targetObject(self) -> QObject");

extern "C" {static PyObject *meth_QPropertyAnimation_targetObject(PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_targetObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPropertyAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPropertyAnimation, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->targetObject();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_targetObject, doc_QPropertyAnimation_targetObject);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_setTargetObject, "setTargetObject(self, QObject)");

extern "C" {static PyObject *meth_QPropertyAnimation_setTargetObject(PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_setTargetObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        PyObject *a0Keep;
         ::QPropertyAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QPropertyAnimation, &sipCpp, &a0Keep, sipType_QObject, &a0))
        {
            sipCpp->setTargetObject(a0);

            sipKeepReference(sipSelf, 0, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_setTargetObject, doc_QPropertyAnimation_setTargetObject);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_propertyName, "propertyName(self) -> QByteArray");

extern "C" {static PyObject *meth_QPropertyAnimation_propertyName(PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_propertyName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPropertyAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPropertyAnimation, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->propertyName());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_propertyName, doc_QPropertyAnimation_propertyName);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_setPropertyName, "setPropertyName(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QPropertyAnimation_setPropertyName(PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_setPropertyName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QPropertyAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPropertyAnimation, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->setPropertyName(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_setPropertyName, doc_QPropertyAnimation_setPropertyName);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QPropertyAnimation_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPropertyAnimation, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_event, doc_QPropertyAnimation_event);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_updateCurrentValue, "updateCurrentValue(self, Any)");

extern "C" {static PyObject *meth_QPropertyAnimation_updateCurrentValue(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_updateCurrentValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVariant* a0;
        int a0State = 0;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QPropertyAnimation, &sipCpp, sipType_QVariant, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_updateCurrentValue(sipSelfWasArg,*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_QPropertyAnimation, sipName_updateCurrentValue, doc_QPropertyAnimation_updateCurrentValue);

    return NULL;
}


PyDoc_STRVAR(doc_QPropertyAnimation_updateState, "updateState(self, QAbstractAnimation.State, QAbstractAnimation.State)");

extern "C" {static PyObject *meth_QPropertyAnimation_updateState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPropertyAnimation_updateState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::State a0;
         ::QAbstractAnimation::State a1;
        sipQPropertyAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEE", &sipSelf, sipType_QPropertyAnimation, &sipCpp, sipType_QAbstractAnimation_State, &a0, sipType_QAbstractAnimation_State, &a1))
        {
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPropertyAnimation, sipName_updateState, doc_QPropertyAnimation_updateState);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QPropertyAnimation(void *, const sipTypeDef *);}
static void *cast_QPropertyAnimation(void *sipCppV, const sipTypeDef *targetType)
{
     ::QPropertyAnimation *sipCpp = reinterpret_cast< ::QPropertyAnimation *>(sipCppV);

    if (targetType == sipType_QVariantAnimation)
        return static_cast< ::QVariantAnimation *>(sipCpp);

    if (targetType == sipType_QAbstractAnimation)
        return static_cast< ::QAbstractAnimation *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPropertyAnimation(void *, int);}
static void release_QPropertyAnimation(void *sipCppV, int)
{
     ::QPropertyAnimation *sipCpp = reinterpret_cast< ::QPropertyAnimation *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QPropertyAnimation(sipSimpleWrapper *);}
static void dealloc_QPropertyAnimation(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQPropertyAnimation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPropertyAnimation(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QPropertyAnimation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPropertyAnimation(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQPropertyAnimation *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 sipQPropertyAnimation(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QObject* a0;
        PyObject *a0Keep;
        const  ::QByteArray* a1;
        int a1State = 0;
         ::QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "@J8J1|JH", &a0Keep, sipType_QObject, &a0, sipType_QByteArray, &a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            sipCpp = new sipQPropertyAnimation(a0,*a1,a2);

            sipKeepReference((PyObject *)sipSelf, 0, a0Keep);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QPropertyAnimation[] = {{297, 255, 1}};


static PyMethodDef methods_QPropertyAnimation[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QPropertyAnimation_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QPropertyAnimation_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QPropertyAnimation_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QPropertyAnimation_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QPropertyAnimation_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPropertyAnimation_event)},
    {SIP_MLNAME_CAST(sipName_interpolated), (PyCFunction)meth_QPropertyAnimation_interpolated, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QPropertyAnimation_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_propertyName), meth_QPropertyAnimation_propertyName, METH_VARARGS, SIP_MLDOC_CAST(doc_QPropertyAnimation_propertyName)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QPropertyAnimation_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QPropertyAnimation_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QPropertyAnimation_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setPropertyName), meth_QPropertyAnimation_setPropertyName, METH_VARARGS, SIP_MLDOC_CAST(doc_QPropertyAnimation_setPropertyName)},
    {SIP_MLNAME_CAST(sipName_setTargetObject), meth_QPropertyAnimation_setTargetObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QPropertyAnimation_setTargetObject)},
    {SIP_MLNAME_CAST(sipName_targetObject), meth_QPropertyAnimation_targetObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QPropertyAnimation_targetObject)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QPropertyAnimation_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCurrentTime), (PyCFunction)meth_QPropertyAnimation_updateCurrentTime, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCurrentValue), (PyCFunction)meth_QPropertyAnimation_updateCurrentValue, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPropertyAnimation_updateCurrentValue)},
    {SIP_MLNAME_CAST(sipName_updateDirection), (PyCFunction)meth_QPropertyAnimation_updateDirection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateState), (PyCFunction)meth_QPropertyAnimation_updateState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPropertyAnimation_updateState)}
};

PyDoc_STRVAR(doc_QPropertyAnimation, "\1QPropertyAnimation(parent: QObject = None)\n"
    "QPropertyAnimation(QObject, Union[QByteArray, bytes, bytearray], parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QPropertyAnimation = {
    & ::QPropertyAnimation::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QPropertyAnimation = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPropertyAnimation,
        {0},
        &plugin_QPropertyAnimation
    },
    {
        sipNameNr_QPropertyAnimation,
        {0, 0, 1},
        19, methods_QPropertyAnimation,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPropertyAnimation,
    -1,
    -1,
    supers_QPropertyAnimation,
    0,
    init_type_QPropertyAnimation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPropertyAnimation,
    0,
    0,
    0,
    release_QPropertyAnimation,
    cast_QPropertyAnimation,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariantanimation.sip"
#include <qvariantanimation.h>
#line 88407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 88411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 88414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 88417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 88420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 88423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#include <qpair.h>
#line 88427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 88430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 88433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 88436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 88439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 88442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 88445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 88448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 88451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 88454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 88457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 88460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 88463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 88466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 88469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQVariantAnimation : public  ::QVariantAnimation
{
public:
    sipQVariantAnimation( ::QObject*);
    virtual ~sipQVariantAnimation();

    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;
    void sipProtectVirt_updateDirection(bool, ::QAbstractAnimation::Direction);
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_updateCurrentTime(bool,int);
    void sipProtectVirt_updateState(bool, ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void sipProtectVirt_updateCurrentValue(bool,const  ::QVariant&);
     ::QVariant sipProtectVirt_interpolated(bool,const  ::QVariant&,const  ::QVariant&, ::qreal) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QVariant interpolated(const  ::QVariant&,const  ::QVariant&, ::qreal) const;
    void updateCurrentValue(const  ::QVariant&);
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int duration() const;
    void updateCurrentTime(int);
    void updateState( ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void updateDirection( ::QAbstractAnimation::Direction);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQVariantAnimation(const sipQVariantAnimation &);
    sipQVariantAnimation &operator = (const sipQVariantAnimation &);

    char sipPyMethods[13];
};

sipQVariantAnimation::sipQVariantAnimation( ::QObject*a0):  ::QVariantAnimation(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQVariantAnimation::~sipQVariantAnimation()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQVariantAnimation::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QVariantAnimation);

    return  ::QVariantAnimation::metaObject();
}

int sipQVariantAnimation::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QVariantAnimation::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QVariantAnimation,_c,_id,_a);

    return _id;
}

void *sipQVariantAnimation::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QVariantAnimation, _clname, &sipCpp) ? sipCpp :  ::QVariantAnimation::qt_metacast(_clname));
}

 ::QVariant sipQVariantAnimation::interpolated(const  ::QVariant& a0,const  ::QVariant& a1, ::qreal a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_interpolated);

    if (!sipMeth)
        return  ::QVariantAnimation::interpolated(a0,a1,a2);

    extern  ::QVariant sipVH_QtCore_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVariant&,const  ::QVariant&, ::qreal);

    return sipVH_QtCore_58(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQVariantAnimation::updateCurrentValue(const  ::QVariant& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateCurrentValue);

    if (!sipMeth)
    {
         ::QVariantAnimation::updateCurrentValue(a0);
        return;
    }

    extern void sipVH_QtCore_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QVariant&);

    sipVH_QtCore_57(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQVariantAnimation::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QVariantAnimation::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQVariantAnimation::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QVariantAnimation::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQVariantAnimation::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QVariantAnimation::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQVariantAnimation::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QVariantAnimation::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQVariantAnimation::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QVariantAnimation::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQVariantAnimation::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QVariantAnimation::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQVariantAnimation::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QVariantAnimation::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQVariantAnimation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_duration);

    if (!sipMeth)
        return  ::QVariantAnimation::duration();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQVariantAnimation::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_updateCurrentTime);

    if (!sipMeth)
    {
         ::QVariantAnimation::updateCurrentTime(a0);
        return;
    }

    extern void sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQVariantAnimation::updateState( ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
         ::QVariantAnimation::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::State, ::QAbstractAnimation::State);

    sipVH_QtCore_8(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQVariantAnimation::updateDirection( ::QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
         ::QVariantAnimation::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::Direction);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQVariantAnimation::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQVariantAnimation::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQVariantAnimation::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQVariantAnimation::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQVariantAnimation::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQVariantAnimation::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQVariantAnimation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQVariantAnimation::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQVariantAnimation::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQVariantAnimation::sipProtectVirt_updateDirection(bool sipSelfWasArg, ::QAbstractAnimation::Direction a0)
{
    (sipSelfWasArg ?  ::QAbstractAnimation::updateDirection(a0) : updateDirection(a0));
}

bool sipQVariantAnimation::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QVariantAnimation::event(a0) : event(a0));
}

void sipQVariantAnimation::sipProtectVirt_updateCurrentTime(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ?  ::QVariantAnimation::updateCurrentTime(a0) : updateCurrentTime(a0));
}

void sipQVariantAnimation::sipProtectVirt_updateState(bool sipSelfWasArg, ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    (sipSelfWasArg ?  ::QVariantAnimation::updateState(a0,a1) : updateState(a0,a1));
}

void sipQVariantAnimation::sipProtectVirt_updateCurrentValue(bool sipSelfWasArg,const  ::QVariant& a0)
{
    (sipSelfWasArg ?  ::QVariantAnimation::updateCurrentValue(a0) : updateCurrentValue(a0));
}

 ::QVariant sipQVariantAnimation::sipProtectVirt_interpolated(bool sipSelfWasArg,const  ::QVariant& a0,const  ::QVariant& a1, ::qreal a2) const
{
    return (sipSelfWasArg ?  ::QVariantAnimation::interpolated(a0,a1,a2) : interpolated(a0,a1,a2));
}


PyDoc_STRVAR(doc_QVariantAnimation_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QVariantAnimation_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QVariantAnimation, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 88907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_sender, doc_QVariantAnimation_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QVariantAnimation_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QVariantAnimation, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 88967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QVariantAnimation, sipName_receivers, doc_QVariantAnimation_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QVariantAnimation_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVariantAnimation, &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_QVariantAnimation, sipName_timerEvent, doc_QVariantAnimation_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QVariantAnimation_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVariantAnimation, &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_QVariantAnimation, sipName_childEvent, doc_QVariantAnimation_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QVariantAnimation_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVariantAnimation, &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_QVariantAnimation, sipName_customEvent, doc_QVariantAnimation_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QVariantAnimation_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVariantAnimation, &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_QVariantAnimation, sipName_connectNotify, doc_QVariantAnimation_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QVariantAnimation_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVariantAnimation, &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_QVariantAnimation, sipName_disconnectNotify, doc_QVariantAnimation_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QVariantAnimation_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QVariantAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_senderSignalIndex, doc_QVariantAnimation_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QVariantAnimation_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVariantAnimation, &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_QVariantAnimation, sipName_isSignalConnected, doc_QVariantAnimation_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_updateDirection, "updateDirection(self, QAbstractAnimation.Direction)");

extern "C" {static PyObject *meth_QVariantAnimation_updateDirection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_updateDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::Direction a0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QVariantAnimation, &sipCpp, sipType_QAbstractAnimation_Direction, &a0))
        {
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_updateDirection, doc_QVariantAnimation_updateDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_startValue, "startValue(self) -> Any");

extern "C" {static PyObject *meth_QVariantAnimation_startValue(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_startValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariantAnimation, &sipCpp))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->startValue());

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_startValue, doc_QVariantAnimation_startValue);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_setStartValue, "setStartValue(self, Any)");

extern "C" {static PyObject *meth_QVariantAnimation_setStartValue(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_setStartValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;
         ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QVariantAnimation, &sipCpp, sipType_QVariant, &a0, &a0State))
        {
            sipCpp->setStartValue(*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_QVariantAnimation, sipName_setStartValue, doc_QVariantAnimation_setStartValue);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_endValue, "endValue(self) -> Any");

extern "C" {static PyObject *meth_QVariantAnimation_endValue(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_endValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariantAnimation, &sipCpp))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->endValue());

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_endValue, doc_QVariantAnimation_endValue);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_setEndValue, "setEndValue(self, Any)");

extern "C" {static PyObject *meth_QVariantAnimation_setEndValue(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_setEndValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;
         ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QVariantAnimation, &sipCpp, sipType_QVariant, &a0, &a0State))
        {
            sipCpp->setEndValue(*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_QVariantAnimation, sipName_setEndValue, doc_QVariantAnimation_setEndValue);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_keyValueAt, "keyValueAt(self, float) -> Any");

extern "C" {static PyObject *meth_QVariantAnimation_keyValueAt(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_keyValueAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
        const  ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QVariantAnimation, &sipCpp, &a0))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->keyValueAt(a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_keyValueAt, doc_QVariantAnimation_keyValueAt);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_setKeyValueAt, "setKeyValueAt(self, float, Any)");

extern "C" {static PyObject *meth_QVariantAnimation_setKeyValueAt(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_setKeyValueAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BdJ1", &sipSelf, sipType_QVariantAnimation, &sipCpp, &a0, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setKeyValueAt(a0,*a1);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_setKeyValueAt, doc_QVariantAnimation_setKeyValueAt);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_keyValues, "keyValues(self) -> object");

extern "C" {static PyObject *meth_QVariantAnimation_keyValues(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_keyValues(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariantAnimation, &sipCpp))
        {
             ::QVariantAnimation::KeyValues*sipRes;

            sipRes = new  ::QVariantAnimation::KeyValues(sipCpp->keyValues());

            return sipConvertFromNewType(sipRes,sipType_QVector_0600QPair_2400_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_keyValues, doc_QVariantAnimation_keyValues);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_setKeyValues, "setKeyValues(self, object)");

extern "C" {static PyObject *meth_QVariantAnimation_setKeyValues(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_setKeyValues(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantAnimation::KeyValues* a0;
        int a0State = 0;
         ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QVariantAnimation, &sipCpp, sipType_QVector_0600QPair_2400_0100QVariant,&a0, &a0State))
        {
            sipCpp->setKeyValues(*a0);
            sipReleaseType(const_cast< ::QVariantAnimation::KeyValues *>(a0),sipType_QVector_0600QPair_2400_0100QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_setKeyValues, doc_QVariantAnimation_setKeyValues);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_currentValue, "currentValue(self) -> Any");

extern "C" {static PyObject *meth_QVariantAnimation_currentValue(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_currentValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariantAnimation, &sipCpp))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->currentValue());

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_currentValue, doc_QVariantAnimation_currentValue);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_duration, "duration(self) -> int");

extern "C" {static PyObject *meth_QVariantAnimation_duration(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariantAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QVariantAnimation::duration() : sipCpp->duration());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_duration, doc_QVariantAnimation_duration);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_setDuration, "setDuration(self, int)");

extern "C" {static PyObject *meth_QVariantAnimation_setDuration(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_setDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QVariantAnimation, &sipCpp, &a0))
        {
            sipCpp->setDuration(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_setDuration, doc_QVariantAnimation_setDuration);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_easingCurve, "easingCurve(self) -> QEasingCurve");

extern "C" {static PyObject *meth_QVariantAnimation_easingCurve(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_easingCurve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVariantAnimation, &sipCpp))
        {
             ::QEasingCurve*sipRes;

            sipRes = new  ::QEasingCurve(sipCpp->easingCurve());

            return sipConvertFromNewType(sipRes,sipType_QEasingCurve,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_easingCurve, doc_QVariantAnimation_easingCurve);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_setEasingCurve, "setEasingCurve(self, Union[QEasingCurve, QEasingCurve.Type])");

extern "C" {static PyObject *meth_QVariantAnimation_setEasingCurve(PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_setEasingCurve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEasingCurve* a0;
        int a0State = 0;
         ::QVariantAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QVariantAnimation, &sipCpp, sipType_QEasingCurve, &a0, &a0State))
        {
            sipCpp->setEasingCurve(*a0);
            sipReleaseType(const_cast< ::QEasingCurve *>(a0),sipType_QEasingCurve,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_setEasingCurve, doc_QVariantAnimation_setEasingCurve);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QVariantAnimation_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVariantAnimation, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_event, doc_QVariantAnimation_event);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_updateCurrentTime, "updateCurrentTime(self, int)");

extern "C" {static PyObject *meth_QVariantAnimation_updateCurrentTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_updateCurrentTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QVariantAnimation, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_updateCurrentTime, doc_QVariantAnimation_updateCurrentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_updateState, "updateState(self, QAbstractAnimation.State, QAbstractAnimation.State)");

extern "C" {static PyObject *meth_QVariantAnimation_updateState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_updateState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::State a0;
         ::QAbstractAnimation::State a1;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEE", &sipSelf, sipType_QVariantAnimation, &sipCpp, sipType_QAbstractAnimation_State, &a0, sipType_QAbstractAnimation_State, &a1))
        {
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_updateState, doc_QVariantAnimation_updateState);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_updateCurrentValue, "updateCurrentValue(self, Any)");

extern "C" {static PyObject *meth_QVariantAnimation_updateCurrentValue(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_updateCurrentValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVariant* a0;
        int a0State = 0;
        sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QVariantAnimation, &sipCpp, sipType_QVariant, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_updateCurrentValue(sipSelfWasArg,*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_QVariantAnimation, sipName_updateCurrentValue, doc_QVariantAnimation_updateCurrentValue);

    return NULL;
}


PyDoc_STRVAR(doc_QVariantAnimation_interpolated, "interpolated(self, Any, Any, float) -> Any");

extern "C" {static PyObject *meth_QVariantAnimation_interpolated(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVariantAnimation_interpolated(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QVariant* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::qreal a2;
        const sipQVariantAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1d", &sipSelf, sipType_QVariantAnimation, &sipCpp, sipType_QVariant, &a0, &a0State, sipType_QVariant, &a1, &a1State, &a2))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->sipProtectVirt_interpolated(sipSelfWasArg,*a0,*a1,a2));
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVariantAnimation, sipName_interpolated, doc_QVariantAnimation_interpolated);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QVariantAnimation(void *, const sipTypeDef *);}
static void *cast_QVariantAnimation(void *sipCppV, const sipTypeDef *targetType)
{
     ::QVariantAnimation *sipCpp = reinterpret_cast< ::QVariantAnimation *>(sipCppV);

    if (targetType == sipType_QAbstractAnimation)
        return static_cast< ::QAbstractAnimation *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QVariantAnimation(void *, int);}
static void release_QVariantAnimation(void *sipCppV, int)
{
     ::QVariantAnimation *sipCpp = reinterpret_cast< ::QVariantAnimation *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QVariantAnimation(sipSimpleWrapper *);}
static void dealloc_QVariantAnimation(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQVariantAnimation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVariantAnimation(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QVariantAnimation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVariantAnimation(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQVariantAnimation *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 sipQVariantAnimation(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QVariantAnimation[] = {{0, 255, 1}};


static PyMethodDef methods_QVariantAnimation[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QVariantAnimation_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QVariantAnimation_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentValue), meth_QVariantAnimation_currentValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_currentValue)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QVariantAnimation_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QVariantAnimation_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_QVariantAnimation_duration, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_duration)},
    {SIP_MLNAME_CAST(sipName_easingCurve), meth_QVariantAnimation_easingCurve, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_easingCurve)},
    {SIP_MLNAME_CAST(sipName_endValue), meth_QVariantAnimation_endValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_endValue)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QVariantAnimation_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVariantAnimation_event)},
    {SIP_MLNAME_CAST(sipName_interpolated), (PyCFunction)meth_QVariantAnimation_interpolated, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVariantAnimation_interpolated)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QVariantAnimation_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyValueAt), meth_QVariantAnimation_keyValueAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_keyValueAt)},
    {SIP_MLNAME_CAST(sipName_keyValues), meth_QVariantAnimation_keyValues, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_keyValues)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QVariantAnimation_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QVariantAnimation_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QVariantAnimation_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDuration), meth_QVariantAnimation_setDuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_setDuration)},
    {SIP_MLNAME_CAST(sipName_setEasingCurve), meth_QVariantAnimation_setEasingCurve, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_setEasingCurve)},
    {SIP_MLNAME_CAST(sipName_setEndValue), meth_QVariantAnimation_setEndValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_setEndValue)},
    {SIP_MLNAME_CAST(sipName_setKeyValueAt), meth_QVariantAnimation_setKeyValueAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_setKeyValueAt)},
    {SIP_MLNAME_CAST(sipName_setKeyValues), meth_QVariantAnimation_setKeyValues, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_setKeyValues)},
    {SIP_MLNAME_CAST(sipName_setStartValue), meth_QVariantAnimation_setStartValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_setStartValue)},
    {SIP_MLNAME_CAST(sipName_startValue), meth_QVariantAnimation_startValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QVariantAnimation_startValue)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QVariantAnimation_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCurrentTime), (PyCFunction)meth_QVariantAnimation_updateCurrentTime, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVariantAnimation_updateCurrentTime)},
    {SIP_MLNAME_CAST(sipName_updateCurrentValue), (PyCFunction)meth_QVariantAnimation_updateCurrentValue, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVariantAnimation_updateCurrentValue)},
    {SIP_MLNAME_CAST(sipName_updateDirection), (PyCFunction)meth_QVariantAnimation_updateDirection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateState), (PyCFunction)meth_QVariantAnimation_updateState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QVariantAnimation_updateState)}
};

PyDoc_STRVAR(doc_QVariantAnimation, "\1QVariantAnimation(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QVariantAnimation[] = {
    {"valueChanged(QVariant)", "\1valueChanged(self, Any)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QVariantAnimation = {
    & ::QVariantAnimation::staticMetaObject,
    0,
    signals_QVariantAnimation,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QVariantAnimation = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVariantAnimation,
        {0},
        &plugin_QVariantAnimation
    },
    {
        sipNameNr_QVariantAnimation,
        {0, 0, 1},
        28, methods_QVariantAnimation,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVariantAnimation,
    -1,
    -1,
    supers_QVariantAnimation,
    0,
    init_type_QVariantAnimation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVariantAnimation,
    0,
    0,
    0,
    release_QVariantAnimation,
    cast_QVariantAnimation,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpauseanimation.sip"
#include <qpauseanimation.h>
#line 89925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 89929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 89932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 89935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 89938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 89941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 89944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 89947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 89950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 89953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 89956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 89959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 89962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 89968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 89974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 89977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 89980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQPauseAnimation : public  ::QPauseAnimation
{
public:
    sipQPauseAnimation( ::QObject*);
    sipQPauseAnimation(int, ::QObject*);
    virtual ~sipQPauseAnimation();

    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;
    void sipProtectVirt_updateState(bool, ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void sipProtectVirt_updateDirection(bool, ::QAbstractAnimation::Direction);
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_updateCurrentTime(bool,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int duration() const;
    void updateCurrentTime(int);
    void updateState( ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void updateDirection( ::QAbstractAnimation::Direction);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQPauseAnimation(const sipQPauseAnimation &);
    sipQPauseAnimation &operator = (const sipQPauseAnimation &);

    char sipPyMethods[11];
};

sipQPauseAnimation::sipQPauseAnimation( ::QObject*a0):  ::QPauseAnimation(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPauseAnimation::sipQPauseAnimation(int a0, ::QObject*a1):  ::QPauseAnimation(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPauseAnimation::~sipQPauseAnimation()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQPauseAnimation::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QPauseAnimation);

    return  ::QPauseAnimation::metaObject();
}

int sipQPauseAnimation::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QPauseAnimation::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QPauseAnimation,_c,_id,_a);

    return _id;
}

void *sipQPauseAnimation::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QPauseAnimation, _clname, &sipCpp) ? sipCpp :  ::QPauseAnimation::qt_metacast(_clname));
}

void sipQPauseAnimation::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QPauseAnimation::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPauseAnimation::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QPauseAnimation::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPauseAnimation::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QPauseAnimation::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPauseAnimation::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QPauseAnimation::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPauseAnimation::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QPauseAnimation::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQPauseAnimation::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QPauseAnimation::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQPauseAnimation::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QPauseAnimation::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQPauseAnimation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_duration);

    if (!sipMeth)
        return  ::QPauseAnimation::duration();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQPauseAnimation::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_updateCurrentTime);

    if (!sipMeth)
    {
         ::QPauseAnimation::updateCurrentTime(a0);
        return;
    }

    extern void sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQPauseAnimation::updateState( ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
         ::QPauseAnimation::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::State, ::QAbstractAnimation::State);

    sipVH_QtCore_8(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQPauseAnimation::updateDirection( ::QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
         ::QPauseAnimation::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::Direction);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQPauseAnimation::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQPauseAnimation::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQPauseAnimation::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQPauseAnimation::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQPauseAnimation::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQPauseAnimation::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPauseAnimation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPauseAnimation::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQPauseAnimation::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQPauseAnimation::sipProtectVirt_updateState(bool sipSelfWasArg, ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    (sipSelfWasArg ?  ::QAbstractAnimation::updateState(a0,a1) : updateState(a0,a1));
}

void sipQPauseAnimation::sipProtectVirt_updateDirection(bool sipSelfWasArg, ::QAbstractAnimation::Direction a0)
{
    (sipSelfWasArg ?  ::QAbstractAnimation::updateDirection(a0) : updateDirection(a0));
}

bool sipQPauseAnimation::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QPauseAnimation::event(a0) : event(a0));
}

void sipQPauseAnimation::sipProtectVirt_updateCurrentTime(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ?  ::QPauseAnimation::updateCurrentTime(a0) : updateCurrentTime(a0));
}


PyDoc_STRVAR(doc_QPauseAnimation_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QPauseAnimation_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPauseAnimation, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 90377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPauseAnimation, sipName_sender, doc_QPauseAnimation_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QPauseAnimation_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QPauseAnimation, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 90437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QPauseAnimation, sipName_receivers, doc_QPauseAnimation_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QPauseAnimation_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPauseAnimation, &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_QPauseAnimation, sipName_timerEvent, doc_QPauseAnimation_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QPauseAnimation_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPauseAnimation, &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_QPauseAnimation, sipName_childEvent, doc_QPauseAnimation_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QPauseAnimation_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPauseAnimation, &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_QPauseAnimation, sipName_customEvent, doc_QPauseAnimation_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QPauseAnimation_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPauseAnimation, &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_QPauseAnimation, sipName_connectNotify, doc_QPauseAnimation_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QPauseAnimation_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPauseAnimation, &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_QPauseAnimation, sipName_disconnectNotify, doc_QPauseAnimation_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QPauseAnimation_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPauseAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPauseAnimation, sipName_senderSignalIndex, doc_QPauseAnimation_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QPauseAnimation_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPauseAnimation, &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_QPauseAnimation, sipName_isSignalConnected, doc_QPauseAnimation_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_updateState, "updateState(self, QAbstractAnimation.State, QAbstractAnimation.State)");

extern "C" {static PyObject *meth_QPauseAnimation_updateState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_updateState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::State a0;
         ::QAbstractAnimation::State a1;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEE", &sipSelf, sipType_QPauseAnimation, &sipCpp, sipType_QAbstractAnimation_State, &a0, sipType_QAbstractAnimation_State, &a1))
        {
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPauseAnimation, sipName_updateState, doc_QPauseAnimation_updateState);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_updateDirection, "updateDirection(self, QAbstractAnimation.Direction)");

extern "C" {static PyObject *meth_QPauseAnimation_updateDirection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_updateDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::Direction a0;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QPauseAnimation, &sipCpp, sipType_QAbstractAnimation_Direction, &a0))
        {
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPauseAnimation, sipName_updateDirection, doc_QPauseAnimation_updateDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_duration, "duration(self) -> int");

extern "C" {static PyObject *meth_QPauseAnimation_duration(PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QPauseAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPauseAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QPauseAnimation::duration() : sipCpp->duration());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPauseAnimation, sipName_duration, doc_QPauseAnimation_duration);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_setDuration, "setDuration(self, int)");

extern "C" {static PyObject *meth_QPauseAnimation_setDuration(PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_setDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QPauseAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QPauseAnimation, &sipCpp, &a0))
        {
            sipCpp->setDuration(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPauseAnimation, sipName_setDuration, doc_QPauseAnimation_setDuration);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QPauseAnimation_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPauseAnimation, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPauseAnimation, sipName_event, doc_QPauseAnimation_event);

    return NULL;
}


PyDoc_STRVAR(doc_QPauseAnimation_updateCurrentTime, "updateCurrentTime(self, int)");

extern "C" {static PyObject *meth_QPauseAnimation_updateCurrentTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPauseAnimation_updateCurrentTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQPauseAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QPauseAnimation, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPauseAnimation, sipName_updateCurrentTime, doc_QPauseAnimation_updateCurrentTime);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QPauseAnimation(void *, const sipTypeDef *);}
static void *cast_QPauseAnimation(void *sipCppV, const sipTypeDef *targetType)
{
     ::QPauseAnimation *sipCpp = reinterpret_cast< ::QPauseAnimation *>(sipCppV);

    if (targetType == sipType_QAbstractAnimation)
        return static_cast< ::QAbstractAnimation *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPauseAnimation(void *, int);}
static void release_QPauseAnimation(void *sipCppV, int)
{
     ::QPauseAnimation *sipCpp = reinterpret_cast< ::QPauseAnimation *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QPauseAnimation(sipSimpleWrapper *);}
static void dealloc_QPauseAnimation(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQPauseAnimation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPauseAnimation(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QPauseAnimation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPauseAnimation(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQPauseAnimation *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 sipQPauseAnimation(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        int a0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "i|JH", &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQPauseAnimation(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QPauseAnimation[] = {{0, 255, 1}};


static PyMethodDef methods_QPauseAnimation[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QPauseAnimation_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QPauseAnimation_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QPauseAnimation_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QPauseAnimation_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_QPauseAnimation_duration, METH_VARARGS, SIP_MLDOC_CAST(doc_QPauseAnimation_duration)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QPauseAnimation_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPauseAnimation_event)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QPauseAnimation_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QPauseAnimation_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QPauseAnimation_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QPauseAnimation_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDuration), meth_QPauseAnimation_setDuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QPauseAnimation_setDuration)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QPauseAnimation_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCurrentTime), (PyCFunction)meth_QPauseAnimation_updateCurrentTime, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPauseAnimation_updateCurrentTime)},
    {SIP_MLNAME_CAST(sipName_updateDirection), (PyCFunction)meth_QPauseAnimation_updateDirection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateState), (PyCFunction)meth_QPauseAnimation_updateState, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QPauseAnimation, "\1QPauseAnimation(parent: QObject = None)\n"
    "QPauseAnimation(int, parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QPauseAnimation = {
    & ::QPauseAnimation::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QPauseAnimation = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPauseAnimation,
        {0},
        &plugin_QPauseAnimation
    },
    {
        sipNameNr_QPauseAnimation,
        {0, 0, 1},
        15, methods_QPauseAnimation,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPauseAnimation,
    -1,
    -1,
    supers_QPauseAnimation,
    0,
    init_type_QPauseAnimation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPauseAnimation,
    0,
    0,
    0,
    release_QPauseAnimation,
    cast_QPauseAnimation,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qparallelanimationgroup.sip"
#include <qparallelanimationgroup.h>
#line 91008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 91012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 91015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 91018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 91021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 91024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 91027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 91030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 91033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 91036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 91039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 91042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 91045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 91048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 91051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 91054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 91057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 91060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 91063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQParallelAnimationGroup : public  ::QParallelAnimationGroup
{
public:
    sipQParallelAnimationGroup( ::QObject*);
    virtual ~sipQParallelAnimationGroup();

    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;
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_updateCurrentTime(bool,int);
    void sipProtectVirt_updateState(bool, ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void sipProtectVirt_updateDirection(bool, ::QAbstractAnimation::Direction);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void updateDirection( ::QAbstractAnimation::Direction);
    void updateState( ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void updateCurrentTime(int);
    int duration() 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:
    sipQParallelAnimationGroup(const sipQParallelAnimationGroup &);
    sipQParallelAnimationGroup &operator = (const sipQParallelAnimationGroup &);

    char sipPyMethods[11];
};

sipQParallelAnimationGroup::sipQParallelAnimationGroup( ::QObject*a0):  ::QParallelAnimationGroup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQParallelAnimationGroup::~sipQParallelAnimationGroup()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQParallelAnimationGroup::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QParallelAnimationGroup);

    return  ::QParallelAnimationGroup::metaObject();
}

int sipQParallelAnimationGroup::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QParallelAnimationGroup::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QParallelAnimationGroup,_c,_id,_a);

    return _id;
}

void *sipQParallelAnimationGroup::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QParallelAnimationGroup, _clname, &sipCpp) ? sipCpp :  ::QParallelAnimationGroup::qt_metacast(_clname));
}

void sipQParallelAnimationGroup::updateDirection( ::QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
         ::QParallelAnimationGroup::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::Direction);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQParallelAnimationGroup::updateState( ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
         ::QParallelAnimationGroup::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::State, ::QAbstractAnimation::State);

    sipVH_QtCore_8(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQParallelAnimationGroup::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_updateCurrentTime);

    if (!sipMeth)
    {
         ::QParallelAnimationGroup::updateCurrentTime(a0);
        return;
    }

    extern void sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQParallelAnimationGroup::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_duration);

    if (!sipMeth)
        return  ::QParallelAnimationGroup::duration();

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQParallelAnimationGroup::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QParallelAnimationGroup::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQParallelAnimationGroup::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QParallelAnimationGroup::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQParallelAnimationGroup::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QParallelAnimationGroup::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQParallelAnimationGroup::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QParallelAnimationGroup::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQParallelAnimationGroup::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QParallelAnimationGroup::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQParallelAnimationGroup::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QParallelAnimationGroup::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQParallelAnimationGroup::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QParallelAnimationGroup::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQParallelAnimationGroup::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQParallelAnimationGroup::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQParallelAnimationGroup::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQParallelAnimationGroup::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQParallelAnimationGroup::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQParallelAnimationGroup::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQParallelAnimationGroup::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQParallelAnimationGroup::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQParallelAnimationGroup::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQParallelAnimationGroup::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QParallelAnimationGroup::event(a0) : event(a0));
}

void sipQParallelAnimationGroup::sipProtectVirt_updateCurrentTime(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ?  ::QParallelAnimationGroup::updateCurrentTime(a0) : updateCurrentTime(a0));
}

void sipQParallelAnimationGroup::sipProtectVirt_updateState(bool sipSelfWasArg, ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    (sipSelfWasArg ?  ::QParallelAnimationGroup::updateState(a0,a1) : updateState(a0,a1));
}

void sipQParallelAnimationGroup::sipProtectVirt_updateDirection(bool sipSelfWasArg, ::QAbstractAnimation::Direction a0)
{
    (sipSelfWasArg ?  ::QParallelAnimationGroup::updateDirection(a0) : updateDirection(a0));
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QParallelAnimationGroup_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 91454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QParallelAnimationGroup, sipName_sender, doc_QParallelAnimationGroup_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QParallelAnimationGroup_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 91514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QParallelAnimationGroup, sipName_receivers, doc_QParallelAnimationGroup_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QParallelAnimationGroup_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QParallelAnimationGroup, &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_QParallelAnimationGroup, sipName_timerEvent, doc_QParallelAnimationGroup_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QParallelAnimationGroup_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QParallelAnimationGroup, &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_QParallelAnimationGroup, sipName_childEvent, doc_QParallelAnimationGroup_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QParallelAnimationGroup_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QParallelAnimationGroup, &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_QParallelAnimationGroup, sipName_customEvent, doc_QParallelAnimationGroup_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QParallelAnimationGroup_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QParallelAnimationGroup, &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_QParallelAnimationGroup, sipName_connectNotify, doc_QParallelAnimationGroup_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QParallelAnimationGroup_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QParallelAnimationGroup, &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_QParallelAnimationGroup, sipName_disconnectNotify, doc_QParallelAnimationGroup_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QParallelAnimationGroup_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QParallelAnimationGroup, sipName_senderSignalIndex, doc_QParallelAnimationGroup_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QParallelAnimationGroup_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QParallelAnimationGroup, &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_QParallelAnimationGroup, sipName_isSignalConnected, doc_QParallelAnimationGroup_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_duration, "duration(self) -> int");

extern "C" {static PyObject *meth_QParallelAnimationGroup_duration(PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QParallelAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QParallelAnimationGroup::duration() : sipCpp->duration());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QParallelAnimationGroup, sipName_duration, doc_QParallelAnimationGroup_duration);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QParallelAnimationGroup_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QParallelAnimationGroup, sipName_event, doc_QParallelAnimationGroup_event);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_updateCurrentTime, "updateCurrentTime(self, int)");

extern "C" {static PyObject *meth_QParallelAnimationGroup_updateCurrentTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_updateCurrentTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_updateCurrentTime(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QParallelAnimationGroup, sipName_updateCurrentTime, doc_QParallelAnimationGroup_updateCurrentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_updateState, "updateState(self, QAbstractAnimation.State, QAbstractAnimation.State)");

extern "C" {static PyObject *meth_QParallelAnimationGroup_updateState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_updateState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::State a0;
         ::QAbstractAnimation::State a1;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEE", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp, sipType_QAbstractAnimation_State, &a0, sipType_QAbstractAnimation_State, &a1))
        {
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QParallelAnimationGroup, sipName_updateState, doc_QParallelAnimationGroup_updateState);

    return NULL;
}


PyDoc_STRVAR(doc_QParallelAnimationGroup_updateDirection, "updateDirection(self, QAbstractAnimation.Direction)");

extern "C" {static PyObject *meth_QParallelAnimationGroup_updateDirection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QParallelAnimationGroup_updateDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::Direction a0;
        sipQParallelAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QParallelAnimationGroup, &sipCpp, sipType_QAbstractAnimation_Direction, &a0))
        {
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QParallelAnimationGroup, sipName_updateDirection, doc_QParallelAnimationGroup_updateDirection);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QParallelAnimationGroup(void *, const sipTypeDef *);}
static void *cast_QParallelAnimationGroup(void *sipCppV, const sipTypeDef *targetType)
{
     ::QParallelAnimationGroup *sipCpp = reinterpret_cast< ::QParallelAnimationGroup *>(sipCppV);

    if (targetType == sipType_QAnimationGroup)
        return static_cast< ::QAnimationGroup *>(sipCpp);

    if (targetType == sipType_QAbstractAnimation)
        return static_cast< ::QAbstractAnimation *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QParallelAnimationGroup(void *, int);}
static void release_QParallelAnimationGroup(void *sipCppV, int)
{
     ::QParallelAnimationGroup *sipCpp = reinterpret_cast< ::QParallelAnimationGroup *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QParallelAnimationGroup(sipSimpleWrapper *);}
static void dealloc_QParallelAnimationGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQParallelAnimationGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QParallelAnimationGroup(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QParallelAnimationGroup(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QParallelAnimationGroup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQParallelAnimationGroup *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 sipQParallelAnimationGroup(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QParallelAnimationGroup[] = {{15, 255, 1}};


static PyMethodDef methods_QParallelAnimationGroup[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QParallelAnimationGroup_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QParallelAnimationGroup_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QParallelAnimationGroup_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QParallelAnimationGroup_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_QParallelAnimationGroup_duration, METH_VARARGS, SIP_MLDOC_CAST(doc_QParallelAnimationGroup_duration)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QParallelAnimationGroup_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QParallelAnimationGroup_event)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QParallelAnimationGroup_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QParallelAnimationGroup_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QParallelAnimationGroup_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QParallelAnimationGroup_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QParallelAnimationGroup_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCurrentTime), (PyCFunction)meth_QParallelAnimationGroup_updateCurrentTime, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QParallelAnimationGroup_updateCurrentTime)},
    {SIP_MLNAME_CAST(sipName_updateDirection), (PyCFunction)meth_QParallelAnimationGroup_updateDirection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QParallelAnimationGroup_updateDirection)},
    {SIP_MLNAME_CAST(sipName_updateState), (PyCFunction)meth_QParallelAnimationGroup_updateState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QParallelAnimationGroup_updateState)}
};

PyDoc_STRVAR(doc_QParallelAnimationGroup, "\1QParallelAnimationGroup(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QParallelAnimationGroup = {
    & ::QParallelAnimationGroup::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QParallelAnimationGroup = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QParallelAnimationGroup,
        {0},
        &plugin_QParallelAnimationGroup
    },
    {
        sipNameNr_QParallelAnimationGroup,
        {0, 0, 1},
        14, methods_QParallelAnimationGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QParallelAnimationGroup,
    -1,
    -1,
    supers_QParallelAnimationGroup,
    0,
    init_type_QParallelAnimationGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QParallelAnimationGroup,
    0,
    0,
    0,
    release_QParallelAnimationGroup,
    cast_QParallelAnimationGroup,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qoperatingsystemversion.sip"
#include <qoperatingsystemversion.h>
#line 92039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 92043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QOperatingSystemVersion_current, "current() -> QOperatingSystemVersion");

extern "C" {static PyObject *meth_QOperatingSystemVersion_current(PyObject *, PyObject *);}
static PyObject *meth_QOperatingSystemVersion_current(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QOperatingSystemVersion*sipRes;

            sipRes = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::current());

            return sipConvertFromNewType(sipRes,sipType_QOperatingSystemVersion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOperatingSystemVersion, sipName_current, doc_QOperatingSystemVersion_current);

    return NULL;
}


PyDoc_STRVAR(doc_QOperatingSystemVersion_majorVersion, "majorVersion(self) -> int");

extern "C" {static PyObject *meth_QOperatingSystemVersion_majorVersion(PyObject *, PyObject *);}
static PyObject *meth_QOperatingSystemVersion_majorVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QOperatingSystemVersion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOperatingSystemVersion, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->majorVersion();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOperatingSystemVersion, sipName_majorVersion, doc_QOperatingSystemVersion_majorVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QOperatingSystemVersion_minorVersion, "minorVersion(self) -> int");

extern "C" {static PyObject *meth_QOperatingSystemVersion_minorVersion(PyObject *, PyObject *);}
static PyObject *meth_QOperatingSystemVersion_minorVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QOperatingSystemVersion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOperatingSystemVersion, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minorVersion();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOperatingSystemVersion, sipName_minorVersion, doc_QOperatingSystemVersion_minorVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QOperatingSystemVersion_microVersion, "microVersion(self) -> int");

extern "C" {static PyObject *meth_QOperatingSystemVersion_microVersion(PyObject *, PyObject *);}
static PyObject *meth_QOperatingSystemVersion_microVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QOperatingSystemVersion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOperatingSystemVersion, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->microVersion();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOperatingSystemVersion, sipName_microVersion, doc_QOperatingSystemVersion_microVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QOperatingSystemVersion_segmentCount, "segmentCount(self) -> int");

extern "C" {static PyObject *meth_QOperatingSystemVersion_segmentCount(PyObject *, PyObject *);}
static PyObject *meth_QOperatingSystemVersion_segmentCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QOperatingSystemVersion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOperatingSystemVersion, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->segmentCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOperatingSystemVersion, sipName_segmentCount, doc_QOperatingSystemVersion_segmentCount);

    return NULL;
}


PyDoc_STRVAR(doc_QOperatingSystemVersion_type, "type(self) -> QOperatingSystemVersion.OSType");

extern "C" {static PyObject *meth_QOperatingSystemVersion_type(PyObject *, PyObject *);}
static PyObject *meth_QOperatingSystemVersion_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QOperatingSystemVersion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOperatingSystemVersion, &sipCpp))
        {
             ::QOperatingSystemVersion::OSType sipRes;

            sipRes = sipCpp->type();

            return sipConvertFromEnum(sipRes,sipType_QOperatingSystemVersion_OSType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOperatingSystemVersion, sipName_type, doc_QOperatingSystemVersion_type);

    return NULL;
}


PyDoc_STRVAR(doc_QOperatingSystemVersion_name, "name(self) -> str");

extern "C" {static PyObject *meth_QOperatingSystemVersion_name(PyObject *, PyObject *);}
static PyObject *meth_QOperatingSystemVersion_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QOperatingSystemVersion *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOperatingSystemVersion, &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_QOperatingSystemVersion, sipName_name, doc_QOperatingSystemVersion_name);

    return NULL;
}


extern "C" {static PyObject *slot_QOperatingSystemVersion___lt__(PyObject *,PyObject *);}
static PyObject *slot_QOperatingSystemVersion___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QOperatingSystemVersion *sipCpp = reinterpret_cast< ::QOperatingSystemVersion *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QOperatingSystemVersion));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QOperatingSystemVersion* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QOperatingSystemVersion, &a0))
        {
            bool sipRes;

            sipRes = operator<((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QOperatingSystemVersion, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QOperatingSystemVersion___le__(PyObject *,PyObject *);}
static PyObject *slot_QOperatingSystemVersion___le__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QOperatingSystemVersion *sipCpp = reinterpret_cast< ::QOperatingSystemVersion *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QOperatingSystemVersion));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QOperatingSystemVersion* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QOperatingSystemVersion, &a0))
        {
            bool sipRes;

            sipRes = operator<=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, le_slot, sipType_QOperatingSystemVersion, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QOperatingSystemVersion___gt__(PyObject *,PyObject *);}
static PyObject *slot_QOperatingSystemVersion___gt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QOperatingSystemVersion *sipCpp = reinterpret_cast< ::QOperatingSystemVersion *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QOperatingSystemVersion));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QOperatingSystemVersion* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QOperatingSystemVersion, &a0))
        {
            bool sipRes;

            sipRes = operator>((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, gt_slot, sipType_QOperatingSystemVersion, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QOperatingSystemVersion___ge__(PyObject *,PyObject *);}
static PyObject *slot_QOperatingSystemVersion___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QOperatingSystemVersion *sipCpp = reinterpret_cast< ::QOperatingSystemVersion *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QOperatingSystemVersion));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QOperatingSystemVersion* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QOperatingSystemVersion, &a0))
        {
            bool sipRes;

            sipRes = operator>=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QOperatingSystemVersion, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QOperatingSystemVersion(void *, int);}
static void release_QOperatingSystemVersion(void *sipCppV, int)
{
    delete reinterpret_cast< ::QOperatingSystemVersion *>(sipCppV);
}


extern "C" {static void dealloc_QOperatingSystemVersion(sipSimpleWrapper *);}
static void dealloc_QOperatingSystemVersion(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QOperatingSystemVersion(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QOperatingSystemVersion(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QOperatingSystemVersion(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QOperatingSystemVersion *sipCpp = 0;

    {
        const  ::QOperatingSystemVersion* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QOperatingSystemVersion, &a0))
        {
            sipCpp = new  ::QOperatingSystemVersion(*a0);

            return sipCpp;
        }
    }

    {
         ::QOperatingSystemVersion::OSType a0;
        int a1;
        int a2 = -1;
        int a3 = -1;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_vminor,
            sipName_vmicro,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "Ei|ii", sipType_QOperatingSystemVersion_OSType, &a0, &a1, &a2, &a3))
        {
            sipCpp = new  ::QOperatingSystemVersion(a0,a1,a2,a3);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QOperatingSystemVersion[] = {
    {(void *)slot_QOperatingSystemVersion___lt__, lt_slot},
    {(void *)slot_QOperatingSystemVersion___le__, le_slot},
    {(void *)slot_QOperatingSystemVersion___gt__, gt_slot},
    {(void *)slot_QOperatingSystemVersion___ge__, ge_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QOperatingSystemVersion[] = {
    {SIP_MLNAME_CAST(sipName_current), meth_QOperatingSystemVersion_current, METH_VARARGS, SIP_MLDOC_CAST(doc_QOperatingSystemVersion_current)},
    {SIP_MLNAME_CAST(sipName_majorVersion), meth_QOperatingSystemVersion_majorVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QOperatingSystemVersion_majorVersion)},
    {SIP_MLNAME_CAST(sipName_microVersion), meth_QOperatingSystemVersion_microVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QOperatingSystemVersion_microVersion)},
    {SIP_MLNAME_CAST(sipName_minorVersion), meth_QOperatingSystemVersion_minorVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QOperatingSystemVersion_minorVersion)},
    {SIP_MLNAME_CAST(sipName_name), meth_QOperatingSystemVersion_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QOperatingSystemVersion_name)},
    {SIP_MLNAME_CAST(sipName_segmentCount), meth_QOperatingSystemVersion_segmentCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QOperatingSystemVersion_segmentCount)},
    {SIP_MLNAME_CAST(sipName_type), meth_QOperatingSystemVersion_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QOperatingSystemVersion_type)}
};

static sipEnumMemberDef enummembers_QOperatingSystemVersion[] = {
    {sipName_Android, static_cast<int>( ::QOperatingSystemVersion::Android), 172},
    {sipName_IOS, static_cast<int>( ::QOperatingSystemVersion::IOS), 172},
    {sipName_MacOS, static_cast<int>( ::QOperatingSystemVersion::MacOS), 172},
    {sipName_TvOS, static_cast<int>( ::QOperatingSystemVersion::TvOS), 172},
    {sipName_Unknown, static_cast<int>( ::QOperatingSystemVersion::Unknown), 172},
    {sipName_WatchOS, static_cast<int>( ::QOperatingSystemVersion::WatchOS), 172},
    {sipName_Windows, static_cast<int>( ::QOperatingSystemVersion::Windows), 172},
};


extern "C" {static PyObject *varget_QOperatingSystemVersion_AndroidJellyBean(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_AndroidJellyBean(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::AndroidJellyBean);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_AndroidJellyBean_MR1(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_AndroidJellyBean_MR1(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::AndroidJellyBean_MR1);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_AndroidJellyBean_MR2(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_AndroidJellyBean_MR2(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::AndroidJellyBean_MR2);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_AndroidKitKat(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_AndroidKitKat(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::AndroidKitKat);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_AndroidLollipop(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_AndroidLollipop(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::AndroidLollipop);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_AndroidLollipop_MR1(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_AndroidLollipop_MR1(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::AndroidLollipop_MR1);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_AndroidMarshmallow(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_AndroidMarshmallow(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::AndroidMarshmallow);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_AndroidNougat(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_AndroidNougat(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::AndroidNougat);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_AndroidNougat_MR1(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_AndroidNougat_MR1(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::AndroidNougat_MR1);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_MacOSHighSierra(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_MacOSHighSierra(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::MacOSHighSierra);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_MacOSSierra(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_MacOSSierra(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::MacOSSierra);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_OSXElCapitan(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_OSXElCapitan(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::OSXElCapitan);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_OSXMavericks(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_OSXMavericks(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::OSXMavericks);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_OSXYosemite(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_OSXYosemite(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::OSXYosemite);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_Windows10(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_Windows10(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::Windows10);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_Windows7(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_Windows7(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::Windows7);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_Windows8(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_Windows8(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::Windows8);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}


extern "C" {static PyObject *varget_QOperatingSystemVersion_Windows8_1(void *, PyObject *, PyObject *);}
static PyObject *varget_QOperatingSystemVersion_Windows8_1(void *, PyObject *, PyObject *)
{
    const  ::QOperatingSystemVersion*sipVal;

    sipVal = new  ::QOperatingSystemVersion( ::QOperatingSystemVersion::Windows8_1);

    return sipConvertFromNewType(const_cast< ::QOperatingSystemVersion *>(sipVal), sipType_QOperatingSystemVersion, NULL);
}

sipVariableDef variables_QOperatingSystemVersion[] = {
    {ClassVariable, sipName_AndroidJellyBean, (PyMethodDef *)varget_QOperatingSystemVersion_AndroidJellyBean, NULL, NULL, NULL},
    {ClassVariable, sipName_AndroidJellyBean_MR1, (PyMethodDef *)varget_QOperatingSystemVersion_AndroidJellyBean_MR1, NULL, NULL, NULL},
    {ClassVariable, sipName_AndroidJellyBean_MR2, (PyMethodDef *)varget_QOperatingSystemVersion_AndroidJellyBean_MR2, NULL, NULL, NULL},
    {ClassVariable, sipName_AndroidKitKat, (PyMethodDef *)varget_QOperatingSystemVersion_AndroidKitKat, NULL, NULL, NULL},
    {ClassVariable, sipName_AndroidLollipop, (PyMethodDef *)varget_QOperatingSystemVersion_AndroidLollipop, NULL, NULL, NULL},
    {ClassVariable, sipName_AndroidLollipop_MR1, (PyMethodDef *)varget_QOperatingSystemVersion_AndroidLollipop_MR1, NULL, NULL, NULL},
    {ClassVariable, sipName_AndroidMarshmallow, (PyMethodDef *)varget_QOperatingSystemVersion_AndroidMarshmallow, NULL, NULL, NULL},
    {ClassVariable, sipName_AndroidNougat, (PyMethodDef *)varget_QOperatingSystemVersion_AndroidNougat, NULL, NULL, NULL},
    {ClassVariable, sipName_AndroidNougat_MR1, (PyMethodDef *)varget_QOperatingSystemVersion_AndroidNougat_MR1, NULL, NULL, NULL},
    {ClassVariable, sipName_MacOSHighSierra, (PyMethodDef *)varget_QOperatingSystemVersion_MacOSHighSierra, NULL, NULL, NULL},
    {ClassVariable, sipName_MacOSSierra, (PyMethodDef *)varget_QOperatingSystemVersion_MacOSSierra, NULL, NULL, NULL},
    {ClassVariable, sipName_OSXElCapitan, (PyMethodDef *)varget_QOperatingSystemVersion_OSXElCapitan, NULL, NULL, NULL},
    {ClassVariable, sipName_OSXMavericks, (PyMethodDef *)varget_QOperatingSystemVersion_OSXMavericks, NULL, NULL, NULL},
    {ClassVariable, sipName_OSXYosemite, (PyMethodDef *)varget_QOperatingSystemVersion_OSXYosemite, NULL, NULL, NULL},
    {ClassVariable, sipName_Windows10, (PyMethodDef *)varget_QOperatingSystemVersion_Windows10, NULL, NULL, NULL},
    {ClassVariable, sipName_Windows7, (PyMethodDef *)varget_QOperatingSystemVersion_Windows7, NULL, NULL, NULL},
    {ClassVariable, sipName_Windows8, (PyMethodDef *)varget_QOperatingSystemVersion_Windows8, NULL, NULL, NULL},
    {ClassVariable, sipName_Windows8_1, (PyMethodDef *)varget_QOperatingSystemVersion_Windows8_1, NULL, NULL, NULL},
};

PyDoc_STRVAR(doc_QOperatingSystemVersion, "\1QOperatingSystemVersion(QOperatingSystemVersion)\n"
    "QOperatingSystemVersion(QOperatingSystemVersion.OSType, int, vminor: int = -1, vmicro: int = -1)");


static pyqt5ClassPluginDef plugin_QOperatingSystemVersion = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QOperatingSystemVersion = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QOperatingSystemVersion,
        {0},
        &plugin_QOperatingSystemVersion
    },
    {
        sipNameNr_QOperatingSystemVersion,
        {0, 0, 1},
        7, methods_QOperatingSystemVersion,
        7, enummembers_QOperatingSystemVersion,
        18, variables_QOperatingSystemVersion,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QOperatingSystemVersion,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QOperatingSystemVersion,
    init_type_QOperatingSystemVersion,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QOperatingSystemVersion,
    0,
    0,
    0,
    release_QOperatingSystemVersion,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 92740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



/* Call the instance's destructor. */
extern "C" {static void release_QGenericReturnArgument(void *, int);}
static void release_QGenericReturnArgument(void *sipCppV, int)
{
    delete reinterpret_cast< ::QGenericReturnArgument *>(sipCppV);
}


extern "C" {static void dealloc_QGenericReturnArgument(sipSimpleWrapper *);}
static void dealloc_QGenericReturnArgument(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGenericReturnArgument(sipGetAddress(sipSelf), 0);
    }
}


static pyqt5ClassPluginDef plugin_QGenericReturnArgument = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QGenericReturnArgument = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGenericReturnArgument,
        {0},
        &plugin_QGenericReturnArgument
    },
    {
        sipNameNr_QGenericReturnArgument,
        {0, 0, 1},
        0, 0,
        0, 0,
        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
    dealloc_QGenericReturnArgument,
    0,
    0,
    0,
    release_QGenericReturnArgument,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 92821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



/* Call the instance's destructor. */
extern "C" {static void release_QGenericArgument(void *, int);}
static void release_QGenericArgument(void *sipCppV, int)
{
    delete reinterpret_cast< ::QGenericArgument *>(sipCppV);
}


extern "C" {static void dealloc_QGenericArgument(sipSimpleWrapper *);}
static void dealloc_QGenericArgument(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGenericArgument(sipGetAddress(sipSelf), 0);
    }
}


static pyqt5ClassPluginDef plugin_QGenericArgument = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QGenericArgument = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGenericArgument,
        {0},
        &plugin_QGenericArgument
    },
    {
        sipNameNr_QGenericArgument,
        {0, 0, 1},
        0, 0,
        0, 0,
        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
    dealloc_QGenericArgument,
    0,
    0,
    0,
    release_QGenericArgument,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 92902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 92906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 92909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 92912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 92915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 92918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 92921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 92924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 92927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 92930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
// Raise an exception when QMetaObject::invokeMethod() returns false.
static void qtcore_invokeMethod_exception()
{
    PyErr_SetString(PyExc_RuntimeError, "QMetaObject.invokeMethod() call failed");
}
#line 92937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaObject_className, "className(self) -> str");

extern "C" {static PyObject *meth_QMetaObject_className(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_className(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->className();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_className, doc_QMetaObject_className);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_superClass, "superClass(self) -> QMetaObject");

extern "C" {static PyObject *meth_QMetaObject_superClass(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_superClass(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            const  ::QMetaObject*sipRes;

            sipRes = sipCpp->superClass();

            return sipConvertFromType(const_cast< ::QMetaObject *>(sipRes),sipType_QMetaObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_superClass, doc_QMetaObject_superClass);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_userProperty, "userProperty(self) -> QMetaProperty");

extern "C" {static PyObject *meth_QMetaObject_userProperty(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_userProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
             ::QMetaProperty*sipRes;

            sipRes = new  ::QMetaProperty(sipCpp->userProperty());

            return sipConvertFromNewType(sipRes,sipType_QMetaProperty,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_userProperty, doc_QMetaObject_userProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_methodOffset, "methodOffset(self) -> int");

extern "C" {static PyObject *meth_QMetaObject_methodOffset(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_methodOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->methodOffset();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_methodOffset, doc_QMetaObject_methodOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_enumeratorOffset, "enumeratorOffset(self) -> int");

extern "C" {static PyObject *meth_QMetaObject_enumeratorOffset(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_enumeratorOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->enumeratorOffset();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_enumeratorOffset, doc_QMetaObject_enumeratorOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_propertyOffset, "propertyOffset(self) -> int");

extern "C" {static PyObject *meth_QMetaObject_propertyOffset(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_propertyOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->propertyOffset();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_propertyOffset, doc_QMetaObject_propertyOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_classInfoOffset, "classInfoOffset(self) -> int");

extern "C" {static PyObject *meth_QMetaObject_classInfoOffset(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_classInfoOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->classInfoOffset();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_classInfoOffset, doc_QMetaObject_classInfoOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_methodCount, "methodCount(self) -> int");

extern "C" {static PyObject *meth_QMetaObject_methodCount(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_methodCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->methodCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_methodCount, doc_QMetaObject_methodCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_enumeratorCount, "enumeratorCount(self) -> int");

extern "C" {static PyObject *meth_QMetaObject_enumeratorCount(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_enumeratorCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->enumeratorCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_enumeratorCount, doc_QMetaObject_enumeratorCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_propertyCount, "propertyCount(self) -> int");

extern "C" {static PyObject *meth_QMetaObject_propertyCount(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_propertyCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->propertyCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_propertyCount, doc_QMetaObject_propertyCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_classInfoCount, "classInfoCount(self) -> int");

extern "C" {static PyObject *meth_QMetaObject_classInfoCount(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_classInfoCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->classInfoCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_classInfoCount, doc_QMetaObject_classInfoCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_indexOfMethod, "indexOfMethod(self, str) -> int");

extern "C" {static PyObject *meth_QMetaObject_indexOfMethod(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_indexOfMethod(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMetaObject, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOfMethod(a0);
            Py_DECREF(a0Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_indexOfMethod, doc_QMetaObject_indexOfMethod);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_indexOfSignal, "indexOfSignal(self, str) -> int");

extern "C" {static PyObject *meth_QMetaObject_indexOfSignal(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_indexOfSignal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMetaObject, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOfSignal(a0);
            Py_DECREF(a0Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_indexOfSignal, doc_QMetaObject_indexOfSignal);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_indexOfSlot, "indexOfSlot(self, str) -> int");

extern "C" {static PyObject *meth_QMetaObject_indexOfSlot(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_indexOfSlot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMetaObject, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOfSlot(a0);
            Py_DECREF(a0Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_indexOfSlot, doc_QMetaObject_indexOfSlot);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_indexOfEnumerator, "indexOfEnumerator(self, str) -> int");

extern "C" {static PyObject *meth_QMetaObject_indexOfEnumerator(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_indexOfEnumerator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMetaObject, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOfEnumerator(a0);
            Py_DECREF(a0Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_indexOfEnumerator, doc_QMetaObject_indexOfEnumerator);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_indexOfProperty, "indexOfProperty(self, str) -> int");

extern "C" {static PyObject *meth_QMetaObject_indexOfProperty(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_indexOfProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMetaObject, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOfProperty(a0);
            Py_DECREF(a0Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_indexOfProperty, doc_QMetaObject_indexOfProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_indexOfClassInfo, "indexOfClassInfo(self, str) -> int");

extern "C" {static PyObject *meth_QMetaObject_indexOfClassInfo(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_indexOfClassInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMetaObject, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOfClassInfo(a0);
            Py_DECREF(a0Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_indexOfClassInfo, doc_QMetaObject_indexOfClassInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_method, "method(self, int) -> QMetaMethod");

extern "C" {static PyObject *meth_QMetaObject_method(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_method(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMetaObject, &sipCpp, &a0))
        {
             ::QMetaMethod*sipRes;

            sipRes = new  ::QMetaMethod(sipCpp->method(a0));

            return sipConvertFromNewType(sipRes,sipType_QMetaMethod,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_method, doc_QMetaObject_method);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_enumerator, "enumerator(self, int) -> QMetaEnum");

extern "C" {static PyObject *meth_QMetaObject_enumerator(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_enumerator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMetaObject, &sipCpp, &a0))
        {
             ::QMetaEnum*sipRes;

            sipRes = new  ::QMetaEnum(sipCpp->enumerator(a0));

            return sipConvertFromNewType(sipRes,sipType_QMetaEnum,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_enumerator, doc_QMetaObject_enumerator);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_property, "property(self, int) -> QMetaProperty");

extern "C" {static PyObject *meth_QMetaObject_property(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_property(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMetaObject, &sipCpp, &a0))
        {
             ::QMetaProperty*sipRes;

            sipRes = new  ::QMetaProperty(sipCpp->property(a0));

            return sipConvertFromNewType(sipRes,sipType_QMetaProperty,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_property, doc_QMetaObject_property);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_classInfo, "classInfo(self, int) -> QMetaClassInfo");

extern "C" {static PyObject *meth_QMetaObject_classInfo(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_classInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMetaObject, &sipCpp, &a0))
        {
             ::QMetaClassInfo*sipRes;

            sipRes = new  ::QMetaClassInfo(sipCpp->classInfo(a0));

            return sipConvertFromNewType(sipRes,sipType_QMetaClassInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_classInfo, doc_QMetaObject_classInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_checkConnectArgs, "checkConnectArgs(str, str) -> bool\n"
    "checkConnectArgs(QMetaMethod, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMetaObject_checkConnectArgs(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_checkConnectArgs(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AAAA", &a0Keep, &a0, &a1Keep, &a1))
        {
            bool sipRes;

            sipRes =  ::QMetaObject::checkConnectArgs(a0,a1);
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QMetaMethod* a0;
        const  ::QMetaMethod* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9", sipType_QMetaMethod, &a0, sipType_QMetaMethod, &a1))
        {
            bool sipRes;

            sipRes =  ::QMetaObject::checkConnectArgs(*a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_checkConnectArgs, doc_QMetaObject_checkConnectArgs);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_connectSlotsByName, "connectSlotsByName(QObject)");

extern "C" {static PyObject *meth_QMetaObject_connectSlotsByName(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_connectSlotsByName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        PyObject *a0Wrapper;

        if (sipParseArgs(&sipParseErr, sipArgs, "@J8", &a0Wrapper, sipType_QObject, &a0))
        {
#line 61 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
        qpycore_qmetaobject_connectslotsbyname(a0, a0Wrapper);
#line 93621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_connectSlotsByName, doc_QMetaObject_connectSlotsByName);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_normalizedSignature, "normalizedSignature(str) -> QByteArray");

extern "C" {static PyObject *meth_QMetaObject_normalizedSignature(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_normalizedSignature(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QMetaObject::normalizedSignature(a0));
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_normalizedSignature, doc_QMetaObject_normalizedSignature);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_normalizedType, "normalizedType(str) -> QByteArray");

extern "C" {static PyObject *meth_QMetaObject_normalizedType(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_normalizedType(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QMetaObject::normalizedType(a0));
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_normalizedType, doc_QMetaObject_normalizedType);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_invokeMethod, "invokeMethod(QObject, str, Qt.ConnectionType, QGenericReturnArgument, value0: QGenericArgument = QGenericArgument(0,0), value1: QGenericArgument = QGenericArgument(0,0), value2: QGenericArgument = QGenericArgument(0,0), value3: QGenericArgument = QGenericArgument(0,0), value4: QGenericArgument = QGenericArgument(0,0), value5: QGenericArgument = QGenericArgument(0,0), value6: QGenericArgument = QGenericArgument(0,0), value7: QGenericArgument = QGenericArgument(0,0), value8: QGenericArgument = QGenericArgument(0,0), value9: QGenericArgument = QGenericArgument(0,0)) -> object\n"
    "invokeMethod(QObject, str, QGenericReturnArgument, value0: QGenericArgument = QGenericArgument(0,0), value1: QGenericArgument = QGenericArgument(0,0), value2: QGenericArgument = QGenericArgument(0,0), value3: QGenericArgument = QGenericArgument(0,0), value4: QGenericArgument = QGenericArgument(0,0), value5: QGenericArgument = QGenericArgument(0,0), value6: QGenericArgument = QGenericArgument(0,0), value7: QGenericArgument = QGenericArgument(0,0), value8: QGenericArgument = QGenericArgument(0,0), value9: QGenericArgument = QGenericArgument(0,0)) -> object\n"
    "invokeMethod(QObject, str, Qt.ConnectionType, value0: QGenericArgument = QGenericArgument(0,0), value1: QGenericArgument = QGenericArgument(0,0), value2: QGenericArgument = QGenericArgument(0,0), value3: QGenericArgument = QGenericArgument(0,0), value4: QGenericArgument = QGenericArgument(0,0), value5: QGenericArgument = QGenericArgument(0,0), value6: QGenericArgument = QGenericArgument(0,0), value7: QGenericArgument = QGenericArgument(0,0), value8: QGenericArgument = QGenericArgument(0,0), value9: QGenericArgument = QGenericArgument(0,0)) -> object\n"
    "invokeMethod(QObject, str, value0: QGenericArgument = QGenericArgument(0,0), value1: QGenericArgument = QGenericArgument(0,0), value2: QGenericArgument = QGenericArgument(0,0), value3: QGenericArgument = QGenericArgument(0,0), value4: QGenericArgument = QGenericArgument(0,0), value5: QGenericArgument = QGenericArgument(0,0), value6: QGenericArgument = QGenericArgument(0,0), value7: QGenericArgument = QGenericArgument(0,0), value8: QGenericArgument = QGenericArgument(0,0), value9: QGenericArgument = QGenericArgument(0,0)) -> object");

extern "C" {static PyObject *meth_QMetaObject_invokeMethod(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_invokeMethod(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        const char* a1;
        PyObject *a1Keep;
         ::Qt::ConnectionType a2;
         ::QGenericReturnArgument* a3;
        PyObject *a3Wrapper;
         ::QGenericArgument a4def = QGenericArgument(0,0);
         ::QGenericArgument* a4 = &a4def;
         ::QGenericArgument a5def = QGenericArgument(0,0);
         ::QGenericArgument* a5 = &a5def;
         ::QGenericArgument a6def = QGenericArgument(0,0);
         ::QGenericArgument* a6 = &a6def;
         ::QGenericArgument a7def = QGenericArgument(0,0);
         ::QGenericArgument* a7 = &a7def;
         ::QGenericArgument a8def = QGenericArgument(0,0);
         ::QGenericArgument* a8 = &a8def;
         ::QGenericArgument a9def = QGenericArgument(0,0);
         ::QGenericArgument* a9 = &a9def;
         ::QGenericArgument a10def = QGenericArgument(0,0);
         ::QGenericArgument* a10 = &a10def;
         ::QGenericArgument a11def = QGenericArgument(0,0);
         ::QGenericArgument* a11 = &a11def;
         ::QGenericArgument a12def = QGenericArgument(0,0);
         ::QGenericArgument* a12 = &a12def;
         ::QGenericArgument a13def = QGenericArgument(0,0);
         ::QGenericArgument* a13 = &a13def;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_value0,
            sipName_value1,
            sipName_value2,
            sipName_value3,
            sipName_value4,
            sipName_value5,
            sipName_value6,
            sipName_value7,
            sipName_value8,
            sipName_value9,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8AAE@J9|J9J9J9J9J9J9J9J9J9J9", sipType_QObject, &a0, &a1Keep, &a1, sipType_Qt_ConnectionType, &a2, &a3Wrapper, sipType_QGenericReturnArgument, &a3, sipType_QGenericArgument, &a4, sipType_QGenericArgument, &a5, sipType_QGenericArgument, &a6, sipType_QGenericArgument, &a7, sipType_QGenericArgument, &a8, sipType_QGenericArgument, &a9, sipType_QGenericArgument, &a10, sipType_QGenericArgument, &a11, sipType_QGenericArgument, &a12, sipType_QGenericArgument, &a13))
        {
            PyObject * sipRes = 0;

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
        // Raise an exception if the call failed.
        bool ok;
        
        Py_BEGIN_ALLOW_THREADS
        ok = QMetaObject::invokeMethod(a0,a1,a2,*a3,*a4,*a5,*a6,*a7,*a8,*a9,*a10,*a11,*a12,*a13);
        Py_END_ALLOW_THREADS
        
        if (ok)
            sipRes = qpycore_ReturnValue(a3Wrapper);
        else
            qtcore_invokeMethod_exception();
#line 93770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a1Keep);

            return sipRes;
        }
    }

    {
         ::QObject* a0;
        const char* a1;
        PyObject *a1Keep;
         ::QGenericReturnArgument* a2;
        PyObject *a2Wrapper;
         ::QGenericArgument a3def = QGenericArgument(0,0);
         ::QGenericArgument* a3 = &a3def;
         ::QGenericArgument a4def = QGenericArgument(0,0);
         ::QGenericArgument* a4 = &a4def;
         ::QGenericArgument a5def = QGenericArgument(0,0);
         ::QGenericArgument* a5 = &a5def;
         ::QGenericArgument a6def = QGenericArgument(0,0);
         ::QGenericArgument* a6 = &a6def;
         ::QGenericArgument a7def = QGenericArgument(0,0);
         ::QGenericArgument* a7 = &a7def;
         ::QGenericArgument a8def = QGenericArgument(0,0);
         ::QGenericArgument* a8 = &a8def;
         ::QGenericArgument a9def = QGenericArgument(0,0);
         ::QGenericArgument* a9 = &a9def;
         ::QGenericArgument a10def = QGenericArgument(0,0);
         ::QGenericArgument* a10 = &a10def;
         ::QGenericArgument a11def = QGenericArgument(0,0);
         ::QGenericArgument* a11 = &a11def;
         ::QGenericArgument a12def = QGenericArgument(0,0);
         ::QGenericArgument* a12 = &a12def;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_value0,
            sipName_value1,
            sipName_value2,
            sipName_value3,
            sipName_value4,
            sipName_value5,
            sipName_value6,
            sipName_value7,
            sipName_value8,
            sipName_value9,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8AA@J9|J9J9J9J9J9J9J9J9J9J9", sipType_QObject, &a0, &a1Keep, &a1, &a2Wrapper, sipType_QGenericReturnArgument, &a2, sipType_QGenericArgument, &a3, sipType_QGenericArgument, &a4, sipType_QGenericArgument, &a5, sipType_QGenericArgument, &a6, sipType_QGenericArgument, &a7, sipType_QGenericArgument, &a8, sipType_QGenericArgument, &a9, sipType_QGenericArgument, &a10, sipType_QGenericArgument, &a11, sipType_QGenericArgument, &a12))
        {
            PyObject * sipRes = 0;

#line 83 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
        // Raise an exception if the call failed.
        bool ok;
        
        Py_BEGIN_ALLOW_THREADS
        ok = QMetaObject::invokeMethod(a0,a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8,*a9,*a10,*a11,*a12);
        Py_END_ALLOW_THREADS
        
        if (ok)
            sipRes = qpycore_ReturnValue(a2Wrapper);
        else
            qtcore_invokeMethod_exception();
#line 93836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a1Keep);

            return sipRes;
        }
    }

    {
         ::QObject* a0;
        const char* a1;
        PyObject *a1Keep;
         ::Qt::ConnectionType a2;
         ::QGenericArgument a3def = QGenericArgument(0,0);
         ::QGenericArgument* a3 = &a3def;
         ::QGenericArgument a4def = QGenericArgument(0,0);
         ::QGenericArgument* a4 = &a4def;
         ::QGenericArgument a5def = QGenericArgument(0,0);
         ::QGenericArgument* a5 = &a5def;
         ::QGenericArgument a6def = QGenericArgument(0,0);
         ::QGenericArgument* a6 = &a6def;
         ::QGenericArgument a7def = QGenericArgument(0,0);
         ::QGenericArgument* a7 = &a7def;
         ::QGenericArgument a8def = QGenericArgument(0,0);
         ::QGenericArgument* a8 = &a8def;
         ::QGenericArgument a9def = QGenericArgument(0,0);
         ::QGenericArgument* a9 = &a9def;
         ::QGenericArgument a10def = QGenericArgument(0,0);
         ::QGenericArgument* a10 = &a10def;
         ::QGenericArgument a11def = QGenericArgument(0,0);
         ::QGenericArgument* a11 = &a11def;
         ::QGenericArgument a12def = QGenericArgument(0,0);
         ::QGenericArgument* a12 = &a12def;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_value0,
            sipName_value1,
            sipName_value2,
            sipName_value3,
            sipName_value4,
            sipName_value5,
            sipName_value6,
            sipName_value7,
            sipName_value8,
            sipName_value9,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8AAE|J9J9J9J9J9J9J9J9J9J9", sipType_QObject, &a0, &a1Keep, &a1, sipType_Qt_ConnectionType, &a2, sipType_QGenericArgument, &a3, sipType_QGenericArgument, &a4, sipType_QGenericArgument, &a5, sipType_QGenericArgument, &a6, sipType_QGenericArgument, &a7, sipType_QGenericArgument, &a8, sipType_QGenericArgument, &a9, sipType_QGenericArgument, &a10, sipType_QGenericArgument, &a11, sipType_QGenericArgument, &a12))
        {
            PyObject * sipRes = 0;

#line 98 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
        // Raise an exception if the call failed.
        bool ok;
        
        Py_BEGIN_ALLOW_THREADS
        ok = QMetaObject::invokeMethod(a0,a1,a2,*a3,*a4,*a5,*a6,*a7,*a8,*a9,*a10,*a11,*a12);
        Py_END_ALLOW_THREADS
        
        if (ok)
        {
            Py_INCREF(Py_None);
            sipRes = Py_None;
        }
        else
            qtcore_invokeMethod_exception();
#line 93904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a1Keep);

            return sipRes;
        }
    }

    {
         ::QObject* a0;
        const char* a1;
        PyObject *a1Keep;
         ::QGenericArgument a2def = QGenericArgument(0,0);
         ::QGenericArgument* a2 = &a2def;
         ::QGenericArgument a3def = QGenericArgument(0,0);
         ::QGenericArgument* a3 = &a3def;
         ::QGenericArgument a4def = QGenericArgument(0,0);
         ::QGenericArgument* a4 = &a4def;
         ::QGenericArgument a5def = QGenericArgument(0,0);
         ::QGenericArgument* a5 = &a5def;
         ::QGenericArgument a6def = QGenericArgument(0,0);
         ::QGenericArgument* a6 = &a6def;
         ::QGenericArgument a7def = QGenericArgument(0,0);
         ::QGenericArgument* a7 = &a7def;
         ::QGenericArgument a8def = QGenericArgument(0,0);
         ::QGenericArgument* a8 = &a8def;
         ::QGenericArgument a9def = QGenericArgument(0,0);
         ::QGenericArgument* a9 = &a9def;
         ::QGenericArgument a10def = QGenericArgument(0,0);
         ::QGenericArgument* a10 = &a10def;
         ::QGenericArgument a11def = QGenericArgument(0,0);
         ::QGenericArgument* a11 = &a11def;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_value0,
            sipName_value1,
            sipName_value2,
            sipName_value3,
            sipName_value4,
            sipName_value5,
            sipName_value6,
            sipName_value7,
            sipName_value8,
            sipName_value9,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8AA|J9J9J9J9J9J9J9J9J9J9", sipType_QObject, &a0, &a1Keep, &a1, sipType_QGenericArgument, &a2, sipType_QGenericArgument, &a3, sipType_QGenericArgument, &a4, sipType_QGenericArgument, &a5, sipType_QGenericArgument, &a6, sipType_QGenericArgument, &a7, sipType_QGenericArgument, &a8, sipType_QGenericArgument, &a9, sipType_QGenericArgument, &a10, sipType_QGenericArgument, &a11))
        {
            PyObject * sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
        // Raise an exception if the call failed.
        bool ok;
        
        Py_BEGIN_ALLOW_THREADS
        ok = QMetaObject::invokeMethod(a0,a1,*a2,*a3,*a4,*a5,*a6,*a7,*a8,*a9,*a10,*a11);
        Py_END_ALLOW_THREADS
        
        if (ok)
        {
            Py_INCREF(Py_None);
            sipRes = Py_None;
        }
        else
            qtcore_invokeMethod_exception();
#line 93970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a1Keep);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_invokeMethod, doc_QMetaObject_invokeMethod);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_constructorCount, "constructorCount(self) -> int");

extern "C" {static PyObject *meth_QMetaObject_constructorCount(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_constructorCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->constructorCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_constructorCount, doc_QMetaObject_constructorCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_indexOfConstructor, "indexOfConstructor(self, str) -> int");

extern "C" {static PyObject *meth_QMetaObject_indexOfConstructor(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_indexOfConstructor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMetaObject, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOfConstructor(a0);
            Py_DECREF(a0Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_indexOfConstructor, doc_QMetaObject_indexOfConstructor);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_constructor, "constructor(self, int) -> QMetaMethod");

extern "C" {static PyObject *meth_QMetaObject_constructor(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_constructor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMetaObject, &sipCpp, &a0))
        {
             ::QMetaMethod*sipRes;

            sipRes = new  ::QMetaMethod(sipCpp->constructor(a0));

            return sipConvertFromNewType(sipRes,sipType_QMetaMethod,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_constructor, doc_QMetaObject_constructor);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaObject_inherits, "inherits(self, QMetaObject) -> bool");

extern "C" {static PyObject *meth_QMetaObject_inherits(PyObject *, PyObject *);}
static PyObject *meth_QMetaObject_inherits(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaObject* a0;
        const  ::QMetaObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMetaObject, &sipCpp, sipType_QMetaObject, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->inherits(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaObject, sipName_inherits, doc_QMetaObject_inherits);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMetaObject(void *, int);}
static void release_QMetaObject(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMetaObject *>(sipCppV);
}


extern "C" {static void assign_QMetaObject(void *, SIP_SSIZE_T, const void *);}
static void assign_QMetaObject(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMetaObject *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMetaObject *>(sipSrc);
}


extern "C" {static void *array_QMetaObject(SIP_SSIZE_T);}
static void *array_QMetaObject(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMetaObject[sipNrElem];
}


extern "C" {static void *copy_QMetaObject(const void *, SIP_SSIZE_T);}
static void *copy_QMetaObject(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMetaObject(reinterpret_cast<const  ::QMetaObject *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMetaObject(sipSimpleWrapper *);}
static void dealloc_QMetaObject(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMetaObject(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMetaObject(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMetaObject(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMetaObject *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMetaObject();

            return sipCpp;
        }
    }

    {
        const  ::QMetaObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaObject, &a0))
        {
            sipCpp = new  ::QMetaObject(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMetaObject[] = {
    {SIP_MLNAME_CAST(sipName_checkConnectArgs), meth_QMetaObject_checkConnectArgs, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_checkConnectArgs)},
    {SIP_MLNAME_CAST(sipName_classInfo), meth_QMetaObject_classInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_classInfo)},
    {SIP_MLNAME_CAST(sipName_classInfoCount), meth_QMetaObject_classInfoCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_classInfoCount)},
    {SIP_MLNAME_CAST(sipName_classInfoOffset), meth_QMetaObject_classInfoOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_classInfoOffset)},
    {SIP_MLNAME_CAST(sipName_className), meth_QMetaObject_className, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_className)},
    {SIP_MLNAME_CAST(sipName_connectSlotsByName), meth_QMetaObject_connectSlotsByName, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_connectSlotsByName)},
    {SIP_MLNAME_CAST(sipName_constructor), meth_QMetaObject_constructor, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_constructor)},
    {SIP_MLNAME_CAST(sipName_constructorCount), meth_QMetaObject_constructorCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_constructorCount)},
    {SIP_MLNAME_CAST(sipName_enumerator), meth_QMetaObject_enumerator, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_enumerator)},
    {SIP_MLNAME_CAST(sipName_enumeratorCount), meth_QMetaObject_enumeratorCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_enumeratorCount)},
    {SIP_MLNAME_CAST(sipName_enumeratorOffset), meth_QMetaObject_enumeratorOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_enumeratorOffset)},
    {SIP_MLNAME_CAST(sipName_indexOfClassInfo), meth_QMetaObject_indexOfClassInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_indexOfClassInfo)},
    {SIP_MLNAME_CAST(sipName_indexOfConstructor), meth_QMetaObject_indexOfConstructor, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_indexOfConstructor)},
    {SIP_MLNAME_CAST(sipName_indexOfEnumerator), meth_QMetaObject_indexOfEnumerator, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_indexOfEnumerator)},
    {SIP_MLNAME_CAST(sipName_indexOfMethod), meth_QMetaObject_indexOfMethod, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_indexOfMethod)},
    {SIP_MLNAME_CAST(sipName_indexOfProperty), meth_QMetaObject_indexOfProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_indexOfProperty)},
    {SIP_MLNAME_CAST(sipName_indexOfSignal), meth_QMetaObject_indexOfSignal, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_indexOfSignal)},
    {SIP_MLNAME_CAST(sipName_indexOfSlot), meth_QMetaObject_indexOfSlot, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_indexOfSlot)},
    {SIP_MLNAME_CAST(sipName_inherits), meth_QMetaObject_inherits, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_inherits)},
    {SIP_MLNAME_CAST(sipName_invokeMethod), (PyCFunction)meth_QMetaObject_invokeMethod, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMetaObject_invokeMethod)},
    {SIP_MLNAME_CAST(sipName_method), meth_QMetaObject_method, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_method)},
    {SIP_MLNAME_CAST(sipName_methodCount), meth_QMetaObject_methodCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_methodCount)},
    {SIP_MLNAME_CAST(sipName_methodOffset), meth_QMetaObject_methodOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_methodOffset)},
    {SIP_MLNAME_CAST(sipName_normalizedSignature), meth_QMetaObject_normalizedSignature, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_normalizedSignature)},
    {SIP_MLNAME_CAST(sipName_normalizedType), meth_QMetaObject_normalizedType, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_normalizedType)},
    {SIP_MLNAME_CAST(sipName_property), meth_QMetaObject_property, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_property)},
    {SIP_MLNAME_CAST(sipName_propertyCount), meth_QMetaObject_propertyCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_propertyCount)},
    {SIP_MLNAME_CAST(sipName_propertyOffset), meth_QMetaObject_propertyOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_propertyOffset)},
    {SIP_MLNAME_CAST(sipName_superClass), meth_QMetaObject_superClass, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_superClass)},
    {SIP_MLNAME_CAST(sipName_userProperty), meth_QMetaObject_userProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaObject_userProperty)}
};

PyDoc_STRVAR(doc_QMetaObject, "\1QMetaObject()\n"
    "QMetaObject(QMetaObject)");


static pyqt5ClassPluginDef plugin_QMetaObject = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMetaObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMetaObject,
        {0},
        &plugin_QMetaObject
    },
    {
        sipNameNr_QMetaObject,
        {0, 0, 1},
        30, methods_QMetaObject,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaObject,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMetaObject,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMetaObject,
    assign_QMetaObject,
    array_QMetaObject,
    copy_QMetaObject,
    release_QMetaObject,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectcleanuphandler.sip"
#include <qobjectcleanuphandler.h>
#line 94266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 94270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 94273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 94276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 94279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 94282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 94285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 94288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 94291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 94294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 94297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 94300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 94303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 94306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 94309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 94312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 94315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQObjectCleanupHandler : public  ::QObjectCleanupHandler
{
public:
    sipQObjectCleanupHandler();
    virtual ~sipQObjectCleanupHandler();

    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 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:
    sipQObjectCleanupHandler(const sipQObjectCleanupHandler &);
    sipQObjectCleanupHandler &operator = (const sipQObjectCleanupHandler &);

    char sipPyMethods[7];
};

sipQObjectCleanupHandler::sipQObjectCleanupHandler():  ::QObjectCleanupHandler(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQObjectCleanupHandler::~sipQObjectCleanupHandler()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQObjectCleanupHandler::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QObjectCleanupHandler);

    return  ::QObjectCleanupHandler::metaObject();
}

int sipQObjectCleanupHandler::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QObjectCleanupHandler::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QObjectCleanupHandler,_c,_id,_a);

    return _id;
}

void *sipQObjectCleanupHandler::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QObjectCleanupHandler, _clname, &sipCpp) ? sipCpp :  ::QObjectCleanupHandler::qt_metacast(_clname));
}

bool sipQObjectCleanupHandler::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QObjectCleanupHandler::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQObjectCleanupHandler::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QObjectCleanupHandler::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQObjectCleanupHandler::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QObjectCleanupHandler::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQObjectCleanupHandler::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QObjectCleanupHandler::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQObjectCleanupHandler::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QObjectCleanupHandler::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQObjectCleanupHandler::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QObjectCleanupHandler::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQObjectCleanupHandler::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QObjectCleanupHandler::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQObjectCleanupHandler::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQObjectCleanupHandler::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQObjectCleanupHandler::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQObjectCleanupHandler::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQObjectCleanupHandler::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQObjectCleanupHandler::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQObjectCleanupHandler::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQObjectCleanupHandler::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQObjectCleanupHandler::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QObjectCleanupHandler_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QObjectCleanupHandler, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 94609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObjectCleanupHandler, sipName_sender, doc_QObjectCleanupHandler_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QObjectCleanupHandler_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QObjectCleanupHandler, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 94669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QObjectCleanupHandler, sipName_receivers, doc_QObjectCleanupHandler_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QObjectCleanupHandler_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QObjectCleanupHandler, &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_QObjectCleanupHandler, sipName_timerEvent, doc_QObjectCleanupHandler_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QObjectCleanupHandler_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QObjectCleanupHandler, &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_QObjectCleanupHandler, sipName_childEvent, doc_QObjectCleanupHandler_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QObjectCleanupHandler_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QObjectCleanupHandler, &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_QObjectCleanupHandler, sipName_customEvent, doc_QObjectCleanupHandler_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QObjectCleanupHandler_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QObjectCleanupHandler, &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_QObjectCleanupHandler, sipName_connectNotify, doc_QObjectCleanupHandler_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QObjectCleanupHandler_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QObjectCleanupHandler, &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_QObjectCleanupHandler, sipName_disconnectNotify, doc_QObjectCleanupHandler_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QObjectCleanupHandler_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QObjectCleanupHandler, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObjectCleanupHandler, sipName_senderSignalIndex, doc_QObjectCleanupHandler_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QObjectCleanupHandler_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQObjectCleanupHandler *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QObjectCleanupHandler, &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_QObjectCleanupHandler, sipName_isSignalConnected, doc_QObjectCleanupHandler_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_add, "add(self, QObject) -> QObject");

extern "C" {static PyObject *meth_QObjectCleanupHandler_add(PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_add(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::QObjectCleanupHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QObjectCleanupHandler, &sipCpp, sipType_QObject, &a0))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->add(a0);

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObjectCleanupHandler, sipName_add, doc_QObjectCleanupHandler_add);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_remove, "remove(self, QObject)");

extern "C" {static PyObject *meth_QObjectCleanupHandler_remove(PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::QObjectCleanupHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QObjectCleanupHandler, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->remove(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObjectCleanupHandler, sipName_remove, doc_QObjectCleanupHandler_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QObjectCleanupHandler_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObjectCleanupHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObjectCleanupHandler, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObjectCleanupHandler, sipName_isEmpty, doc_QObjectCleanupHandler_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QObjectCleanupHandler_clear, "clear(self)");

extern "C" {static PyObject *meth_QObjectCleanupHandler_clear(PyObject *, PyObject *);}
static PyObject *meth_QObjectCleanupHandler_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObjectCleanupHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObjectCleanupHandler, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObjectCleanupHandler, sipName_clear, doc_QObjectCleanupHandler_clear);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QObjectCleanupHandler(void *, const sipTypeDef *);}
static void *cast_QObjectCleanupHandler(void *sipCppV, const sipTypeDef *targetType)
{
     ::QObjectCleanupHandler *sipCpp = reinterpret_cast< ::QObjectCleanupHandler *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QObjectCleanupHandler(void *, int);}
static void release_QObjectCleanupHandler(void *sipCppV, int)
{
     ::QObjectCleanupHandler *sipCpp = reinterpret_cast< ::QObjectCleanupHandler *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QObjectCleanupHandler(sipSimpleWrapper *);}
static void dealloc_QObjectCleanupHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQObjectCleanupHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QObjectCleanupHandler(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QObjectCleanupHandler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QObjectCleanupHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQObjectCleanupHandler *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQObjectCleanupHandler();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QObjectCleanupHandler[] = {{169, 255, 1}};


static PyMethodDef methods_QObjectCleanupHandler[] = {
    {SIP_MLNAME_CAST(sipName_add), meth_QObjectCleanupHandler_add, METH_VARARGS, SIP_MLDOC_CAST(doc_QObjectCleanupHandler_add)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QObjectCleanupHandler_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QObjectCleanupHandler_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QObjectCleanupHandler_clear)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QObjectCleanupHandler_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QObjectCleanupHandler_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QObjectCleanupHandler_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QObjectCleanupHandler_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QObjectCleanupHandler_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QObjectCleanupHandler_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QObjectCleanupHandler_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_QObjectCleanupHandler_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QObjectCleanupHandler_remove)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QObjectCleanupHandler_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QObjectCleanupHandler_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QObjectCleanupHandler_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QObjectCleanupHandler, "\1QObjectCleanupHandler()");


static pyqt5ClassPluginDef plugin_QObjectCleanupHandler = {
    & ::QObjectCleanupHandler::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QObjectCleanupHandler = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QObjectCleanupHandler,
        {0},
        &plugin_QObjectCleanupHandler
    },
    {
        sipNameNr_QObjectCleanupHandler,
        {0, 0, 1},
        13, methods_QObjectCleanupHandler,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QObjectCleanupHandler,
    -1,
    -1,
    supers_QObjectCleanupHandler,
    0,
    init_type_QObjectCleanupHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QObjectCleanupHandler,
    0,
    0,
    0,
    release_QObjectCleanupHandler,
    cast_QObjectCleanupHandler,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 95146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 95150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QSignalBlocker_reblock, "reblock(self)");

extern "C" {static PyObject *meth_QSignalBlocker_reblock(PyObject *, PyObject *);}
static PyObject *meth_QSignalBlocker_reblock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSignalBlocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSignalBlocker, &sipCpp))
        {
            sipCpp->reblock();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalBlocker, sipName_reblock, doc_QSignalBlocker_reblock);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalBlocker_unblock, "unblock(self)");

extern "C" {static PyObject *meth_QSignalBlocker_unblock(PyObject *, PyObject *);}
static PyObject *meth_QSignalBlocker_unblock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSignalBlocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSignalBlocker, &sipCpp))
        {
            sipCpp->unblock();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalBlocker, sipName_unblock, doc_QSignalBlocker_unblock);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalBlocker___enter__, "__enter__(self) -> object");

extern "C" {static PyObject *meth_QSignalBlocker___enter__(PyObject *, PyObject *);}
static PyObject *meth_QSignalBlocker___enter__(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QSignalBlocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSignalBlocker, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 95226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalBlocker, sipName___enter__, doc_QSignalBlocker___enter__);

    return NULL;
}


PyDoc_STRVAR(doc_QSignalBlocker___exit__, "__exit__(self, object, object, object)");

extern "C" {static PyObject *meth_QSignalBlocker___exit__(PyObject *, PyObject *);}
static PyObject *meth_QSignalBlocker___exit__(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        PyObject * a1;
        PyObject * a2;
         ::QSignalBlocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0P0P0", &sipSelf, sipType_QSignalBlocker, &sipCpp, &a0, &a1, &a2))
        {
#line 711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipCpp->unblock();
#line 95257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSignalBlocker, sipName___exit__, doc_QSignalBlocker___exit__);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSignalBlocker(void *, int);}
static void release_QSignalBlocker(void *sipCppV, int)
{
    delete reinterpret_cast< ::QSignalBlocker *>(sipCppV);
}


extern "C" {static void dealloc_QSignalBlocker(sipSimpleWrapper *);}
static void dealloc_QSignalBlocker(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QSignalBlocker(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QSignalBlocker(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSignalBlocker(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QSignalBlocker *sipCpp = 0;

    {
         ::QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QObject, &a0))
        {
            sipCpp = new  ::QSignalBlocker(a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QSignalBlocker[] = {
    {SIP_MLNAME_CAST(sipName___enter__), meth_QSignalBlocker___enter__, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalBlocker___enter__)},
    {SIP_MLNAME_CAST(sipName___exit__), meth_QSignalBlocker___exit__, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalBlocker___exit__)},
    {SIP_MLNAME_CAST(sipName_reblock), meth_QSignalBlocker_reblock, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalBlocker_reblock)},
    {SIP_MLNAME_CAST(sipName_unblock), meth_QSignalBlocker_unblock, METH_VARARGS, SIP_MLDOC_CAST(doc_QSignalBlocker_unblock)}
};

PyDoc_STRVAR(doc_QSignalBlocker, "\1QSignalBlocker(QObject)");


static pyqt5ClassPluginDef plugin_QSignalBlocker = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QSignalBlocker = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QSignalBlocker,
        {0},
        &plugin_QSignalBlocker
    },
    {
        sipNameNr_QSignalBlocker,
        {0, 0, 1},
        4, methods_QSignalBlocker,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSignalBlocker,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QSignalBlocker,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSignalBlocker,
    0,
    0,
    0,
    release_QSignalBlocker,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 54 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 95379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QMutex_lock, "lock(self)");

extern "C" {static PyObject *meth_QMutex_lock(PyObject *, PyObject *);}
static PyObject *meth_QMutex_lock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMutex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMutex, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->lock();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMutex, sipName_lock, doc_QMutex_lock);

    return NULL;
}


PyDoc_STRVAR(doc_QMutex_tryLock, "tryLock(self, timeout: int = 0) -> bool");

extern "C" {static PyObject *meth_QMutex_tryLock(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMutex_tryLock(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
         ::QMutex *sipCpp;

        static const char *sipKwdList[] = {
            sipName_timeout,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QMutex, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tryLock(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMutex, sipName_tryLock, doc_QMutex_tryLock);

    return NULL;
}


PyDoc_STRVAR(doc_QMutex_unlock, "unlock(self)");

extern "C" {static PyObject *meth_QMutex_unlock(PyObject *, PyObject *);}
static PyObject *meth_QMutex_unlock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMutex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMutex, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unlock();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMutex, sipName_unlock, doc_QMutex_unlock);

    return NULL;
}


PyDoc_STRVAR(doc_QMutex_isRecursive, "isRecursive(self) -> bool");

extern "C" {static PyObject *meth_QMutex_isRecursive(PyObject *, PyObject *);}
static PyObject *meth_QMutex_isRecursive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMutex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMutex, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRecursive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMutex, sipName_isRecursive, doc_QMutex_isRecursive);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMutex(void *, int);}
static void release_QMutex(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMutex *>(sipCppV);
}


extern "C" {static void dealloc_QMutex(sipSimpleWrapper *);}
static void dealloc_QMutex(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMutex(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMutex(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMutex(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMutex *sipCpp = 0;

    {
         ::QMutex::RecursionMode a0 = QMutex::NonRecursive;

        static const char *sipKwdList[] = {
            sipName_mode,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|E", sipType_QMutex_RecursionMode, &a0))
        {
            sipCpp = new  ::QMutex(a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMutex[] = {
    {SIP_MLNAME_CAST(sipName_isRecursive), meth_QMutex_isRecursive, METH_VARARGS, SIP_MLDOC_CAST(doc_QMutex_isRecursive)},
    {SIP_MLNAME_CAST(sipName_lock), meth_QMutex_lock, METH_VARARGS, SIP_MLDOC_CAST(doc_QMutex_lock)},
    {SIP_MLNAME_CAST(sipName_tryLock), (PyCFunction)meth_QMutex_tryLock, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMutex_tryLock)},
    {SIP_MLNAME_CAST(sipName_unlock), meth_QMutex_unlock, METH_VARARGS, SIP_MLDOC_CAST(doc_QMutex_unlock)}
};

static sipEnumMemberDef enummembers_QMutex[] = {
    {sipName_NonRecursive, static_cast<int>( ::QMutex::NonRecursive), 167},
    {sipName_Recursive, static_cast<int>( ::QMutex::Recursive), 167},
};

PyDoc_STRVAR(doc_QMutex, "\1QMutex(mode: QMutex.RecursionMode = QMutex.NonRecursive)");


static pyqt5ClassPluginDef plugin_QMutex = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMutex = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMutex,
        {0},
        &plugin_QMutex
    },
    {
        sipNameNr_QMutex,
        {0, 0, 1},
        4, methods_QMutex,
        2, enummembers_QMutex,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMutex,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMutex,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMutex,
    0,
    0,
    0,
    release_QMutex,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 95621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 54 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmutex.sip"
#include <qmutex.h>
#line 95625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMutexLocker_unlock, "unlock(self)");

extern "C" {static PyObject *meth_QMutexLocker_unlock(PyObject *, PyObject *);}
static PyObject *meth_QMutexLocker_unlock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMutexLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMutexLocker, &sipCpp))
        {
            sipCpp->unlock();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMutexLocker, sipName_unlock, doc_QMutexLocker_unlock);

    return NULL;
}


PyDoc_STRVAR(doc_QMutexLocker_relock, "relock(self)");

extern "C" {static PyObject *meth_QMutexLocker_relock(PyObject *, PyObject *);}
static PyObject *meth_QMutexLocker_relock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMutexLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMutexLocker, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->relock();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMutexLocker, sipName_relock, doc_QMutexLocker_relock);

    return NULL;
}


PyDoc_STRVAR(doc_QMutexLocker_mutex, "mutex(self) -> QMutex");

extern "C" {static PyObject *meth_QMutexLocker_mutex(PyObject *, PyObject *);}
static PyObject *meth_QMutexLocker_mutex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMutexLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMutexLocker, &sipCpp))
        {
             ::QMutex*sipRes;

            sipRes = sipCpp->mutex();

            return sipConvertFromType(sipRes,sipType_QMutex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMutexLocker, sipName_mutex, doc_QMutexLocker_mutex);

    return NULL;
}


PyDoc_STRVAR(doc_QMutexLocker___enter__, "__enter__(self) -> object");

extern "C" {static PyObject *meth_QMutexLocker___enter__(PyObject *, PyObject *);}
static PyObject *meth_QMutexLocker___enter__(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMutexLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMutexLocker, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 37 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmutex.sip"
        // Just return a reference to self.
        sipRes = sipSelf;
        Py_INCREF(sipRes);
#line 95731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMutexLocker, sipName___enter__, doc_QMutexLocker___enter__);

    return NULL;
}


PyDoc_STRVAR(doc_QMutexLocker___exit__, "__exit__(self, object, object, object)");

extern "C" {static PyObject *meth_QMutexLocker___exit__(PyObject *, PyObject *);}
static PyObject *meth_QMutexLocker___exit__(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        PyObject * a1;
        PyObject * a2;
         ::QMutexLocker *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0P0P0", &sipSelf, sipType_QMutexLocker, &sipCpp, &a0, &a1, &a2))
        {
#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmutex.sip"
        sipCpp->unlock();
#line 95762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMutexLocker, sipName___exit__, doc_QMutexLocker___exit__);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMutexLocker(void *, int);}
static void release_QMutexLocker(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMutexLocker *>(sipCppV);
}


extern "C" {static void dealloc_QMutexLocker(sipSimpleWrapper *);}
static void dealloc_QMutexLocker(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMutexLocker(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMutexLocker(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMutexLocker(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMutexLocker *sipCpp = 0;

    {
         ::QMutex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QMutex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QMutexLocker(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMutexLocker[] = {
    {SIP_MLNAME_CAST(sipName___enter__), meth_QMutexLocker___enter__, METH_VARARGS, SIP_MLDOC_CAST(doc_QMutexLocker___enter__)},
    {SIP_MLNAME_CAST(sipName___exit__), meth_QMutexLocker___exit__, METH_VARARGS, SIP_MLDOC_CAST(doc_QMutexLocker___exit__)},
    {SIP_MLNAME_CAST(sipName_mutex), meth_QMutexLocker_mutex, METH_VARARGS, SIP_MLDOC_CAST(doc_QMutexLocker_mutex)},
    {SIP_MLNAME_CAST(sipName_relock), meth_QMutexLocker_relock, METH_VARARGS, SIP_MLDOC_CAST(doc_QMutexLocker_relock)},
    {SIP_MLNAME_CAST(sipName_unlock), meth_QMutexLocker_unlock, METH_VARARGS, SIP_MLDOC_CAST(doc_QMutexLocker_unlock)}
};

PyDoc_STRVAR(doc_QMutexLocker, "\1QMutexLocker(QMutex)");


static pyqt5ClassPluginDef plugin_QMutexLocker = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMutexLocker = {
    {
        -1,
        0,
        0,
        SIP_TYPE_NONLAZY|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMutexLocker,
        {0},
        &plugin_QMutexLocker
    },
    {
        sipNameNr_QMutexLocker,
        {0, 0, 1},
        5, methods_QMutexLocker,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMutexLocker,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMutexLocker,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMutexLocker,
    0,
    0,
    0,
    release_QMutexLocker,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimetype.sip"
#include <qmimetype.h>
#line 95887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 95891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 95894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMimeType_swap, "swap(self, QMimeType)");

extern "C" {static PyObject *meth_QMimeType_swap(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMimeType* a0;
         ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMimeType, &sipCpp, sipType_QMimeType, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_swap, doc_QMimeType_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QMimeType_isValid(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_isValid, doc_QMimeType_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_isDefault, "isDefault(self) -> bool");

extern "C" {static PyObject *meth_QMimeType_isDefault(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_isDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDefault();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_isDefault, doc_QMimeType_isDefault);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_name, "name(self) -> str");

extern "C" {static PyObject *meth_QMimeType_name(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &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_QMimeType, sipName_name, doc_QMimeType_name);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_comment, "comment(self) -> str");

extern "C" {static PyObject *meth_QMimeType_comment(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_comment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->comment());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_comment, doc_QMimeType_comment);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_genericIconName, "genericIconName(self) -> str");

extern "C" {static PyObject *meth_QMimeType_genericIconName(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_genericIconName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->genericIconName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_genericIconName, doc_QMimeType_genericIconName);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_iconName, "iconName(self) -> str");

extern "C" {static PyObject *meth_QMimeType_iconName(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_iconName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->iconName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_iconName, doc_QMimeType_iconName);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_globPatterns, "globPatterns(self) -> List[str]");

extern "C" {static PyObject *meth_QMimeType_globPatterns(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_globPatterns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->globPatterns());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_globPatterns, doc_QMimeType_globPatterns);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_parentMimeTypes, "parentMimeTypes(self) -> List[str]");

extern "C" {static PyObject *meth_QMimeType_parentMimeTypes(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_parentMimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->parentMimeTypes());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_parentMimeTypes, doc_QMimeType_parentMimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_allAncestors, "allAncestors(self) -> List[str]");

extern "C" {static PyObject *meth_QMimeType_allAncestors(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_allAncestors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->allAncestors());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_allAncestors, doc_QMimeType_allAncestors);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_aliases, "aliases(self) -> List[str]");

extern "C" {static PyObject *meth_QMimeType_aliases(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_aliases(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->aliases());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_aliases, doc_QMimeType_aliases);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_suffixes, "suffixes(self) -> List[str]");

extern "C" {static PyObject *meth_QMimeType_suffixes(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_suffixes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->suffixes());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_suffixes, doc_QMimeType_suffixes);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_preferredSuffix, "preferredSuffix(self) -> str");

extern "C" {static PyObject *meth_QMimeType_preferredSuffix(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_preferredSuffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->preferredSuffix());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_preferredSuffix, doc_QMimeType_preferredSuffix);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_inherits, "inherits(self, str) -> bool");

extern "C" {static PyObject *meth_QMimeType_inherits(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_inherits(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeType, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->inherits(*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_QMimeType, sipName_inherits, doc_QMimeType_inherits);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeType_filterString, "filterString(self) -> str");

extern "C" {static PyObject *meth_QMimeType_filterString(PyObject *, PyObject *);}
static PyObject *meth_QMimeType_filterString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeType, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->filterString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeType, sipName_filterString, doc_QMimeType_filterString);

    return NULL;
}


extern "C" {static long slot_QMimeType___hash__(PyObject *);}
static long slot_QMimeType___hash__(PyObject *sipSelf)
{
     ::QMimeType *sipCpp = reinterpret_cast< ::QMimeType *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMimeType));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 53 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimetype.sip"
        sipRes = qHash(*sipCpp);
#line 96335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMimeType___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMimeType___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMimeType *sipCpp = reinterpret_cast< ::QMimeType *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMimeType));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMimeType, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QMimeType::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QMimeType, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMimeType___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMimeType___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMimeType *sipCpp = reinterpret_cast< ::QMimeType *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMimeType));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeType* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMimeType, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QMimeType::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QMimeType, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QMimeType(void *, int);}
static void release_QMimeType(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMimeType *>(sipCppV);
}


extern "C" {static void assign_QMimeType(void *, SIP_SSIZE_T, const void *);}
static void assign_QMimeType(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMimeType *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMimeType *>(sipSrc);
}


extern "C" {static void *array_QMimeType(SIP_SSIZE_T);}
static void *array_QMimeType(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMimeType[sipNrElem];
}


extern "C" {static void *copy_QMimeType(const void *, SIP_SSIZE_T);}
static void *copy_QMimeType(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMimeType(reinterpret_cast<const  ::QMimeType *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMimeType(sipSimpleWrapper *);}
static void dealloc_QMimeType(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMimeType(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMimeType(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMimeType(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMimeType *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMimeType();

            return sipCpp;
        }
    }

    {
        const  ::QMimeType* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMimeType, &a0))
        {
            sipCpp = new  ::QMimeType(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMimeType[] = {
    {(void *)slot_QMimeType___hash__, hash_slot},
    {(void *)slot_QMimeType___ne__, ne_slot},
    {(void *)slot_QMimeType___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QMimeType[] = {
    {SIP_MLNAME_CAST(sipName_aliases), meth_QMimeType_aliases, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_aliases)},
    {SIP_MLNAME_CAST(sipName_allAncestors), meth_QMimeType_allAncestors, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_allAncestors)},
    {SIP_MLNAME_CAST(sipName_comment), meth_QMimeType_comment, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_comment)},
    {SIP_MLNAME_CAST(sipName_filterString), meth_QMimeType_filterString, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_filterString)},
    {SIP_MLNAME_CAST(sipName_genericIconName), meth_QMimeType_genericIconName, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_genericIconName)},
    {SIP_MLNAME_CAST(sipName_globPatterns), meth_QMimeType_globPatterns, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_globPatterns)},
    {SIP_MLNAME_CAST(sipName_iconName), meth_QMimeType_iconName, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_iconName)},
    {SIP_MLNAME_CAST(sipName_inherits), meth_QMimeType_inherits, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_inherits)},
    {SIP_MLNAME_CAST(sipName_isDefault), meth_QMimeType_isDefault, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_isDefault)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QMimeType_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_isValid)},
    {SIP_MLNAME_CAST(sipName_name), meth_QMimeType_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_name)},
    {SIP_MLNAME_CAST(sipName_parentMimeTypes), meth_QMimeType_parentMimeTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_parentMimeTypes)},
    {SIP_MLNAME_CAST(sipName_preferredSuffix), meth_QMimeType_preferredSuffix, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_preferredSuffix)},
    {SIP_MLNAME_CAST(sipName_suffixes), meth_QMimeType_suffixes, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_suffixes)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QMimeType_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeType_swap)}
};

PyDoc_STRVAR(doc_QMimeType, "\1QMimeType()\n"
    "QMimeType(QMimeType)");


static pyqt5ClassPluginDef plugin_QMimeType = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMimeType = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMimeType,
        {0},
        &plugin_QMimeType
    },
    {
        sipNameNr_QMimeType,
        {0, 0, 1},
        15, methods_QMimeType,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMimeType,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMimeType,
    init_type_QMimeType,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMimeType,
    assign_QMimeType,
    array_QMimeType,
    copy_QMimeType,
    release_QMimeType,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimedatabase.sip"
#include <qmimedatabase.h>
#line 96568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 96572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimetype.sip"
#include <qmimetype.h>
#line 96575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 96578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 96581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 96584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 96587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 96590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMimeDatabase_mimeTypeForName, "mimeTypeForName(self, str) -> QMimeType");

extern "C" {static PyObject *meth_QMimeDatabase_mimeTypeForName(PyObject *, PyObject *);}
static PyObject *meth_QMimeDatabase_mimeTypeForName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMimeDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeDatabase, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QMimeType*sipRes;

            sipRes = new  ::QMimeType(sipCpp->mimeTypeForName(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMimeType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeDatabase, sipName_mimeTypeForName, doc_QMimeDatabase_mimeTypeForName);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeDatabase_mimeTypeForFile, "mimeTypeForFile(self, str, mode: QMimeDatabase.MatchMode = QMimeDatabase.MatchDefault) -> QMimeType\n"
    "mimeTypeForFile(self, QFileInfo, mode: QMimeDatabase.MatchMode = QMimeDatabase.MatchDefault) -> QMimeType");

extern "C" {static PyObject *meth_QMimeDatabase_mimeTypeForFile(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeDatabase_mimeTypeForFile(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QMimeDatabase::MatchMode a1 = QMimeDatabase::MatchDefault;
        const  ::QMimeDatabase *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QMimeDatabase, &sipCpp, sipType_QString,&a0, &a0State, sipType_QMimeDatabase_MatchMode, &a1))
        {
             ::QMimeType*sipRes;

            sipRes = new  ::QMimeType(sipCpp->mimeTypeForFile(*a0,a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMimeType,NULL);
        }
    }

    {
        const  ::QFileInfo* a0;
         ::QMimeDatabase::MatchMode a1 = QMimeDatabase::MatchDefault;
        const  ::QMimeDatabase *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QMimeDatabase, &sipCpp, sipType_QFileInfo, &a0, sipType_QMimeDatabase_MatchMode, &a1))
        {
             ::QMimeType*sipRes;

            sipRes = new  ::QMimeType(sipCpp->mimeTypeForFile(*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QMimeType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeDatabase, sipName_mimeTypeForFile, doc_QMimeDatabase_mimeTypeForFile);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeDatabase_mimeTypesForFileName, "mimeTypesForFileName(self, str) -> object");

extern "C" {static PyObject *meth_QMimeDatabase_mimeTypesForFileName(PyObject *, PyObject *);}
static PyObject *meth_QMimeDatabase_mimeTypesForFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMimeDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeDatabase, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QList< ::QMimeType>*sipRes;

            sipRes = new QList< ::QMimeType>(sipCpp->mimeTypesForFileName(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QMimeType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeDatabase, sipName_mimeTypesForFileName, doc_QMimeDatabase_mimeTypesForFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeDatabase_mimeTypeForData, "mimeTypeForData(self, Union[QByteArray, bytes, bytearray]) -> QMimeType\n"
    "mimeTypeForData(self, QIODevice) -> QMimeType");

extern "C" {static PyObject *meth_QMimeDatabase_mimeTypeForData(PyObject *, PyObject *);}
static PyObject *meth_QMimeDatabase_mimeTypeForData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QMimeDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeDatabase, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
             ::QMimeType*sipRes;

            sipRes = new  ::QMimeType(sipCpp->mimeTypeForData(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMimeType,NULL);
        }
    }

    {
         ::QIODevice* a0;
        const  ::QMimeDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMimeDatabase, &sipCpp, sipType_QIODevice, &a0))
        {
             ::QMimeType*sipRes;

            sipRes = new  ::QMimeType(sipCpp->mimeTypeForData(a0));

            return sipConvertFromNewType(sipRes,sipType_QMimeType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeDatabase, sipName_mimeTypeForData, doc_QMimeDatabase_mimeTypeForData);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeDatabase_mimeTypeForUrl, "mimeTypeForUrl(self, QUrl) -> QMimeType");

extern "C" {static PyObject *meth_QMimeDatabase_mimeTypeForUrl(PyObject *, PyObject *);}
static PyObject *meth_QMimeDatabase_mimeTypeForUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QUrl* a0;
        const  ::QMimeDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMimeDatabase, &sipCpp, sipType_QUrl, &a0))
        {
             ::QMimeType*sipRes;

            sipRes = new  ::QMimeType(sipCpp->mimeTypeForUrl(*a0));

            return sipConvertFromNewType(sipRes,sipType_QMimeType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeDatabase, sipName_mimeTypeForUrl, doc_QMimeDatabase_mimeTypeForUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeDatabase_mimeTypeForFileNameAndData, "mimeTypeForFileNameAndData(self, str, QIODevice) -> QMimeType\n"
    "mimeTypeForFileNameAndData(self, str, Union[QByteArray, bytes, bytearray]) -> QMimeType");

extern "C" {static PyObject *meth_QMimeDatabase_mimeTypeForFileNameAndData(PyObject *, PyObject *);}
static PyObject *meth_QMimeDatabase_mimeTypeForFileNameAndData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QIODevice* a1;
        const  ::QMimeDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J8", &sipSelf, sipType_QMimeDatabase, &sipCpp, sipType_QString,&a0, &a0State, sipType_QIODevice, &a1))
        {
             ::QMimeType*sipRes;

            sipRes = new  ::QMimeType(sipCpp->mimeTypeForFileNameAndData(*a0,a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMimeType,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QByteArray* a1;
        int a1State = 0;
        const  ::QMimeDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QMimeDatabase, &sipCpp, sipType_QString,&a0, &a0State, sipType_QByteArray, &a1, &a1State))
        {
             ::QMimeType*sipRes;

            sipRes = new  ::QMimeType(sipCpp->mimeTypeForFileNameAndData(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromNewType(sipRes,sipType_QMimeType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeDatabase, sipName_mimeTypeForFileNameAndData, doc_QMimeDatabase_mimeTypeForFileNameAndData);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeDatabase_suffixForFileName, "suffixForFileName(self, str) -> str");

extern "C" {static PyObject *meth_QMimeDatabase_suffixForFileName(PyObject *, PyObject *);}
static PyObject *meth_QMimeDatabase_suffixForFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMimeDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeDatabase, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->suffixForFileName(*a0));
            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_QMimeDatabase, sipName_suffixForFileName, doc_QMimeDatabase_suffixForFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeDatabase_allMimeTypes, "allMimeTypes(self) -> List[QMimeType]");

extern "C" {static PyObject *meth_QMimeDatabase_allMimeTypes(PyObject *, PyObject *);}
static PyObject *meth_QMimeDatabase_allMimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeDatabase, &sipCpp))
        {
            QList< ::QMimeType>*sipRes;

            sipRes = new QList< ::QMimeType>(sipCpp->allMimeTypes());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QMimeType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeDatabase, sipName_allMimeTypes, doc_QMimeDatabase_allMimeTypes);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMimeDatabase(void *, int);}
static void release_QMimeDatabase(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMimeDatabase *>(sipCppV);
}


extern "C" {static void dealloc_QMimeDatabase(sipSimpleWrapper *);}
static void dealloc_QMimeDatabase(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMimeDatabase(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMimeDatabase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMimeDatabase(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMimeDatabase *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMimeDatabase();

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMimeDatabase[] = {
    {SIP_MLNAME_CAST(sipName_allMimeTypes), meth_QMimeDatabase_allMimeTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeDatabase_allMimeTypes)},
    {SIP_MLNAME_CAST(sipName_mimeTypeForData), meth_QMimeDatabase_mimeTypeForData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeDatabase_mimeTypeForData)},
    {SIP_MLNAME_CAST(sipName_mimeTypeForFile), (PyCFunction)meth_QMimeDatabase_mimeTypeForFile, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMimeDatabase_mimeTypeForFile)},
    {SIP_MLNAME_CAST(sipName_mimeTypeForFileNameAndData), meth_QMimeDatabase_mimeTypeForFileNameAndData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeDatabase_mimeTypeForFileNameAndData)},
    {SIP_MLNAME_CAST(sipName_mimeTypeForName), meth_QMimeDatabase_mimeTypeForName, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeDatabase_mimeTypeForName)},
    {SIP_MLNAME_CAST(sipName_mimeTypeForUrl), meth_QMimeDatabase_mimeTypeForUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeDatabase_mimeTypeForUrl)},
    {SIP_MLNAME_CAST(sipName_mimeTypesForFileName), meth_QMimeDatabase_mimeTypesForFileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeDatabase_mimeTypesForFileName)},
    {SIP_MLNAME_CAST(sipName_suffixForFileName), meth_QMimeDatabase_suffixForFileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeDatabase_suffixForFileName)}
};

static sipEnumMemberDef enummembers_QMimeDatabase[] = {
    {sipName_MatchContent, static_cast<int>( ::QMimeDatabase::MatchContent), 163},
    {sipName_MatchDefault, static_cast<int>( ::QMimeDatabase::MatchDefault), 163},
    {sipName_MatchExtension, static_cast<int>( ::QMimeDatabase::MatchExtension), 163},
};

PyDoc_STRVAR(doc_QMimeDatabase, "\1QMimeDatabase()");


static pyqt5ClassPluginDef plugin_QMimeDatabase = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMimeDatabase = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMimeDatabase,
        {0},
        &plugin_QMimeDatabase
    },
    {
        sipNameNr_QMimeDatabase,
        {0, 0, 1},
        8, methods_QMimeDatabase,
        3, enummembers_QMimeDatabase,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMimeDatabase,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMimeDatabase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMimeDatabase,
    0,
    0,
    0,
    release_QMimeDatabase,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 97018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 97022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 97025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 97028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 97031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 97034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 97037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 97040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 97043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 97046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 97049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 97052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 97055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 97058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 97061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 97064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 97067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 97070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 97073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 97076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQMimeData : public  ::QMimeData
{
public:
    sipQMimeData();
    virtual ~sipQMimeData();

    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;
     ::QVariant sipProtectVirt_retrieveData(bool,const  ::QString&, ::QVariant::Type) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QVariant retrieveData(const  ::QString&, ::QVariant::Type) const;
     ::QStringList formats() const;
    bool hasFormat(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:
    sipQMimeData(const sipQMimeData &);
    sipQMimeData &operator = (const sipQMimeData &);

    char sipPyMethods[10];
};

sipQMimeData::sipQMimeData():  ::QMimeData(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMimeData::~sipQMimeData()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQMimeData::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QMimeData);

    return  ::QMimeData::metaObject();
}

int sipQMimeData::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QMimeData::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QMimeData,_c,_id,_a);

    return _id;
}

void *sipQMimeData::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QMimeData, _clname, &sipCpp) ? sipCpp :  ::QMimeData::qt_metacast(_clname));
}

 ::QVariant sipQMimeData::retrieveData(const  ::QString& a0, ::QVariant::Type a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_retrieveData);

    if (!sipMeth)
        return  ::QMimeData::retrieveData(a0,a1);

    extern  ::QVariant sipVH_QtCore_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&, ::QVariant::Type);

    return sipVH_QtCore_56(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::QStringList sipQMimeData::formats() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_formats);

    if (!sipMeth)
        return  ::QMimeData::formats();

    extern  ::QStringList sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_29(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQMimeData::hasFormat(const  ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_hasFormat);

    if (!sipMeth)
        return  ::QMimeData::hasFormat(a0);

    extern bool sipVH_QtCore_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_QtCore_55(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQMimeData::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QMimeData::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQMimeData::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QMimeData::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQMimeData::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMimeData::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQMimeData::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QMimeData::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQMimeData::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QMimeData::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQMimeData::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMimeData::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQMimeData::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMimeData::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQMimeData::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQMimeData::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQMimeData::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQMimeData::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQMimeData::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQMimeData::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMimeData::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMimeData::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQMimeData::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

 ::QVariant sipQMimeData::sipProtectVirt_retrieveData(bool sipSelfWasArg,const  ::QString& a0, ::QVariant::Type a1) const
{
    return (sipSelfWasArg ?  ::QMimeData::retrieveData(a0,a1) : retrieveData(a0,a1));
}


PyDoc_STRVAR(doc_QMimeData_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QMimeData_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeData_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 97424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_sender, doc_QMimeData_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QMimeData_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeData_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMimeData, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 97484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QMimeData, sipName_receivers, doc_QMimeData_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QMimeData_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeData_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMimeData, &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_QMimeData, sipName_timerEvent, doc_QMimeData_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QMimeData_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeData_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMimeData, &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_QMimeData, sipName_childEvent, doc_QMimeData_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QMimeData_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeData_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMimeData, &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_QMimeData, sipName_customEvent, doc_QMimeData_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMimeData_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeData_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMimeData, &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_QMimeData, sipName_connectNotify, doc_QMimeData_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QMimeData_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeData_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMimeData, &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_QMimeData, sipName_disconnectNotify, doc_QMimeData_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QMimeData_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeData_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_senderSignalIndex, doc_QMimeData_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMimeData_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeData_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMimeData, &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_QMimeData, sipName_isSignalConnected, doc_QMimeData_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_urls, "urls(self) -> object");

extern "C" {static PyObject *meth_QMimeData_urls(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_urls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
            QList< ::QUrl>*sipRes;

            sipRes = new QList< ::QUrl>(sipCpp->urls());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_urls, doc_QMimeData_urls);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_setUrls, "setUrls(self, Iterable[QUrl])");

extern "C" {static PyObject *meth_QMimeData_setUrls(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_setUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList< ::QUrl>* a0;
        int a0State = 0;
         ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeData, &sipCpp, sipType_QList_0100QUrl,&a0, &a0State))
        {
            sipCpp->setUrls(*a0);
            sipReleaseType(const_cast<QList< ::QUrl> *>(a0),sipType_QList_0100QUrl,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_setUrls, doc_QMimeData_setUrls);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_hasUrls, "hasUrls(self) -> bool");

extern "C" {static PyObject *meth_QMimeData_hasUrls(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_hasUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasUrls();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_hasUrls, doc_QMimeData_hasUrls);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_text, "text(self) -> str");

extern "C" {static PyObject *meth_QMimeData_text(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_text, doc_QMimeData_text);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_setText, "setText(self, str)");

extern "C" {static PyObject *meth_QMimeData_setText(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*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_QMimeData, sipName_setText, doc_QMimeData_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_hasText, "hasText(self) -> bool");

extern "C" {static PyObject *meth_QMimeData_hasText(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_hasText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasText();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_hasText, doc_QMimeData_hasText);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_html, "html(self) -> str");

extern "C" {static PyObject *meth_QMimeData_html(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_html(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->html());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_html, doc_QMimeData_html);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_setHtml, "setHtml(self, str)");

extern "C" {static PyObject *meth_QMimeData_setHtml(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_setHtml(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setHtml(*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_QMimeData, sipName_setHtml, doc_QMimeData_setHtml);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_hasHtml, "hasHtml(self) -> bool");

extern "C" {static PyObject *meth_QMimeData_hasHtml(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_hasHtml(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasHtml();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_hasHtml, doc_QMimeData_hasHtml);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_imageData, "imageData(self) -> Any");

extern "C" {static PyObject *meth_QMimeData_imageData(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_imageData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->imageData());

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_imageData, doc_QMimeData_imageData);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_setImageData, "setImageData(self, Any)");

extern "C" {static PyObject *meth_QMimeData_setImageData(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_setImageData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;
         ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeData, &sipCpp, sipType_QVariant, &a0, &a0State))
        {
            sipCpp->setImageData(*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_QMimeData, sipName_setImageData, doc_QMimeData_setImageData);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_hasImage, "hasImage(self) -> bool");

extern "C" {static PyObject *meth_QMimeData_hasImage(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_hasImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasImage();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_hasImage, doc_QMimeData_hasImage);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_colorData, "colorData(self) -> Any");

extern "C" {static PyObject *meth_QMimeData_colorData(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_colorData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->colorData());

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_colorData, doc_QMimeData_colorData);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_setColorData, "setColorData(self, Any)");

extern "C" {static PyObject *meth_QMimeData_setColorData(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_setColorData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;
         ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeData, &sipCpp, sipType_QVariant, &a0, &a0State))
        {
            sipCpp->setColorData(*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_QMimeData, sipName_setColorData, doc_QMimeData_setColorData);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_hasColor, "hasColor(self) -> bool");

extern "C" {static PyObject *meth_QMimeData_hasColor(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_hasColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasColor();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_hasColor, doc_QMimeData_hasColor);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_data, "data(self, str) -> QByteArray");

extern "C" {static PyObject *meth_QMimeData_data(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeData, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->data(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_data, doc_QMimeData_data);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_setData, "setData(self, str, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QMimeData_setData(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QByteArray* a1;
        int a1State = 0;
         ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QMimeData, &sipCpp, sipType_QString,&a0, &a0State, sipType_QByteArray, &a1, &a1State))
        {
            sipCpp->setData(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_setData, doc_QMimeData_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_hasFormat, "hasFormat(self, str) -> bool");

extern "C" {static PyObject *meth_QMimeData_hasFormat(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_hasFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QMimeData::hasFormat(*a0) : sipCpp->hasFormat(*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_QMimeData, sipName_hasFormat, doc_QMimeData_hasFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_formats, "formats(self) -> List[str]");

extern "C" {static PyObject *meth_QMimeData_formats(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_formats(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList((sipSelfWasArg ? sipCpp-> ::QMimeData::formats() : sipCpp->formats()));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_formats, doc_QMimeData_formats);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_clear, "clear(self)");

extern "C" {static PyObject *meth_QMimeData_clear(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMimeData, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMimeData, sipName_clear, doc_QMimeData_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_removeFormat, "removeFormat(self, str)");

extern "C" {static PyObject *meth_QMimeData_removeFormat(PyObject *, PyObject *);}
static PyObject *meth_QMimeData_removeFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QMimeData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMimeData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->removeFormat(*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_QMimeData, sipName_removeFormat, doc_QMimeData_removeFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QMimeData_retrieveData, "retrieveData(self, str, QVariant.Type) -> Any");

extern "C" {static PyObject *meth_QMimeData_retrieveData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMimeData_retrieveData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QVariant::Type a1;
        const sipQMimeData *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1E", &sipSelf, sipType_QMimeData, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant_Type, &a1))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->sipProtectVirt_retrieveData(sipSelfWasArg,*a0,a1));
            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_QMimeData, sipName_retrieveData, doc_QMimeData_retrieveData);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QMimeData(void *, const sipTypeDef *);}
static void *cast_QMimeData(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMimeData *sipCpp = reinterpret_cast< ::QMimeData *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMimeData(void *, int);}
static void release_QMimeData(void *sipCppV, int)
{
     ::QMimeData *sipCpp = reinterpret_cast< ::QMimeData *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMimeData(sipSimpleWrapper *);}
static void dealloc_QMimeData(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMimeData *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMimeData(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QMimeData(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMimeData(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQMimeData *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQMimeData();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMimeData[] = {{169, 255, 1}};


static PyMethodDef methods_QMimeData[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMimeData_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QMimeData_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_clear)},
    {SIP_MLNAME_CAST(sipName_colorData), meth_QMimeData_colorData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_colorData)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMimeData_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMimeData_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_QMimeData_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_data)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMimeData_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_formats), meth_QMimeData_formats, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_formats)},
    {SIP_MLNAME_CAST(sipName_hasColor), meth_QMimeData_hasColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_hasColor)},
    {SIP_MLNAME_CAST(sipName_hasFormat), meth_QMimeData_hasFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_hasFormat)},
    {SIP_MLNAME_CAST(sipName_hasHtml), meth_QMimeData_hasHtml, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_hasHtml)},
    {SIP_MLNAME_CAST(sipName_hasImage), meth_QMimeData_hasImage, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_hasImage)},
    {SIP_MLNAME_CAST(sipName_hasText), meth_QMimeData_hasText, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_hasText)},
    {SIP_MLNAME_CAST(sipName_hasUrls), meth_QMimeData_hasUrls, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_hasUrls)},
    {SIP_MLNAME_CAST(sipName_html), meth_QMimeData_html, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_html)},
    {SIP_MLNAME_CAST(sipName_imageData), meth_QMimeData_imageData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_imageData)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMimeData_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMimeData_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeFormat), meth_QMimeData_removeFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_removeFormat)},
    {SIP_MLNAME_CAST(sipName_retrieveData), (PyCFunction)meth_QMimeData_retrieveData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMimeData_retrieveData)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMimeData_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMimeData_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setColorData), meth_QMimeData_setColorData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_setColorData)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QMimeData_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_setData)},
    {SIP_MLNAME_CAST(sipName_setHtml), meth_QMimeData_setHtml, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_setHtml)},
    {SIP_MLNAME_CAST(sipName_setImageData), meth_QMimeData_setImageData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_setImageData)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QMimeData_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_setText)},
    {SIP_MLNAME_CAST(sipName_setUrls), meth_QMimeData_setUrls, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_setUrls)},
    {SIP_MLNAME_CAST(sipName_text), meth_QMimeData_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_text)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMimeData_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_urls), meth_QMimeData_urls, METH_VARARGS, SIP_MLDOC_CAST(doc_QMimeData_urls)}
};

PyDoc_STRVAR(doc_QMimeData, "\1QMimeData()");


static pyqt5ClassPluginDef plugin_QMimeData = {
    & ::QMimeData::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMimeData = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMimeData,
        {0},
        &plugin_QMimeData
    },
    {
        sipNameNr_QMimeData,
        {0, 0, 1},
        31, methods_QMimeData,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMimeData,
    -1,
    -1,
    supers_QMimeData,
    0,
    init_type_QMimeData,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMimeData,
    0,
    0,
    0,
    release_QMimeData,
    cast_QMimeData,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 98512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 98516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QMetaType_TypeFlags___hash__(PyObject *);}
static long slot_QMetaType_TypeFlags___hash__(PyObject *sipSelf)
{
     ::QMetaType::TypeFlags *sipCpp = reinterpret_cast< ::QMetaType::TypeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaType_TypeFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QMetaType::TypeFlags::Int();
#line 98534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QMetaType_TypeFlags___bool__(PyObject *);}
static int slot_QMetaType_TypeFlags___bool__(PyObject *sipSelf)
{
     ::QMetaType::TypeFlags *sipCpp = reinterpret_cast< ::QMetaType::TypeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaType_TypeFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMetaType::TypeFlags::Int() != 0);
#line 98559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMetaType_TypeFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMetaType::TypeFlags *sipCpp = reinterpret_cast< ::QMetaType::TypeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaType_TypeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaType::TypeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMetaType_TypeFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMetaType::TypeFlags::Int() != a0->operator QMetaType::TypeFlags::Int());
#line 98589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QMetaType::TypeFlags *>(a0),sipType_QMetaType_TypeFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QMetaType_TypeFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMetaType_TypeFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMetaType::TypeFlags *sipCpp = reinterpret_cast< ::QMetaType::TypeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaType_TypeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaType::TypeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMetaType_TypeFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMetaType::TypeFlags::Int() == a0->operator QMetaType::TypeFlags::Int());
#line 98625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QMetaType::TypeFlags *>(a0),sipType_QMetaType_TypeFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QMetaType_TypeFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMetaType_TypeFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMetaType_TypeFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMetaType::TypeFlags *sipCpp = reinterpret_cast< ::QMetaType::TypeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaType_TypeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QMetaType::TypeFlags(*sipCpp ^ a0);
#line 98664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMetaType_TypeFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMetaType::TypeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMetaType_TypeFlags, &a0, &a0State, &a1))
        {
             ::QMetaType::TypeFlags*sipRes;

            sipRes = new  ::QMetaType::TypeFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QMetaType_TypeFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMetaType_TypeFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMetaType_TypeFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMetaType_TypeFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMetaType::TypeFlags *sipCpp = reinterpret_cast< ::QMetaType::TypeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaType_TypeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QMetaType::TypeFlags(*sipCpp | a0);
#line 98736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMetaType_TypeFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMetaType::TypeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMetaType_TypeFlags, &a0, &a0State, &a1))
        {
             ::QMetaType::TypeFlags*sipRes;

            sipRes = new  ::QMetaType::TypeFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QMetaType_TypeFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMetaType_TypeFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMetaType_TypeFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMetaType_TypeFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMetaType::TypeFlags *sipCpp = reinterpret_cast< ::QMetaType::TypeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaType_TypeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QMetaType::TypeFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMetaType_TypeFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMetaType::TypeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMetaType_TypeFlags, &a0, &a0State, &a1))
        {
             ::QMetaType::TypeFlags*sipRes;

            sipRes = new  ::QMetaType::TypeFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QMetaType_TypeFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMetaType_TypeFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMetaType_TypeFlags___invert__(PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___invert__(PyObject *sipSelf)
{
     ::QMetaType::TypeFlags *sipCpp = reinterpret_cast< ::QMetaType::TypeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaType_TypeFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QMetaType::TypeFlags*sipRes;

            sipRes = new  ::QMetaType::TypeFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QMetaType_TypeFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMetaType_TypeFlags___int__(PyObject *);}
static PyObject *slot_QMetaType_TypeFlags___int__(PyObject *sipSelf)
{
     ::QMetaType::TypeFlags *sipCpp = reinterpret_cast< ::QMetaType::TypeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaType_TypeFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMetaType_TypeFlags(void *, int);}
static void release_QMetaType_TypeFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMetaType::TypeFlags *>(sipCppV);
}


extern "C" {static void assign_QMetaType_TypeFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QMetaType_TypeFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMetaType::TypeFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMetaType::TypeFlags *>(sipSrc);
}


extern "C" {static void *array_QMetaType_TypeFlags(SIP_SSIZE_T);}
static void *array_QMetaType_TypeFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMetaType::TypeFlags[sipNrElem];
}


extern "C" {static void *copy_QMetaType_TypeFlags(const void *, SIP_SSIZE_T);}
static void *copy_QMetaType_TypeFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMetaType::TypeFlags(reinterpret_cast<const  ::QMetaType::TypeFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMetaType_TypeFlags(sipSimpleWrapper *);}
static void dealloc_QMetaType_TypeFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMetaType_TypeFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMetaType_TypeFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMetaType_TypeFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMetaType::TypeFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMetaType::TypeFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QMetaType::TypeFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QMetaType::TypeFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QMetaType_TypeFlags, &a0, &a0State))
        {
            sipCpp = new  ::QMetaType::TypeFlags(*a0);
            sipReleaseType(const_cast< ::QMetaType::TypeFlags *>(a0),sipType_QMetaType_TypeFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QMetaType_TypeFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMetaType_TypeFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QMetaType::TypeFlags **sipCppPtr = reinterpret_cast< ::QMetaType::TypeFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QMetaType::TypeFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMetaType_TypeFlag)) ||
            sipCanConvertToType(sipPy, sipType_QMetaType_TypeFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMetaType_TypeFlag)))
{
    *sipCppPtr = new QMetaType::TypeFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QMetaType::TypeFlags *>(sipConvertToType(sipPy, sipType_QMetaType_TypeFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 99004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMetaType_TypeFlags[] = {
    {(void *)slot_QMetaType_TypeFlags___hash__, hash_slot},
    {(void *)slot_QMetaType_TypeFlags___bool__, bool_slot},
    {(void *)slot_QMetaType_TypeFlags___ne__, ne_slot},
    {(void *)slot_QMetaType_TypeFlags___eq__, eq_slot},
    {(void *)slot_QMetaType_TypeFlags___ixor__, ixor_slot},
    {(void *)slot_QMetaType_TypeFlags___xor__, xor_slot},
    {(void *)slot_QMetaType_TypeFlags___ior__, ior_slot},
    {(void *)slot_QMetaType_TypeFlags___or__, or_slot},
    {(void *)slot_QMetaType_TypeFlags___iand__, iand_slot},
    {(void *)slot_QMetaType_TypeFlags___and__, and_slot},
    {(void *)slot_QMetaType_TypeFlags___invert__, invert_slot},
    {(void *)slot_QMetaType_TypeFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMetaType_TypeFlags, "\1QMetaType.TypeFlags()\n"
    "QMetaType.TypeFlags(Union[QMetaType.TypeFlags, QMetaType.TypeFlag])\n"
    "QMetaType.TypeFlags(QMetaType.TypeFlags)");


static pyqt5ClassPluginDef plugin_QMetaType_TypeFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMetaType_TypeFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMetaType__TypeFlags,
        {0},
        &plugin_QMetaType_TypeFlags
    },
    {
        sipNameNr_TypeFlags,
        {157, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaType_TypeFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMetaType_TypeFlags,
    init_type_QMetaType_TypeFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMetaType_TypeFlags,
    assign_QMetaType_TypeFlags,
    array_QMetaType_TypeFlags,
    copy_QMetaType_TypeFlags,
    release_QMetaType_TypeFlags,
    0,
    convertTo_QMetaType_TypeFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 99090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 99094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetatype.sip"
#include <qmetatype.h>
#line 99097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaType_type, "type(str) -> int");

extern "C" {static PyObject *meth_QMetaType_type(PyObject *, PyObject *);}
static PyObject *meth_QMetaType_type(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
            int sipRes;

            sipRes =  ::QMetaType::type(a0);
            Py_DECREF(a0Keep);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaType, sipName_type, doc_QMetaType_type);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaType_typeName, "typeName(int) -> str");

extern "C" {static PyObject *meth_QMetaType_typeName(PyObject *, PyObject *);}
static PyObject *meth_QMetaType_typeName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            const char*sipRes;

            sipRes =  ::QMetaType::typeName(a0);

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaType, sipName_typeName, doc_QMetaType_typeName);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaType_isRegistered, "isRegistered(int) -> bool\n"
    "isRegistered(self) -> bool");

extern "C" {static PyObject *meth_QMetaType_isRegistered(PyObject *, PyObject *);}
static PyObject *meth_QMetaType_isRegistered(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            bool sipRes;

            sipRes =  ::QMetaType::isRegistered(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QMetaType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaType, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRegistered();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaType, sipName_isRegistered, doc_QMetaType_isRegistered);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaType_typeFlags, "typeFlags(int) -> QMetaType.TypeFlags");

extern "C" {static PyObject *meth_QMetaType_typeFlags(PyObject *, PyObject *);}
static PyObject *meth_QMetaType_typeFlags(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
             ::QMetaType::TypeFlags*sipRes;

            sipRes = new  ::QMetaType::TypeFlags( ::QMetaType::typeFlags(a0));

            return sipConvertFromNewType(sipRes,sipType_QMetaType_TypeFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaType, sipName_typeFlags, doc_QMetaType_typeFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaType_flags, "flags(self) -> QMetaType.TypeFlags");

extern "C" {static PyObject *meth_QMetaType_flags(PyObject *, PyObject *);}
static PyObject *meth_QMetaType_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaType, &sipCpp))
        {
             ::QMetaType::TypeFlags*sipRes;

            sipRes = new  ::QMetaType::TypeFlags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_QMetaType_TypeFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaType, sipName_flags, doc_QMetaType_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaType_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QMetaType_isValid(PyObject *, PyObject *);}
static PyObject *meth_QMetaType_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaType, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaType, sipName_isValid, doc_QMetaType_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaType_metaObjectForType, "metaObjectForType(int) -> QMetaObject");

extern "C" {static PyObject *meth_QMetaType_metaObjectForType(PyObject *, PyObject *);}
static PyObject *meth_QMetaType_metaObjectForType(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            const  ::QMetaObject*sipRes;

            sipRes =  ::QMetaType::metaObjectForType(a0);

            return sipConvertFromType(const_cast< ::QMetaObject *>(sipRes),sipType_QMetaObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaType, sipName_metaObjectForType, doc_QMetaType_metaObjectForType);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMetaType(void *, int);}
static void release_QMetaType(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMetaType *>(sipCppV);
}


extern "C" {static void dealloc_QMetaType(sipSimpleWrapper *);}
static void dealloc_QMetaType(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMetaType(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMetaType(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMetaType(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMetaType *sipCpp = 0;

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QMetaType(a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMetaType[] = {
    {SIP_MLNAME_CAST(sipName_flags), meth_QMetaType_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaType_flags)},
    {SIP_MLNAME_CAST(sipName_isRegistered), meth_QMetaType_isRegistered, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaType_isRegistered)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QMetaType_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaType_isValid)},
    {SIP_MLNAME_CAST(sipName_metaObjectForType), meth_QMetaType_metaObjectForType, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaType_metaObjectForType)},
    {SIP_MLNAME_CAST(sipName_type), meth_QMetaType_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaType_type)},
    {SIP_MLNAME_CAST(sipName_typeFlags), meth_QMetaType_typeFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaType_typeFlags)},
    {SIP_MLNAME_CAST(sipName_typeName), meth_QMetaType_typeName, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaType_typeName)}
};

static sipEnumMemberDef enummembers_QMetaType[] = {
    {sipName_Bool, static_cast<int>( ::QMetaType::Bool), 158},
    {sipName_Char, static_cast<int>( ::QMetaType::Char), 158},
    {sipName_Double, static_cast<int>( ::QMetaType::Double), 158},
    {sipName_FirstGuiType, static_cast<int>( ::QMetaType::FirstGuiType), 158},
    {sipName_Float, static_cast<int>( ::QMetaType::Float), 158},
    {sipName_Int, static_cast<int>( ::QMetaType::Int), 158},
    {sipName_IsGadget, static_cast<int>( ::QMetaType::IsGadget), 159},
    {sipName_LastCoreType, static_cast<int>( ::QMetaType::LastCoreType), 158},
    {sipName_Long, static_cast<int>( ::QMetaType::Long), 158},
    {sipName_LongLong, static_cast<int>( ::QMetaType::LongLong), 158},
    {sipName_MovableType, static_cast<int>( ::QMetaType::MovableType), 159},
    {sipName_NeedsConstruction, static_cast<int>( ::QMetaType::NeedsConstruction), 159},
    {sipName_NeedsDestruction, static_cast<int>( ::QMetaType::NeedsDestruction), 159},
    {sipName_QBitArray, static_cast<int>( ::QMetaType::QBitArray), 158},
    {sipName_QBitmap, static_cast<int>( ::QMetaType::QBitmap), 158},
    {sipName_QBrush, static_cast<int>( ::QMetaType::QBrush), 158},
    {sipName_QByteArray, static_cast<int>( ::QMetaType::QByteArray), 158},
    {sipName_QByteArrayList, static_cast<int>( ::QMetaType::QByteArrayList), 158},
    {sipName_QChar, static_cast<int>( ::QMetaType::QChar), 158},
    {sipName_QColor, static_cast<int>( ::QMetaType::QColor), 158},
    {sipName_QCursor, static_cast<int>( ::QMetaType::QCursor), 158},
    {sipName_QDate, static_cast<int>( ::QMetaType::QDate), 158},
    {sipName_QDateTime, static_cast<int>( ::QMetaType::QDateTime), 158},
    {sipName_QEasingCurve, static_cast<int>( ::QMetaType::QEasingCurve), 158},
    {sipName_QFont, static_cast<int>( ::QMetaType::QFont), 158},
    {sipName_QIcon, static_cast<int>( ::QMetaType::QIcon), 158},
    {sipName_QImage, static_cast<int>( ::QMetaType::QImage), 158},
    {sipName_QJsonArray, static_cast<int>( ::QMetaType::QJsonArray), 158},
    {sipName_QJsonDocument, static_cast<int>( ::QMetaType::QJsonDocument), 158},
    {sipName_QJsonObject, static_cast<int>( ::QMetaType::QJsonObject), 158},
    {sipName_QJsonValue, static_cast<int>( ::QMetaType::QJsonValue), 158},
    {sipName_QKeySequence, static_cast<int>( ::QMetaType::QKeySequence), 158},
    {sipName_QLine, static_cast<int>( ::QMetaType::QLine), 158},
    {sipName_QLineF, static_cast<int>( ::QMetaType::QLineF), 158},
    {sipName_QLocale, static_cast<int>( ::QMetaType::QLocale), 158},
    {sipName_QMatrix, static_cast<int>( ::QMetaType::QMatrix), 158},
    {sipName_QMatrix4x4, static_cast<int>( ::QMetaType::QMatrix4x4), 158},
    {sipName_QModelIndex, static_cast<int>( ::QMetaType::QModelIndex), 158},
    {sipName_QObjectStar, static_cast<int>( ::QMetaType::QObjectStar), 158},
    {sipName_QPalette, static_cast<int>( ::QMetaType::QPalette), 158},
    {sipName_QPen, static_cast<int>( ::QMetaType::QPen), 158},
    {sipName_QPersistentModelIndex, static_cast<int>( ::QMetaType::QPersistentModelIndex), 158},
    {sipName_QPixmap, static_cast<int>( ::QMetaType::QPixmap), 158},
    {sipName_QPoint, static_cast<int>( ::QMetaType::QPoint), 158},
    {sipName_QPointF, static_cast<int>( ::QMetaType::QPointF), 158},
    {sipName_QPolygon, static_cast<int>( ::QMetaType::QPolygon), 158},
    {sipName_QPolygonF, static_cast<int>( ::QMetaType::QPolygonF), 158},
    {sipName_QQuaternion, static_cast<int>( ::QMetaType::QQuaternion), 158},
    {sipName_QRect, static_cast<int>( ::QMetaType::QRect), 158},
    {sipName_QRectF, static_cast<int>( ::QMetaType::QRectF), 158},
    {sipName_QRegExp, static_cast<int>( ::QMetaType::QRegExp), 158},
    {sipName_QRegion, static_cast<int>( ::QMetaType::QRegion), 158},
    {sipName_QRegularExpression, static_cast<int>( ::QMetaType::QRegularExpression), 158},
    {sipName_QSize, static_cast<int>( ::QMetaType::QSize), 158},
    {sipName_QSizeF, static_cast<int>( ::QMetaType::QSizeF), 158},
    {sipName_QSizePolicy, static_cast<int>( ::QMetaType::QSizePolicy), 158},
    {sipName_QString, static_cast<int>( ::QMetaType::QString), 158},
    {sipName_QStringList, static_cast<int>( ::QMetaType::QStringList), 158},
    {sipName_QTextFormat, static_cast<int>( ::QMetaType::QTextFormat), 158},
    {sipName_QTextLength, static_cast<int>( ::QMetaType::QTextLength), 158},
    {sipName_QTime, static_cast<int>( ::QMetaType::QTime), 158},
    {sipName_QTransform, static_cast<int>( ::QMetaType::QTransform), 158},
    {sipName_QUrl, static_cast<int>( ::QMetaType::QUrl), 158},
    {sipName_QUuid, static_cast<int>( ::QMetaType::QUuid), 158},
    {sipName_QVariant, static_cast<int>( ::QMetaType::QVariant), 158},
    {sipName_QVariantHash, static_cast<int>( ::QMetaType::QVariantHash), 158},
    {sipName_QVariantList, static_cast<int>( ::QMetaType::QVariantList), 158},
    {sipName_QVariantMap, static_cast<int>( ::QMetaType::QVariantMap), 158},
    {sipName_QVector2D, static_cast<int>( ::QMetaType::QVector2D), 158},
    {sipName_QVector3D, static_cast<int>( ::QMetaType::QVector3D), 158},
    {sipName_QVector4D, static_cast<int>( ::QMetaType::QVector4D), 158},
    {sipName_SChar, static_cast<int>( ::QMetaType::SChar), 158},
    {sipName_Short, static_cast<int>( ::QMetaType::Short), 158},
    {sipName_UChar, static_cast<int>( ::QMetaType::UChar), 158},
    {sipName_UInt, static_cast<int>( ::QMetaType::UInt), 158},
    {sipName_ULong, static_cast<int>( ::QMetaType::ULong), 158},
    {sipName_ULongLong, static_cast<int>( ::QMetaType::ULongLong), 158},
    {sipName_UShort, static_cast<int>( ::QMetaType::UShort), 158},
    {sipName_UnknownType, static_cast<int>( ::QMetaType::UnknownType), 158},
    {sipName_User, static_cast<int>( ::QMetaType::User), 158},
    {sipName_Void, static_cast<int>( ::QMetaType::Void), 158},
    {sipName_VoidStar, static_cast<int>( ::QMetaType::VoidStar), 158},
};

PyDoc_STRVAR(doc_QMetaType, "\1QMetaType(int)");


static pyqt5ClassPluginDef plugin_QMetaType = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMetaType = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMetaType,
        {0},
        &plugin_QMetaType
    },
    {
        sipNameNr_QMetaType,
        {0, 0, 1},
        7, methods_QMetaType,
        82, enummembers_QMetaType,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaType,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMetaType,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMetaType,
    0,
    0,
    0,
    release_QMetaType,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 99515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QMetaClassInfo_name, "name(self) -> str");

extern "C" {static PyObject *meth_QMetaClassInfo_name(PyObject *, PyObject *);}
static PyObject *meth_QMetaClassInfo_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaClassInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaClassInfo, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->name();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaClassInfo, sipName_name, doc_QMetaClassInfo_name);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaClassInfo_value, "value(self) -> str");

extern "C" {static PyObject *meth_QMetaClassInfo_value(PyObject *, PyObject *);}
static PyObject *meth_QMetaClassInfo_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaClassInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaClassInfo, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->value();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaClassInfo, sipName_value, doc_QMetaClassInfo_value);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMetaClassInfo(void *, int);}
static void release_QMetaClassInfo(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMetaClassInfo *>(sipCppV);
}


extern "C" {static void assign_QMetaClassInfo(void *, SIP_SSIZE_T, const void *);}
static void assign_QMetaClassInfo(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMetaClassInfo *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMetaClassInfo *>(sipSrc);
}


extern "C" {static void *array_QMetaClassInfo(SIP_SSIZE_T);}
static void *array_QMetaClassInfo(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMetaClassInfo[sipNrElem];
}


extern "C" {static void *copy_QMetaClassInfo(const void *, SIP_SSIZE_T);}
static void *copy_QMetaClassInfo(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMetaClassInfo(reinterpret_cast<const  ::QMetaClassInfo *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMetaClassInfo(sipSimpleWrapper *);}
static void dealloc_QMetaClassInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMetaClassInfo(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMetaClassInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMetaClassInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMetaClassInfo *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMetaClassInfo();

            return sipCpp;
        }
    }

    {
        const  ::QMetaClassInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaClassInfo, &a0))
        {
            sipCpp = new  ::QMetaClassInfo(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMetaClassInfo[] = {
    {SIP_MLNAME_CAST(sipName_name), meth_QMetaClassInfo_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaClassInfo_name)},
    {SIP_MLNAME_CAST(sipName_value), meth_QMetaClassInfo_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaClassInfo_value)}
};

PyDoc_STRVAR(doc_QMetaClassInfo, "\1QMetaClassInfo()\n"
    "QMetaClassInfo(QMetaClassInfo)");


static pyqt5ClassPluginDef plugin_QMetaClassInfo = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMetaClassInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMetaClassInfo,
        {0},
        &plugin_QMetaClassInfo
    },
    {
        sipNameNr_QMetaClassInfo,
        {0, 0, 1},
        2, methods_QMetaClassInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaClassInfo,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMetaClassInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMetaClassInfo,
    assign_QMetaClassInfo,
    array_QMetaClassInfo,
    copy_QMetaClassInfo,
    release_QMetaClassInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 99724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 99728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 99731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 99734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 99737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaProperty_name, "name(self) -> str");

extern "C" {static PyObject *meth_QMetaProperty_name(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->name();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_name, doc_QMetaProperty_name);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_typeName, "typeName(self) -> str");

extern "C" {static PyObject *meth_QMetaProperty_typeName(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_typeName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->typeName();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_typeName, doc_QMetaProperty_typeName);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_type, "type(self) -> QVariant.Type");

extern "C" {static PyObject *meth_QMetaProperty_type(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
             ::QVariant::Type sipRes;

            sipRes = sipCpp->type();

            return sipConvertFromEnum(sipRes,sipType_QVariant_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_type, doc_QMetaProperty_type);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isReadable, "isReadable(self) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isReadable(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isReadable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isReadable, doc_QMetaProperty_isReadable);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isWritable, "isWritable(self) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isWritable(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isWritable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWritable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isWritable, doc_QMetaProperty_isWritable);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isDesignable, "isDesignable(self, object: QObject = None) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isDesignable(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isDesignable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject* a0 = 0;
        const  ::QMetaProperty *sipCpp;

        static const char *sipKwdList[] = {
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J8", &sipSelf, sipType_QMetaProperty, &sipCpp, sipType_QObject, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isDesignable(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isDesignable, doc_QMetaProperty_isDesignable);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isScriptable, "isScriptable(self, object: QObject = None) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isScriptable(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isScriptable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject* a0 = 0;
        const  ::QMetaProperty *sipCpp;

        static const char *sipKwdList[] = {
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J8", &sipSelf, sipType_QMetaProperty, &sipCpp, sipType_QObject, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isScriptable(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isScriptable, doc_QMetaProperty_isScriptable);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isStored, "isStored(self, object: QObject = None) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isStored(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isStored(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject* a0 = 0;
        const  ::QMetaProperty *sipCpp;

        static const char *sipKwdList[] = {
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J8", &sipSelf, sipType_QMetaProperty, &sipCpp, sipType_QObject, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isStored(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isStored, doc_QMetaProperty_isStored);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isFlagType, "isFlagType(self) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isFlagType(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isFlagType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFlagType();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isFlagType, doc_QMetaProperty_isFlagType);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isEnumType, "isEnumType(self) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isEnumType(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isEnumType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnumType();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isEnumType, doc_QMetaProperty_isEnumType);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_enumerator, "enumerator(self) -> QMetaEnum");

extern "C" {static PyObject *meth_QMetaProperty_enumerator(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_enumerator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
             ::QMetaEnum*sipRes;

            sipRes = new  ::QMetaEnum(sipCpp->enumerator());

            return sipConvertFromNewType(sipRes,sipType_QMetaEnum,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_enumerator, doc_QMetaProperty_enumerator);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_read, "read(self, QObject) -> Any");

extern "C" {static PyObject *meth_QMetaProperty_read(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject* a0;
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMetaProperty, &sipCpp, sipType_QObject, &a0))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->read(a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_read, doc_QMetaProperty_read);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_write, "write(self, QObject, Any) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_write(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        const  ::QVariant* a1;
        int a1State = 0;
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QMetaProperty, &sipCpp, sipType_QObject, &a0, sipType_QVariant, &a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->write(a0,*a1);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_write, doc_QMetaProperty_write);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_reset, "reset(self, QObject) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_reset(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMetaProperty, &sipCpp, sipType_QObject, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->reset(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_reset, doc_QMetaProperty_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_hasStdCppSet, "hasStdCppSet(self) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_hasStdCppSet(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_hasStdCppSet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasStdCppSet();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_hasStdCppSet, doc_QMetaProperty_hasStdCppSet);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isValid(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isValid, doc_QMetaProperty_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isResettable, "isResettable(self) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isResettable(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isResettable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isResettable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isResettable, doc_QMetaProperty_isResettable);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isUser, "isUser(self, object: QObject = None) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isUser(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isUser(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject* a0 = 0;
        const  ::QMetaProperty *sipCpp;

        static const char *sipKwdList[] = {
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J8", &sipSelf, sipType_QMetaProperty, &sipCpp, sipType_QObject, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isUser(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isUser, doc_QMetaProperty_isUser);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_userType, "userType(self) -> int");

extern "C" {static PyObject *meth_QMetaProperty_userType(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_userType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->userType();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_userType, doc_QMetaProperty_userType);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_hasNotifySignal, "hasNotifySignal(self) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_hasNotifySignal(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_hasNotifySignal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasNotifySignal();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_hasNotifySignal, doc_QMetaProperty_hasNotifySignal);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_notifySignal, "notifySignal(self) -> QMetaMethod");

extern "C" {static PyObject *meth_QMetaProperty_notifySignal(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_notifySignal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
             ::QMetaMethod*sipRes;

            sipRes = new  ::QMetaMethod(sipCpp->notifySignal());

            return sipConvertFromNewType(sipRes,sipType_QMetaMethod,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_notifySignal, doc_QMetaProperty_notifySignal);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_notifySignalIndex, "notifySignalIndex(self) -> int");

extern "C" {static PyObject *meth_QMetaProperty_notifySignalIndex(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_notifySignalIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->notifySignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_notifySignalIndex, doc_QMetaProperty_notifySignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_propertyIndex, "propertyIndex(self) -> int");

extern "C" {static PyObject *meth_QMetaProperty_propertyIndex(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_propertyIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->propertyIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_propertyIndex, doc_QMetaProperty_propertyIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isConstant, "isConstant(self) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isConstant(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isConstant(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isConstant();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isConstant, doc_QMetaProperty_isConstant);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaProperty_isFinal, "isFinal(self) -> bool");

extern "C" {static PyObject *meth_QMetaProperty_isFinal(PyObject *, PyObject *);}
static PyObject *meth_QMetaProperty_isFinal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaProperty *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaProperty, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFinal();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaProperty, sipName_isFinal, doc_QMetaProperty_isFinal);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMetaProperty(void *, int);}
static void release_QMetaProperty(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMetaProperty *>(sipCppV);
}


extern "C" {static void assign_QMetaProperty(void *, SIP_SSIZE_T, const void *);}
static void assign_QMetaProperty(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMetaProperty *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMetaProperty *>(sipSrc);
}


extern "C" {static void *array_QMetaProperty(SIP_SSIZE_T);}
static void *array_QMetaProperty(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMetaProperty[sipNrElem];
}


extern "C" {static void *copy_QMetaProperty(const void *, SIP_SSIZE_T);}
static void *copy_QMetaProperty(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMetaProperty(reinterpret_cast<const  ::QMetaProperty *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMetaProperty(sipSimpleWrapper *);}
static void dealloc_QMetaProperty(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMetaProperty(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMetaProperty(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMetaProperty(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMetaProperty *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMetaProperty();

            return sipCpp;
        }
    }

    {
        const  ::QMetaProperty* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaProperty, &a0))
        {
            sipCpp = new  ::QMetaProperty(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMetaProperty[] = {
    {SIP_MLNAME_CAST(sipName_enumerator), meth_QMetaProperty_enumerator, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_enumerator)},
    {SIP_MLNAME_CAST(sipName_hasNotifySignal), meth_QMetaProperty_hasNotifySignal, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_hasNotifySignal)},
    {SIP_MLNAME_CAST(sipName_hasStdCppSet), meth_QMetaProperty_hasStdCppSet, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_hasStdCppSet)},
    {SIP_MLNAME_CAST(sipName_isConstant), meth_QMetaProperty_isConstant, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_isConstant)},
    {SIP_MLNAME_CAST(sipName_isDesignable), (PyCFunction)meth_QMetaProperty_isDesignable, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMetaProperty_isDesignable)},
    {SIP_MLNAME_CAST(sipName_isEnumType), meth_QMetaProperty_isEnumType, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_isEnumType)},
    {SIP_MLNAME_CAST(sipName_isFinal), meth_QMetaProperty_isFinal, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_isFinal)},
    {SIP_MLNAME_CAST(sipName_isFlagType), meth_QMetaProperty_isFlagType, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_isFlagType)},
    {SIP_MLNAME_CAST(sipName_isReadable), meth_QMetaProperty_isReadable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_isReadable)},
    {SIP_MLNAME_CAST(sipName_isResettable), meth_QMetaProperty_isResettable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_isResettable)},
    {SIP_MLNAME_CAST(sipName_isScriptable), (PyCFunction)meth_QMetaProperty_isScriptable, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMetaProperty_isScriptable)},
    {SIP_MLNAME_CAST(sipName_isStored), (PyCFunction)meth_QMetaProperty_isStored, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMetaProperty_isStored)},
    {SIP_MLNAME_CAST(sipName_isUser), (PyCFunction)meth_QMetaProperty_isUser, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMetaProperty_isUser)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QMetaProperty_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_isValid)},
    {SIP_MLNAME_CAST(sipName_isWritable), meth_QMetaProperty_isWritable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_isWritable)},
    {SIP_MLNAME_CAST(sipName_name), meth_QMetaProperty_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_name)},
    {SIP_MLNAME_CAST(sipName_notifySignal), meth_QMetaProperty_notifySignal, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_notifySignal)},
    {SIP_MLNAME_CAST(sipName_notifySignalIndex), meth_QMetaProperty_notifySignalIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_notifySignalIndex)},
    {SIP_MLNAME_CAST(sipName_propertyIndex), meth_QMetaProperty_propertyIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_propertyIndex)},
    {SIP_MLNAME_CAST(sipName_read), meth_QMetaProperty_read, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_read)},
    {SIP_MLNAME_CAST(sipName_reset), meth_QMetaProperty_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_reset)},
    {SIP_MLNAME_CAST(sipName_type), meth_QMetaProperty_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_type)},
    {SIP_MLNAME_CAST(sipName_typeName), meth_QMetaProperty_typeName, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_typeName)},
    {SIP_MLNAME_CAST(sipName_userType), meth_QMetaProperty_userType, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_userType)},
    {SIP_MLNAME_CAST(sipName_write), meth_QMetaProperty_write, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaProperty_write)}
};

PyDoc_STRVAR(doc_QMetaProperty, "\1QMetaProperty()\n"
    "QMetaProperty(QMetaProperty)");


static pyqt5ClassPluginDef plugin_QMetaProperty = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMetaProperty = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMetaProperty,
        {0},
        &plugin_QMetaProperty
    },
    {
        sipNameNr_QMetaProperty,
        {0, 0, 1},
        25, methods_QMetaProperty,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaProperty,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMetaProperty,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMetaProperty,
    assign_QMetaProperty,
    array_QMetaProperty,
    copy_QMetaProperty,
    release_QMetaProperty,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 100638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 100642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaEnum_name, "name(self) -> str");

extern "C" {static PyObject *meth_QMetaEnum_name(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaEnum, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->name();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_name, doc_QMetaEnum_name);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_isFlag, "isFlag(self) -> bool");

extern "C" {static PyObject *meth_QMetaEnum_isFlag(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_isFlag(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaEnum, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFlag();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_isFlag, doc_QMetaEnum_isFlag);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_keyCount, "keyCount(self) -> int");

extern "C" {static PyObject *meth_QMetaEnum_keyCount(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_keyCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaEnum, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->keyCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_keyCount, doc_QMetaEnum_keyCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_key, "key(self, int) -> str");

extern "C" {static PyObject *meth_QMetaEnum_key(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_key(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMetaEnum, &sipCpp, &a0))
        {
            const char*sipRes;

            sipRes = sipCpp->key(a0);

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_key, doc_QMetaEnum_key);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_value, "value(self, int) -> int");

extern "C" {static PyObject *meth_QMetaEnum_value(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMetaEnum, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->value(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_value, doc_QMetaEnum_value);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_scope, "scope(self) -> str");

extern "C" {static PyObject *meth_QMetaEnum_scope(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_scope(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaEnum, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->scope();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_scope, doc_QMetaEnum_scope);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_keyToValue, "keyToValue(self, str) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QMetaEnum_keyToValue(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_keyToValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        bool a1;
        const  ::QMetaEnum *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BAA", &sipSelf, sipType_QMetaEnum, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            sipRes = sipCpp->keyToValue(a0,&a1);
            Py_DECREF(a0Keep);

            return sipBuildResult(0,"(ib)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_keyToValue, doc_QMetaEnum_keyToValue);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_valueToKey, "valueToKey(self, int) -> str");

extern "C" {static PyObject *meth_QMetaEnum_valueToKey(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_valueToKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMetaEnum, &sipCpp, &a0))
        {
            const char*sipRes;

            sipRes = sipCpp->valueToKey(a0);

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_valueToKey, doc_QMetaEnum_valueToKey);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_keysToValue, "keysToValue(self, str) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QMetaEnum_keysToValue(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_keysToValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        bool a1;
        const  ::QMetaEnum *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BAA", &sipSelf, sipType_QMetaEnum, &sipCpp, &a0Keep, &a0))
        {
            int sipRes;

            sipRes = sipCpp->keysToValue(a0,&a1);
            Py_DECREF(a0Keep);

            return sipBuildResult(0,"(ib)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_keysToValue, doc_QMetaEnum_keysToValue);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_valueToKeys, "valueToKeys(self, int) -> QByteArray");

extern "C" {static PyObject *meth_QMetaEnum_valueToKeys(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_valueToKeys(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMetaEnum, &sipCpp, &a0))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->valueToKeys(a0));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_valueToKeys, doc_QMetaEnum_valueToKeys);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QMetaEnum_isValid(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaEnum, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_isValid, doc_QMetaEnum_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaEnum_isScoped, "isScoped(self) -> bool");

extern "C" {static PyObject *meth_QMetaEnum_isScoped(PyObject *, PyObject *);}
static PyObject *meth_QMetaEnum_isScoped(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaEnum *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaEnum, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isScoped();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaEnum, sipName_isScoped, doc_QMetaEnum_isScoped);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMetaEnum(void *, int);}
static void release_QMetaEnum(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMetaEnum *>(sipCppV);
}


extern "C" {static void assign_QMetaEnum(void *, SIP_SSIZE_T, const void *);}
static void assign_QMetaEnum(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMetaEnum *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMetaEnum *>(sipSrc);
}


extern "C" {static void *array_QMetaEnum(SIP_SSIZE_T);}
static void *array_QMetaEnum(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMetaEnum[sipNrElem];
}


extern "C" {static void *copy_QMetaEnum(const void *, SIP_SSIZE_T);}
static void *copy_QMetaEnum(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMetaEnum(reinterpret_cast<const  ::QMetaEnum *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMetaEnum(sipSimpleWrapper *);}
static void dealloc_QMetaEnum(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMetaEnum(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMetaEnum(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMetaEnum(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMetaEnum *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMetaEnum();

            return sipCpp;
        }
    }

    {
        const  ::QMetaEnum* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaEnum, &a0))
        {
            sipCpp = new  ::QMetaEnum(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMetaEnum[] = {
    {SIP_MLNAME_CAST(sipName_isFlag), meth_QMetaEnum_isFlag, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_isFlag)},
    {SIP_MLNAME_CAST(sipName_isScoped), meth_QMetaEnum_isScoped, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_isScoped)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QMetaEnum_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_isValid)},
    {SIP_MLNAME_CAST(sipName_key), meth_QMetaEnum_key, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_key)},
    {SIP_MLNAME_CAST(sipName_keyCount), meth_QMetaEnum_keyCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_keyCount)},
    {SIP_MLNAME_CAST(sipName_keyToValue), (PyCFunction)meth_QMetaEnum_keyToValue, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMetaEnum_keyToValue)},
    {SIP_MLNAME_CAST(sipName_keysToValue), (PyCFunction)meth_QMetaEnum_keysToValue, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMetaEnum_keysToValue)},
    {SIP_MLNAME_CAST(sipName_name), meth_QMetaEnum_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_name)},
    {SIP_MLNAME_CAST(sipName_scope), meth_QMetaEnum_scope, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_scope)},
    {SIP_MLNAME_CAST(sipName_value), meth_QMetaEnum_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_value)},
    {SIP_MLNAME_CAST(sipName_valueToKey), meth_QMetaEnum_valueToKey, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_valueToKey)},
    {SIP_MLNAME_CAST(sipName_valueToKeys), meth_QMetaEnum_valueToKeys, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaEnum_valueToKeys)}
};

PyDoc_STRVAR(doc_QMetaEnum, "\1QMetaEnum()\n"
    "QMetaEnum(QMetaEnum)");


static pyqt5ClassPluginDef plugin_QMetaEnum = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMetaEnum = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMetaEnum,
        {0},
        &plugin_QMetaEnum
    },
    {
        sipNameNr_QMetaEnum,
        {0, 0, 1},
        12, methods_QMetaEnum,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaEnum,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMetaEnum,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMetaEnum,
    assign_QMetaEnum,
    array_QMetaEnum,
    copy_QMetaEnum,
    release_QMetaEnum,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 101172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 101176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 101179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 101182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 101185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 101188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 101191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
// Raise an exception when QMetaMethod::invoke() returns false.
static void qtcore_invoke_exception()
{
    PyErr_SetString(PyExc_RuntimeError, "QMetaMethod.invoke() call failed");
}
#line 101198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMetaMethod_typeName, "typeName(self) -> str");

extern "C" {static PyObject *meth_QMetaMethod_typeName(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_typeName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->typeName();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_typeName, doc_QMetaMethod_typeName);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_parameterTypes, "parameterTypes(self) -> List[QByteArray]");

extern "C" {static PyObject *meth_QMetaMethod_parameterTypes(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_parameterTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>(sipCpp->parameterTypes());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_parameterTypes, doc_QMetaMethod_parameterTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_parameterNames, "parameterNames(self) -> List[QByteArray]");

extern "C" {static PyObject *meth_QMetaMethod_parameterNames(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_parameterNames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>(sipCpp->parameterNames());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_parameterNames, doc_QMetaMethod_parameterNames);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_tag, "tag(self) -> str");

extern "C" {static PyObject *meth_QMetaMethod_tag(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_tag(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->tag();

            if (sipRes == NULL)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_tag, doc_QMetaMethod_tag);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_access, "access(self) -> QMetaMethod.Access");

extern "C" {static PyObject *meth_QMetaMethod_access(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_access(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
             ::QMetaMethod::Access sipRes;

            sipRes = sipCpp->access();

            return sipConvertFromEnum(sipRes,sipType_QMetaMethod_Access);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_access, doc_QMetaMethod_access);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_methodType, "methodType(self) -> QMetaMethod.MethodType");

extern "C" {static PyObject *meth_QMetaMethod_methodType(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_methodType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
             ::QMetaMethod::MethodType sipRes;

            sipRes = sipCpp->methodType();

            return sipConvertFromEnum(sipRes,sipType_QMetaMethod_MethodType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_methodType, doc_QMetaMethod_methodType);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_invoke, "invoke(self, QObject, Qt.ConnectionType, QGenericReturnArgument, value0: QGenericArgument = QGenericArgument(0,0), value1: QGenericArgument = QGenericArgument(0,0), value2: QGenericArgument = QGenericArgument(0,0), value3: QGenericArgument = QGenericArgument(0,0), value4: QGenericArgument = QGenericArgument(0,0), value5: QGenericArgument = QGenericArgument(0,0), value6: QGenericArgument = QGenericArgument(0,0), value7: QGenericArgument = QGenericArgument(0,0), value8: QGenericArgument = QGenericArgument(0,0), value9: QGenericArgument = QGenericArgument(0,0)) -> object\n"
    "invoke(self, QObject, QGenericReturnArgument, value0: QGenericArgument = QGenericArgument(0,0), value1: QGenericArgument = QGenericArgument(0,0), value2: QGenericArgument = QGenericArgument(0,0), value3: QGenericArgument = QGenericArgument(0,0), value4: QGenericArgument = QGenericArgument(0,0), value5: QGenericArgument = QGenericArgument(0,0), value6: QGenericArgument = QGenericArgument(0,0), value7: QGenericArgument = QGenericArgument(0,0), value8: QGenericArgument = QGenericArgument(0,0), value9: QGenericArgument = QGenericArgument(0,0)) -> object\n"
    "invoke(self, QObject, Qt.ConnectionType, value0: QGenericArgument = QGenericArgument(0,0), value1: QGenericArgument = QGenericArgument(0,0), value2: QGenericArgument = QGenericArgument(0,0), value3: QGenericArgument = QGenericArgument(0,0), value4: QGenericArgument = QGenericArgument(0,0), value5: QGenericArgument = QGenericArgument(0,0), value6: QGenericArgument = QGenericArgument(0,0), value7: QGenericArgument = QGenericArgument(0,0), value8: QGenericArgument = QGenericArgument(0,0), value9: QGenericArgument = QGenericArgument(0,0)) -> object\n"
    "invoke(self, QObject, value0: QGenericArgument = QGenericArgument(0,0), value1: QGenericArgument = QGenericArgument(0,0), value2: QGenericArgument = QGenericArgument(0,0), value3: QGenericArgument = QGenericArgument(0,0), value4: QGenericArgument = QGenericArgument(0,0), value5: QGenericArgument = QGenericArgument(0,0), value6: QGenericArgument = QGenericArgument(0,0), value7: QGenericArgument = QGenericArgument(0,0), value8: QGenericArgument = QGenericArgument(0,0), value9: QGenericArgument = QGenericArgument(0,0)) -> object");

extern "C" {static PyObject *meth_QMetaMethod_invoke(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_invoke(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::Qt::ConnectionType a1;
         ::QGenericReturnArgument* a2;
        PyObject *a2Wrapper;
         ::QGenericArgument a3def = QGenericArgument(0,0);
         ::QGenericArgument* a3 = &a3def;
         ::QGenericArgument a4def = QGenericArgument(0,0);
         ::QGenericArgument* a4 = &a4def;
         ::QGenericArgument a5def = QGenericArgument(0,0);
         ::QGenericArgument* a5 = &a5def;
         ::QGenericArgument a6def = QGenericArgument(0,0);
         ::QGenericArgument* a6 = &a6def;
         ::QGenericArgument a7def = QGenericArgument(0,0);
         ::QGenericArgument* a7 = &a7def;
         ::QGenericArgument a8def = QGenericArgument(0,0);
         ::QGenericArgument* a8 = &a8def;
         ::QGenericArgument a9def = QGenericArgument(0,0);
         ::QGenericArgument* a9 = &a9def;
         ::QGenericArgument a10def = QGenericArgument(0,0);
         ::QGenericArgument* a10 = &a10def;
         ::QGenericArgument a11def = QGenericArgument(0,0);
         ::QGenericArgument* a11 = &a11def;
         ::QGenericArgument a12def = QGenericArgument(0,0);
         ::QGenericArgument* a12 = &a12def;
        const  ::QMetaMethod *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_value0,
            sipName_value1,
            sipName_value2,
            sipName_value3,
            sipName_value4,
            sipName_value5,
            sipName_value6,
            sipName_value7,
            sipName_value8,
            sipName_value9,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8E@J9|J9J9J9J9J9J9J9J9J9J9", &sipSelf, sipType_QMetaMethod, &sipCpp, sipType_QObject, &a0, sipType_Qt_ConnectionType, &a1, &a2Wrapper, sipType_QGenericReturnArgument, &a2, sipType_QGenericArgument, &a3, sipType_QGenericArgument, &a4, sipType_QGenericArgument, &a5, sipType_QGenericArgument, &a6, sipType_QGenericArgument, &a7, sipType_QGenericArgument, &a8, sipType_QGenericArgument, &a9, sipType_QGenericArgument, &a10, sipType_QGenericArgument, &a11, sipType_QGenericArgument, &a12))
        {
            PyObject * sipRes = 0;

#line 64 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
        // Raise an exception if the call failed.
        bool ok;
        
        Py_BEGIN_ALLOW_THREADS
        ok = sipCpp->invoke(a0, a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9, *a10, *a11,
                *a12);
        Py_END_ALLOW_THREADS
        
        if (ok)
            sipRes = qpycore_ReturnValue(a2Wrapper);
        else
            qtcore_invoke_exception();
#line 101455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    {
         ::QObject* a0;
         ::QGenericReturnArgument* a1;
        PyObject *a1Wrapper;
         ::QGenericArgument a2def = QGenericArgument(0,0);
         ::QGenericArgument* a2 = &a2def;
         ::QGenericArgument a3def = QGenericArgument(0,0);
         ::QGenericArgument* a3 = &a3def;
         ::QGenericArgument a4def = QGenericArgument(0,0);
         ::QGenericArgument* a4 = &a4def;
         ::QGenericArgument a5def = QGenericArgument(0,0);
         ::QGenericArgument* a5 = &a5def;
         ::QGenericArgument a6def = QGenericArgument(0,0);
         ::QGenericArgument* a6 = &a6def;
         ::QGenericArgument a7def = QGenericArgument(0,0);
         ::QGenericArgument* a7 = &a7def;
         ::QGenericArgument a8def = QGenericArgument(0,0);
         ::QGenericArgument* a8 = &a8def;
         ::QGenericArgument a9def = QGenericArgument(0,0);
         ::QGenericArgument* a9 = &a9def;
         ::QGenericArgument a10def = QGenericArgument(0,0);
         ::QGenericArgument* a10 = &a10def;
         ::QGenericArgument a11def = QGenericArgument(0,0);
         ::QGenericArgument* a11 = &a11def;
        const  ::QMetaMethod *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_value0,
            sipName_value1,
            sipName_value2,
            sipName_value3,
            sipName_value4,
            sipName_value5,
            sipName_value6,
            sipName_value7,
            sipName_value8,
            sipName_value9,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8@J9|J9J9J9J9J9J9J9J9J9J9", &sipSelf, sipType_QMetaMethod, &sipCpp, sipType_QObject, &a0, &a1Wrapper, sipType_QGenericReturnArgument, &a1, sipType_QGenericArgument, &a2, sipType_QGenericArgument, &a3, sipType_QGenericArgument, &a4, sipType_QGenericArgument, &a5, sipType_QGenericArgument, &a6, sipType_QGenericArgument, &a7, sipType_QGenericArgument, &a8, sipType_QGenericArgument, &a9, sipType_QGenericArgument, &a10, sipType_QGenericArgument, &a11))
        {
            PyObject * sipRes = 0;

#line 80 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
        // Raise an exception if the call failed.
        bool ok;
        
        Py_BEGIN_ALLOW_THREADS
        ok = sipCpp->invoke(a0, *a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9, *a10,
                *a11);
        Py_END_ALLOW_THREADS
        
        if (ok)
            sipRes = qpycore_ReturnValue(a1Wrapper);
        else
            qtcore_invoke_exception();
#line 101519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    {
         ::QObject* a0;
         ::Qt::ConnectionType a1;
         ::QGenericArgument a2def = QGenericArgument(0,0);
         ::QGenericArgument* a2 = &a2def;
         ::QGenericArgument a3def = QGenericArgument(0,0);
         ::QGenericArgument* a3 = &a3def;
         ::QGenericArgument a4def = QGenericArgument(0,0);
         ::QGenericArgument* a4 = &a4def;
         ::QGenericArgument a5def = QGenericArgument(0,0);
         ::QGenericArgument* a5 = &a5def;
         ::QGenericArgument a6def = QGenericArgument(0,0);
         ::QGenericArgument* a6 = &a6def;
         ::QGenericArgument a7def = QGenericArgument(0,0);
         ::QGenericArgument* a7 = &a7def;
         ::QGenericArgument a8def = QGenericArgument(0,0);
         ::QGenericArgument* a8 = &a8def;
         ::QGenericArgument a9def = QGenericArgument(0,0);
         ::QGenericArgument* a9 = &a9def;
         ::QGenericArgument a10def = QGenericArgument(0,0);
         ::QGenericArgument* a10 = &a10def;
         ::QGenericArgument a11def = QGenericArgument(0,0);
         ::QGenericArgument* a11 = &a11def;
        const  ::QMetaMethod *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_value0,
            sipName_value1,
            sipName_value2,
            sipName_value3,
            sipName_value4,
            sipName_value5,
            sipName_value6,
            sipName_value7,
            sipName_value8,
            sipName_value9,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8E|J9J9J9J9J9J9J9J9J9J9", &sipSelf, sipType_QMetaMethod, &sipCpp, sipType_QObject, &a0, sipType_Qt_ConnectionType, &a1, sipType_QGenericArgument, &a2, sipType_QGenericArgument, &a3, sipType_QGenericArgument, &a4, sipType_QGenericArgument, &a5, sipType_QGenericArgument, &a6, sipType_QGenericArgument, &a7, sipType_QGenericArgument, &a8, sipType_QGenericArgument, &a9, sipType_QGenericArgument, &a10, sipType_QGenericArgument, &a11))
        {
            PyObject * sipRes = 0;

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
        // Raise an exception if the call failed.
        bool ok;
        
        Py_BEGIN_ALLOW_THREADS
        ok = sipCpp->invoke(a0, a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9, *a10, *a11);
        Py_END_ALLOW_THREADS
        
        if (ok)
        {
            Py_INCREF(Py_None);
            sipRes = Py_None;
        }
        else
            qtcore_invoke_exception();
#line 101584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    {
         ::QObject* a0;
         ::QGenericArgument a1def = QGenericArgument(0,0);
         ::QGenericArgument* a1 = &a1def;
         ::QGenericArgument a2def = QGenericArgument(0,0);
         ::QGenericArgument* a2 = &a2def;
         ::QGenericArgument a3def = QGenericArgument(0,0);
         ::QGenericArgument* a3 = &a3def;
         ::QGenericArgument a4def = QGenericArgument(0,0);
         ::QGenericArgument* a4 = &a4def;
         ::QGenericArgument a5def = QGenericArgument(0,0);
         ::QGenericArgument* a5 = &a5def;
         ::QGenericArgument a6def = QGenericArgument(0,0);
         ::QGenericArgument* a6 = &a6def;
         ::QGenericArgument a7def = QGenericArgument(0,0);
         ::QGenericArgument* a7 = &a7def;
         ::QGenericArgument a8def = QGenericArgument(0,0);
         ::QGenericArgument* a8 = &a8def;
         ::QGenericArgument a9def = QGenericArgument(0,0);
         ::QGenericArgument* a9 = &a9def;
         ::QGenericArgument a10def = QGenericArgument(0,0);
         ::QGenericArgument* a10 = &a10def;
        const  ::QMetaMethod *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_value0,
            sipName_value1,
            sipName_value2,
            sipName_value3,
            sipName_value4,
            sipName_value5,
            sipName_value6,
            sipName_value7,
            sipName_value8,
            sipName_value9,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|J9J9J9J9J9J9J9J9J9J9", &sipSelf, sipType_QMetaMethod, &sipCpp, sipType_QObject, &a0, sipType_QGenericArgument, &a1, sipType_QGenericArgument, &a2, sipType_QGenericArgument, &a3, sipType_QGenericArgument, &a4, sipType_QGenericArgument, &a5, sipType_QGenericArgument, &a6, sipType_QGenericArgument, &a7, sipType_QGenericArgument, &a8, sipType_QGenericArgument, &a9, sipType_QGenericArgument, &a10))
        {
            PyObject * sipRes = 0;

#line 114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
        // Raise an exception if the call failed.
        bool ok;
        
        Py_BEGIN_ALLOW_THREADS
        ok = sipCpp->invoke(a0, *a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9, *a10);
        Py_END_ALLOW_THREADS
        
        if (ok)
        {
            Py_INCREF(Py_None);
            sipRes = Py_None;
        }
        else
            qtcore_invoke_exception();
#line 101647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_invoke, doc_QMetaMethod_invoke);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_methodIndex, "methodIndex(self) -> int");

extern "C" {static PyObject *meth_QMetaMethod_methodIndex(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_methodIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->methodIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_methodIndex, doc_QMetaMethod_methodIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QMetaMethod_isValid(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_isValid, doc_QMetaMethod_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_methodSignature, "methodSignature(self) -> QByteArray");

extern "C" {static PyObject *meth_QMetaMethod_methodSignature(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_methodSignature(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->methodSignature());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_methodSignature, doc_QMetaMethod_methodSignature);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_name, "name(self) -> QByteArray");

extern "C" {static PyObject *meth_QMetaMethod_name(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->name());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_name, doc_QMetaMethod_name);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_returnType, "returnType(self) -> int");

extern "C" {static PyObject *meth_QMetaMethod_returnType(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_returnType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->returnType();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_returnType, doc_QMetaMethod_returnType);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_parameterCount, "parameterCount(self) -> int");

extern "C" {static PyObject *meth_QMetaMethod_parameterCount(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_parameterCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMetaMethod, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->parameterCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_parameterCount, doc_QMetaMethod_parameterCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMetaMethod_parameterType, "parameterType(self, int) -> int");

extern "C" {static PyObject *meth_QMetaMethod_parameterType(PyObject *, PyObject *);}
static PyObject *meth_QMetaMethod_parameterType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QMetaMethod *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMetaMethod, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->parameterType(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMetaMethod, sipName_parameterType, doc_QMetaMethod_parameterType);

    return NULL;
}


extern "C" {static PyObject *slot_QMetaMethod___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMetaMethod___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMetaMethod *sipCpp = reinterpret_cast< ::QMetaMethod *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaMethod));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QMetaMethod, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMetaMethod___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMetaMethod___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMetaMethod *sipCpp = reinterpret_cast< ::QMetaMethod *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMetaMethod));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QMetaMethod, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QMetaMethod(void *, int);}
static void release_QMetaMethod(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMetaMethod *>(sipCppV);
}


extern "C" {static void assign_QMetaMethod(void *, SIP_SSIZE_T, const void *);}
static void assign_QMetaMethod(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMetaMethod *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMetaMethod *>(sipSrc);
}


extern "C" {static void *array_QMetaMethod(SIP_SSIZE_T);}
static void *array_QMetaMethod(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMetaMethod[sipNrElem];
}


extern "C" {static void *copy_QMetaMethod(const void *, SIP_SSIZE_T);}
static void *copy_QMetaMethod(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMetaMethod(reinterpret_cast<const  ::QMetaMethod *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMetaMethod(sipSimpleWrapper *);}
static void dealloc_QMetaMethod(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMetaMethod(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMetaMethod(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMetaMethod(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMetaMethod *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMetaMethod();

            return sipCpp;
        }
    }

    {
        const  ::QMetaMethod* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMetaMethod, &a0))
        {
            sipCpp = new  ::QMetaMethod(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMetaMethod[] = {
    {(void *)slot_QMetaMethod___eq__, eq_slot},
    {(void *)slot_QMetaMethod___ne__, ne_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QMetaMethod[] = {
    {SIP_MLNAME_CAST(sipName_access), meth_QMetaMethod_access, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_access)},
    {SIP_MLNAME_CAST(sipName_invoke), (PyCFunction)meth_QMetaMethod_invoke, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMetaMethod_invoke)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QMetaMethod_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_isValid)},
    {SIP_MLNAME_CAST(sipName_methodIndex), meth_QMetaMethod_methodIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_methodIndex)},
    {SIP_MLNAME_CAST(sipName_methodSignature), meth_QMetaMethod_methodSignature, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_methodSignature)},
    {SIP_MLNAME_CAST(sipName_methodType), meth_QMetaMethod_methodType, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_methodType)},
    {SIP_MLNAME_CAST(sipName_name), meth_QMetaMethod_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_name)},
    {SIP_MLNAME_CAST(sipName_parameterCount), meth_QMetaMethod_parameterCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_parameterCount)},
    {SIP_MLNAME_CAST(sipName_parameterNames), meth_QMetaMethod_parameterNames, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_parameterNames)},
    {SIP_MLNAME_CAST(sipName_parameterType), meth_QMetaMethod_parameterType, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_parameterType)},
    {SIP_MLNAME_CAST(sipName_parameterTypes), meth_QMetaMethod_parameterTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_parameterTypes)},
    {SIP_MLNAME_CAST(sipName_returnType), meth_QMetaMethod_returnType, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_returnType)},
    {SIP_MLNAME_CAST(sipName_tag), meth_QMetaMethod_tag, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_tag)},
    {SIP_MLNAME_CAST(sipName_typeName), meth_QMetaMethod_typeName, METH_VARARGS, SIP_MLDOC_CAST(doc_QMetaMethod_typeName)}
};

static sipEnumMemberDef enummembers_QMetaMethod[] = {
    {sipName_Constructor, static_cast<int>( ::QMetaMethod::Constructor), 154},
    {sipName_Method, static_cast<int>( ::QMetaMethod::Method), 154},
    {sipName_Private, static_cast<int>( ::QMetaMethod::Private), 153},
    {sipName_Protected, static_cast<int>( ::QMetaMethod::Protected), 153},
    {sipName_Public, static_cast<int>( ::QMetaMethod::Public), 153},
    {sipName_Signal, static_cast<int>( ::QMetaMethod::Signal), 154},
    {sipName_Slot, static_cast<int>( ::QMetaMethod::Slot), 154},
};

PyDoc_STRVAR(doc_QMetaMethod, "\1QMetaMethod()\n"
    "QMetaMethod(QMetaMethod)");


static pyqt5ClassPluginDef plugin_QMetaMethod = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMetaMethod = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMetaMethod,
        {0},
        &plugin_QMetaMethod
    },
    {
        sipNameNr_QMetaMethod,
        {0, 0, 1},
        14, methods_QMetaMethod,
        7, enummembers_QMetaMethod,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMetaMethod,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMetaMethod,
    init_type_QMetaMethod,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMetaMethod,
    assign_QMetaMethod,
    array_QMetaMethod,
    copy_QMetaMethod,
    release_QMetaMethod,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmessageauthenticationcode.sip"
#include <qmessageauthenticationcode.h>
#line 102088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcryptographichash.sip"
#include <qcryptographichash.h>
#line 102092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 102095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 102098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMessageAuthenticationCode_reset, "reset(self)");

extern "C" {static PyObject *meth_QMessageAuthenticationCode_reset(PyObject *, PyObject *);}
static PyObject *meth_QMessageAuthenticationCode_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QMessageAuthenticationCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageAuthenticationCode, &sipCpp))
        {
            sipCpp->reset();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageAuthenticationCode, sipName_reset, doc_QMessageAuthenticationCode_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageAuthenticationCode_setKey, "setKey(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QMessageAuthenticationCode_setKey(PyObject *, PyObject *);}
static PyObject *meth_QMessageAuthenticationCode_setKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QMessageAuthenticationCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMessageAuthenticationCode, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->setKey(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageAuthenticationCode, sipName_setKey, doc_QMessageAuthenticationCode_setKey);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageAuthenticationCode_addData, "addData(self, str, int)\n"
    "addData(self, Union[QByteArray, bytes, bytearray])\n"
    "addData(self, QIODevice) -> bool");

extern "C" {static PyObject *meth_QMessageAuthenticationCode_addData(PyObject *, PyObject *);}
static PyObject *meth_QMessageAuthenticationCode_addData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        int a1;
         ::QMessageAuthenticationCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAi", &sipSelf, sipType_QMessageAuthenticationCode, &sipCpp, &a0Keep, &a0, &a1))
        {
            sipCpp->addData(a0,a1);
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QMessageAuthenticationCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMessageAuthenticationCode, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->addData(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QIODevice* a0;
         ::QMessageAuthenticationCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMessageAuthenticationCode, &sipCpp, sipType_QIODevice, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->addData(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageAuthenticationCode, sipName_addData, doc_QMessageAuthenticationCode_addData);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageAuthenticationCode_result, "result(self) -> QByteArray");

extern "C" {static PyObject *meth_QMessageAuthenticationCode_result(PyObject *, PyObject *);}
static PyObject *meth_QMessageAuthenticationCode_result(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMessageAuthenticationCode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageAuthenticationCode, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->result());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageAuthenticationCode, sipName_result, doc_QMessageAuthenticationCode_result);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageAuthenticationCode_hash, "hash(Union[QByteArray, bytes, bytearray], Union[QByteArray, bytes, bytearray], QCryptographicHash.Algorithm) -> QByteArray");

extern "C" {static PyObject *meth_QMessageAuthenticationCode_hash(PyObject *, PyObject *);}
static PyObject *meth_QMessageAuthenticationCode_hash(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QByteArray* a1;
        int a1State = 0;
         ::QCryptographicHash::Algorithm a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1E", sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State, sipType_QCryptographicHash_Algorithm, &a2))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QMessageAuthenticationCode::hash(*a0,*a1,a2));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageAuthenticationCode, sipName_hash, doc_QMessageAuthenticationCode_hash);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMessageAuthenticationCode(void *, int);}
static void release_QMessageAuthenticationCode(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMessageAuthenticationCode *>(sipCppV);
}


extern "C" {static void dealloc_QMessageAuthenticationCode(sipSimpleWrapper *);}
static void dealloc_QMessageAuthenticationCode(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMessageAuthenticationCode(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMessageAuthenticationCode(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMessageAuthenticationCode(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMessageAuthenticationCode *sipCpp = 0;

    {
         ::QCryptographicHash::Algorithm a0;
        const  ::QByteArray& a1def = QByteArray();
        const  ::QByteArray* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_key,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|J1", sipType_QCryptographicHash_Algorithm, &a0, sipType_QByteArray, &a1, &a1State))
        {
            sipCpp = new  ::QMessageAuthenticationCode(a0,*a1);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMessageAuthenticationCode[] = {
    {SIP_MLNAME_CAST(sipName_addData), meth_QMessageAuthenticationCode_addData, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageAuthenticationCode_addData)},
    {SIP_MLNAME_CAST(sipName_hash), meth_QMessageAuthenticationCode_hash, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageAuthenticationCode_hash)},
    {SIP_MLNAME_CAST(sipName_reset), meth_QMessageAuthenticationCode_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageAuthenticationCode_reset)},
    {SIP_MLNAME_CAST(sipName_result), meth_QMessageAuthenticationCode_result, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageAuthenticationCode_result)},
    {SIP_MLNAME_CAST(sipName_setKey), meth_QMessageAuthenticationCode_setKey, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageAuthenticationCode_setKey)}
};

PyDoc_STRVAR(doc_QMessageAuthenticationCode, "\1QMessageAuthenticationCode(QCryptographicHash.Algorithm, key: Union[QByteArray, bytes, bytearray] = QByteArray())");


static pyqt5ClassPluginDef plugin_QMessageAuthenticationCode = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMessageAuthenticationCode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMessageAuthenticationCode,
        {0},
        &plugin_QMessageAuthenticationCode
    },
    {
        sipNameNr_QMessageAuthenticationCode,
        {0, 0, 1},
        5, methods_QMessageAuthenticationCode,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMessageAuthenticationCode,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMessageAuthenticationCode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMessageAuthenticationCode,
    0,
    0,
    0,
    release_QMessageAuthenticationCode,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 102402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 102406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 102409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMarginsF_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QMarginsF_isNull(PyObject *, PyObject *);}
static PyObject *meth_QMarginsF_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMarginsF, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMarginsF, sipName_isNull, doc_QMarginsF_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QMarginsF_left, "left(self) -> float");

extern "C" {static PyObject *meth_QMarginsF_left(PyObject *, PyObject *);}
static PyObject *meth_QMarginsF_left(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMarginsF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->left();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMarginsF, sipName_left, doc_QMarginsF_left);

    return NULL;
}


PyDoc_STRVAR(doc_QMarginsF_top, "top(self) -> float");

extern "C" {static PyObject *meth_QMarginsF_top(PyObject *, PyObject *);}
static PyObject *meth_QMarginsF_top(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMarginsF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->top();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMarginsF, sipName_top, doc_QMarginsF_top);

    return NULL;
}


PyDoc_STRVAR(doc_QMarginsF_right, "right(self) -> float");

extern "C" {static PyObject *meth_QMarginsF_right(PyObject *, PyObject *);}
static PyObject *meth_QMarginsF_right(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMarginsF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->right();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMarginsF, sipName_right, doc_QMarginsF_right);

    return NULL;
}


PyDoc_STRVAR(doc_QMarginsF_bottom, "bottom(self) -> float");

extern "C" {static PyObject *meth_QMarginsF_bottom(PyObject *, PyObject *);}
static PyObject *meth_QMarginsF_bottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMarginsF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->bottom();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMarginsF, sipName_bottom, doc_QMarginsF_bottom);

    return NULL;
}


PyDoc_STRVAR(doc_QMarginsF_setLeft, "setLeft(self, float)");

extern "C" {static PyObject *meth_QMarginsF_setLeft(PyObject *, PyObject *);}
static PyObject *meth_QMarginsF_setLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QMarginsF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QMarginsF, &sipCpp, &a0))
        {
            sipCpp->setLeft(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMarginsF, sipName_setLeft, doc_QMarginsF_setLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QMarginsF_setTop, "setTop(self, float)");

extern "C" {static PyObject *meth_QMarginsF_setTop(PyObject *, PyObject *);}
static PyObject *meth_QMarginsF_setTop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QMarginsF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QMarginsF, &sipCpp, &a0))
        {
            sipCpp->setTop(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMarginsF, sipName_setTop, doc_QMarginsF_setTop);

    return NULL;
}


PyDoc_STRVAR(doc_QMarginsF_setRight, "setRight(self, float)");

extern "C" {static PyObject *meth_QMarginsF_setRight(PyObject *, PyObject *);}
static PyObject *meth_QMarginsF_setRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QMarginsF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QMarginsF, &sipCpp, &a0))
        {
            sipCpp->setRight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMarginsF, sipName_setRight, doc_QMarginsF_setRight);

    return NULL;
}


PyDoc_STRVAR(doc_QMarginsF_setBottom, "setBottom(self, float)");

extern "C" {static PyObject *meth_QMarginsF_setBottom(PyObject *, PyObject *);}
static PyObject *meth_QMarginsF_setBottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QMarginsF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QMarginsF, &sipCpp, &a0))
        {
            sipCpp->setBottom(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMarginsF, sipName_setBottom, doc_QMarginsF_setBottom);

    return NULL;
}


PyDoc_STRVAR(doc_QMarginsF_toMargins, "toMargins(self) -> QMargins");

extern "C" {static PyObject *meth_QMarginsF_toMargins(PyObject *, PyObject *);}
static PyObject *meth_QMarginsF_toMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMarginsF, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->toMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMarginsF, sipName_toMargins, doc_QMarginsF_toMargins);

    return NULL;
}


extern "C" {static PyObject *slot_QMarginsF___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMarginsF___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMarginsF *sipCpp = reinterpret_cast< ::QMarginsF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMarginsF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMarginsF, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QMarginsF, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMarginsF___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMarginsF___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMarginsF *sipCpp = reinterpret_cast< ::QMarginsF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMarginsF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMarginsF, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QMarginsF, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMarginsF___add__(PyObject *,PyObject *);}
static PyObject *slot_QMarginsF___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;
        const  ::QMarginsF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QMarginsF, &a0, sipType_QMarginsF, &a1))
        {
             ::QMarginsF*sipRes;

            sipRes = new  ::QMarginsF((*a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QMarginsF,NULL);
        }
    }

    {
        const  ::QMarginsF* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QMarginsF, &a0, &a1))
        {
             ::QMarginsF*sipRes;

            sipRes = new  ::QMarginsF((*a0 + a1));

            return sipConvertFromNewType(sipRes,sipType_QMarginsF,NULL);
        }
    }

    {
         ::qreal a0;
        const  ::QMarginsF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &a0, sipType_QMarginsF, &a1))
        {
             ::QMarginsF*sipRes;

            sipRes = new  ::QMarginsF((a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QMarginsF,NULL);
        }
    }

    {
        const  ::QMarginsF* a0;
        const  ::QRectF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QMarginsF, &a0, sipType_QRectF, &a1))
        {
             ::QRectF*sipRes;

            sipRes = new  ::QRectF((*a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMarginsF___sub__(PyObject *,PyObject *);}
static PyObject *slot_QMarginsF___sub__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;
        const  ::QMarginsF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QMarginsF, &a0, sipType_QMarginsF, &a1))
        {
             ::QMarginsF*sipRes;

            sipRes = new  ::QMarginsF((*a0 - *a1));

            return sipConvertFromNewType(sipRes,sipType_QMarginsF,NULL);
        }
    }

    {
        const  ::QMarginsF* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QMarginsF, &a0, &a1))
        {
             ::QMarginsF*sipRes;

            sipRes = new  ::QMarginsF((*a0 - a1));

            return sipConvertFromNewType(sipRes,sipType_QMarginsF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, sub_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMarginsF___mul__(PyObject *,PyObject *);}
static PyObject *slot_QMarginsF___mul__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QMarginsF, &a0, &a1))
        {
             ::QMarginsF*sipRes;

            sipRes = new  ::QMarginsF((*a0 * a1));

            return sipConvertFromNewType(sipRes,sipType_QMarginsF,NULL);
        }
    }

    {
         ::qreal a0;
        const  ::QMarginsF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &a0, sipType_QMarginsF, &a1))
        {
             ::QMarginsF*sipRes;

            sipRes = new  ::QMarginsF((a0 * *a1));

            return sipConvertFromNewType(sipRes,sipType_QMarginsF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, mul_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMarginsF___div__(PyObject *,PyObject *);}
static PyObject *slot_QMarginsF___div__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QMarginsF, &a0, &a1))
        {
             ::QMarginsF*sipRes;

            sipRes = new  ::QMarginsF((*a0 / a1));

            return sipConvertFromNewType(sipRes,sipType_QMarginsF,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, div_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMarginsF___neg__(PyObject *);}
static PyObject *slot_QMarginsF___neg__(PyObject *sipSelf)
{
     ::QMarginsF *sipCpp = reinterpret_cast< ::QMarginsF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMarginsF));

    if (!sipCpp)
        return 0;


    {
        {
             ::QMarginsF*sipRes;

            sipRes = new  ::QMarginsF(-(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QMarginsF,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMarginsF___pos__(PyObject *);}
static PyObject *slot_QMarginsF___pos__(PyObject *sipSelf)
{
     ::QMarginsF *sipCpp = reinterpret_cast< ::QMarginsF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMarginsF));

    if (!sipCpp)
        return 0;


    {
        {
             ::QMarginsF*sipRes;

            sipRes = new  ::QMarginsF(+(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QMarginsF,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMarginsF___idiv__(PyObject *,PyObject *);}
static PyObject *slot_QMarginsF___idiv__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMarginsF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMarginsF *sipCpp = reinterpret_cast< ::QMarginsF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMarginsF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QMarginsF::operator/=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMarginsF___imul__(PyObject *,PyObject *);}
static PyObject *slot_QMarginsF___imul__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMarginsF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMarginsF *sipCpp = reinterpret_cast< ::QMarginsF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMarginsF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QMarginsF::operator*=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMarginsF___isub__(PyObject *,PyObject *);}
static PyObject *slot_QMarginsF___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMarginsF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMarginsF *sipCpp = reinterpret_cast< ::QMarginsF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMarginsF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMarginsF, &a0))
        {
            sipCpp-> ::QMarginsF::operator-=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QMarginsF::operator-=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMarginsF___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QMarginsF___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMarginsF)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMarginsF *sipCpp = reinterpret_cast< ::QMarginsF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMarginsF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMarginsF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMarginsF, &a0))
        {
            sipCpp-> ::QMarginsF::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QMarginsF::operator+=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMarginsF(void *, int);}
static void release_QMarginsF(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMarginsF *>(sipCppV);
}


extern "C" {static void assign_QMarginsF(void *, SIP_SSIZE_T, const void *);}
static void assign_QMarginsF(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMarginsF *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMarginsF *>(sipSrc);
}


extern "C" {static void *array_QMarginsF(SIP_SSIZE_T);}
static void *array_QMarginsF(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMarginsF[sipNrElem];
}


extern "C" {static void *copy_QMarginsF(const void *, SIP_SSIZE_T);}
static void *copy_QMarginsF(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMarginsF(reinterpret_cast<const  ::QMarginsF *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMarginsF(sipSimpleWrapper *);}
static void dealloc_QMarginsF(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMarginsF(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMarginsF(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMarginsF(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMarginsF *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMarginsF();

            return sipCpp;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "dddd", &a0, &a1, &a2, &a3))
        {
            sipCpp = new  ::QMarginsF(a0,a1,a2,a3);

            return sipCpp;
        }
    }

    {
        const  ::QMargins* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMargins, &a0))
        {
            sipCpp = new  ::QMarginsF(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QMarginsF* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMarginsF, &a0))
        {
            sipCpp = new  ::QMarginsF(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMarginsF[] = {
    {(void *)slot_QMarginsF___eq__, eq_slot},
    {(void *)slot_QMarginsF___ne__, ne_slot},
    {(void *)slot_QMarginsF___add__, add_slot},
    {(void *)slot_QMarginsF___sub__, sub_slot},
    {(void *)slot_QMarginsF___mul__, mul_slot},
    {(void *)slot_QMarginsF___div__, div_slot},
    {(void *)slot_QMarginsF___neg__, neg_slot},
    {(void *)slot_QMarginsF___pos__, pos_slot},
    {(void *)slot_QMarginsF___idiv__, idiv_slot},
    {(void *)slot_QMarginsF___imul__, imul_slot},
    {(void *)slot_QMarginsF___isub__, isub_slot},
    {(void *)slot_QMarginsF___iadd__, iadd_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QMarginsF[] = {
    {SIP_MLNAME_CAST(sipName_bottom), meth_QMarginsF_bottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QMarginsF_bottom)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QMarginsF_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QMarginsF_isNull)},
    {SIP_MLNAME_CAST(sipName_left), meth_QMarginsF_left, METH_VARARGS, SIP_MLDOC_CAST(doc_QMarginsF_left)},
    {SIP_MLNAME_CAST(sipName_right), meth_QMarginsF_right, METH_VARARGS, SIP_MLDOC_CAST(doc_QMarginsF_right)},
    {SIP_MLNAME_CAST(sipName_setBottom), meth_QMarginsF_setBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QMarginsF_setBottom)},
    {SIP_MLNAME_CAST(sipName_setLeft), meth_QMarginsF_setLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QMarginsF_setLeft)},
    {SIP_MLNAME_CAST(sipName_setRight), meth_QMarginsF_setRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QMarginsF_setRight)},
    {SIP_MLNAME_CAST(sipName_setTop), meth_QMarginsF_setTop, METH_VARARGS, SIP_MLDOC_CAST(doc_QMarginsF_setTop)},
    {SIP_MLNAME_CAST(sipName_toMargins), meth_QMarginsF_toMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QMarginsF_toMargins)},
    {SIP_MLNAME_CAST(sipName_top), meth_QMarginsF_top, METH_VARARGS, SIP_MLDOC_CAST(doc_QMarginsF_top)}
};

PyDoc_STRVAR(doc_QMarginsF, "\1QMarginsF()\n"
    "QMarginsF(float, float, float, float)\n"
    "QMarginsF(QMargins)\n"
    "QMarginsF(QMarginsF)");


static pyqt5ClassPluginDef plugin_QMarginsF = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMarginsF = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMarginsF,
        {0},
        &plugin_QMarginsF
    },
    {
        sipNameNr_QMarginsF,
        {0, 0, 1},
        10, methods_QMarginsF,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMarginsF,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMarginsF,
    init_type_QMarginsF,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMarginsF,
    assign_QMarginsF,
    array_QMarginsF,
    copy_QMarginsF,
    release_QMarginsF,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 103358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 103362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QMargins_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QMargins_isNull(PyObject *, PyObject *);}
static PyObject *meth_QMargins_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMargins, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMargins, sipName_isNull, doc_QMargins_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QMargins_left, "left(self) -> int");

extern "C" {static PyObject *meth_QMargins_left(PyObject *, PyObject *);}
static PyObject *meth_QMargins_left(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMargins, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->left();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMargins, sipName_left, doc_QMargins_left);

    return NULL;
}


PyDoc_STRVAR(doc_QMargins_top, "top(self) -> int");

extern "C" {static PyObject *meth_QMargins_top(PyObject *, PyObject *);}
static PyObject *meth_QMargins_top(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMargins, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->top();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMargins, sipName_top, doc_QMargins_top);

    return NULL;
}


PyDoc_STRVAR(doc_QMargins_right, "right(self) -> int");

extern "C" {static PyObject *meth_QMargins_right(PyObject *, PyObject *);}
static PyObject *meth_QMargins_right(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMargins, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->right();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMargins, sipName_right, doc_QMargins_right);

    return NULL;
}


PyDoc_STRVAR(doc_QMargins_bottom, "bottom(self) -> int");

extern "C" {static PyObject *meth_QMargins_bottom(PyObject *, PyObject *);}
static PyObject *meth_QMargins_bottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMargins, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bottom();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMargins, sipName_bottom, doc_QMargins_bottom);

    return NULL;
}


PyDoc_STRVAR(doc_QMargins_setLeft, "setLeft(self, int)");

extern "C" {static PyObject *meth_QMargins_setLeft(PyObject *, PyObject *);}
static PyObject *meth_QMargins_setLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMargins *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMargins, &sipCpp, &a0))
        {
            sipCpp->setLeft(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMargins, sipName_setLeft, doc_QMargins_setLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QMargins_setTop, "setTop(self, int)");

extern "C" {static PyObject *meth_QMargins_setTop(PyObject *, PyObject *);}
static PyObject *meth_QMargins_setTop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMargins *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMargins, &sipCpp, &a0))
        {
            sipCpp->setTop(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMargins, sipName_setTop, doc_QMargins_setTop);

    return NULL;
}


PyDoc_STRVAR(doc_QMargins_setRight, "setRight(self, int)");

extern "C" {static PyObject *meth_QMargins_setRight(PyObject *, PyObject *);}
static PyObject *meth_QMargins_setRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMargins *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMargins, &sipCpp, &a0))
        {
            sipCpp->setRight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMargins, sipName_setRight, doc_QMargins_setRight);

    return NULL;
}


PyDoc_STRVAR(doc_QMargins_setBottom, "setBottom(self, int)");

extern "C" {static PyObject *meth_QMargins_setBottom(PyObject *, PyObject *);}
static PyObject *meth_QMargins_setBottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QMargins *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMargins, &sipCpp, &a0))
        {
            sipCpp->setBottom(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMargins, sipName_setBottom, doc_QMargins_setBottom);

    return NULL;
}


extern "C" {static PyObject *slot_QMargins___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMargins___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMargins *sipCpp = reinterpret_cast< ::QMargins *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMargins));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMargins, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QMargins, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMargins___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMargins___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QMargins *sipCpp = reinterpret_cast< ::QMargins *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMargins));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMargins, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QMargins, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QMargins___add__(PyObject *,PyObject *);}
static PyObject *slot_QMargins___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;
        const  ::QMargins* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QMargins, &a0, sipType_QMargins, &a1))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins((*a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    {
        const  ::QMargins* a0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9i", sipType_QMargins, &a0, &a1))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins((*a0 + a1));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    {
        int a0;
        const  ::QMargins* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "iJ9", &a0, sipType_QMargins, &a1))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins((a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    {
        const  ::QMargins* a0;
        const  ::QRect* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QMargins, &a0, sipType_QRect, &a1))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect((*a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMargins___sub__(PyObject *,PyObject *);}
static PyObject *slot_QMargins___sub__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;
        const  ::QMargins* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QMargins, &a0, sipType_QMargins, &a1))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins((*a0 - *a1));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    {
        const  ::QMargins* a0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9i", sipType_QMargins, &a0, &a1))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins((*a0 - a1));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, sub_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMargins___mul__(PyObject *,PyObject *);}
static PyObject *slot_QMargins___mul__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9Xi", sipType_QMargins, &a0, &a1))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins((*a0 * a1));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    {
        const  ::QMargins* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QMargins, &a0, &a1))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins((*a0 * a1));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, mul_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMargins___div__(PyObject *,PyObject *);}
static PyObject *slot_QMargins___div__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9Xi", sipType_QMargins, &a0, &a1))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins((*a0 / a1));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    {
        const  ::QMargins* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QMargins, &a0, &a1))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins((*a0 / a1));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, div_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QMargins___neg__(PyObject *);}
static PyObject *slot_QMargins___neg__(PyObject *sipSelf)
{
     ::QMargins *sipCpp = reinterpret_cast< ::QMargins *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMargins));

    if (!sipCpp)
        return 0;


    {
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(-(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMargins___pos__(PyObject *);}
static PyObject *slot_QMargins___pos__(PyObject *sipSelf)
{
     ::QMargins *sipCpp = reinterpret_cast< ::QMargins *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMargins));

    if (!sipCpp)
        return 0;


    {
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(+(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMargins___idiv__(PyObject *,PyObject *);}
static PyObject *slot_QMargins___idiv__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMargins)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMargins *sipCpp = reinterpret_cast< ::QMargins *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMargins));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1Xi", &a0))
        {
            sipCpp-> ::QMargins::operator/=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QMargins::operator/=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMargins___imul__(PyObject *,PyObject *);}
static PyObject *slot_QMargins___imul__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMargins)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMargins *sipCpp = reinterpret_cast< ::QMargins *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMargins));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1Xi", &a0))
        {
            sipCpp-> ::QMargins::operator*=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
         ::qreal a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1d", &a0))
        {
            sipCpp-> ::QMargins::operator*=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMargins___isub__(PyObject *,PyObject *);}
static PyObject *slot_QMargins___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMargins)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMargins *sipCpp = reinterpret_cast< ::QMargins *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMargins));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMargins, &a0))
        {
            sipCpp-> ::QMargins::operator-=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QMargins::operator-=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QMargins___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QMargins___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMargins)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QMargins *sipCpp = reinterpret_cast< ::QMargins *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMargins));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QMargins* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QMargins, &a0))
        {
            sipCpp-> ::QMargins::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QMargins::operator+=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMargins(void *, int);}
static void release_QMargins(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMargins *>(sipCppV);
}


extern "C" {static void assign_QMargins(void *, SIP_SSIZE_T, const void *);}
static void assign_QMargins(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QMargins *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QMargins *>(sipSrc);
}


extern "C" {static void *array_QMargins(SIP_SSIZE_T);}
static void *array_QMargins(SIP_SSIZE_T sipNrElem)
{
    return new  ::QMargins[sipNrElem];
}


extern "C" {static void *copy_QMargins(const void *, SIP_SSIZE_T);}
static void *copy_QMargins(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QMargins(reinterpret_cast<const  ::QMargins *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMargins(sipSimpleWrapper *);}
static void dealloc_QMargins(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMargins(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMargins(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMargins(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMargins *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMargins();

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iiii", &a0, &a1, &a2, &a3))
        {
            sipCpp = new  ::QMargins(a0,a1,a2,a3);

            return sipCpp;
        }
    }

    {
        const  ::QMargins* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QMargins, &a0))
        {
            sipCpp = new  ::QMargins(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMargins[] = {
    {(void *)slot_QMargins___eq__, eq_slot},
    {(void *)slot_QMargins___ne__, ne_slot},
    {(void *)slot_QMargins___add__, add_slot},
    {(void *)slot_QMargins___sub__, sub_slot},
    {(void *)slot_QMargins___mul__, mul_slot},
    {(void *)slot_QMargins___div__, div_slot},
    {(void *)slot_QMargins___neg__, neg_slot},
    {(void *)slot_QMargins___pos__, pos_slot},
    {(void *)slot_QMargins___idiv__, idiv_slot},
    {(void *)slot_QMargins___imul__, imul_slot},
    {(void *)slot_QMargins___isub__, isub_slot},
    {(void *)slot_QMargins___iadd__, iadd_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QMargins[] = {
    {SIP_MLNAME_CAST(sipName_bottom), meth_QMargins_bottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QMargins_bottom)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QMargins_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QMargins_isNull)},
    {SIP_MLNAME_CAST(sipName_left), meth_QMargins_left, METH_VARARGS, SIP_MLDOC_CAST(doc_QMargins_left)},
    {SIP_MLNAME_CAST(sipName_right), meth_QMargins_right, METH_VARARGS, SIP_MLDOC_CAST(doc_QMargins_right)},
    {SIP_MLNAME_CAST(sipName_setBottom), meth_QMargins_setBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QMargins_setBottom)},
    {SIP_MLNAME_CAST(sipName_setLeft), meth_QMargins_setLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QMargins_setLeft)},
    {SIP_MLNAME_CAST(sipName_setRight), meth_QMargins_setRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QMargins_setRight)},
    {SIP_MLNAME_CAST(sipName_setTop), meth_QMargins_setTop, METH_VARARGS, SIP_MLDOC_CAST(doc_QMargins_setTop)},
    {SIP_MLNAME_CAST(sipName_top), meth_QMargins_top, METH_VARARGS, SIP_MLDOC_CAST(doc_QMargins_top)}
};

PyDoc_STRVAR(doc_QMargins, "\1QMargins()\n"
    "QMargins(int, int, int, int)\n"
    "QMargins(QMargins)");


static pyqt5ClassPluginDef plugin_QMargins = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMargins = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMargins,
        {0},
        &plugin_QMargins
    },
    {
        sipNameNr_QMargins,
        {0, 0, 1},
        9, methods_QMargins,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMargins,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMargins,
    init_type_QMargins,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMargins,
    assign_QMargins,
    array_QMargins,
    copy_QMargins,
    release_QMargins,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 57 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
#include <qlogging.h>
#line 104308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QMessageLogger_debug, "debug(self, str)");

extern "C" {static PyObject *meth_QMessageLogger_debug(PyObject *, PyObject *);}
static PyObject *meth_QMessageLogger_debug(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMessageLogger *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMessageLogger, &sipCpp, &a0Keep, &a0))
        {
#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->debug("%s", a0);
        Py_END_ALLOW_THREADS
#line 104331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageLogger, sipName_debug, doc_QMessageLogger_debug);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageLogger_warning, "warning(self, str)");

extern "C" {static PyObject *meth_QMessageLogger_warning(PyObject *, PyObject *);}
static PyObject *meth_QMessageLogger_warning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMessageLogger *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMessageLogger, &sipCpp, &a0Keep, &a0))
        {
#line 75 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->warning("%s", a0);
        Py_END_ALLOW_THREADS
#line 104365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageLogger, sipName_warning, doc_QMessageLogger_warning);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageLogger_critical, "critical(self, str)");

extern "C" {static PyObject *meth_QMessageLogger_critical(PyObject *, PyObject *);}
static PyObject *meth_QMessageLogger_critical(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMessageLogger *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMessageLogger, &sipCpp, &a0Keep, &a0))
        {
#line 82 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->critical("%s", a0);
        Py_END_ALLOW_THREADS
#line 104399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageLogger, sipName_critical, doc_QMessageLogger_critical);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageLogger_fatal, "fatal(self, str)");

extern "C" {static PyObject *meth_QMessageLogger_fatal(PyObject *, PyObject *);}
static PyObject *meth_QMessageLogger_fatal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMessageLogger *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMessageLogger, &sipCpp, &a0Keep, &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->fatal("%s", a0);
        Py_END_ALLOW_THREADS
#line 104433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageLogger, sipName_fatal, doc_QMessageLogger_fatal);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageLogger_info, "info(self, str)");

extern "C" {static PyObject *meth_QMessageLogger_info(PyObject *, PyObject *);}
static PyObject *meth_QMessageLogger_info(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QMessageLogger *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QMessageLogger, &sipCpp, &a0Keep, &a0))
        {
#line 97 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->info("%s", a0);
        Py_END_ALLOW_THREADS
#line 104467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageLogger, sipName_info, doc_QMessageLogger_info);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMessageLogger(void *, int);}
static void release_QMessageLogger(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMessageLogger *>(sipCppV);
}


extern "C" {static void dealloc_QMessageLogger(sipSimpleWrapper *);}
static void dealloc_QMessageLogger(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMessageLogger(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QMessageLogger(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMessageLogger(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QMessageLogger *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QMessageLogger();

            return sipCpp;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        int a1;
        const char* a2;
        PyObject *a2Keep;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "AAiAA", &a0Keep, &a0, &a1, &a2Keep, &a2))
        {
            sipCpp = new  ::QMessageLogger(a0,a1,a2);
            Py_DECREF(a0Keep);
            Py_DECREF(a2Keep);

            return sipCpp;
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;
        int a1;
        const char* a2;
        PyObject *a2Keep;
        const char* a3;
        PyObject *a3Keep;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "AAiAAAA", &a0Keep, &a0, &a1, &a2Keep, &a2, &a3Keep, &a3))
        {
            sipCpp = new  ::QMessageLogger(a0,a1,a2,a3);
            Py_DECREF(a0Keep);
            Py_DECREF(a2Keep);
            Py_DECREF(a3Keep);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QMessageLogger[] = {
    {SIP_MLNAME_CAST(sipName_critical), meth_QMessageLogger_critical, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageLogger_critical)},
    {SIP_MLNAME_CAST(sipName_debug), meth_QMessageLogger_debug, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageLogger_debug)},
    {SIP_MLNAME_CAST(sipName_fatal), meth_QMessageLogger_fatal, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageLogger_fatal)},
    {SIP_MLNAME_CAST(sipName_info), meth_QMessageLogger_info, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageLogger_info)},
    {SIP_MLNAME_CAST(sipName_warning), meth_QMessageLogger_warning, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageLogger_warning)}
};

PyDoc_STRVAR(doc_QMessageLogger, "\1QMessageLogger()\n"
    "QMessageLogger(str, int, str)\n"
    "QMessageLogger(str, int, str, str)");


static pyqt5ClassPluginDef plugin_QMessageLogger = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMessageLogger = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMessageLogger,
        {0},
        &plugin_QMessageLogger
    },
    {
        sipNameNr_QMessageLogger,
        {0, 0, 1},
        5, methods_QMessageLogger,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMessageLogger,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QMessageLogger,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMessageLogger,
    0,
    0,
    0,
    release_QMessageLogger,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlogging.sip"
#include <qlogging.h>
#line 104628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



/* Call the instance's destructor. */
extern "C" {static void release_QMessageLogContext(void *, int);}
static void release_QMessageLogContext(void *sipCppV, int)
{
    delete reinterpret_cast< ::QMessageLogContext *>(sipCppV);
}


extern "C" {static void dealloc_QMessageLogContext(sipSimpleWrapper *);}
static void dealloc_QMessageLogContext(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMessageLogContext(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static PyObject *varget_QMessageLogContext_category(void *, PyObject *, PyObject *);}
static PyObject *varget_QMessageLogContext_category(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const char*sipVal;
     ::QMessageLogContext *sipCpp = reinterpret_cast< ::QMessageLogContext *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -12);
    if (sipPy)
        return sipPy;

    sipVal = sipCpp->category;

    if (sipVal == NULL)
    {
        Py_INCREF(Py_None);
        return Py_None;
    }

    return PyUnicode_DecodeASCII(sipVal, strlen(sipVal), NULL);
}


extern "C" {static int varset_QMessageLogContext_category(void *, PyObject *, PyObject *);}
static int varset_QMessageLogContext_category(void *sipSelf, PyObject *sipPy, PyObject *sipPySelf)
{
    const char*sipVal;
     ::QMessageLogContext *sipCpp = reinterpret_cast< ::QMessageLogContext *>(sipSelf);

    sipVal = sipString_AsASCIIString(&sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->category = sipVal;

    sipKeepReference(sipPySelf, -12, sipPy);

    return 0;
}


extern "C" {static PyObject *varget_QMessageLogContext_file(void *, PyObject *, PyObject *);}
static PyObject *varget_QMessageLogContext_file(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const char*sipVal;
     ::QMessageLogContext *sipCpp = reinterpret_cast< ::QMessageLogContext *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -13);
    if (sipPy)
        return sipPy;

    sipVal = sipCpp->file;

    if (sipVal == NULL)
    {
        Py_INCREF(Py_None);
        return Py_None;
    }

    return PyUnicode_DecodeASCII(sipVal, strlen(sipVal), NULL);
}


extern "C" {static int varset_QMessageLogContext_file(void *, PyObject *, PyObject *);}
static int varset_QMessageLogContext_file(void *sipSelf, PyObject *sipPy, PyObject *sipPySelf)
{
    const char*sipVal;
     ::QMessageLogContext *sipCpp = reinterpret_cast< ::QMessageLogContext *>(sipSelf);

    sipVal = sipString_AsASCIIString(&sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->file = sipVal;

    sipKeepReference(sipPySelf, -13, sipPy);

    return 0;
}


extern "C" {static PyObject *varget_QMessageLogContext_function(void *, PyObject *, PyObject *);}
static PyObject *varget_QMessageLogContext_function(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    const char*sipVal;
     ::QMessageLogContext *sipCpp = reinterpret_cast< ::QMessageLogContext *>(sipSelf);

    sipPy = sipGetReference(sipPySelf, -14);
    if (sipPy)
        return sipPy;

    sipVal = sipCpp->function;

    if (sipVal == NULL)
    {
        Py_INCREF(Py_None);
        return Py_None;
    }

    return PyUnicode_DecodeASCII(sipVal, strlen(sipVal), NULL);
}


extern "C" {static int varset_QMessageLogContext_function(void *, PyObject *, PyObject *);}
static int varset_QMessageLogContext_function(void *sipSelf, PyObject *sipPy, PyObject *sipPySelf)
{
    const char*sipVal;
     ::QMessageLogContext *sipCpp = reinterpret_cast< ::QMessageLogContext *>(sipSelf);

    sipVal = sipString_AsASCIIString(&sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->function = sipVal;

    sipKeepReference(sipPySelf, -14, sipPy);

    return 0;
}


extern "C" {static PyObject *varget_QMessageLogContext_line(void *, PyObject *, PyObject *);}
static PyObject *varget_QMessageLogContext_line(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QMessageLogContext *sipCpp = reinterpret_cast< ::QMessageLogContext *>(sipSelf);

    sipVal = sipCpp->line;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QMessageLogContext_line(void *, PyObject *, PyObject *);}
static int varset_QMessageLogContext_line(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QMessageLogContext *sipCpp = reinterpret_cast< ::QMessageLogContext *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->line = sipVal;

    return 0;
}

sipVariableDef variables_QMessageLogContext[] = {
    {InstanceVariable, sipName_category, (PyMethodDef *)varget_QMessageLogContext_category, (PyMethodDef *)varset_QMessageLogContext_category, NULL, NULL},
    {InstanceVariable, sipName_file, (PyMethodDef *)varget_QMessageLogContext_file, (PyMethodDef *)varset_QMessageLogContext_file, NULL, NULL},
    {InstanceVariable, sipName_function, (PyMethodDef *)varget_QMessageLogContext_function, (PyMethodDef *)varset_QMessageLogContext_function, NULL, NULL},
    {InstanceVariable, sipName_line, (PyMethodDef *)varget_QMessageLogContext_line, (PyMethodDef *)varset_QMessageLogContext_line, NULL, NULL},
};


static pyqt5ClassPluginDef plugin_QMessageLogContext = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QMessageLogContext = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMessageLogContext,
        {0},
        &plugin_QMessageLogContext
    },
    {
        sipNameNr_QMessageLogContext,
        {0, 0, 1},
        0, 0,
        0, 0,
        4, variables_QMessageLogContext,
        {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
    dealloc_QMessageLogContext,
    0,
    0,
    0,
    release_QMessageLogContext,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlockfile.sip"
#include <qlockfile.h>
#line 104871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 104875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QLockFile_lock, "lock(self) -> bool");

extern "C" {static PyObject *meth_QLockFile_lock(PyObject *, PyObject *);}
static PyObject *meth_QLockFile_lock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLockFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLockFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lock();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLockFile, sipName_lock, doc_QLockFile_lock);

    return NULL;
}


PyDoc_STRVAR(doc_QLockFile_tryLock, "tryLock(self, timeout: int = 0) -> bool");

extern "C" {static PyObject *meth_QLockFile_tryLock(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLockFile_tryLock(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
         ::QLockFile *sipCpp;

        static const char *sipKwdList[] = {
            sipName_timeout,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QLockFile, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->tryLock(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLockFile, sipName_tryLock, doc_QLockFile_tryLock);

    return NULL;
}


PyDoc_STRVAR(doc_QLockFile_unlock, "unlock(self)");

extern "C" {static PyObject *meth_QLockFile_unlock(PyObject *, PyObject *);}
static PyObject *meth_QLockFile_unlock(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLockFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLockFile, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->unlock();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLockFile, sipName_unlock, doc_QLockFile_unlock);

    return NULL;
}


PyDoc_STRVAR(doc_QLockFile_setStaleLockTime, "setStaleLockTime(self, int)");

extern "C" {static PyObject *meth_QLockFile_setStaleLockTime(PyObject *, PyObject *);}
static PyObject *meth_QLockFile_setStaleLockTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QLockFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLockFile, &sipCpp, &a0))
        {
            sipCpp->setStaleLockTime(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLockFile, sipName_setStaleLockTime, doc_QLockFile_setStaleLockTime);

    return NULL;
}


PyDoc_STRVAR(doc_QLockFile_staleLockTime, "staleLockTime(self) -> int");

extern "C" {static PyObject *meth_QLockFile_staleLockTime(PyObject *, PyObject *);}
static PyObject *meth_QLockFile_staleLockTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLockFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLockFile, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->staleLockTime();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLockFile, sipName_staleLockTime, doc_QLockFile_staleLockTime);

    return NULL;
}


PyDoc_STRVAR(doc_QLockFile_isLocked, "isLocked(self) -> bool");

extern "C" {static PyObject *meth_QLockFile_isLocked(PyObject *, PyObject *);}
static PyObject *meth_QLockFile_isLocked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLockFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLockFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isLocked();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLockFile, sipName_isLocked, doc_QLockFile_isLocked);

    return NULL;
}


PyDoc_STRVAR(doc_QLockFile_getLockInfo, "getLockInfo(self) -> Tuple[bool, int, str, str]");

extern "C" {static PyObject *meth_QLockFile_getLockInfo(PyObject *, PyObject *);}
static PyObject *meth_QLockFile_getLockInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::QString* a1;
         ::QString* a2;
        const  ::QLockFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLockFile, &sipCpp))
        {
            bool sipRes;
            a1 = new  ::QString();
            a2 = new  ::QString();

            sipRes = sipCpp->getLockInfo(&a0,a1,a2);

            return sipBuildResult(0,"(bnNN)",sipRes,a0,a1,sipType_QString,NULL,a2,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLockFile, sipName_getLockInfo, doc_QLockFile_getLockInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QLockFile_removeStaleLockFile, "removeStaleLockFile(self) -> bool");

extern "C" {static PyObject *meth_QLockFile_removeStaleLockFile(PyObject *, PyObject *);}
static PyObject *meth_QLockFile_removeStaleLockFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLockFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLockFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->removeStaleLockFile();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLockFile, sipName_removeStaleLockFile, doc_QLockFile_removeStaleLockFile);

    return NULL;
}


PyDoc_STRVAR(doc_QLockFile_error, "error(self) -> QLockFile.LockError");

extern "C" {static PyObject *meth_QLockFile_error(PyObject *, PyObject *);}
static PyObject *meth_QLockFile_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLockFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLockFile, &sipCpp))
        {
             ::QLockFile::LockError sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QLockFile_LockError);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLockFile, sipName_error, doc_QLockFile_error);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLockFile(void *, int);}
static void release_QLockFile(void *sipCppV, int)
{
    delete reinterpret_cast< ::QLockFile *>(sipCppV);
}


extern "C" {static void dealloc_QLockFile(sipSimpleWrapper *);}
static void dealloc_QLockFile(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLockFile(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QLockFile(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLockFile(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QLockFile *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new  ::QLockFile(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QLockFile[] = {
    {SIP_MLNAME_CAST(sipName_error), meth_QLockFile_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QLockFile_error)},
    {SIP_MLNAME_CAST(sipName_getLockInfo), meth_QLockFile_getLockInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QLockFile_getLockInfo)},
    {SIP_MLNAME_CAST(sipName_isLocked), meth_QLockFile_isLocked, METH_VARARGS, SIP_MLDOC_CAST(doc_QLockFile_isLocked)},
    {SIP_MLNAME_CAST(sipName_lock), meth_QLockFile_lock, METH_VARARGS, SIP_MLDOC_CAST(doc_QLockFile_lock)},
    {SIP_MLNAME_CAST(sipName_removeStaleLockFile), meth_QLockFile_removeStaleLockFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QLockFile_removeStaleLockFile)},
    {SIP_MLNAME_CAST(sipName_setStaleLockTime), meth_QLockFile_setStaleLockTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QLockFile_setStaleLockTime)},
    {SIP_MLNAME_CAST(sipName_staleLockTime), meth_QLockFile_staleLockTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QLockFile_staleLockTime)},
    {SIP_MLNAME_CAST(sipName_tryLock), (PyCFunction)meth_QLockFile_tryLock, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLockFile_tryLock)},
    {SIP_MLNAME_CAST(sipName_unlock), meth_QLockFile_unlock, METH_VARARGS, SIP_MLDOC_CAST(doc_QLockFile_unlock)}
};

static sipEnumMemberDef enummembers_QLockFile[] = {
    {sipName_LockFailedError, static_cast<int>( ::QLockFile::LockFailedError), 142},
    {sipName_NoError, static_cast<int>( ::QLockFile::NoError), 142},
    {sipName_PermissionError, static_cast<int>( ::QLockFile::PermissionError), 142},
    {sipName_UnknownError, static_cast<int>( ::QLockFile::UnknownError), 142},
};

PyDoc_STRVAR(doc_QLockFile, "\1QLockFile(str)");


static pyqt5ClassPluginDef plugin_QLockFile = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QLockFile = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLockFile,
        {0},
        &plugin_QLockFile
    },
    {
        sipNameNr_QLockFile,
        {0, 0, 1},
        9, methods_QLockFile,
        4, enummembers_QLockFile,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLockFile,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QLockFile,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLockFile,
    0,
    0,
    0,
    release_QLockFile,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 105271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 105275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QLocale_NumberOptions___hash__(PyObject *);}
static long slot_QLocale_NumberOptions___hash__(PyObject *sipSelf)
{
     ::QLocale::NumberOptions *sipCpp = reinterpret_cast< ::QLocale::NumberOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale_NumberOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QLocale::NumberOptions::Int();
#line 105293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QLocale_NumberOptions___bool__(PyObject *);}
static int slot_QLocale_NumberOptions___bool__(PyObject *sipSelf)
{
     ::QLocale::NumberOptions *sipCpp = reinterpret_cast< ::QLocale::NumberOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale_NumberOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLocale::NumberOptions::Int() != 0);
#line 105318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QLocale_NumberOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QLocale_NumberOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QLocale::NumberOptions *sipCpp = reinterpret_cast< ::QLocale::NumberOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale_NumberOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale::NumberOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QLocale_NumberOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLocale::NumberOptions::Int() != a0->operator QLocale::NumberOptions::Int());
#line 105348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QLocale::NumberOptions *>(a0),sipType_QLocale_NumberOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QLocale_NumberOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QLocale_NumberOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QLocale_NumberOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QLocale::NumberOptions *sipCpp = reinterpret_cast< ::QLocale::NumberOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale_NumberOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale::NumberOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QLocale_NumberOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLocale::NumberOptions::Int() == a0->operator QLocale::NumberOptions::Int());
#line 105384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QLocale::NumberOptions *>(a0),sipType_QLocale_NumberOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QLocale_NumberOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QLocale_NumberOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QLocale_NumberOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QLocale_NumberOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QLocale::NumberOptions *sipCpp = reinterpret_cast< ::QLocale::NumberOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale_NumberOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QLocale::NumberOptions(*sipCpp ^ a0);
#line 105423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QLocale_NumberOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QLocale_NumberOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::NumberOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLocale_NumberOptions, &a0, &a0State, &a1))
        {
             ::QLocale::NumberOptions*sipRes;

            sipRes = new  ::QLocale::NumberOptions((*a0 ^ a1));
            sipReleaseType(a0,sipType_QLocale_NumberOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QLocale_NumberOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QLocale_NumberOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QLocale_NumberOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QLocale_NumberOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QLocale::NumberOptions *sipCpp = reinterpret_cast< ::QLocale::NumberOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale_NumberOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QLocale::NumberOptions(*sipCpp | a0);
#line 105495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QLocale_NumberOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QLocale_NumberOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::NumberOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLocale_NumberOptions, &a0, &a0State, &a1))
        {
             ::QLocale::NumberOptions*sipRes;

            sipRes = new  ::QLocale::NumberOptions((*a0 | a1));
            sipReleaseType(a0,sipType_QLocale_NumberOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QLocale_NumberOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QLocale_NumberOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QLocale_NumberOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QLocale_NumberOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QLocale::NumberOptions *sipCpp = reinterpret_cast< ::QLocale::NumberOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale_NumberOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QLocale::NumberOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QLocale_NumberOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QLocale_NumberOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::NumberOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLocale_NumberOptions, &a0, &a0State, &a1))
        {
             ::QLocale::NumberOptions*sipRes;

            sipRes = new  ::QLocale::NumberOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QLocale_NumberOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QLocale_NumberOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QLocale_NumberOptions___invert__(PyObject *);}
static PyObject *slot_QLocale_NumberOptions___invert__(PyObject *sipSelf)
{
     ::QLocale::NumberOptions *sipCpp = reinterpret_cast< ::QLocale::NumberOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale_NumberOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QLocale::NumberOptions*sipRes;

            sipRes = new  ::QLocale::NumberOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QLocale_NumberOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QLocale_NumberOptions___int__(PyObject *);}
static PyObject *slot_QLocale_NumberOptions___int__(PyObject *sipSelf)
{
     ::QLocale::NumberOptions *sipCpp = reinterpret_cast< ::QLocale::NumberOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale_NumberOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLocale_NumberOptions(void *, int);}
static void release_QLocale_NumberOptions(void *sipCppV, int)
{
    delete reinterpret_cast< ::QLocale::NumberOptions *>(sipCppV);
}


extern "C" {static void assign_QLocale_NumberOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QLocale_NumberOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QLocale::NumberOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QLocale::NumberOptions *>(sipSrc);
}


extern "C" {static void *array_QLocale_NumberOptions(SIP_SSIZE_T);}
static void *array_QLocale_NumberOptions(SIP_SSIZE_T sipNrElem)
{
    return new  ::QLocale::NumberOptions[sipNrElem];
}


extern "C" {static void *copy_QLocale_NumberOptions(const void *, SIP_SSIZE_T);}
static void *copy_QLocale_NumberOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QLocale::NumberOptions(reinterpret_cast<const  ::QLocale::NumberOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QLocale_NumberOptions(sipSimpleWrapper *);}
static void dealloc_QLocale_NumberOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLocale_NumberOptions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QLocale_NumberOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLocale_NumberOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QLocale::NumberOptions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QLocale::NumberOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QLocale::NumberOptions(a0);

            return sipCpp;
        }
    }

    {
        const  ::QLocale::NumberOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QLocale_NumberOptions, &a0, &a0State))
        {
            sipCpp = new  ::QLocale::NumberOptions(*a0);
            sipReleaseType(const_cast< ::QLocale::NumberOptions *>(a0),sipType_QLocale_NumberOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QLocale_NumberOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QLocale_NumberOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QLocale::NumberOptions **sipCppPtr = reinterpret_cast< ::QLocale::NumberOptions **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QLocale::NumberOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QLocale_NumberOption)) ||
            sipCanConvertToType(sipPy, sipType_QLocale_NumberOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QLocale_NumberOption)))
{
    *sipCppPtr = new QLocale::NumberOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QLocale::NumberOptions *>(sipConvertToType(sipPy, sipType_QLocale_NumberOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 105763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QLocale_NumberOptions[] = {
    {(void *)slot_QLocale_NumberOptions___hash__, hash_slot},
    {(void *)slot_QLocale_NumberOptions___bool__, bool_slot},
    {(void *)slot_QLocale_NumberOptions___ne__, ne_slot},
    {(void *)slot_QLocale_NumberOptions___eq__, eq_slot},
    {(void *)slot_QLocale_NumberOptions___ixor__, ixor_slot},
    {(void *)slot_QLocale_NumberOptions___xor__, xor_slot},
    {(void *)slot_QLocale_NumberOptions___ior__, ior_slot},
    {(void *)slot_QLocale_NumberOptions___or__, or_slot},
    {(void *)slot_QLocale_NumberOptions___iand__, iand_slot},
    {(void *)slot_QLocale_NumberOptions___and__, and_slot},
    {(void *)slot_QLocale_NumberOptions___invert__, invert_slot},
    {(void *)slot_QLocale_NumberOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QLocale_NumberOptions, "\1QLocale.NumberOptions()\n"
    "QLocale.NumberOptions(Union[QLocale.NumberOptions, QLocale.NumberOption])\n"
    "QLocale.NumberOptions(QLocale.NumberOptions)");


static pyqt5ClassPluginDef plugin_QLocale_NumberOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QLocale_NumberOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLocale__NumberOptions,
        {0},
        &plugin_QLocale_NumberOptions
    },
    {
        sipNameNr_NumberOptions,
        {130, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLocale_NumberOptions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QLocale_NumberOptions,
    init_type_QLocale_NumberOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLocale_NumberOptions,
    assign_QLocale_NumberOptions,
    array_QLocale_NumberOptions,
    copy_QLocale_NumberOptions,
    release_QLocale_NumberOptions,
    0,
    convertTo_QLocale_NumberOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 105849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 105853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 105856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 105859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <Qt>
#line 105862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 105865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 105868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 105871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 105874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 105877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 105880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QLocale_language, "language(self) -> QLocale.Language");

extern "C" {static PyObject *meth_QLocale_language(PyObject *, PyObject *);}
static PyObject *meth_QLocale_language(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QLocale::Language sipRes;

            sipRes = sipCpp->language();

            return sipConvertFromEnum(sipRes,sipType_QLocale_Language);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_language, doc_QLocale_language);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_country, "country(self) -> QLocale.Country");

extern "C" {static PyObject *meth_QLocale_country(PyObject *, PyObject *);}
static PyObject *meth_QLocale_country(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QLocale::Country sipRes;

            sipRes = sipCpp->country();

            return sipConvertFromEnum(sipRes,sipType_QLocale_Country);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_country, doc_QLocale_country);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_name, "name(self) -> str");

extern "C" {static PyObject *meth_QLocale_name(PyObject *, PyObject *);}
static PyObject *meth_QLocale_name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &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_QLocale, sipName_name, doc_QLocale_name);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toShort, "toShort(self, str) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QLocale_toShort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toShort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            short sipRes;

            sipRes = sipCpp->toShort(*a0,&a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(hb)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toShort, doc_QLocale_toShort);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toUShort, "toUShort(self, str) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QLocale_toUShort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toUShort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::ushort sipRes;

            sipRes = sipCpp->toUShort(*a0,&a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(tb)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toUShort, doc_QLocale_toUShort);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toInt, "toInt(self, str) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QLocale_toInt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toInt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->toInt(*a0,&a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(ib)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toInt, doc_QLocale_toInt);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toUInt, "toUInt(self, str) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QLocale_toUInt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toUInt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::uint sipRes;

            sipRes = sipCpp->toUInt(*a0,&a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(ub)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toUInt, doc_QLocale_toUInt);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toLongLong, "toLongLong(self, str) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QLocale_toLongLong(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toLongLong(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::qlonglong sipRes;

            sipRes = sipCpp->toLongLong(*a0,&a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(nb)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toLongLong, doc_QLocale_toLongLong);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toULongLong, "toULongLong(self, str) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QLocale_toULongLong(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toULongLong(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::qulonglong sipRes;

            sipRes = sipCpp->toULongLong(*a0,&a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(ob)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toULongLong, doc_QLocale_toULongLong);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toFloat, "toFloat(self, str) -> Tuple[float, bool]");

extern "C" {static PyObject *meth_QLocale_toFloat(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toFloat(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            float sipRes;

            sipRes = sipCpp->toFloat(*a0,&a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(fb)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toFloat, doc_QLocale_toFloat);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toDouble, "toDouble(self, str) -> Tuple[float, bool]");

extern "C" {static PyObject *meth_QLocale_toDouble(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toDouble(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        bool a1;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
            double sipRes;

            sipRes = sipCpp->toDouble(*a0,&a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(db)",sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toDouble, doc_QLocale_toDouble);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toString, "toString(self, float, format: str = 'g', precision: int = 6) -> str\n"
    "toString(self, Union[QDateTime, datetime.datetime], str) -> str\n"
    "toString(self, Union[QDateTime, datetime.datetime], format: QLocale.FormatType = QLocale.LongFormat) -> str\n"
    "toString(self, Union[QDate, datetime.date], str) -> str\n"
    "toString(self, Union[QDate, datetime.date], format: QLocale.FormatType = QLocale.LongFormat) -> str\n"
    "toString(self, Union[QTime, datetime.time], str) -> str\n"
    "toString(self, Union[QTime, datetime.time], format: QLocale.FormatType = QLocale.LongFormat) -> str\n"
    "toString(self, int) -> str");

extern "C" {static PyObject *meth_QLocale_toString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        char a1 = 'g';
        int a2 = 6;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
            sipName_precision,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BXd|aAi", &sipSelf, sipType_QLocale, &sipCpp, &a0, &a1, &a2))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QDateTime, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0,*a1));
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QDateTime* a0;
        int a0State = 0;
         ::QLocale::FormatType a1 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QDateTime, &a0, &a0State, sipType_QLocale_FormatType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0,a1));
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QDate* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QDate, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0,*a1));
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::QLocale::FormatType a1 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QDate, &a0, &a0State, sipType_QLocale_FormatType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0,a1));
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QTime* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QTime, &a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0,*a1));
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QTime* a0;
        int a0State = 0;
         ::QLocale::FormatType a1 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QTime, &a0, &a0State, sipType_QLocale_FormatType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0,a1));
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        PyObject * a0;
        const  ::QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QLocale, &sipCpp, &a0))
        {
             ::QString*sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 1401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
        // Convert a Python int avoiding overflow as much as possible.
        
        static PyObject *zero = 0;
        if (!zero)
            zero = PyLong_FromLong(0);
        
        int rc = PyObject_RichCompareBool(a0, zero, Py_LT);
        
        PyErr_Clear();
        
        if (rc < 0)
        {
            sipError = sipBadCallableArg(0, a0);
        }
        else if (rc)
        {
        #if defined(HAVE_LONG_LONG)
            PY_LONG_LONG value = PyLong_AsLongLong(a0);
        #else
            long value = PyLong_AsLong(a0);
        #endif
        
            if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_OverflowError))
            {
                sipError = sipBadCallableArg(0, a0);
            }
            else
            {
                sipRes = new QString(sipCpp->toString(value));
            }
        }
        else
        {
        #if PY_MAJOR_VERSION >= 3
        #if defined(HAVE_LONG_LONG)
            unsigned PY_LONG_LONG value = PyLong_AsUnsignedLongLongMask(a0);
        #else
            unsigned long value = PyLong_AsUnsignedLongMask(a0);
        #endif
        #else
        #if defined(HAVE_LONG_LONG)
            unsigned PY_LONG_LONG value = PyInt_AsUnsignedLongLongMask(a0);
        #else
            unsigned long value = PyInt_AsUnsignedLongMask(a0);
        #endif
        #endif
        
            if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_OverflowError))
            {
                sipError = sipBadCallableArg(0, a0);
            }
            else
            {
                sipRes = new QString(sipCpp->toString(value));
            }
        }
#line 106488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toString, doc_QLocale_toString);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_languageToString, "languageToString(QLocale.Language) -> str");

extern "C" {static PyObject *meth_QLocale_languageToString(PyObject *, PyObject *);}
static PyObject *meth_QLocale_languageToString(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::Language a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QLocale_Language, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QLocale::languageToString(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_languageToString, doc_QLocale_languageToString);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_countryToString, "countryToString(QLocale.Country) -> str");

extern "C" {static PyObject *meth_QLocale_countryToString(PyObject *, PyObject *);}
static PyObject *meth_QLocale_countryToString(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::Country a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QLocale_Country, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QLocale::countryToString(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_countryToString, doc_QLocale_countryToString);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_setDefault, "setDefault(QLocale)");

extern "C" {static PyObject *meth_QLocale_setDefault(PyObject *, PyObject *);}
static PyObject *meth_QLocale_setDefault(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QLocale, &a0))
        {
             ::QLocale::setDefault(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_setDefault, doc_QLocale_setDefault);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_c, "c() -> QLocale");

extern "C" {static PyObject *meth_QLocale_c(PyObject *, PyObject *);}
static PyObject *meth_QLocale_c(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QLocale*sipRes;

            sipRes = new  ::QLocale( ::QLocale::c());

            return sipConvertFromNewType(sipRes,sipType_QLocale,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_c, doc_QLocale_c);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_system, "system() -> QLocale");

extern "C" {static PyObject *meth_QLocale_system(PyObject *, PyObject *);}
static PyObject *meth_QLocale_system(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QLocale*sipRes;

            sipRes = new  ::QLocale( ::QLocale::system());

            return sipConvertFromNewType(sipRes,sipType_QLocale,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_system, doc_QLocale_system);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_dateFormat, "dateFormat(self, format: QLocale.FormatType = QLocale.LongFormat) -> str");

extern "C" {static PyObject *meth_QLocale_dateFormat(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_dateFormat(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::FormatType a0 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QLocale_FormatType, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->dateFormat(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_dateFormat, doc_QLocale_dateFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_timeFormat, "timeFormat(self, format: QLocale.FormatType = QLocale.LongFormat) -> str");

extern "C" {static PyObject *meth_QLocale_timeFormat(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_timeFormat(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::FormatType a0 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QLocale_FormatType, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->timeFormat(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_timeFormat, doc_QLocale_timeFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_dateTimeFormat, "dateTimeFormat(self, format: QLocale.FormatType = QLocale.LongFormat) -> str");

extern "C" {static PyObject *meth_QLocale_dateTimeFormat(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_dateTimeFormat(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::FormatType a0 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QLocale_FormatType, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->dateTimeFormat(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_dateTimeFormat, doc_QLocale_dateTimeFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toDate, "toDate(self, str, format: QLocale.FormatType = QLocale.LongFormat) -> QDate\n"
    "toDate(self, str, str) -> QDate");

extern "C" {static PyObject *meth_QLocale_toDate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toDate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QLocale::FormatType a1 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_QLocale_FormatType, &a1))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate(sipCpp->toDate(*a0,a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate(sipCpp->toDate(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toDate, doc_QLocale_toDate);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toTime, "toTime(self, str, format: QLocale.FormatType = QLocale.LongFormat) -> QTime\n"
    "toTime(self, str, str) -> QTime");

extern "C" {static PyObject *meth_QLocale_toTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QLocale::FormatType a1 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_QLocale_FormatType, &a1))
        {
             ::QTime*sipRes;

            sipRes = new  ::QTime(sipCpp->toTime(*a0,a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QTime*sipRes;

            sipRes = new  ::QTime(sipCpp->toTime(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toTime, doc_QLocale_toTime);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toDateTime, "toDateTime(self, str, format: QLocale.FormatType = QLocale.LongFormat) -> QDateTime\n"
    "toDateTime(self, str, str) -> QDateTime");

extern "C" {static PyObject *meth_QLocale_toDateTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toDateTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QLocale::FormatType a1 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_QLocale_FormatType, &a1))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->toDateTime(*a0,a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->toDateTime(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toDateTime, doc_QLocale_toDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_decimalPoint, "decimalPoint(self) -> str");

extern "C" {static PyObject *meth_QLocale_decimalPoint(PyObject *, PyObject *);}
static PyObject *meth_QLocale_decimalPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar(sipCpp->decimalPoint());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_decimalPoint, doc_QLocale_decimalPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_groupSeparator, "groupSeparator(self) -> str");

extern "C" {static PyObject *meth_QLocale_groupSeparator(PyObject *, PyObject *);}
static PyObject *meth_QLocale_groupSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar(sipCpp->groupSeparator());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_groupSeparator, doc_QLocale_groupSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_percent, "percent(self) -> str");

extern "C" {static PyObject *meth_QLocale_percent(PyObject *, PyObject *);}
static PyObject *meth_QLocale_percent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar(sipCpp->percent());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_percent, doc_QLocale_percent);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_zeroDigit, "zeroDigit(self) -> str");

extern "C" {static PyObject *meth_QLocale_zeroDigit(PyObject *, PyObject *);}
static PyObject *meth_QLocale_zeroDigit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar(sipCpp->zeroDigit());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_zeroDigit, doc_QLocale_zeroDigit);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_negativeSign, "negativeSign(self) -> str");

extern "C" {static PyObject *meth_QLocale_negativeSign(PyObject *, PyObject *);}
static PyObject *meth_QLocale_negativeSign(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar(sipCpp->negativeSign());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_negativeSign, doc_QLocale_negativeSign);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_exponential, "exponential(self) -> str");

extern "C" {static PyObject *meth_QLocale_exponential(PyObject *, PyObject *);}
static PyObject *meth_QLocale_exponential(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar(sipCpp->exponential());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_exponential, doc_QLocale_exponential);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_monthName, "monthName(self, int, format: QLocale.FormatType = QLocale.LongFormat) -> str");

extern "C" {static PyObject *meth_QLocale_monthName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_monthName(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QLocale::FormatType a1 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QLocale, &sipCpp, &a0, sipType_QLocale_FormatType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->monthName(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_monthName, doc_QLocale_monthName);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_dayName, "dayName(self, int, format: QLocale.FormatType = QLocale.LongFormat) -> str");

extern "C" {static PyObject *meth_QLocale_dayName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_dayName(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QLocale::FormatType a1 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QLocale, &sipCpp, &a0, sipType_QLocale_FormatType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->dayName(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_dayName, doc_QLocale_dayName);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_setNumberOptions, "setNumberOptions(self, Union[QLocale.NumberOptions, QLocale.NumberOption])");

extern "C" {static PyObject *meth_QLocale_setNumberOptions(PyObject *, PyObject *);}
static PyObject *meth_QLocale_setNumberOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::NumberOptions* a0;
        int a0State = 0;
         ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QLocale_NumberOptions, &a0, &a0State))
        {
            sipCpp->setNumberOptions(*a0);
            sipReleaseType(a0,sipType_QLocale_NumberOptions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_setNumberOptions, doc_QLocale_setNumberOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_numberOptions, "numberOptions(self) -> QLocale.NumberOptions");

extern "C" {static PyObject *meth_QLocale_numberOptions(PyObject *, PyObject *);}
static PyObject *meth_QLocale_numberOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QLocale::NumberOptions*sipRes;

            sipRes = new  ::QLocale::NumberOptions(sipCpp->numberOptions());

            return sipConvertFromNewType(sipRes,sipType_QLocale_NumberOptions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_numberOptions, doc_QLocale_numberOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_measurementSystem, "measurementSystem(self) -> QLocale.MeasurementSystem");

extern "C" {static PyObject *meth_QLocale_measurementSystem(PyObject *, PyObject *);}
static PyObject *meth_QLocale_measurementSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QLocale::MeasurementSystem sipRes;

            sipRes = sipCpp->measurementSystem();

            return sipConvertFromEnum(sipRes,sipType_QLocale_MeasurementSystem);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_measurementSystem, doc_QLocale_measurementSystem);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_positiveSign, "positiveSign(self) -> str");

extern "C" {static PyObject *meth_QLocale_positiveSign(PyObject *, PyObject *);}
static PyObject *meth_QLocale_positiveSign(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar(sipCpp->positiveSign());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_positiveSign, doc_QLocale_positiveSign);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_standaloneMonthName, "standaloneMonthName(self, int, format: QLocale.FormatType = QLocale.LongFormat) -> str");

extern "C" {static PyObject *meth_QLocale_standaloneMonthName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_standaloneMonthName(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QLocale::FormatType a1 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QLocale, &sipCpp, &a0, sipType_QLocale_FormatType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->standaloneMonthName(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_standaloneMonthName, doc_QLocale_standaloneMonthName);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_standaloneDayName, "standaloneDayName(self, int, format: QLocale.FormatType = QLocale.LongFormat) -> str");

extern "C" {static PyObject *meth_QLocale_standaloneDayName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_standaloneDayName(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QLocale::FormatType a1 = QLocale::LongFormat;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QLocale, &sipCpp, &a0, sipType_QLocale_FormatType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->standaloneDayName(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_standaloneDayName, doc_QLocale_standaloneDayName);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_amText, "amText(self) -> str");

extern "C" {static PyObject *meth_QLocale_amText(PyObject *, PyObject *);}
static PyObject *meth_QLocale_amText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->amText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_amText, doc_QLocale_amText);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_pmText, "pmText(self) -> str");

extern "C" {static PyObject *meth_QLocale_pmText(PyObject *, PyObject *);}
static PyObject *meth_QLocale_pmText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->pmText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_pmText, doc_QLocale_pmText);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_textDirection, "textDirection(self) -> Qt.LayoutDirection");

extern "C" {static PyObject *meth_QLocale_textDirection(PyObject *, PyObject *);}
static PyObject *meth_QLocale_textDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::Qt::LayoutDirection sipRes;

            sipRes = sipCpp->textDirection();

            return sipConvertFromEnum(sipRes,sipType_Qt_LayoutDirection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_textDirection, doc_QLocale_textDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_script, "script(self) -> QLocale.Script");

extern "C" {static PyObject *meth_QLocale_script(PyObject *, PyObject *);}
static PyObject *meth_QLocale_script(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QLocale::Script sipRes;

            sipRes = sipCpp->script();

            return sipConvertFromEnum(sipRes,sipType_QLocale_Script);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_script, doc_QLocale_script);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_bcp47Name, "bcp47Name(self) -> str");

extern "C" {static PyObject *meth_QLocale_bcp47Name(PyObject *, PyObject *);}
static PyObject *meth_QLocale_bcp47Name(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->bcp47Name());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_bcp47Name, doc_QLocale_bcp47Name);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_nativeLanguageName, "nativeLanguageName(self) -> str");

extern "C" {static PyObject *meth_QLocale_nativeLanguageName(PyObject *, PyObject *);}
static PyObject *meth_QLocale_nativeLanguageName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->nativeLanguageName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_nativeLanguageName, doc_QLocale_nativeLanguageName);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_nativeCountryName, "nativeCountryName(self) -> str");

extern "C" {static PyObject *meth_QLocale_nativeCountryName(PyObject *, PyObject *);}
static PyObject *meth_QLocale_nativeCountryName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->nativeCountryName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_nativeCountryName, doc_QLocale_nativeCountryName);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_firstDayOfWeek, "firstDayOfWeek(self) -> Qt.DayOfWeek");

extern "C" {static PyObject *meth_QLocale_firstDayOfWeek(PyObject *, PyObject *);}
static PyObject *meth_QLocale_firstDayOfWeek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::Qt::DayOfWeek sipRes;

            sipRes = sipCpp->firstDayOfWeek();

            return sipConvertFromEnum(sipRes,sipType_Qt_DayOfWeek);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_firstDayOfWeek, doc_QLocale_firstDayOfWeek);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_weekdays, "weekdays(self) -> List[Qt.DayOfWeek]");

extern "C" {static PyObject *meth_QLocale_weekdays(PyObject *, PyObject *);}
static PyObject *meth_QLocale_weekdays(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QList< ::Qt::DayOfWeek>*sipRes;

            sipRes = new  ::QList< ::Qt::DayOfWeek>(sipCpp->weekdays());

            return sipConvertFromNewType(sipRes,sipType_QList_0100Qt_DayOfWeek,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_weekdays, doc_QLocale_weekdays);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toUpper, "toUpper(self, str) -> str");

extern "C" {static PyObject *meth_QLocale_toUpper(PyObject *, PyObject *);}
static PyObject *meth_QLocale_toUpper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toUpper(*a0));
            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_QLocale, sipName_toUpper, doc_QLocale_toUpper);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toLower, "toLower(self, str) -> str");

extern "C" {static PyObject *meth_QLocale_toLower(PyObject *, PyObject *);}
static PyObject *meth_QLocale_toLower(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toLower(*a0));
            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_QLocale, sipName_toLower, doc_QLocale_toLower);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_currencySymbol, "currencySymbol(self, format: QLocale.CurrencySymbolFormat = QLocale.CurrencySymbol) -> str");

extern "C" {static PyObject *meth_QLocale_currencySymbol(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_currencySymbol(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::CurrencySymbolFormat a0 = QLocale::CurrencySymbol;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QLocale_CurrencySymbolFormat, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->currencySymbol(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_currencySymbol, doc_QLocale_currencySymbol);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_toCurrencyString, "toCurrencyString(self, float, symbol: str = '') -> str\n"
    "toCurrencyString(self, float, str, int) -> str\n"
    "toCurrencyString(self, int, symbol: str = '') -> str");

extern "C" {static PyObject *meth_QLocale_toCurrencyString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_toCurrencyString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_symbol,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BXd|J1", &sipSelf, sipType_QLocale, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toCurrencyString(a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        double a0;
        const  ::QString* a1;
        int a1State = 0;
        int a2;
        const  ::QLocale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BXdJ1i", &sipSelf, sipType_QLocale, &sipCpp, &a0, sipType_QString,&a1, &a1State, &a2))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toCurrencyString(a0,*a1,a2));
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        PyObject * a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_symbol,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BP0|J1", &sipSelf, sipType_QLocale, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
             ::QString*sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 1461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
        // Convert a Python int avoiding overflow as much as possible.
        
        static PyObject *zero = 0;
        if (!zero)
            zero = PyLong_FromLong(0);
        
        int rc = PyObject_RichCompareBool(a0, zero, Py_LT);
        
        PyErr_Clear();
        
        if (rc < 0)
        {
            sipError = sipBadCallableArg(0, a0);
        }
        else if (rc)
        {
        #if defined(HAVE_LONG_LONG)
            PY_LONG_LONG value = PyLong_AsLongLong(a0);
        #else
            long value = PyLong_AsLong(a0);
        #endif
        
            if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_OverflowError))
            {
                sipError = sipBadCallableArg(0, a0);
            }
            else
            {
                sipRes = new QString(sipCpp->toCurrencyString(value, *a1));
            }
        }
        else
        {
        #if defined(HAVE_LONG_LONG)
            unsigned PY_LONG_LONG value = PyLong_AsUnsignedLongLongMask(a0);
        #else
            unsigned long value = PyLong_AsUnsignedLongMask(a0);
        #endif
        
            if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_OverflowError))
            {
                sipError = sipBadCallableArg(0, a0);
            }
            else
            {
                sipRes = new QString(sipCpp->toCurrencyString(value, *a1));
            }
        }
#line 107805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_toCurrencyString, doc_QLocale_toCurrencyString);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_uiLanguages, "uiLanguages(self) -> List[str]");

extern "C" {static PyObject *meth_QLocale_uiLanguages(PyObject *, PyObject *);}
static PyObject *meth_QLocale_uiLanguages(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLocale, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->uiLanguages());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_uiLanguages, doc_QLocale_uiLanguages);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_scriptToString, "scriptToString(QLocale.Script) -> str");

extern "C" {static PyObject *meth_QLocale_scriptToString(PyObject *, PyObject *);}
static PyObject *meth_QLocale_scriptToString(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::Script a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QLocale_Script, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QLocale::scriptToString(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_scriptToString, doc_QLocale_scriptToString);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_matchingLocales, "matchingLocales(QLocale.Language, QLocale.Script, QLocale.Country) -> object");

extern "C" {static PyObject *meth_QLocale_matchingLocales(PyObject *, PyObject *);}
static PyObject *meth_QLocale_matchingLocales(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale::Language a0;
         ::QLocale::Script a1;
         ::QLocale::Country a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "EEE", sipType_QLocale_Language, &a0, sipType_QLocale_Script, &a1, sipType_QLocale_Country, &a2))
        {
            QList< ::QLocale>*sipRes;

            sipRes = new QList< ::QLocale>( ::QLocale::matchingLocales(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QLocale,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_matchingLocales, doc_QLocale_matchingLocales);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_quoteString, "quoteString(self, str, style: QLocale.QuotationStyle = QLocale.StandardQuotation) -> str");

extern "C" {static PyObject *meth_QLocale_quoteString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLocale_quoteString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QLocale::QuotationStyle a1 = QLocale::StandardQuotation;
        const  ::QLocale *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_style,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QLocale, &sipCpp, sipType_QString,&a0, &a0State, sipType_QLocale_QuotationStyle, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->quoteString(*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_QLocale, sipName_quoteString, doc_QLocale_quoteString);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_createSeparatedList, "createSeparatedList(self, Iterable[str]) -> str");

extern "C" {static PyObject *meth_QLocale_createSeparatedList(PyObject *, PyObject *);}
static PyObject *meth_QLocale_createSeparatedList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
        const  ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLocale, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->createSeparatedList(*a0));
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_createSeparatedList, doc_QLocale_createSeparatedList);

    return NULL;
}


PyDoc_STRVAR(doc_QLocale_swap, "swap(self, QLocale)");

extern "C" {static PyObject *meth_QLocale_swap(PyObject *, PyObject *);}
static PyObject *meth_QLocale_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLocale* a0;
         ::QLocale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLocale, &sipCpp, sipType_QLocale, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLocale, sipName_swap, doc_QLocale_swap);

    return NULL;
}


extern "C" {static long slot_QLocale___hash__(PyObject *);}
static long slot_QLocale___hash__(PyObject *sipSelf)
{
     ::QLocale *sipCpp = reinterpret_cast< ::QLocale *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 1384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
        sipRes = qHash(*sipCpp);
#line 108024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QLocale___ne__(PyObject *,PyObject *);}
static PyObject *slot_QLocale___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QLocale *sipCpp = reinterpret_cast< ::QLocale *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLocale, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QLocale::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QLocale, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QLocale___eq__(PyObject *,PyObject *);}
static PyObject *slot_QLocale___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QLocale *sipCpp = reinterpret_cast< ::QLocale *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLocale));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLocale, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QLocale::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QLocale, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QLocale(void *, int);}
static void release_QLocale(void *sipCppV, int)
{
    delete reinterpret_cast< ::QLocale *>(sipCppV);
}


extern "C" {static void assign_QLocale(void *, SIP_SSIZE_T, const void *);}
static void assign_QLocale(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QLocale *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QLocale *>(sipSrc);
}


extern "C" {static void *array_QLocale(SIP_SSIZE_T);}
static void *array_QLocale(SIP_SSIZE_T sipNrElem)
{
    return new  ::QLocale[sipNrElem];
}


extern "C" {static void *copy_QLocale(const void *, SIP_SSIZE_T);}
static void *copy_QLocale(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QLocale(reinterpret_cast<const  ::QLocale *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QLocale(sipSimpleWrapper *);}
static void dealloc_QLocale(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLocale(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QLocale(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLocale(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QLocale *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QLocale();

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new  ::QLocale(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
         ::QLocale::Language a0;
         ::QLocale::Country a1 = QLocale::AnyCountry;

        static const char *sipKwdList[] = {
            NULL,
            sipName_country,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|E", sipType_QLocale_Language, &a0, sipType_QLocale_Country, &a1))
        {
            sipCpp = new  ::QLocale(a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QLocale* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLocale, &a0))
        {
            sipCpp = new  ::QLocale(*a0);

            return sipCpp;
        }
    }

    {
         ::QLocale::Language a0;
         ::QLocale::Script a1;
         ::QLocale::Country a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "EEE", sipType_QLocale_Language, &a0, sipType_QLocale_Script, &a1, sipType_QLocale_Country, &a2))
        {
            sipCpp = new  ::QLocale(a0,a1,a2);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QLocale[] = {
    {(void *)slot_QLocale___hash__, hash_slot},
    {(void *)slot_QLocale___ne__, ne_slot},
    {(void *)slot_QLocale___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QLocale[] = {
    {SIP_MLNAME_CAST(sipName_amText), meth_QLocale_amText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_amText)},
    {SIP_MLNAME_CAST(sipName_bcp47Name), meth_QLocale_bcp47Name, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_bcp47Name)},
    {SIP_MLNAME_CAST(sipName_c), meth_QLocale_c, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_c)},
    {SIP_MLNAME_CAST(sipName_country), meth_QLocale_country, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_country)},
    {SIP_MLNAME_CAST(sipName_countryToString), meth_QLocale_countryToString, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_countryToString)},
    {SIP_MLNAME_CAST(sipName_createSeparatedList), meth_QLocale_createSeparatedList, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_createSeparatedList)},
    {SIP_MLNAME_CAST(sipName_currencySymbol), (PyCFunction)meth_QLocale_currencySymbol, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_currencySymbol)},
    {SIP_MLNAME_CAST(sipName_dateFormat), (PyCFunction)meth_QLocale_dateFormat, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_dateFormat)},
    {SIP_MLNAME_CAST(sipName_dateTimeFormat), (PyCFunction)meth_QLocale_dateTimeFormat, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_dateTimeFormat)},
    {SIP_MLNAME_CAST(sipName_dayName), (PyCFunction)meth_QLocale_dayName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_dayName)},
    {SIP_MLNAME_CAST(sipName_decimalPoint), meth_QLocale_decimalPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_decimalPoint)},
    {SIP_MLNAME_CAST(sipName_exponential), meth_QLocale_exponential, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_exponential)},
    {SIP_MLNAME_CAST(sipName_firstDayOfWeek), meth_QLocale_firstDayOfWeek, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_firstDayOfWeek)},
    {SIP_MLNAME_CAST(sipName_groupSeparator), meth_QLocale_groupSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_groupSeparator)},
    {SIP_MLNAME_CAST(sipName_language), meth_QLocale_language, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_language)},
    {SIP_MLNAME_CAST(sipName_languageToString), meth_QLocale_languageToString, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_languageToString)},
    {SIP_MLNAME_CAST(sipName_matchingLocales), meth_QLocale_matchingLocales, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_matchingLocales)},
    {SIP_MLNAME_CAST(sipName_measurementSystem), meth_QLocale_measurementSystem, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_measurementSystem)},
    {SIP_MLNAME_CAST(sipName_monthName), (PyCFunction)meth_QLocale_monthName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_monthName)},
    {SIP_MLNAME_CAST(sipName_name), meth_QLocale_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_name)},
    {SIP_MLNAME_CAST(sipName_nativeCountryName), meth_QLocale_nativeCountryName, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_nativeCountryName)},
    {SIP_MLNAME_CAST(sipName_nativeLanguageName), meth_QLocale_nativeLanguageName, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_nativeLanguageName)},
    {SIP_MLNAME_CAST(sipName_negativeSign), meth_QLocale_negativeSign, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_negativeSign)},
    {SIP_MLNAME_CAST(sipName_numberOptions), meth_QLocale_numberOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_numberOptions)},
    {SIP_MLNAME_CAST(sipName_percent), meth_QLocale_percent, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_percent)},
    {SIP_MLNAME_CAST(sipName_pmText), meth_QLocale_pmText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_pmText)},
    {SIP_MLNAME_CAST(sipName_positiveSign), meth_QLocale_positiveSign, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_positiveSign)},
    {SIP_MLNAME_CAST(sipName_quoteString), (PyCFunction)meth_QLocale_quoteString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_quoteString)},
    {SIP_MLNAME_CAST(sipName_script), meth_QLocale_script, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_script)},
    {SIP_MLNAME_CAST(sipName_scriptToString), meth_QLocale_scriptToString, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_scriptToString)},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_QLocale_setDefault, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_setDefault)},
    {SIP_MLNAME_CAST(sipName_setNumberOptions), meth_QLocale_setNumberOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_setNumberOptions)},
    {SIP_MLNAME_CAST(sipName_standaloneDayName), (PyCFunction)meth_QLocale_standaloneDayName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_standaloneDayName)},
    {SIP_MLNAME_CAST(sipName_standaloneMonthName), (PyCFunction)meth_QLocale_standaloneMonthName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_standaloneMonthName)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QLocale_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_swap)},
    {SIP_MLNAME_CAST(sipName_system), meth_QLocale_system, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_system)},
    {SIP_MLNAME_CAST(sipName_textDirection), meth_QLocale_textDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_textDirection)},
    {SIP_MLNAME_CAST(sipName_timeFormat), (PyCFunction)meth_QLocale_timeFormat, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_timeFormat)},
    {SIP_MLNAME_CAST(sipName_toCurrencyString), (PyCFunction)meth_QLocale_toCurrencyString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toCurrencyString)},
    {SIP_MLNAME_CAST(sipName_toDate), (PyCFunction)meth_QLocale_toDate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toDate)},
    {SIP_MLNAME_CAST(sipName_toDateTime), (PyCFunction)meth_QLocale_toDateTime, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toDateTime)},
    {SIP_MLNAME_CAST(sipName_toDouble), (PyCFunction)meth_QLocale_toDouble, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toDouble)},
    {SIP_MLNAME_CAST(sipName_toFloat), (PyCFunction)meth_QLocale_toFloat, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toFloat)},
    {SIP_MLNAME_CAST(sipName_toInt), (PyCFunction)meth_QLocale_toInt, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toInt)},
    {SIP_MLNAME_CAST(sipName_toLongLong), (PyCFunction)meth_QLocale_toLongLong, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toLongLong)},
    {SIP_MLNAME_CAST(sipName_toLower), meth_QLocale_toLower, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_toLower)},
    {SIP_MLNAME_CAST(sipName_toShort), (PyCFunction)meth_QLocale_toShort, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toShort)},
    {SIP_MLNAME_CAST(sipName_toString), (PyCFunction)meth_QLocale_toString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toString)},
    {SIP_MLNAME_CAST(sipName_toTime), (PyCFunction)meth_QLocale_toTime, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toTime)},
    {SIP_MLNAME_CAST(sipName_toUInt), (PyCFunction)meth_QLocale_toUInt, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toUInt)},
    {SIP_MLNAME_CAST(sipName_toULongLong), (PyCFunction)meth_QLocale_toULongLong, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toULongLong)},
    {SIP_MLNAME_CAST(sipName_toUShort), (PyCFunction)meth_QLocale_toUShort, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLocale_toUShort)},
    {SIP_MLNAME_CAST(sipName_toUpper), meth_QLocale_toUpper, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_toUpper)},
    {SIP_MLNAME_CAST(sipName_uiLanguages), meth_QLocale_uiLanguages, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_uiLanguages)},
    {SIP_MLNAME_CAST(sipName_weekdays), meth_QLocale_weekdays, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_weekdays)},
    {SIP_MLNAME_CAST(sipName_zeroDigit), meth_QLocale_zeroDigit, METH_VARARGS, SIP_MLDOC_CAST(doc_QLocale_zeroDigit)}
};

static sipEnumMemberDef enummembers_QLocale[] = {
    {sipName_Abkhazian, static_cast<int>( ::QLocale::Abkhazian), 135},
    {sipName_AdlamScript, static_cast<int>( ::QLocale::AdlamScript), 140},
    {sipName_Afan, static_cast<int>( ::QLocale::Afan), 135},
    {sipName_Afar, static_cast<int>( ::QLocale::Afar), 135},
    {sipName_Afghanistan, static_cast<int>( ::QLocale::Afghanistan), 131},
    {sipName_Afrikaans, static_cast<int>( ::QLocale::Afrikaans), 135},
    {sipName_Aghem, static_cast<int>( ::QLocale::Aghem), 135},
    {sipName_Ahom, static_cast<int>( ::QLocale::Ahom), 135},
    {sipName_AhomScript, static_cast<int>( ::QLocale::AhomScript), 140},
    {sipName_Akan, static_cast<int>( ::QLocale::Akan), 135},
    {sipName_Akkadian, static_cast<int>( ::QLocale::Akkadian), 135},
    {sipName_Akoose, static_cast<int>( ::QLocale::Akoose), 135},
    {sipName_AlandIslands, static_cast<int>( ::QLocale::AlandIslands), 131},
    {sipName_Albania, static_cast<int>( ::QLocale::Albania), 131},
    {sipName_Albanian, static_cast<int>( ::QLocale::Albanian), 135},
    {sipName_Algeria, static_cast<int>( ::QLocale::Algeria), 131},
    {sipName_AlternateQuotation, static_cast<int>( ::QLocale::AlternateQuotation), 139},
    {sipName_AmericanSamoa, static_cast<int>( ::QLocale::AmericanSamoa), 131},
    {sipName_AmericanSignLanguage, static_cast<int>( ::QLocale::AmericanSignLanguage), 135},
    {sipName_Amharic, static_cast<int>( ::QLocale::Amharic), 135},
    {sipName_AnatolianHieroglyphsScript, static_cast<int>( ::QLocale::AnatolianHieroglyphsScript), 140},
    {sipName_AncientEgyptian, static_cast<int>( ::QLocale::AncientEgyptian), 135},
    {sipName_AncientGreek, static_cast<int>( ::QLocale::AncientGreek), 135},
    {sipName_AncientNorthArabian, static_cast<int>( ::QLocale::AncientNorthArabian), 135},
    {sipName_Andorra, static_cast<int>( ::QLocale::Andorra), 131},
    {sipName_Angola, static_cast<int>( ::QLocale::Angola), 131},
    {sipName_Anguilla, static_cast<int>( ::QLocale::Anguilla), 131},
    {sipName_Antarctica, static_cast<int>( ::QLocale::Antarctica), 131},
    {sipName_AntiguaAndBarbuda, static_cast<int>( ::QLocale::AntiguaAndBarbuda), 131},
    {sipName_AnyCountry, static_cast<int>( ::QLocale::AnyCountry), 131},
    {sipName_AnyLanguage, static_cast<int>( ::QLocale::AnyLanguage), 135},
    {sipName_AnyScript, static_cast<int>( ::QLocale::AnyScript), 140},
    {sipName_Arabic, static_cast<int>( ::QLocale::Arabic), 135},
    {sipName_ArabicScript, static_cast<int>( ::QLocale::ArabicScript), 140},
    {sipName_Aragonese, static_cast<int>( ::QLocale::Aragonese), 135},
    {sipName_Aramaic, static_cast<int>( ::QLocale::Aramaic), 135},
    {sipName_ArdhamagadhiPrakrit, static_cast<int>( ::QLocale::ArdhamagadhiPrakrit), 135},
    {sipName_Argentina, static_cast<int>( ::QLocale::Argentina), 131},
    {sipName_Armenia, static_cast<int>( ::QLocale::Armenia), 131},
    {sipName_Armenian, static_cast<int>( ::QLocale::Armenian), 135},
    {sipName_ArmenianScript, static_cast<int>( ::QLocale::ArmenianScript), 140},
    {sipName_Aruba, static_cast<int>( ::QLocale::Aruba), 131},
    {sipName_AscensionIsland, static_cast<int>( ::QLocale::AscensionIsland), 131},
    {sipName_Assamese, static_cast<int>( ::QLocale::Assamese), 135},
    {sipName_Asturian, static_cast<int>( ::QLocale::Asturian), 135},
    {sipName_Asu, static_cast<int>( ::QLocale::Asu), 135},
    {sipName_Atsam, static_cast<int>( ::QLocale::Atsam), 135},
    {sipName_Australia, static_cast<int>( ::QLocale::Australia), 131},
    {sipName_Austria, static_cast<int>( ::QLocale::Austria), 131},
    {sipName_Avaric, static_cast<int>( ::QLocale::Avaric), 135},
    {sipName_Avestan, static_cast<int>( ::QLocale::Avestan), 135},
    {sipName_AvestanScript, static_cast<int>( ::QLocale::AvestanScript), 140},
    {sipName_Aymara, static_cast<int>( ::QLocale::Aymara), 135},
    {sipName_Azerbaijan, static_cast<int>( ::QLocale::Azerbaijan), 131},
    {sipName_Azerbaijani, static_cast<int>( ::QLocale::Azerbaijani), 135},
    {sipName_Bafia, static_cast<int>( ::QLocale::Bafia), 135},
    {sipName_Bahamas, static_cast<int>( ::QLocale::Bahamas), 131},
    {sipName_Bahrain, static_cast<int>( ::QLocale::Bahrain), 131},
    {sipName_Balinese, static_cast<int>( ::QLocale::Balinese), 135},
    {sipName_BalineseScript, static_cast<int>( ::QLocale::BalineseScript), 140},
    {sipName_Bambara, static_cast<int>( ::QLocale::Bambara), 135},
    {sipName_BamumScript, static_cast<int>( ::QLocale::BamumScript), 140},
    {sipName_Bamun, static_cast<int>( ::QLocale::Bamun), 135},
    {sipName_Bangladesh, static_cast<int>( ::QLocale::Bangladesh), 131},
    {sipName_Barbados, static_cast<int>( ::QLocale::Barbados), 131},
    {sipName_Basaa, static_cast<int>( ::QLocale::Basaa), 135},
    {sipName_Bashkir, static_cast<int>( ::QLocale::Bashkir), 135},
    {sipName_Basque, static_cast<int>( ::QLocale::Basque), 135},
    {sipName_Bassa, static_cast<int>( ::QLocale::Bassa), 135},
    {sipName_BassaVahScript, static_cast<int>( ::QLocale::BassaVahScript), 140},
    {sipName_BatakScript, static_cast<int>( ::QLocale::BatakScript), 140},
    {sipName_BatakToba, static_cast<int>( ::QLocale::BatakToba), 135},
    {sipName_Belarus, static_cast<int>( ::QLocale::Belarus), 131},
    {sipName_Belarusian, static_cast<int>( ::QLocale::Belarusian), 135},
    {sipName_Belgium, static_cast<int>( ::QLocale::Belgium), 131},
    {sipName_Belize, static_cast<int>( ::QLocale::Belize), 131},
    {sipName_Bemba, static_cast<int>( ::QLocale::Bemba), 135},
    {sipName_Bena, static_cast<int>( ::QLocale::Bena), 135},
    {sipName_Bengali, static_cast<int>( ::QLocale::Bengali), 135},
    {sipName_BengaliScript, static_cast<int>( ::QLocale::BengaliScript), 140},
    {sipName_Benin, static_cast<int>( ::QLocale::Benin), 131},
    {sipName_Bermuda, static_cast<int>( ::QLocale::Bermuda), 131},
    {sipName_BhaiksukiScript, static_cast<int>( ::QLocale::BhaiksukiScript), 140},
    {sipName_Bhojpuri, static_cast<int>( ::QLocale::Bhojpuri), 135},
    {sipName_Bhutan, static_cast<int>( ::QLocale::Bhutan), 131},
    {sipName_Bhutani, static_cast<int>( ::QLocale::Bhutani), 135},
    {sipName_Bihari, static_cast<int>( ::QLocale::Bihari), 135},
    {sipName_Bislama, static_cast<int>( ::QLocale::Bislama), 135},
    {sipName_Blin, static_cast<int>( ::QLocale::Blin), 135},
    {sipName_Bodo, static_cast<int>( ::QLocale::Bodo), 135},
    {sipName_Bolivia, static_cast<int>( ::QLocale::Bolivia), 131},
    {sipName_Bonaire, static_cast<int>( ::QLocale::Bonaire), 131},
    {sipName_BopomofoScript, static_cast<int>( ::QLocale::BopomofoScript), 140},
    {sipName_BosniaAndHerzegowina, static_cast<int>( ::QLocale::BosniaAndHerzegowina), 131},
    {sipName_Bosnian, static_cast<int>( ::QLocale::Bosnian), 135},
    {sipName_Botswana, static_cast<int>( ::QLocale::Botswana), 131},
    {sipName_BouvetIsland, static_cast<int>( ::QLocale::BouvetIsland), 131},
    {sipName_BrahmiScript, static_cast<int>( ::QLocale::BrahmiScript), 140},
    {sipName_BrailleScript, static_cast<int>( ::QLocale::BrailleScript), 140},
    {sipName_Brazil, static_cast<int>( ::QLocale::Brazil), 131},
    {sipName_Breton, static_cast<int>( ::QLocale::Breton), 135},
    {sipName_BritishIndianOceanTerritory, static_cast<int>( ::QLocale::BritishIndianOceanTerritory), 131},
    {sipName_BritishVirginIslands, static_cast<int>( ::QLocale::BritishVirginIslands), 131},
    {sipName_Brunei, static_cast<int>( ::QLocale::Brunei), 131},
    {sipName_Buginese, static_cast<int>( ::QLocale::Buginese), 135},
    {sipName_BugineseScript, static_cast<int>( ::QLocale::BugineseScript), 140},
    {sipName_Buhid, static_cast<int>( ::QLocale::Buhid), 135},
    {sipName_BuhidScript, static_cast<int>( ::QLocale::BuhidScript), 140},
    {sipName_Bulgaria, static_cast<int>( ::QLocale::Bulgaria), 131},
    {sipName_Bulgarian, static_cast<int>( ::QLocale::Bulgarian), 135},
    {sipName_BurkinaFaso, static_cast<int>( ::QLocale::BurkinaFaso), 131},
    {sipName_Burmese, static_cast<int>( ::QLocale::Burmese), 135},
    {sipName_Burundi, static_cast<int>( ::QLocale::Burundi), 131},
    {sipName_Byelorussian, static_cast<int>( ::QLocale::Byelorussian), 135},
    {sipName_C, static_cast<int>( ::QLocale::C), 135},
    {sipName_Cambodia, static_cast<int>( ::QLocale::Cambodia), 131},
    {sipName_Cambodian, static_cast<int>( ::QLocale::Cambodian), 135},
    {sipName_Cameroon, static_cast<int>( ::QLocale::Cameroon), 131},
    {sipName_Canada, static_cast<int>( ::QLocale::Canada), 131},
    {sipName_CanadianAboriginalScript, static_cast<int>( ::QLocale::CanadianAboriginalScript), 140},
    {sipName_CanaryIslands, static_cast<int>( ::QLocale::CanaryIslands), 131},
    {sipName_Cantonese, static_cast<int>( ::QLocale::Cantonese), 135},
    {sipName_CapeVerde, static_cast<int>( ::QLocale::CapeVerde), 131},
    {sipName_Carian, static_cast<int>( ::QLocale::Carian), 135},
    {sipName_CarianScript, static_cast<int>( ::QLocale::CarianScript), 140},
    {sipName_Catalan, static_cast<int>( ::QLocale::Catalan), 135},
    {sipName_CaucasianAlbanianScript, static_cast<int>( ::QLocale::CaucasianAlbanianScript), 140},
    {sipName_CaymanIslands, static_cast<int>( ::QLocale::CaymanIslands), 131},
    {sipName_CentralAfricanRepublic, static_cast<int>( ::QLocale::CentralAfricanRepublic), 131},
    {sipName_CentralKurdish, static_cast<int>( ::QLocale::CentralKurdish), 135},
    {sipName_CentralMoroccoTamazight, static_cast<int>( ::QLocale::CentralMoroccoTamazight), 135},
    {sipName_CeutaAndMelilla, static_cast<int>( ::QLocale::CeutaAndMelilla), 131},
    {sipName_Chad, static_cast<int>( ::QLocale::Chad), 131},
    {sipName_Chakma, static_cast<int>( ::QLocale::Chakma), 135},
    {sipName_ChakmaScript, static_cast<int>( ::QLocale::ChakmaScript), 140},
    {sipName_ChamScript, static_cast<int>( ::QLocale::ChamScript), 140},
    {sipName_Chamorro, static_cast<int>( ::QLocale::Chamorro), 135},
    {sipName_Chechen, static_cast<int>( ::QLocale::Chechen), 135},
    {sipName_Cherokee, static_cast<int>( ::QLocale::Cherokee), 135},
    {sipName_CherokeeScript, static_cast<int>( ::QLocale::CherokeeScript), 140},
    {sipName_Chewa, static_cast<int>( ::QLocale::Chewa), 135},
    {sipName_Chiga, static_cast<int>( ::QLocale::Chiga), 135},
    {sipName_Chile, static_cast<int>( ::QLocale::Chile), 131},
    {sipName_China, static_cast<int>( ::QLocale::China), 131},
    {sipName_Chinese, static_cast<int>( ::QLocale::Chinese), 135},
    {sipName_ChristmasIsland, static_cast<int>( ::QLocale::ChristmasIsland), 131},
    {sipName_Church, static_cast<int>( ::QLocale::Church), 135},
    {sipName_Chuvash, static_cast<int>( ::QLocale::Chuvash), 135},
    {sipName_ClassicalMandaic, static_cast<int>( ::QLocale::ClassicalMandaic), 135},
    {sipName_ClippertonIsland, static_cast<int>( ::QLocale::ClippertonIsland), 131},
    {sipName_CocosIslands, static_cast<int>( ::QLocale::CocosIslands), 131},
    {sipName_Colognian, static_cast<int>( ::QLocale::Colognian), 135},
    {sipName_Colombia, static_cast<int>( ::QLocale::Colombia), 131},
    {sipName_Comoros, static_cast<int>( ::QLocale::Comoros), 131},
    {sipName_CongoBrazzaville, static_cast<int>( ::QLocale::CongoBrazzaville), 131},
    {sipName_CongoKinshasa, static_cast<int>( ::QLocale::CongoKinshasa), 131},
    {sipName_CongoSwahili, static_cast<int>( ::QLocale::CongoSwahili), 135},
    {sipName_CookIslands, static_cast<int>( ::QLocale::CookIslands), 131},
    {sipName_Coptic, static_cast<int>( ::QLocale::Coptic), 135},
    {sipName_CopticScript, static_cast<int>( ::QLocale::CopticScript), 140},
    {sipName_Cornish, static_cast<int>( ::QLocale::Cornish), 135},
    {sipName_Corsican, static_cast<int>( ::QLocale::Corsican), 135},
    {sipName_CostaRica, static_cast<int>( ::QLocale::CostaRica), 131},
    {sipName_Cree, static_cast<int>( ::QLocale::Cree), 135},
    {sipName_Croatia, static_cast<int>( ::QLocale::Croatia), 131},
    {sipName_Croatian, static_cast<int>( ::QLocale::Croatian), 135},
    {sipName_Cuba, static_cast<int>( ::QLocale::Cuba), 131},
    {sipName_CuneiformScript, static_cast<int>( ::QLocale::CuneiformScript), 140},
    {sipName_CuraSao, static_cast<int>( ::QLocale::CuraSao), 131},
    {sipName_CurrencyDisplayName, static_cast<int>( ::QLocale::CurrencyDisplayName), 132},
    {sipName_CurrencyIsoCode, static_cast<int>( ::QLocale::CurrencyIsoCode), 132},
    {sipName_CurrencySymbol, static_cast<int>( ::QLocale::CurrencySymbol), 132},
    {sipName_CypriotScript, static_cast<int>( ::QLocale::CypriotScript), 140},
    {sipName_Cyprus, static_cast<int>( ::QLocale::Cyprus), 131},
    {sipName_CyrillicScript, static_cast<int>( ::QLocale::CyrillicScript), 140},
    {sipName_Czech, static_cast<int>( ::QLocale::Czech), 135},
    {sipName_CzechRepublic, static_cast<int>( ::QLocale::CzechRepublic), 131},
    {sipName_Danish, static_cast<int>( ::QLocale::Danish), 135},
    {sipName_DefaultNumberOptions, static_cast<int>( ::QLocale::DefaultNumberOptions), 137},
    {sipName_DemocraticRepublicOfCongo, static_cast<int>( ::QLocale::DemocraticRepublicOfCongo), 131},
    {sipName_DemocraticRepublicOfKorea, static_cast<int>( ::QLocale::DemocraticRepublicOfKorea), 131},
    {sipName_Denmark, static_cast<int>( ::QLocale::Denmark), 131},
    {sipName_DeseretScript, static_cast<int>( ::QLocale::DeseretScript), 140},
    {sipName_DevanagariScript, static_cast<int>( ::QLocale::DevanagariScript), 140},
    {sipName_DiegoGarcia, static_cast<int>( ::QLocale::DiegoGarcia), 131},
    {sipName_Divehi, static_cast<int>( ::QLocale::Divehi), 135},
    {sipName_Djibouti, static_cast<int>( ::QLocale::Djibouti), 131},
    {sipName_Dogri, static_cast<int>( ::QLocale::Dogri), 135},
    {sipName_Dominica, static_cast<int>( ::QLocale::Dominica), 131},
    {sipName_DominicanRepublic, static_cast<int>( ::QLocale::DominicanRepublic), 131},
    {sipName_Duala, static_cast<int>( ::QLocale::Duala), 135},
    {sipName_DuployanScript, static_cast<int>( ::QLocale::DuployanScript), 140},
    {sipName_Dutch, static_cast<int>( ::QLocale::Dutch), 135},
    {sipName_Dzongkha, static_cast<int>( ::QLocale::Dzongkha), 135},
    {sipName_EastTimor, static_cast<int>( ::QLocale::EastTimor), 131},
    {sipName_EasternCham, static_cast<int>( ::QLocale::EasternCham), 135},
    {sipName_EasternKayah, static_cast<int>( ::QLocale::EasternKayah), 135},
    {sipName_Ecuador, static_cast<int>( ::QLocale::Ecuador), 131},
    {sipName_Egypt, static_cast<int>( ::QLocale::Egypt), 131},
    {sipName_EgyptianHieroglyphsScript, static_cast<int>( ::QLocale::EgyptianHieroglyphsScript), 140},
    {sipName_ElSalvador, static_cast<int>( ::QLocale::ElSalvador), 131},
    {sipName_ElbasanScript, static_cast<int>( ::QLocale::ElbasanScript), 140},
    {sipName_Embu, static_cast<int>( ::QLocale::Embu), 135},
    {sipName_English, static_cast<int>( ::QLocale::English), 135},
    {sipName_EquatorialGuinea, static_cast<int>( ::QLocale::EquatorialGuinea), 131},
    {sipName_Eritrea, static_cast<int>( ::QLocale::Eritrea), 131},
    {sipName_Esperanto, static_cast<int>( ::QLocale::Esperanto), 135},
    {sipName_Estonia, static_cast<int>( ::QLocale::Estonia), 131},
    {sipName_Estonian, static_cast<int>( ::QLocale::Estonian), 135},
    {sipName_Ethiopia, static_cast<int>( ::QLocale::Ethiopia), 131},
    {sipName_EthiopicScript, static_cast<int>( ::QLocale::EthiopicScript), 140},
    {sipName_Etruscan, static_cast<int>( ::QLocale::Etruscan), 135},
    {sipName_EuropeanUnion, static_cast<int>( ::QLocale::EuropeanUnion), 131},
    {sipName_Ewe, static_cast<int>( ::QLocale::Ewe), 135},
    {sipName_Ewondo, static_cast<int>( ::QLocale::Ewondo), 135},
    {sipName_FalklandIslands, static_cast<int>( ::QLocale::FalklandIslands), 131},
    {sipName_FaroeIslands, static_cast<int>( ::QLocale::FaroeIslands), 131},
    {sipName_Faroese, static_cast<int>( ::QLocale::Faroese), 135},
    {sipName_Fiji, static_cast<int>( ::QLocale::Fiji), 131},
    {sipName_Fijian, static_cast<int>( ::QLocale::Fijian), 135},
    {sipName_Filipino, static_cast<int>( ::QLocale::Filipino), 135},
    {sipName_Finland, static_cast<int>( ::QLocale::Finland), 131},
    {sipName_Finnish, static_cast<int>( ::QLocale::Finnish), 135},
    {sipName_FloatingPointShortest, static_cast<int>( ::QLocale::FloatingPointShortest), 133},
    {sipName_France, static_cast<int>( ::QLocale::France), 131},
    {sipName_FraserScript, static_cast<int>( ::QLocale::FraserScript), 140},
    {sipName_French, static_cast<int>( ::QLocale::French), 135},
    {sipName_FrenchGuiana, static_cast<int>( ::QLocale::FrenchGuiana), 131},
    {sipName_FrenchPolynesia, static_cast<int>( ::QLocale::FrenchPolynesia), 131},
    {sipName_FrenchSouthernTerritories, static_cast<int>( ::QLocale::FrenchSouthernTerritories), 131},
    {sipName_Frisian, static_cast<int>( ::QLocale::Frisian), 135},
    {sipName_Friulian, static_cast<int>( ::QLocale::Friulian), 135},
    {sipName_Fulah, static_cast<int>( ::QLocale::Fulah), 135},
    {sipName_Ga, static_cast<int>( ::QLocale::Ga), 135},
    {sipName_Gabon, static_cast<int>( ::QLocale::Gabon), 131},
    {sipName_Gaelic, static_cast<int>( ::QLocale::Gaelic), 135},
    {sipName_Galician, static_cast<int>( ::QLocale::Galician), 135},
    {sipName_Gambia, static_cast<int>( ::QLocale::Gambia), 131},
    {sipName_Ganda, static_cast<int>( ::QLocale::Ganda), 135},
    {sipName_Geez, static_cast<int>( ::QLocale::Geez), 135},
    {sipName_Georgia, static_cast<int>( ::QLocale::Georgia), 131},
    {sipName_Georgian, static_cast<int>( ::QLocale::Georgian), 135},
    {sipName_GeorgianScript, static_cast<int>( ::QLocale::GeorgianScript), 140},
    {sipName_German, static_cast<int>( ::QLocale::German), 135},
    {sipName_Germany, static_cast<int>( ::QLocale::Germany), 131},
    {sipName_Ghana, static_cast<int>( ::QLocale::Ghana), 131},
    {sipName_Gibraltar, static_cast<int>( ::QLocale::Gibraltar), 131},
    {sipName_GlagoliticScript, static_cast<int>( ::QLocale::GlagoliticScript), 140},
    {sipName_Gothic, static_cast<int>( ::QLocale::Gothic), 135},
    {sipName_GothicScript, static_cast<int>( ::QLocale::GothicScript), 140},
    {sipName_GranthaScript, static_cast<int>( ::QLocale::GranthaScript), 140},
    {sipName_Greece, static_cast<int>( ::QLocale::Greece), 131},
    {sipName_Greek, static_cast<int>( ::QLocale::Greek), 135},
    {sipName_GreekScript, static_cast<int>( ::QLocale::GreekScript), 140},
    {sipName_Greenland, static_cast<int>( ::QLocale::Greenland), 131},
    {sipName_Greenlandic, static_cast<int>( ::QLocale::Greenlandic), 135},
    {sipName_Grenada, static_cast<int>( ::QLocale::Grenada), 131},
    {sipName_Guadeloupe, static_cast<int>( ::QLocale::Guadeloupe), 131},
    {sipName_Guam, static_cast<int>( ::QLocale::Guam), 131},
    {sipName_Guarani, static_cast<int>( ::QLocale::Guarani), 135},
    {sipName_Guatemala, static_cast<int>( ::QLocale::Guatemala), 131},
    {sipName_Guernsey, static_cast<int>( ::QLocale::Guernsey), 131},
    {sipName_Guinea, static_cast<int>( ::QLocale::Guinea), 131},
    {sipName_GuineaBissau, static_cast<int>( ::QLocale::GuineaBissau), 131},
    {sipName_Gujarati, static_cast<int>( ::QLocale::Gujarati), 135},
    {sipName_GujaratiScript, static_cast<int>( ::QLocale::GujaratiScript), 140},
    {sipName_GurmukhiScript, static_cast<int>( ::QLocale::GurmukhiScript), 140},
    {sipName_Gusii, static_cast<int>( ::QLocale::Gusii), 135},
    {sipName_Guyana, static_cast<int>( ::QLocale::Guyana), 131},
    {sipName_Haiti, static_cast<int>( ::QLocale::Haiti), 131},
    {sipName_Haitian, static_cast<int>( ::QLocale::Haitian), 135},
    {sipName_HanScript, static_cast<int>( ::QLocale::HanScript), 140},
    {sipName_HanWithBopomofoScript, static_cast<int>( ::QLocale::HanWithBopomofoScript), 140},
    {sipName_HangulScript, static_cast<int>( ::QLocale::HangulScript), 140},
    {sipName_Hanunoo, static_cast<int>( ::QLocale::Hanunoo), 135},
    {sipName_HanunooScript, static_cast<int>( ::QLocale::HanunooScript), 140},
    {sipName_HatranScript, static_cast<int>( ::QLocale::HatranScript), 140},
    {sipName_Hausa, static_cast<int>( ::QLocale::Hausa), 135},
    {sipName_Hawaiian, static_cast<int>( ::QLocale::Hawaiian), 135},
    {sipName_HeardAndMcDonaldIslands, static_cast<int>( ::QLocale::HeardAndMcDonaldIslands), 131},
    {sipName_Hebrew, static_cast<int>( ::QLocale::Hebrew), 135},
    {sipName_HebrewScript, static_cast<int>( ::QLocale::HebrewScript), 140},
    {sipName_Herero, static_cast<int>( ::QLocale::Herero), 135},
    {sipName_HieroglyphicLuwian, static_cast<int>( ::QLocale::HieroglyphicLuwian), 135},
    {sipName_Hindi, static_cast<int>( ::QLocale::Hindi), 135},
    {sipName_HiraganaScript, static_cast<int>( ::QLocale::HiraganaScript), 140},
    {sipName_HiriMotu, static_cast<int>( ::QLocale::HiriMotu), 135},
    {sipName_HmongNjua, static_cast<int>( ::QLocale::HmongNjua), 135},
    {sipName_Ho, static_cast<int>( ::QLocale::Ho), 135},
    {sipName_Honduras, static_cast<int>( ::QLocale::Honduras), 131},
    {sipName_HongKong, static_cast<int>( ::QLocale::HongKong), 131},
    {sipName_Hungarian, static_cast<int>( ::QLocale::Hungarian), 135},
    {sipName_Hungary, static_cast<int>( ::QLocale::Hungary), 131},
    {sipName_Iceland, static_cast<int>( ::QLocale::Iceland), 131},
    {sipName_Icelandic, static_cast<int>( ::QLocale::Icelandic), 135},
    {sipName_Igbo, static_cast<int>( ::QLocale::Igbo), 135},
    {sipName_ImperialAramaicScript, static_cast<int>( ::QLocale::ImperialAramaicScript), 140},
    {sipName_ImperialSystem, static_cast<int>( ::QLocale::ImperialSystem), 136},
    {sipName_ImperialUKSystem, static_cast<int>( ::QLocale::ImperialUKSystem), 136},
    {sipName_ImperialUSSystem, static_cast<int>( ::QLocale::ImperialUSSystem), 136},
    {sipName_InariSami, static_cast<int>( ::QLocale::InariSami), 135},
    {sipName_IncludeTrailingZeroesAfterDot, static_cast<int>( ::QLocale::IncludeTrailingZeroesAfterDot), 137},
    {sipName_India, static_cast<int>( ::QLocale::India), 131},
    {sipName_Indonesia, static_cast<int>( ::QLocale::Indonesia), 131},
    {sipName_Indonesian, static_cast<int>( ::QLocale::Indonesian), 135},
    {sipName_Ingush, static_cast<int>( ::QLocale::Ingush), 135},
    {sipName_InscriptionalPahlaviScript, static_cast<int>( ::QLocale::InscriptionalPahlaviScript), 140},
    {sipName_InscriptionalParthianScript, static_cast<int>( ::QLocale::InscriptionalParthianScript), 140},
    {sipName_Interlingua, static_cast<int>( ::QLocale::Interlingua), 135},
    {sipName_Interlingue, static_cast<int>( ::QLocale::Interlingue), 135},
    {sipName_Inuktitut, static_cast<int>( ::QLocale::Inuktitut), 135},
    {sipName_Inupiak, static_cast<int>( ::QLocale::Inupiak), 135},
    {sipName_Iran, static_cast<int>( ::QLocale::Iran), 131},
    {sipName_Iraq, static_cast<int>( ::QLocale::Iraq), 131},
    {sipName_Ireland, static_cast<int>( ::QLocale::Ireland), 131},
    {sipName_Irish, static_cast<int>( ::QLocale::Irish), 135},
    {sipName_IsleOfMan, static_cast<int>( ::QLocale::IsleOfMan), 131},
    {sipName_Israel, static_cast<int>( ::QLocale::Israel), 131},
    {sipName_Italian, static_cast<int>( ::QLocale::Italian), 135},
    {sipName_Italy, static_cast<int>( ::QLocale::Italy), 131},
    {sipName_IvoryCoast, static_cast<int>( ::QLocale::IvoryCoast), 131},
    {sipName_Jamaica, static_cast<int>( ::QLocale::Jamaica), 131},
    {sipName_JamoScript, static_cast<int>( ::QLocale::JamoScript), 140},
    {sipName_Japan, static_cast<int>( ::QLocale::Japan), 131},
    {sipName_Japanese, static_cast<int>( ::QLocale::Japanese), 135},
    {sipName_JapaneseScript, static_cast<int>( ::QLocale::JapaneseScript), 140},
    {sipName_Javanese, static_cast<int>( ::QLocale::Javanese), 135},
    {sipName_JavaneseScript, static_cast<int>( ::QLocale::JavaneseScript), 140},
    {sipName_Jersey, static_cast<int>( ::QLocale::Jersey), 131},
    {sipName_Jju, static_cast<int>( ::QLocale::Jju), 135},
    {sipName_JolaFonyi, static_cast<int>( ::QLocale::JolaFonyi), 135},
    {sipName_Jordan, static_cast<int>( ::QLocale::Jordan), 131},
    {sipName_Kabuverdianu, static_cast<int>( ::QLocale::Kabuverdianu), 135},
    {sipName_Kabyle, static_cast<int>( ::QLocale::Kabyle), 135},
    {sipName_KaithiScript, static_cast<int>( ::QLocale::KaithiScript), 140},
    {sipName_Kako, static_cast<int>( ::QLocale::Kako), 135},
    {sipName_Kalenjin, static_cast<int>( ::QLocale::Kalenjin), 135},
    {sipName_Kamba, static_cast<int>( ::QLocale::Kamba), 135},
    {sipName_Kannada, static_cast<int>( ::QLocale::Kannada), 135},
    {sipName_KannadaScript, static_cast<int>( ::QLocale::KannadaScript), 140},
    {sipName_Kanuri, static_cast<int>( ::QLocale::Kanuri), 135},
    {sipName_Kashmiri, static_cast<int>( ::QLocale::Kashmiri), 135},
    {sipName_KatakanaScript, static_cast<int>( ::QLocale::KatakanaScript), 140},
    {sipName_KayahLiScript, static_cast<int>( ::QLocale::KayahLiScript), 140},
    {sipName_Kazakh, static_cast<int>( ::QLocale::Kazakh), 135},
    {sipName_Kazakhstan, static_cast<int>( ::QLocale::Kazakhstan), 131},
    {sipName_Kenya, static_cast<int>( ::QLocale::Kenya), 131},
    {sipName_Kenyang, static_cast<int>( ::QLocale::Kenyang), 135},
    {sipName_KharoshthiScript, static_cast<int>( ::QLocale::KharoshthiScript), 140},
    {sipName_Khmer, static_cast<int>( ::QLocale::Khmer), 135},
    {sipName_KhmerScript, static_cast<int>( ::QLocale::KhmerScript), 140},
    {sipName_KhojkiScript, static_cast<int>( ::QLocale::KhojkiScript), 140},
    {sipName_KhudawadiScript, static_cast<int>( ::QLocale::KhudawadiScript), 140},
    {sipName_Kiche, static_cast<int>( ::QLocale::Kiche), 135},
    {sipName_Kikuyu, static_cast<int>( ::QLocale::Kikuyu), 135},
    {sipName_Kinyarwanda, static_cast<int>( ::QLocale::Kinyarwanda), 135},
    {sipName_Kirghiz, static_cast<int>( ::QLocale::Kirghiz), 135},
    {sipName_Kiribati, static_cast<int>( ::QLocale::Kiribati), 131},
    {sipName_Komi, static_cast<int>( ::QLocale::Komi), 135},
    {sipName_Kongo, static_cast<int>( ::QLocale::Kongo), 135},
    {sipName_Konkani, static_cast<int>( ::QLocale::Konkani), 135},
    {sipName_Korean, static_cast<int>( ::QLocale::Korean), 135},
    {sipName_KoreanScript, static_cast<int>( ::QLocale::KoreanScript), 140},
    {sipName_Koro, static_cast<int>( ::QLocale::Koro), 135},
    {sipName_Kosovo, static_cast<int>( ::QLocale::Kosovo), 131},
    {sipName_KoyraChiini, static_cast<int>( ::QLocale::KoyraChiini), 135},
    {sipName_KoyraboroSenni, static_cast<int>( ::QLocale::KoyraboroSenni), 135},
    {sipName_Kpelle, static_cast<int>( ::QLocale::Kpelle), 135},
    {sipName_Kurdish, static_cast<int>( ::QLocale::Kurdish), 135},
    {sipName_Kurundi, static_cast<int>( ::QLocale::Kurundi), 135},
    {sipName_Kuwait, static_cast<int>( ::QLocale::Kuwait), 131},
    {sipName_Kwanyama, static_cast<int>( ::QLocale::Kwanyama), 135},
    {sipName_Kwasio, static_cast<int>( ::QLocale::Kwasio), 135},
    {sipName_Kyrgyzstan, static_cast<int>( ::QLocale::Kyrgyzstan), 131},
    {sipName_Lakota, static_cast<int>( ::QLocale::Lakota), 135},
    {sipName_Langi, static_cast<int>( ::QLocale::Langi), 135},
    {sipName_LannaScript, static_cast<int>( ::QLocale::LannaScript), 140},
    {sipName_Lao, static_cast<int>( ::QLocale::Lao), 135},
    {sipName_LaoScript, static_cast<int>( ::QLocale::LaoScript), 140},
    {sipName_Laos, static_cast<int>( ::QLocale::Laos), 131},
    {sipName_LargeFloweryMiao, static_cast<int>( ::QLocale::LargeFloweryMiao), 135},
    {sipName_LastCountry, static_cast<int>( ::QLocale::LastCountry), 131},
    {sipName_LastLanguage, static_cast<int>( ::QLocale::LastLanguage), 135},
    {sipName_Latin, static_cast<int>( ::QLocale::Latin), 135},
    {sipName_LatinAmericaAndTheCaribbean, static_cast<int>( ::QLocale::LatinAmericaAndTheCaribbean), 131},
    {sipName_LatinScript, static_cast<int>( ::QLocale::LatinScript), 140},
    {sipName_Latvia, static_cast<int>( ::QLocale::Latvia), 131},
    {sipName_Latvian, static_cast<int>( ::QLocale::Latvian), 135},
    {sipName_Lebanon, static_cast<int>( ::QLocale::Lebanon), 131},
    {sipName_Lepcha, static_cast<int>( ::QLocale::Lepcha), 135},
    {sipName_LepchaScript, static_cast<int>( ::QLocale::LepchaScript), 140},
    {sipName_Lesotho, static_cast<int>( ::QLocale::Lesotho), 131},
    {sipName_Lezghian, static_cast<int>( ::QLocale::Lezghian), 135},
    {sipName_Liberia, static_cast<int>( ::QLocale::Liberia), 131},
    {sipName_Libya, static_cast<int>( ::QLocale::Libya), 131},
    {sipName_Liechtenstein, static_cast<int>( ::QLocale::Liechtenstein), 131},
    {sipName_Limbu, static_cast<int>( ::QLocale::Limbu), 135},
    {sipName_LimbuScript, static_cast<int>( ::QLocale::LimbuScript), 140},
    {sipName_Limburgish, static_cast<int>( ::QLocale::Limburgish), 135},
    {sipName_LinearA, static_cast<int>( ::QLocale::LinearA), 135},
    {sipName_LinearAScript, static_cast<int>( ::QLocale::LinearAScript), 140},
    {sipName_LinearBScript, static_cast<int>( ::QLocale::LinearBScript), 140},
    {sipName_Lingala, static_cast<int>( ::QLocale::Lingala), 135},
    {sipName_Lisu, static_cast<int>( ::QLocale::Lisu), 135},
    {sipName_LiteraryChinese, static_cast<int>( ::QLocale::LiteraryChinese), 135},
    {sipName_Lithuania, static_cast<int>( ::QLocale::Lithuania), 131},
    {sipName_Lithuanian, static_cast<int>( ::QLocale::Lithuanian), 135},
    {sipName_LongFormat, static_cast<int>( ::QLocale::LongFormat), 134},
    {sipName_LowGerman, static_cast<int>( ::QLocale::LowGerman), 135},
    {sipName_LowerSorbian, static_cast<int>( ::QLocale::LowerSorbian), 135},
    {sipName_Lu, static_cast<int>( ::QLocale::Lu), 135},
    {sipName_LubaKatanga, static_cast<int>( ::QLocale::LubaKatanga), 135},
    {sipName_LuleSami, static_cast<int>( ::QLocale::LuleSami), 135},
    {sipName_Luo, static_cast<int>( ::QLocale::Luo), 135},
    {sipName_Luxembourg, static_cast<int>( ::QLocale::Luxembourg), 131},
    {sipName_Luxembourgish, static_cast<int>( ::QLocale::Luxembourgish), 135},
    {sipName_Luyia, static_cast<int>( ::QLocale::Luyia), 135},
    {sipName_Lycian, static_cast<int>( ::QLocale::Lycian), 135},
    {sipName_LycianScript, static_cast<int>( ::QLocale::LycianScript), 140},
    {sipName_Lydian, static_cast<int>( ::QLocale::Lydian), 135},
    {sipName_LydianScript, static_cast<int>( ::QLocale::LydianScript), 140},
    {sipName_Macau, static_cast<int>( ::QLocale::Macau), 131},
    {sipName_Macedonia, static_cast<int>( ::QLocale::Macedonia), 131},
    {sipName_Macedonian, static_cast<int>( ::QLocale::Macedonian), 135},
    {sipName_Machame, static_cast<int>( ::QLocale::Machame), 135},
    {sipName_Madagascar, static_cast<int>( ::QLocale::Madagascar), 131},
    {sipName_MahajaniScript, static_cast<int>( ::QLocale::MahajaniScript), 140},
    {sipName_Maithili, static_cast<int>( ::QLocale::Maithili), 135},
    {sipName_MakhuwaMeetto, static_cast<int>( ::QLocale::MakhuwaMeetto), 135},
    {sipName_Makonde, static_cast<int>( ::QLocale::Makonde), 135},
    {sipName_Malagasy, static_cast<int>( ::QLocale::Malagasy), 135},
    {sipName_Malawi, static_cast<int>( ::QLocale::Malawi), 131},
    {sipName_Malay, static_cast<int>( ::QLocale::Malay), 135},
    {sipName_Malayalam, static_cast<int>( ::QLocale::Malayalam), 135},
    {sipName_MalayalamScript, static_cast<int>( ::QLocale::MalayalamScript), 140},
    {sipName_Malaysia, static_cast<int>( ::QLocale::Malaysia), 131},
    {sipName_Maldives, static_cast<int>( ::QLocale::Maldives), 131},
    {sipName_Mali, static_cast<int>( ::QLocale::Mali), 131},
    {sipName_Malta, static_cast<int>( ::QLocale::Malta), 131},
    {sipName_Maltese, static_cast<int>( ::QLocale::Maltese), 135},
    {sipName_MandaeanScript, static_cast<int>( ::QLocale::MandaeanScript), 140},
    {sipName_Mandingo, static_cast<int>( ::QLocale::Mandingo), 135},
    {sipName_ManichaeanMiddlePersian, static_cast<int>( ::QLocale::ManichaeanMiddlePersian), 135},
    {sipName_ManichaeanScript, static_cast<int>( ::QLocale::ManichaeanScript), 140},
    {sipName_Manipuri, static_cast<int>( ::QLocale::Manipuri), 135},
    {sipName_Manx, static_cast<int>( ::QLocale::Manx), 135},
    {sipName_Maori, static_cast<int>( ::QLocale::Maori), 135},
    {sipName_Mapuche, static_cast<int>( ::QLocale::Mapuche), 135},
    {sipName_Marathi, static_cast<int>( ::QLocale::Marathi), 135},
    {sipName_MarchenScript, static_cast<int>( ::QLocale::MarchenScript), 140},
    {sipName_MarshallIslands, static_cast<int>( ::QLocale::MarshallIslands), 131},
    {sipName_Marshallese, static_cast<int>( ::QLocale::Marshallese), 135},
    {sipName_Martinique, static_cast<int>( ::QLocale::Martinique), 131},
    {sipName_Masai, static_cast<int>( ::QLocale::Masai), 135},
    {sipName_Mauritania, static_cast<int>( ::QLocale::Mauritania), 131},
    {sipName_Mauritius, static_cast<int>( ::QLocale::Mauritius), 131},
    {sipName_Mayotte, static_cast<int>( ::QLocale::Mayotte), 131},
    {sipName_Mazanderani, static_cast<int>( ::QLocale::Mazanderani), 135},
    {sipName_MeiteiMayekScript, static_cast<int>( ::QLocale::MeiteiMayekScript), 140},
    {sipName_Mende, static_cast<int>( ::QLocale::Mende), 135},
    {sipName_MendeKikakuiScript, static_cast<int>( ::QLocale::MendeKikakuiScript), 140},
    {sipName_Meroitic, static_cast<int>( ::QLocale::Meroitic), 135},
    {sipName_MeroiticCursiveScript, static_cast<int>( ::QLocale::MeroiticCursiveScript), 140},
    {sipName_MeroiticScript, static_cast<int>( ::QLocale::MeroiticScript), 140},
    {sipName_Meru, static_cast<int>( ::QLocale::Meru), 135},
    {sipName_Meta, static_cast<int>( ::QLocale::Meta), 135},
    {sipName_MetricSystem, static_cast<int>( ::QLocale::MetricSystem), 136},
    {sipName_Mexico, static_cast<int>( ::QLocale::Mexico), 131},
    {sipName_Micronesia, static_cast<int>( ::QLocale::Micronesia), 131},
    {sipName_ModiScript, static_cast<int>( ::QLocale::ModiScript), 140},
    {sipName_Mohawk, static_cast<int>( ::QLocale::Mohawk), 135},
    {sipName_Moldavian, static_cast<int>( ::QLocale::Moldavian), 135},
    {sipName_Moldova, static_cast<int>( ::QLocale::Moldova), 131},
    {sipName_Monaco, static_cast<int>( ::QLocale::Monaco), 131},
    {sipName_Mongolia, static_cast<int>( ::QLocale::Mongolia), 131},
    {sipName_Mongolian, static_cast<int>( ::QLocale::Mongolian), 135},
    {sipName_MongolianScript, static_cast<int>( ::QLocale::MongolianScript), 140},
    {sipName_Mono, static_cast<int>( ::QLocale::Mono), 135},
    {sipName_Montenegro, static_cast<int>( ::QLocale::Montenegro), 131},
    {sipName_Montserrat, static_cast<int>( ::QLocale::Montserrat), 131},
    {sipName_Morisyen, static_cast<int>( ::QLocale::Morisyen), 135},
    {sipName_Morocco, static_cast<int>( ::QLocale::Morocco), 131},
    {sipName_Mozambique, static_cast<int>( ::QLocale::Mozambique), 131},
    {sipName_MroScript, static_cast<int>( ::QLocale::MroScript), 140},
    {sipName_Mru, static_cast<int>( ::QLocale::Mru), 135},
    {sipName_MultaniScript, static_cast<int>( ::QLocale::MultaniScript), 140},
    {sipName_Mundang, static_cast<int>( ::QLocale::Mundang), 135},
    {sipName_Myanmar, static_cast<int>( ::QLocale::Myanmar), 131},
    {sipName_MyanmarScript, static_cast<int>( ::QLocale::MyanmarScript), 140},
    {sipName_NabataeanScript, static_cast<int>( ::QLocale::NabataeanScript), 140},
    {sipName_Nama, static_cast<int>( ::QLocale::Nama), 135},
    {sipName_Namibia, static_cast<int>( ::QLocale::Namibia), 131},
    {sipName_NarrowFormat, static_cast<int>( ::QLocale::NarrowFormat), 134},
    {sipName_NauruCountry, static_cast<int>( ::QLocale::NauruCountry), 131},
    {sipName_NauruLanguage, static_cast<int>( ::QLocale::NauruLanguage), 135},
    {sipName_Navaho, static_cast<int>( ::QLocale::Navaho), 135},
    {sipName_Ndonga, static_cast<int>( ::QLocale::Ndonga), 135},
    {sipName_Nepal, static_cast<int>( ::QLocale::Nepal), 131},
    {sipName_Nepali, static_cast<int>( ::QLocale::Nepali), 135},
    {sipName_Netherlands, static_cast<int>( ::QLocale::Netherlands), 131},
    {sipName_NewCaledonia, static_cast<int>( ::QLocale::NewCaledonia), 131},
    {sipName_NewTaiLueScript, static_cast<int>( ::QLocale::NewTaiLueScript), 140},
    {sipName_NewZealand, static_cast<int>( ::QLocale::NewZealand), 131},
    {sipName_NewaScript, static_cast<int>( ::QLocale::NewaScript), 140},
    {sipName_Newari, static_cast<int>( ::QLocale::Newari), 135},
    {sipName_Ngiemboon, static_cast<int>( ::QLocale::Ngiemboon), 135},
    {sipName_Ngomba, static_cast<int>( ::QLocale::Ngomba), 135},
    {sipName_Nicaragua, static_cast<int>( ::QLocale::Nicaragua), 131},
    {sipName_Niger, static_cast<int>( ::QLocale::Niger), 131},
    {sipName_Nigeria, static_cast<int>( ::QLocale::Nigeria), 131},
    {sipName_Niue, static_cast<int>( ::QLocale::Niue), 131},
    {sipName_Nko, static_cast<int>( ::QLocale::Nko), 135},
    {sipName_NkoScript, static_cast<int>( ::QLocale::NkoScript), 140},
    {sipName_NorfolkIsland, static_cast<int>( ::QLocale::NorfolkIsland), 131},
    {sipName_NorthKorea, static_cast<int>( ::QLocale::NorthKorea), 131},
    {sipName_NorthNdebele, static_cast<int>( ::QLocale::NorthNdebele), 135},
    {sipName_NorthernLuri, static_cast<int>( ::QLocale::NorthernLuri), 135},
    {sipName_NorthernMarianaIslands, static_cast<int>( ::QLocale::NorthernMarianaIslands), 131},
    {sipName_NorthernSami, static_cast<int>( ::QLocale::NorthernSami), 135},
    {sipName_NorthernSotho, static_cast<int>( ::QLocale::NorthernSotho), 135},
    {sipName_NorthernThai, static_cast<int>( ::QLocale::NorthernThai), 135},
    {sipName_Norway, static_cast<int>( ::QLocale::Norway), 131},
    {sipName_Norwegian, static_cast<int>( ::QLocale::Norwegian), 135},
    {sipName_NorwegianBokmal, static_cast<int>( ::QLocale::NorwegianBokmal), 135},
    {sipName_NorwegianNynorsk, static_cast<int>( ::QLocale::NorwegianNynorsk), 135},
    {sipName_Nuer, static_cast<int>( ::QLocale::Nuer), 135},
    {sipName_Nyanja, static_cast<int>( ::QLocale::Nyanja), 135},
    {sipName_Nyankole, static_cast<int>( ::QLocale::Nyankole), 135},
    {sipName_Occitan, static_cast<int>( ::QLocale::Occitan), 135},
    {sipName_OghamScript, static_cast<int>( ::QLocale::OghamScript), 140},
    {sipName_Ojibwa, static_cast<int>( ::QLocale::Ojibwa), 135},
    {sipName_OlChikiScript, static_cast<int>( ::QLocale::OlChikiScript), 140},
    {sipName_OldHungarianScript, static_cast<int>( ::QLocale::OldHungarianScript), 140},
    {sipName_OldIrish, static_cast<int>( ::QLocale::OldIrish), 135},
    {sipName_OldItalicScript, static_cast<int>( ::QLocale::OldItalicScript), 140},
    {sipName_OldNorse, static_cast<int>( ::QLocale::OldNorse), 135},
    {sipName_OldNorthArabianScript, static_cast<int>( ::QLocale::OldNorthArabianScript), 140},
    {sipName_OldPermicScript, static_cast<int>( ::QLocale::OldPermicScript), 140},
    {sipName_OldPersian, static_cast<int>( ::QLocale::OldPersian), 135},
    {sipName_OldPersianScript, static_cast<int>( ::QLocale::OldPersianScript), 140},
    {sipName_OldSouthArabianScript, static_cast<int>( ::QLocale::OldSouthArabianScript), 140},
    {sipName_OldTurkish, static_cast<int>( ::QLocale::OldTurkish), 135},
    {sipName_Oman, static_cast<int>( ::QLocale::Oman), 131},
    {sipName_OmitGroupSeparator, static_cast<int>( ::QLocale::OmitGroupSeparator), 137},
    {sipName_OmitLeadingZeroInExponent, static_cast<int>( ::QLocale::OmitLeadingZeroInExponent), 137},
    {sipName_Oriya, static_cast<int>( ::QLocale::Oriya), 135},
    {sipName_OriyaScript, static_cast<int>( ::QLocale::OriyaScript), 140},
    {sipName_OrkhonScript, static_cast<int>( ::QLocale::OrkhonScript), 140},
    {sipName_Oromo, static_cast<int>( ::QLocale::Oromo), 135},
    {sipName_Osage, static_cast<int>( ::QLocale::Osage), 135},
    {sipName_OsageScript, static_cast<int>( ::QLocale::OsageScript), 140},
    {sipName_OsmanyaScript, static_cast<int>( ::QLocale::OsmanyaScript), 140},
    {sipName_Ossetic, static_cast<int>( ::QLocale::Ossetic), 135},
    {sipName_OutlyingOceania, static_cast<int>( ::QLocale::OutlyingOceania), 131},
    {sipName_PahawhHmongScript, static_cast<int>( ::QLocale::PahawhHmongScript), 140},
    {sipName_Pahlavi, static_cast<int>( ::QLocale::Pahlavi), 135},
    {sipName_Pakistan, static_cast<int>( ::QLocale::Pakistan), 131},
    {sipName_Palau, static_cast<int>( ::QLocale::Palau), 131},
    {sipName_Palauan, static_cast<int>( ::QLocale::Palauan), 135},
    {sipName_PalestinianTerritories, static_cast<int>( ::QLocale::PalestinianTerritories), 131},
    {sipName_Pali, static_cast<int>( ::QLocale::Pali), 135},
    {sipName_PalmyreneScript, static_cast<int>( ::QLocale::PalmyreneScript), 140},
    {sipName_Panama, static_cast<int>( ::QLocale::Panama), 131},
    {sipName_Papiamento, static_cast<int>( ::QLocale::Papiamento), 135},
    {sipName_PapuaNewGuinea, static_cast<int>( ::QLocale::PapuaNewGuinea), 131},
    {sipName_Paraguay, static_cast<int>( ::QLocale::Paraguay), 131},
    {sipName_Parthian, static_cast<int>( ::QLocale::Parthian), 135},
    {sipName_Pashto, static_cast<int>( ::QLocale::Pashto), 135},
    {sipName_PauCinHauScript, static_cast<int>( ::QLocale::PauCinHauScript), 140},
    {sipName_PeoplesRepublicOfCongo, static_cast<int>( ::QLocale::PeoplesRepublicOfCongo), 131},
    {sipName_Persian, static_cast<int>( ::QLocale::Persian), 135},
    {sipName_Peru, static_cast<int>( ::QLocale::Peru), 131},
    {sipName_PhagsPaScript, static_cast<int>( ::QLocale::PhagsPaScript), 140},
    {sipName_Philippines, static_cast<int>( ::QLocale::Philippines), 131},
    {sipName_Phoenician, static_cast<int>( ::QLocale::Phoenician), 135},
    {sipName_PhoenicianScript, static_cast<int>( ::QLocale::PhoenicianScript), 140},
    {sipName_Pitcairn, static_cast<int>( ::QLocale::Pitcairn), 131},
    {sipName_Poland, static_cast<int>( ::QLocale::Poland), 131},
    {sipName_Polish, static_cast<int>( ::QLocale::Polish), 135},
    {sipName_PollardPhoneticScript, static_cast<int>( ::QLocale::PollardPhoneticScript), 140},
    {sipName_Portugal, static_cast<int>( ::QLocale::Portugal), 131},
    {sipName_Portuguese, static_cast<int>( ::QLocale::Portuguese), 135},
    {sipName_PrakritLanguage, static_cast<int>( ::QLocale::PrakritLanguage), 135},
    {sipName_Prussian, static_cast<int>( ::QLocale::Prussian), 135},
    {sipName_PsalterPahlaviScript, static_cast<int>( ::QLocale::PsalterPahlaviScript), 140},
    {sipName_PuertoRico, static_cast<int>( ::QLocale::PuertoRico), 131},
    {sipName_Punjabi, static_cast<int>( ::QLocale::Punjabi), 135},
    {sipName_Qatar, static_cast<int>( ::QLocale::Qatar), 131},
    {sipName_Quechua, static_cast<int>( ::QLocale::Quechua), 135},
    {sipName_Rejang, static_cast<int>( ::QLocale::Rejang), 135},
    {sipName_RejangScript, static_cast<int>( ::QLocale::RejangScript), 140},
    {sipName_RejectGroupSeparator, static_cast<int>( ::QLocale::RejectGroupSeparator), 137},
    {sipName_RejectLeadingZeroInExponent, static_cast<int>( ::QLocale::RejectLeadingZeroInExponent), 137},
    {sipName_RejectTrailingZeroesAfterDot, static_cast<int>( ::QLocale::RejectTrailingZeroesAfterDot), 137},
    {sipName_RepublicOfKorea, static_cast<int>( ::QLocale::RepublicOfKorea), 131},
    {sipName_Reunion, static_cast<int>( ::QLocale::Reunion), 131},
    {sipName_RhaetoRomance, static_cast<int>( ::QLocale::RhaetoRomance), 135},
    {sipName_Romania, static_cast<int>( ::QLocale::Romania), 131},
    {sipName_Romanian, static_cast<int>( ::QLocale::Romanian), 135},
    {sipName_Romansh, static_cast<int>( ::QLocale::Romansh), 135},
    {sipName_Rombo, static_cast<int>( ::QLocale::Rombo), 135},
    {sipName_Rundi, static_cast<int>( ::QLocale::Rundi), 135},
    {sipName_RunicScript, static_cast<int>( ::QLocale::RunicScript), 140},
    {sipName_Russia, static_cast<int>( ::QLocale::Russia), 131},
    {sipName_Russian, static_cast<int>( ::QLocale::Russian), 135},
    {sipName_RussianFederation, static_cast<int>( ::QLocale::RussianFederation), 131},
    {sipName_Rwa, static_cast<int>( ::QLocale::Rwa), 135},
    {sipName_Rwanda, static_cast<int>( ::QLocale::Rwanda), 131},
    {sipName_Sabaean, static_cast<int>( ::QLocale::Sabaean), 135},
    {sipName_Saho, static_cast<int>( ::QLocale::Saho), 135},
    {sipName_SaintBarthelemy, static_cast<int>( ::QLocale::SaintBarthelemy), 131},
    {sipName_SaintHelena, static_cast<int>( ::QLocale::SaintHelena), 131},
    {sipName_SaintKittsAndNevis, static_cast<int>( ::QLocale::SaintKittsAndNevis), 131},
    {sipName_SaintLucia, static_cast<int>( ::QLocale::SaintLucia), 131},
    {sipName_SaintMartin, static_cast<int>( ::QLocale::SaintMartin), 131},
    {sipName_SaintPierreAndMiquelon, static_cast<int>( ::QLocale::SaintPierreAndMiquelon), 131},
    {sipName_SaintVincentAndTheGrenadines, static_cast<int>( ::QLocale::SaintVincentAndTheGrenadines), 131},
    {sipName_Sakha, static_cast<int>( ::QLocale::Sakha), 135},
    {sipName_Samaritan, static_cast<int>( ::QLocale::Samaritan), 135},
    {sipName_SamaritanScript, static_cast<int>( ::QLocale::SamaritanScript), 140},
    {sipName_Samburu, static_cast<int>( ::QLocale::Samburu), 135},
    {sipName_Samoa, static_cast<int>( ::QLocale::Samoa), 131},
    {sipName_Samoan, static_cast<int>( ::QLocale::Samoan), 135},
    {sipName_SanMarino, static_cast<int>( ::QLocale::SanMarino), 131},
    {sipName_Sango, static_cast<int>( ::QLocale::Sango), 135},
    {sipName_Sangu, static_cast<int>( ::QLocale::Sangu), 135},
    {sipName_Sanskrit, static_cast<int>( ::QLocale::Sanskrit), 135},
    {sipName_Santali, static_cast<int>( ::QLocale::Santali), 135},
    {sipName_SaoTomeAndPrincipe, static_cast<int>( ::QLocale::SaoTomeAndPrincipe), 131},
    {sipName_Saraiki, static_cast<int>( ::QLocale::Saraiki), 135},
    {sipName_Sardinian, static_cast<int>( ::QLocale::Sardinian), 135},
    {sipName_SaudiArabia, static_cast<int>( ::QLocale::SaudiArabia), 131},
    {sipName_Saurashtra, static_cast<int>( ::QLocale::Saurashtra), 135},
    {sipName_SaurashtraScript, static_cast<int>( ::QLocale::SaurashtraScript), 140},
    {sipName_Sena, static_cast<int>( ::QLocale::Sena), 135},
    {sipName_Senegal, static_cast<int>( ::QLocale::Senegal), 131},
    {sipName_Serbia, static_cast<int>( ::QLocale::Serbia), 131},
    {sipName_Serbian, static_cast<int>( ::QLocale::Serbian), 135},
    {sipName_SerboCroatian, static_cast<int>( ::QLocale::SerboCroatian), 135},
    {sipName_Seychelles, static_cast<int>( ::QLocale::Seychelles), 131},
    {sipName_Shambala, static_cast<int>( ::QLocale::Shambala), 135},
    {sipName_SharadaScript, static_cast<int>( ::QLocale::SharadaScript), 140},
    {sipName_ShavianScript, static_cast<int>( ::QLocale::ShavianScript), 140},
    {sipName_Shona, static_cast<int>( ::QLocale::Shona), 135},
    {sipName_ShortFormat, static_cast<int>( ::QLocale::ShortFormat), 134},
    {sipName_SichuanYi, static_cast<int>( ::QLocale::SichuanYi), 135},
    {sipName_Sidamo, static_cast<int>( ::QLocale::Sidamo), 135},
    {sipName_SiddhamScript, static_cast<int>( ::QLocale::SiddhamScript), 140},
    {sipName_SierraLeone, static_cast<int>( ::QLocale::SierraLeone), 131},
    {sipName_SignWritingScript, static_cast<int>( ::QLocale::SignWritingScript), 140},
    {sipName_SimplifiedChineseScript, static_cast<int>( ::QLocale::SimplifiedChineseScript), 140},
    {sipName_SimplifiedHanScript, static_cast<int>( ::QLocale::SimplifiedHanScript), 140},
    {sipName_Sindhi, static_cast<int>( ::QLocale::Sindhi), 135},
    {sipName_Singapore, static_cast<int>( ::QLocale::Singapore), 131},
    {sipName_Sinhala, static_cast<int>( ::QLocale::Sinhala), 135},
    {sipName_SinhalaScript, static_cast<int>( ::QLocale::SinhalaScript), 140},
    {sipName_SintMaarten, static_cast<int>( ::QLocale::SintMaarten), 131},
    {sipName_SkoltSami, static_cast<int>( ::QLocale::SkoltSami), 135},
    {sipName_Slovak, static_cast<int>( ::QLocale::Slovak), 135},
    {sipName_Slovakia, static_cast<int>( ::QLocale::Slovakia), 131},
    {sipName_Slovenia, static_cast<int>( ::QLocale::Slovenia), 131},
    {sipName_Slovenian, static_cast<int>( ::QLocale::Slovenian), 135},
    {sipName_Soga, static_cast<int>( ::QLocale::Soga), 135},
    {sipName_SolomonIslands, static_cast<int>( ::QLocale::SolomonIslands), 131},
    {sipName_Somali, static_cast<int>( ::QLocale::Somali), 135},
    {sipName_Somalia, static_cast<int>( ::QLocale::Somalia), 131},
    {sipName_Sora, static_cast<int>( ::QLocale::Sora), 135},
    {sipName_SoraSompengScript, static_cast<int>( ::QLocale::SoraSompengScript), 140},
    {sipName_SouthAfrica, static_cast<int>( ::QLocale::SouthAfrica), 131},
    {sipName_SouthGeorgiaAndTheSouthSandwichIslands, static_cast<int>( ::QLocale::SouthGeorgiaAndTheSouthSandwichIslands), 131},
    {sipName_SouthKorea, static_cast<int>( ::QLocale::SouthKorea), 131},
    {sipName_SouthNdebele, static_cast<int>( ::QLocale::SouthNdebele), 135},
    {sipName_SouthSudan, static_cast<int>( ::QLocale::SouthSudan), 131},
    {sipName_SouthernSami, static_cast<int>( ::QLocale::SouthernSami), 135},
    {sipName_SouthernSotho, static_cast<int>( ::QLocale::SouthernSotho), 135},
    {sipName_Spain, static_cast<int>( ::QLocale::Spain), 131},
    {sipName_Spanish, static_cast<int>( ::QLocale::Spanish), 135},
    {sipName_SriLanka, static_cast<int>( ::QLocale::SriLanka), 131},
    {sipName_StandardMoroccanTamazight, static_cast<int>( ::QLocale::StandardMoroccanTamazight), 135},
    {sipName_StandardQuotation, static_cast<int>( ::QLocale::StandardQuotation), 139},
    {sipName_Sudan, static_cast<int>( ::QLocale::Sudan), 131},
    {sipName_Sundanese, static_cast<int>( ::QLocale::Sundanese), 135},
    {sipName_SundaneseScript, static_cast<int>( ::QLocale::SundaneseScript), 140},
    {sipName_Suriname, static_cast<int>( ::QLocale::Suriname), 131},
    {sipName_SvalbardAndJanMayenIslands, static_cast<int>( ::QLocale::SvalbardAndJanMayenIslands), 131},
    {sipName_Swahili, static_cast<int>( ::QLocale::Swahili), 135},
    {sipName_Swati, static_cast<int>( ::QLocale::Swati), 135},
    {sipName_Swaziland, static_cast<int>( ::QLocale::Swaziland), 131},
    {sipName_Sweden, static_cast<int>( ::QLocale::Sweden), 131},
    {sipName_Swedish, static_cast<int>( ::QLocale::Swedish), 135},
    {sipName_SwissGerman, static_cast<int>( ::QLocale::SwissGerman), 135},
    {sipName_Switzerland, static_cast<int>( ::QLocale::Switzerland), 131},
    {sipName_Sylheti, static_cast<int>( ::QLocale::Sylheti), 135},
    {sipName_SylotiNagriScript, static_cast<int>( ::QLocale::SylotiNagriScript), 140},
    {sipName_Syria, static_cast<int>( ::QLocale::Syria), 131},
    {sipName_Syriac, static_cast<int>( ::QLocale::Syriac), 135},
    {sipName_SyriacScript, static_cast<int>( ::QLocale::SyriacScript), 140},
    {sipName_SyrianArabRepublic, static_cast<int>( ::QLocale::SyrianArabRepublic), 131},
    {sipName_Tachelhit, static_cast<int>( ::QLocale::Tachelhit), 135},
    {sipName_Tagalog, static_cast<int>( ::QLocale::Tagalog), 135},
    {sipName_TagalogScript, static_cast<int>( ::QLocale::TagalogScript), 140},
    {sipName_Tagbanwa, static_cast<int>( ::QLocale::Tagbanwa), 135},
    {sipName_TagbanwaScript, static_cast<int>( ::QLocale::TagbanwaScript), 140},
    {sipName_Tahitian, static_cast<int>( ::QLocale::Tahitian), 135},
    {sipName_TaiDam, static_cast<int>( ::QLocale::TaiDam), 135},
    {sipName_TaiLeScript, static_cast<int>( ::QLocale::TaiLeScript), 140},
    {sipName_TaiNua, static_cast<int>( ::QLocale::TaiNua), 135},
    {sipName_TaiVietScript, static_cast<int>( ::QLocale::TaiVietScript), 140},
    {sipName_Taita, static_cast<int>( ::QLocale::Taita), 135},
    {sipName_Taiwan, static_cast<int>( ::QLocale::Taiwan), 131},
    {sipName_Tajik, static_cast<int>( ::QLocale::Tajik), 135},
    {sipName_Tajikistan, static_cast<int>( ::QLocale::Tajikistan), 131},
    {sipName_TakriScript, static_cast<int>( ::QLocale::TakriScript), 140},
    {sipName_Tamil, static_cast<int>( ::QLocale::Tamil), 135},
    {sipName_TamilScript, static_cast<int>( ::QLocale::TamilScript), 140},
    {sipName_Tangut, static_cast<int>( ::QLocale::Tangut), 135},
    {sipName_TangutScript, static_cast<int>( ::QLocale::TangutScript), 140},
    {sipName_Tanzania, static_cast<int>( ::QLocale::Tanzania), 131},
    {sipName_Taroko, static_cast<int>( ::QLocale::Taroko), 135},
    {sipName_Tasawaq, static_cast<int>( ::QLocale::Tasawaq), 135},
    {sipName_Tatar, static_cast<int>( ::QLocale::Tatar), 135},
    {sipName_TedimChin, static_cast<int>( ::QLocale::TedimChin), 135},
    {sipName_Telugu, static_cast<int>( ::QLocale::Telugu), 135},
    {sipName_TeluguScript, static_cast<int>( ::QLocale::TeluguScript), 140},
    {sipName_Teso, static_cast<int>( ::QLocale::Teso), 135},
    {sipName_ThaanaScript, static_cast<int>( ::QLocale::ThaanaScript), 140},
    {sipName_Thai, static_cast<int>( ::QLocale::Thai), 135},
    {sipName_ThaiScript, static_cast<int>( ::QLocale::ThaiScript), 140},
    {sipName_Thailand, static_cast<int>( ::QLocale::Thailand), 131},
    {sipName_Tibetan, static_cast<int>( ::QLocale::Tibetan), 135},
    {sipName_TibetanScript, static_cast<int>( ::QLocale::TibetanScript), 140},
    {sipName_TifinaghScript, static_cast<int>( ::QLocale::TifinaghScript), 140},
    {sipName_Tigre, static_cast<int>( ::QLocale::Tigre), 135},
    {sipName_Tigrinya, static_cast<int>( ::QLocale::Tigrinya), 135},
    {sipName_TirhutaScript, static_cast<int>( ::QLocale::TirhutaScript), 140},
    {sipName_Togo, static_cast<int>( ::QLocale::Togo), 131},
    {sipName_TokPisin, static_cast<int>( ::QLocale::TokPisin), 135},
    {sipName_Tokelau, static_cast<int>( ::QLocale::Tokelau), 131},
    {sipName_TokelauCountry, static_cast<int>( ::QLocale::TokelauCountry), 131},
    {sipName_TokelauLanguage, static_cast<int>( ::QLocale::TokelauLanguage), 135},
    {sipName_Tonga, static_cast<int>( ::QLocale::Tonga), 131},
    {sipName_Tongan, static_cast<int>( ::QLocale::Tongan), 135},
    {sipName_TraditionalChineseScript, static_cast<int>( ::QLocale::TraditionalChineseScript), 140},
    {sipName_TraditionalHanScript, static_cast<int>( ::QLocale::TraditionalHanScript), 140},
    {sipName_TrinidadAndTobago, static_cast<int>( ::QLocale::TrinidadAndTobago), 131},
    {sipName_TristanDaCunha, static_cast<int>( ::QLocale::TristanDaCunha), 131},
    {sipName_Tsonga, static_cast<int>( ::QLocale::Tsonga), 135},
    {sipName_Tswana, static_cast<int>( ::QLocale::Tswana), 135},
    {sipName_Tunisia, static_cast<int>( ::QLocale::Tunisia), 131},
    {sipName_Turkey, static_cast<int>( ::QLocale::Turkey), 131},
    {sipName_Turkish, static_cast<int>( ::QLocale::Turkish), 135},
    {sipName_Turkmen, static_cast<int>( ::QLocale::Turkmen), 135},
    {sipName_Turkmenistan, static_cast<int>( ::QLocale::Turkmenistan), 131},
    {sipName_TurksAndCaicosIslands, static_cast<int>( ::QLocale::TurksAndCaicosIslands), 131},
    {sipName_Tuvalu, static_cast<int>( ::QLocale::Tuvalu), 131},
    {sipName_TuvaluCountry, static_cast<int>( ::QLocale::TuvaluCountry), 131},
    {sipName_TuvaluLanguage, static_cast<int>( ::QLocale::TuvaluLanguage), 135},
    {sipName_Twi, static_cast<int>( ::QLocale::Twi), 135},
    {sipName_Tyap, static_cast<int>( ::QLocale::Tyap), 135},
    {sipName_Uganda, static_cast<int>( ::QLocale::Uganda), 131},
    {sipName_Ugaritic, static_cast<int>( ::QLocale::Ugaritic), 135},
    {sipName_UgariticScript, static_cast<int>( ::QLocale::UgariticScript), 140},
    {sipName_Uighur, static_cast<int>( ::QLocale::Uighur), 135},
    {sipName_Uigur, static_cast<int>( ::QLocale::Uigur), 135},
    {sipName_Ukraine, static_cast<int>( ::QLocale::Ukraine), 131},
    {sipName_Ukrainian, static_cast<int>( ::QLocale::Ukrainian), 135},
    {sipName_UncodedLanguages, static_cast<int>( ::QLocale::UncodedLanguages), 135},
    {sipName_UnitedArabEmirates, static_cast<int>( ::QLocale::UnitedArabEmirates), 131},
    {sipName_UnitedKingdom, static_cast<int>( ::QLocale::UnitedKingdom), 131},
    {sipName_UnitedStates, static_cast<int>( ::QLocale::UnitedStates), 131},
    {sipName_UnitedStatesMinorOutlyingIslands, static_cast<int>( ::QLocale::UnitedStatesMinorOutlyingIslands), 131},
    {sipName_UnitedStatesVirginIslands, static_cast<int>( ::QLocale::UnitedStatesVirginIslands), 131},
    {sipName_UpperSorbian, static_cast<int>( ::QLocale::UpperSorbian), 135},
    {sipName_Urdu, static_cast<int>( ::QLocale::Urdu), 135},
    {sipName_Uruguay, static_cast<int>( ::QLocale::Uruguay), 131},
    {sipName_Uzbek, static_cast<int>( ::QLocale::Uzbek), 135},
    {sipName_Uzbekistan, static_cast<int>( ::QLocale::Uzbekistan), 131},
    {sipName_Vai, static_cast<int>( ::QLocale::Vai), 135},
    {sipName_VaiScript, static_cast<int>( ::QLocale::VaiScript), 140},
    {sipName_Vanuatu, static_cast<int>( ::QLocale::Vanuatu), 131},
    {sipName_VarangKshitiScript, static_cast<int>( ::QLocale::VarangKshitiScript), 140},
    {sipName_VaticanCityState, static_cast<int>( ::QLocale::VaticanCityState), 131},
    {sipName_Venda, static_cast<int>( ::QLocale::Venda), 135},
    {sipName_Venezuela, static_cast<int>( ::QLocale::Venezuela), 131},
    {sipName_Vietnam, static_cast<int>( ::QLocale::Vietnam), 131},
    {sipName_Vietnamese, static_cast<int>( ::QLocale::Vietnamese), 135},
    {sipName_Volapuk, static_cast<int>( ::QLocale::Volapuk), 135},
    {sipName_Vunjo, static_cast<int>( ::QLocale::Vunjo), 135},
    {sipName_Walamo, static_cast<int>( ::QLocale::Walamo), 135},
    {sipName_WallisAndFutunaIslands, static_cast<int>( ::QLocale::WallisAndFutunaIslands), 131},
    {sipName_Walloon, static_cast<int>( ::QLocale::Walloon), 135},
    {sipName_Walser, static_cast<int>( ::QLocale::Walser), 135},
    {sipName_Warlpiri, static_cast<int>( ::QLocale::Warlpiri), 135},
    {sipName_Welsh, static_cast<int>( ::QLocale::Welsh), 135},
    {sipName_WesternFrisian, static_cast<int>( ::QLocale::WesternFrisian), 135},
    {sipName_WesternSahara, static_cast<int>( ::QLocale::WesternSahara), 131},
    {sipName_Wolof, static_cast<int>( ::QLocale::Wolof), 135},
    {sipName_Xhosa, static_cast<int>( ::QLocale::Xhosa), 135},
    {sipName_Yangben, static_cast<int>( ::QLocale::Yangben), 135},
    {sipName_Yemen, static_cast<int>( ::QLocale::Yemen), 131},
    {sipName_YiScript, static_cast<int>( ::QLocale::YiScript), 140},
    {sipName_Yiddish, static_cast<int>( ::QLocale::Yiddish), 135},
    {sipName_Yoruba, static_cast<int>( ::QLocale::Yoruba), 135},
    {sipName_Zambia, static_cast<int>( ::QLocale::Zambia), 131},
    {sipName_Zarma, static_cast<int>( ::QLocale::Zarma), 135},
    {sipName_Zhuang, static_cast<int>( ::QLocale::Zhuang), 135},
    {sipName_Zimbabwe, static_cast<int>( ::QLocale::Zimbabwe), 131},
    {sipName_Zulu, static_cast<int>( ::QLocale::Zulu), 135},
};

PyDoc_STRVAR(doc_QLocale, "\1QLocale()\n"
    "QLocale(str)\n"
    "QLocale(QLocale.Language, country: QLocale.Country = QLocale.AnyCountry)\n"
    "QLocale(QLocale)\n"
    "QLocale(QLocale.Language, QLocale.Script, QLocale.Country)");


static pyqt5ClassPluginDef plugin_QLocale = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QLocale = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLocale,
        {0},
        &plugin_QLocale
    },
    {
        sipNameNr_QLocale,
        {0, 0, 1},
        56, methods_QLocale,
        808, enummembers_QLocale,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLocale,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QLocale,
    init_type_QLocale,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLocale,
    assign_QLocale,
    array_QLocale,
    copy_QLocale,
    release_QLocale,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
#include <qline.h>
#line 109155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
#include <qline.h>
#line 109159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 109162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QLineF_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QLineF_isNull(PyObject *, PyObject *);}
static PyObject *meth_QLineF_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_isNull, doc_QLineF_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_length, "length(self) -> float");

extern "C" {static PyObject *meth_QLineF_length(PyObject *, PyObject *);}
static PyObject *meth_QLineF_length(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->length();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_length, doc_QLineF_length);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_unitVector, "unitVector(self) -> QLineF");

extern "C" {static PyObject *meth_QLineF_unitVector(PyObject *, PyObject *);}
static PyObject *meth_QLineF_unitVector(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::QLineF*sipRes;

            sipRes = new  ::QLineF(sipCpp->unitVector());

            return sipConvertFromNewType(sipRes,sipType_QLineF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_unitVector, doc_QLineF_unitVector);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_intersect, "intersect(self, QLineF, Union[QPointF, QPoint]) -> QLineF.IntersectType");

extern "C" {static PyObject *meth_QLineF_intersect(PyObject *, PyObject *);}
static PyObject *meth_QLineF_intersect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF* a0;
         ::QPointF* a1;
        int a1State = 0;
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J0", &sipSelf, sipType_QLineF, &sipCpp, sipType_QLineF, &a0, sipType_QPointF, &a1, &a1State))
        {
             ::QLineF::IntersectType sipRes;

            sipRes = sipCpp->intersect(*a0,a1);
            sipReleaseType(a1,sipType_QPointF,a1State);

            return sipConvertFromEnum(sipRes,sipType_QLineF_IntersectType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_intersect, doc_QLineF_intersect);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_x1, "x1(self) -> float");

extern "C" {static PyObject *meth_QLineF_x1(PyObject *, PyObject *);}
static PyObject *meth_QLineF_x1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->x1();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_x1, doc_QLineF_x1);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_y1, "y1(self) -> float");

extern "C" {static PyObject *meth_QLineF_y1(PyObject *, PyObject *);}
static PyObject *meth_QLineF_y1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->y1();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_y1, doc_QLineF_y1);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_x2, "x2(self) -> float");

extern "C" {static PyObject *meth_QLineF_x2(PyObject *, PyObject *);}
static PyObject *meth_QLineF_x2(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->x2();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_x2, doc_QLineF_x2);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_y2, "y2(self) -> float");

extern "C" {static PyObject *meth_QLineF_y2(PyObject *, PyObject *);}
static PyObject *meth_QLineF_y2(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->y2();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_y2, doc_QLineF_y2);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_p1, "p1(self) -> QPointF");

extern "C" {static PyObject *meth_QLineF_p1(PyObject *, PyObject *);}
static PyObject *meth_QLineF_p1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->p1());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_p1, doc_QLineF_p1);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_p2, "p2(self) -> QPointF");

extern "C" {static PyObject *meth_QLineF_p2(PyObject *, PyObject *);}
static PyObject *meth_QLineF_p2(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->p2());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_p2, doc_QLineF_p2);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_dx, "dx(self) -> float");

extern "C" {static PyObject *meth_QLineF_dx(PyObject *, PyObject *);}
static PyObject *meth_QLineF_dx(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->dx();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_dx, doc_QLineF_dx);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_dy, "dy(self) -> float");

extern "C" {static PyObject *meth_QLineF_dy(PyObject *, PyObject *);}
static PyObject *meth_QLineF_dy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->dy();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_dy, doc_QLineF_dy);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_normalVector, "normalVector(self) -> QLineF");

extern "C" {static PyObject *meth_QLineF_normalVector(PyObject *, PyObject *);}
static PyObject *meth_QLineF_normalVector(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::QLineF*sipRes;

            sipRes = new  ::QLineF(sipCpp->normalVector());

            return sipConvertFromNewType(sipRes,sipType_QLineF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_normalVector, doc_QLineF_normalVector);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_translate, "translate(self, Union[QPointF, QPoint])\n"
    "translate(self, float, float)");

extern "C" {static PyObject *meth_QLineF_translate(PyObject *, PyObject *);}
static PyObject *meth_QLineF_translate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLineF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->translate(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QLineF, &sipCpp, &a0, &a1))
        {
            sipCpp->translate(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_translate, doc_QLineF_translate);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_setLength, "setLength(self, float)");

extern "C" {static PyObject *meth_QLineF_setLength(PyObject *, PyObject *);}
static PyObject *meth_QLineF_setLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QLineF, &sipCpp, &a0))
        {
            sipCpp->setLength(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_setLength, doc_QLineF_setLength);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_pointAt, "pointAt(self, float) -> QPointF");

extern "C" {static PyObject *meth_QLineF_pointAt(PyObject *, PyObject *);}
static PyObject *meth_QLineF_pointAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QLineF, &sipCpp, &a0))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->pointAt(a0));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_pointAt, doc_QLineF_pointAt);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_toLine, "toLine(self) -> QLine");

extern "C" {static PyObject *meth_QLineF_toLine(PyObject *, PyObject *);}
static PyObject *meth_QLineF_toLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::QLine*sipRes;

            sipRes = new  ::QLine(sipCpp->toLine());

            return sipConvertFromNewType(sipRes,sipType_QLine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_toLine, doc_QLineF_toLine);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_fromPolar, "fromPolar(float, float) -> QLineF");

extern "C" {static PyObject *meth_QLineF_fromPolar(PyObject *, PyObject *);}
static PyObject *meth_QLineF_fromPolar(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "dd", &a0, &a1))
        {
             ::QLineF*sipRes;

            sipRes = new  ::QLineF( ::QLineF::fromPolar(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QLineF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_fromPolar, doc_QLineF_fromPolar);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_angle, "angle(self) -> float");

extern "C" {static PyObject *meth_QLineF_angle(PyObject *, PyObject *);}
static PyObject *meth_QLineF_angle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->angle();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_angle, doc_QLineF_angle);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_setAngle, "setAngle(self, float)");

extern "C" {static PyObject *meth_QLineF_setAngle(PyObject *, PyObject *);}
static PyObject *meth_QLineF_setAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QLineF, &sipCpp, &a0))
        {
            sipCpp->setAngle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_setAngle, doc_QLineF_setAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_angleTo, "angleTo(self, QLineF) -> float");

extern "C" {static PyObject *meth_QLineF_angleTo(PyObject *, PyObject *);}
static PyObject *meth_QLineF_angleTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF* a0;
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLineF, &sipCpp, sipType_QLineF, &a0))
        {
             ::qreal sipRes;

            sipRes = sipCpp->angleTo(*a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_angleTo, doc_QLineF_angleTo);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_translated, "translated(self, Union[QPointF, QPoint]) -> QLineF\n"
    "translated(self, float, float) -> QLineF");

extern "C" {static PyObject *meth_QLineF_translated(PyObject *, PyObject *);}
static PyObject *meth_QLineF_translated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLineF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
             ::QLineF*sipRes;

            sipRes = new  ::QLineF(sipCpp->translated(*a0));
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QLineF,NULL);
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QLineF, &sipCpp, &a0, &a1))
        {
             ::QLineF*sipRes;

            sipRes = new  ::QLineF(sipCpp->translated(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QLineF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_translated, doc_QLineF_translated);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_setP1, "setP1(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QLineF_setP1(PyObject *, PyObject *);}
static PyObject *meth_QLineF_setP1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLineF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setP1(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_setP1, doc_QLineF_setP1);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_setP2, "setP2(self, Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QLineF_setP2(PyObject *, PyObject *);}
static PyObject *meth_QLineF_setP2(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLineF, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setP2(*a0);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_setP2, doc_QLineF_setP2);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_setPoints, "setPoints(self, Union[QPointF, QPoint], Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QLineF_setPoints(PyObject *, PyObject *);}
static PyObject *meth_QLineF_setPoints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QPointF* a1;
        int a1State = 0;
         ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QLineF, &sipCpp, sipType_QPointF, &a0, &a0State, sipType_QPointF, &a1, &a1State))
        {
            sipCpp->setPoints(*a0,*a1);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_setPoints, doc_QLineF_setPoints);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_setLine, "setLine(self, float, float, float, float)");

extern "C" {static PyObject *meth_QLineF_setLine(PyObject *, PyObject *);}
static PyObject *meth_QLineF_setLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QLineF, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setLine(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_setLine, doc_QLineF_setLine);

    return NULL;
}


PyDoc_STRVAR(doc_QLineF_center, "center(self) -> QPointF");

extern "C" {static PyObject *meth_QLineF_center(PyObject *, PyObject *);}
static PyObject *meth_QLineF_center(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineF, &sipCpp))
        {
             ::QPointF*sipRes;

            sipRes = new  ::QPointF(sipCpp->center());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineF, sipName_center, doc_QLineF_center);

    return NULL;
}


extern "C" {static PyObject *slot_QLineF___eq__(PyObject *,PyObject *);}
static PyObject *slot_QLineF___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QLineF *sipCpp = reinterpret_cast< ::QLineF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLineF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLineF, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QLineF::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QLineF, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QLineF___repr__(PyObject *);}
static PyObject *slot_QLineF___repr__(PyObject *sipSelf)
{
     ::QLineF *sipCpp = reinterpret_cast< ::QLineF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLineF));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QLineF()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QLineF()");
        #endif
        }
        else
        {
            PyObject *x1 = PyFloat_FromDouble(sipCpp->x1());
            PyObject *y1 = PyFloat_FromDouble(sipCpp->y1());
            PyObject *x2 = PyFloat_FromDouble(sipCpp->x2());
            PyObject *y2 = PyFloat_FromDouble(sipCpp->y2());
        
            if (x1 && y1 && x2 && y2)
            {
        #if PY_MAJOR_VERSION >= 3
                sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QLineF(%R, %R, %R, %R)",
                        x1, y1, x2, y2);
        #else
                sipRes = PyString_FromString("PyQt5.QtCore.QLineF(");
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(x1));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(", "));
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(y1));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(", "));
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(x2));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(", "));
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(y2));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
            }
        
            Py_XDECREF(x1);
            Py_XDECREF(y1);
            Py_XDECREF(x2);
            Py_XDECREF(y2);
        }
#line 110062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QLineF___ne__(PyObject *,PyObject *);}
static PyObject *slot_QLineF___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QLineF *sipCpp = reinterpret_cast< ::QLineF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLineF));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QLineF* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLineF, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QLineF::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QLineF, sipSelf, sipArg);
}


extern "C" {static int slot_QLineF___bool__(PyObject *);}
static int slot_QLineF___bool__(PyObject *sipSelf)
{
     ::QLineF *sipCpp = reinterpret_cast< ::QLineF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLineF));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
        sipRes = !sipCpp->isNull();
#line 110119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLineF(void *, int);}
static void release_QLineF(void *sipCppV, int)
{
    delete reinterpret_cast< ::QLineF *>(sipCppV);
}


extern "C" {static PyObject *pickle_QLineF(void *);}
static PyObject *pickle_QLineF(void *sipCppV)
{
     ::QLineF *sipCpp = reinterpret_cast< ::QLineF *>(sipCppV);
    PyObject *sipRes;

#line 99 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
    sipRes = Py_BuildValue((char *)"dddd", sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2());
#line 110145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QLineF(void *, SIP_SSIZE_T, const void *);}
static void assign_QLineF(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QLineF *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QLineF *>(sipSrc);
}


extern "C" {static void *array_QLineF(SIP_SSIZE_T);}
static void *array_QLineF(SIP_SSIZE_T sipNrElem)
{
    return new  ::QLineF[sipNrElem];
}


extern "C" {static void *copy_QLineF(const void *, SIP_SSIZE_T);}
static void *copy_QLineF(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QLineF(reinterpret_cast<const  ::QLineF *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QLineF(sipSimpleWrapper *);}
static void dealloc_QLineF(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLineF(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QLineF(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLineF(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QLineF *sipCpp = 0;

    {
        const  ::QLine* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLine, &a0))
        {
            sipCpp = new  ::QLineF(*a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QLineF();

            return sipCpp;
        }
    }

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QPointF* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1", sipType_QPointF, &a0, &a0State, sipType_QPointF, &a1, &a1State))
        {
            sipCpp = new  ::QLineF(*a0,*a1);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);

            return sipCpp;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "dddd", &a0, &a1, &a2, &a3))
        {
            sipCpp = new  ::QLineF(a0,a1,a2,a3);

            return sipCpp;
        }
    }

    {
        const  ::QLineF* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLineF, &a0))
        {
            sipCpp = new  ::QLineF(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QLineF[] = {
    {(void *)slot_QLineF___eq__, eq_slot},
    {(void *)slot_QLineF___repr__, repr_slot},
    {(void *)slot_QLineF___ne__, ne_slot},
    {(void *)slot_QLineF___bool__, bool_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QLineF[] = {
    {SIP_MLNAME_CAST(sipName_angle), meth_QLineF_angle, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_angle)},
    {SIP_MLNAME_CAST(sipName_angleTo), meth_QLineF_angleTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_angleTo)},
    {SIP_MLNAME_CAST(sipName_center), meth_QLineF_center, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_center)},
    {SIP_MLNAME_CAST(sipName_dx), meth_QLineF_dx, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_dx)},
    {SIP_MLNAME_CAST(sipName_dy), meth_QLineF_dy, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_dy)},
    {SIP_MLNAME_CAST(sipName_fromPolar), meth_QLineF_fromPolar, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_fromPolar)},
    {SIP_MLNAME_CAST(sipName_intersect), meth_QLineF_intersect, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_intersect)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QLineF_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_isNull)},
    {SIP_MLNAME_CAST(sipName_length), meth_QLineF_length, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_length)},
    {SIP_MLNAME_CAST(sipName_normalVector), meth_QLineF_normalVector, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_normalVector)},
    {SIP_MLNAME_CAST(sipName_p1), meth_QLineF_p1, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_p1)},
    {SIP_MLNAME_CAST(sipName_p2), meth_QLineF_p2, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_p2)},
    {SIP_MLNAME_CAST(sipName_pointAt), meth_QLineF_pointAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_pointAt)},
    {SIP_MLNAME_CAST(sipName_setAngle), meth_QLineF_setAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_setAngle)},
    {SIP_MLNAME_CAST(sipName_setLength), meth_QLineF_setLength, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_setLength)},
    {SIP_MLNAME_CAST(sipName_setLine), meth_QLineF_setLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_setLine)},
    {SIP_MLNAME_CAST(sipName_setP1), meth_QLineF_setP1, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_setP1)},
    {SIP_MLNAME_CAST(sipName_setP2), meth_QLineF_setP2, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_setP2)},
    {SIP_MLNAME_CAST(sipName_setPoints), meth_QLineF_setPoints, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_setPoints)},
    {SIP_MLNAME_CAST(sipName_toLine), meth_QLineF_toLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_toLine)},
    {SIP_MLNAME_CAST(sipName_translate), meth_QLineF_translate, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_translate)},
    {SIP_MLNAME_CAST(sipName_translated), meth_QLineF_translated, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_translated)},
    {SIP_MLNAME_CAST(sipName_unitVector), meth_QLineF_unitVector, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_unitVector)},
    {SIP_MLNAME_CAST(sipName_x1), meth_QLineF_x1, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_x1)},
    {SIP_MLNAME_CAST(sipName_x2), meth_QLineF_x2, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_x2)},
    {SIP_MLNAME_CAST(sipName_y1), meth_QLineF_y1, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_y1)},
    {SIP_MLNAME_CAST(sipName_y2), meth_QLineF_y2, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineF_y2)}
};

static sipEnumMemberDef enummembers_QLineF[] = {
    {sipName_BoundedIntersection, static_cast<int>( ::QLineF::BoundedIntersection), 109},
    {sipName_NoIntersection, static_cast<int>( ::QLineF::NoIntersection), 109},
    {sipName_UnboundedIntersection, static_cast<int>( ::QLineF::UnboundedIntersection), 109},
};

PyDoc_STRVAR(doc_QLineF, "\1QLineF(QLine)\n"
    "QLineF()\n"
    "QLineF(Union[QPointF, QPoint], Union[QPointF, QPoint])\n"
    "QLineF(float, float, float, float)\n"
    "QLineF(QLineF)");


static pyqt5ClassPluginDef plugin_QLineF = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QLineF = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLineF,
        {0},
        &plugin_QLineF
    },
    {
        sipNameNr_QLineF,
        {0, 0, 1},
        27, methods_QLineF,
        3, enummembers_QLineF,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLineF,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QLineF,
    init_type_QLineF,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLineF,
    assign_QLineF,
    array_QLineF,
    copy_QLineF,
    release_QLineF,
    0,
    0,
    0,
    0,
    pickle_QLineF,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
#include <qline.h>
#line 110365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 110369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QLine_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QLine_isNull(PyObject *, PyObject *);}
static PyObject *meth_QLine_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLine, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_isNull, doc_QLine_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_x1, "x1(self) -> int");

extern "C" {static PyObject *meth_QLine_x1(PyObject *, PyObject *);}
static PyObject *meth_QLine_x1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->x1();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_x1, doc_QLine_x1);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_y1, "y1(self) -> int");

extern "C" {static PyObject *meth_QLine_y1(PyObject *, PyObject *);}
static PyObject *meth_QLine_y1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->y1();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_y1, doc_QLine_y1);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_x2, "x2(self) -> int");

extern "C" {static PyObject *meth_QLine_x2(PyObject *, PyObject *);}
static PyObject *meth_QLine_x2(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->x2();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_x2, doc_QLine_x2);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_y2, "y2(self) -> int");

extern "C" {static PyObject *meth_QLine_y2(PyObject *, PyObject *);}
static PyObject *meth_QLine_y2(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->y2();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_y2, doc_QLine_y2);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_p1, "p1(self) -> QPoint");

extern "C" {static PyObject *meth_QLine_p1(PyObject *, PyObject *);}
static PyObject *meth_QLine_p1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLine, &sipCpp))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(sipCpp->p1());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_p1, doc_QLine_p1);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_p2, "p2(self) -> QPoint");

extern "C" {static PyObject *meth_QLine_p2(PyObject *, PyObject *);}
static PyObject *meth_QLine_p2(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLine, &sipCpp))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(sipCpp->p2());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_p2, doc_QLine_p2);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_dx, "dx(self) -> int");

extern "C" {static PyObject *meth_QLine_dx(PyObject *, PyObject *);}
static PyObject *meth_QLine_dx(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->dx();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_dx, doc_QLine_dx);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_dy, "dy(self) -> int");

extern "C" {static PyObject *meth_QLine_dy(PyObject *, PyObject *);}
static PyObject *meth_QLine_dy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLine, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->dy();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_dy, doc_QLine_dy);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_translate, "translate(self, QPoint)\n"
    "translate(self, int, int)");

extern "C" {static PyObject *meth_QLine_translate(PyObject *, PyObject *);}
static PyObject *meth_QLine_translate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLine, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->translate(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
         ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QLine, &sipCpp, &a0, &a1))
        {
            sipCpp->translate(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_translate, doc_QLine_translate);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_translated, "translated(self, QPoint) -> QLine\n"
    "translated(self, int, int) -> QLine");

extern "C" {static PyObject *meth_QLine_translated(PyObject *, PyObject *);}
static PyObject *meth_QLine_translated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLine, &sipCpp, sipType_QPoint, &a0))
        {
             ::QLine*sipRes;

            sipRes = new  ::QLine(sipCpp->translated(*a0));

            return sipConvertFromNewType(sipRes,sipType_QLine,NULL);
        }
    }

    {
        int a0;
        int a1;
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QLine, &sipCpp, &a0, &a1))
        {
             ::QLine*sipRes;

            sipRes = new  ::QLine(sipCpp->translated(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QLine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_translated, doc_QLine_translated);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_setP1, "setP1(self, QPoint)");

extern "C" {static PyObject *meth_QLine_setP1(PyObject *, PyObject *);}
static PyObject *meth_QLine_setP1(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLine, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->setP1(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_setP1, doc_QLine_setP1);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_setP2, "setP2(self, QPoint)");

extern "C" {static PyObject *meth_QLine_setP2(PyObject *, PyObject *);}
static PyObject *meth_QLine_setP2(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
         ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLine, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->setP2(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_setP2, doc_QLine_setP2);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_setPoints, "setPoints(self, QPoint, QPoint)");

extern "C" {static PyObject *meth_QLine_setPoints(PyObject *, PyObject *);}
static PyObject *meth_QLine_setPoints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
        const  ::QPoint* a1;
         ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_QLine, &sipCpp, sipType_QPoint, &a0, sipType_QPoint, &a1))
        {
            sipCpp->setPoints(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_setPoints, doc_QLine_setPoints);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_setLine, "setLine(self, int, int, int, int)");

extern "C" {static PyObject *meth_QLine_setLine(PyObject *, PyObject *);}
static PyObject *meth_QLine_setLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
         ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QLine, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setLine(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_setLine, doc_QLine_setLine);

    return NULL;
}


PyDoc_STRVAR(doc_QLine_center, "center(self) -> QPoint");

extern "C" {static PyObject *meth_QLine_center(PyObject *, PyObject *);}
static PyObject *meth_QLine_center(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLine *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLine, &sipCpp))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(sipCpp->center());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLine, sipName_center, doc_QLine_center);

    return NULL;
}


extern "C" {static PyObject *slot_QLine___eq__(PyObject *,PyObject *);}
static PyObject *slot_QLine___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QLine *sipCpp = reinterpret_cast< ::QLine *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLine));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QLine* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLine, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QLine::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QLine, sipSelf, sipArg);
}


extern "C" {static int slot_QLine___bool__(PyObject *);}
static int slot_QLine___bool__(PyObject *sipSelf)
{
     ::QLine *sipCpp = reinterpret_cast< ::QLine *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLine));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 64 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
        sipRes = !sipCpp->isNull();
#line 110905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QLine___repr__(PyObject *);}
static PyObject *slot_QLine___repr__(PyObject *sipSelf)
{
     ::QLine *sipCpp = reinterpret_cast< ::QLine *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLine));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 40 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QLine()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QLine()");
        #endif
        }
        else
        {
            sipRes =
        #if PY_MAJOR_VERSION >= 3
                PyUnicode_FromFormat
        #else
                PyString_FromFormat
        #endif
                    ("PyQt5.QtCore.QLine(%i, %i, %i, %i)",
                    sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2());
        }
#line 110948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QLine___ne__(PyObject *,PyObject *);}
static PyObject *slot_QLine___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QLine *sipCpp = reinterpret_cast< ::QLine *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLine));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QLine* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QLine, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QLine::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QLine, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QLine(void *, int);}
static void release_QLine(void *sipCppV, int)
{
    delete reinterpret_cast< ::QLine *>(sipCppV);
}


extern "C" {static PyObject *pickle_QLine(void *);}
static PyObject *pickle_QLine(void *sipCppV)
{
     ::QLine *sipCpp = reinterpret_cast< ::QLine *>(sipCppV);
    PyObject *sipRes;

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
    sipRes = Py_BuildValue((char *)"iiii", sipCpp->x1(), sipCpp->y1(), sipCpp->x2(), sipCpp->y2());
#line 111006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QLine(void *, SIP_SSIZE_T, const void *);}
static void assign_QLine(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QLine *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QLine *>(sipSrc);
}


extern "C" {static void *array_QLine(SIP_SSIZE_T);}
static void *array_QLine(SIP_SSIZE_T sipNrElem)
{
    return new  ::QLine[sipNrElem];
}


extern "C" {static void *copy_QLine(const void *, SIP_SSIZE_T);}
static void *copy_QLine(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QLine(reinterpret_cast<const  ::QLine *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QLine(sipSimpleWrapper *);}
static void dealloc_QLine(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLine(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QLine(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLine(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QLine *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QLine();

            return sipCpp;
        }
    }

    {
        const  ::QPoint* a0;
        const  ::QPoint* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9", sipType_QPoint, &a0, sipType_QPoint, &a1))
        {
            sipCpp = new  ::QLine(*a0,*a1);

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iiii", &a0, &a1, &a2, &a3))
        {
            sipCpp = new  ::QLine(a0,a1,a2,a3);

            return sipCpp;
        }
    }

    {
        const  ::QLine* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLine, &a0))
        {
            sipCpp = new  ::QLine(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QLine[] = {
    {(void *)slot_QLine___eq__, eq_slot},
    {(void *)slot_QLine___bool__, bool_slot},
    {(void *)slot_QLine___repr__, repr_slot},
    {(void *)slot_QLine___ne__, ne_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QLine[] = {
    {SIP_MLNAME_CAST(sipName_center), meth_QLine_center, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_center)},
    {SIP_MLNAME_CAST(sipName_dx), meth_QLine_dx, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_dx)},
    {SIP_MLNAME_CAST(sipName_dy), meth_QLine_dy, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_dy)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QLine_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_isNull)},
    {SIP_MLNAME_CAST(sipName_p1), meth_QLine_p1, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_p1)},
    {SIP_MLNAME_CAST(sipName_p2), meth_QLine_p2, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_p2)},
    {SIP_MLNAME_CAST(sipName_setLine), meth_QLine_setLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_setLine)},
    {SIP_MLNAME_CAST(sipName_setP1), meth_QLine_setP1, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_setP1)},
    {SIP_MLNAME_CAST(sipName_setP2), meth_QLine_setP2, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_setP2)},
    {SIP_MLNAME_CAST(sipName_setPoints), meth_QLine_setPoints, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_setPoints)},
    {SIP_MLNAME_CAST(sipName_translate), meth_QLine_translate, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_translate)},
    {SIP_MLNAME_CAST(sipName_translated), meth_QLine_translated, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_translated)},
    {SIP_MLNAME_CAST(sipName_x1), meth_QLine_x1, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_x1)},
    {SIP_MLNAME_CAST(sipName_x2), meth_QLine_x2, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_x2)},
    {SIP_MLNAME_CAST(sipName_y1), meth_QLine_y1, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_y1)},
    {SIP_MLNAME_CAST(sipName_y2), meth_QLine_y2, METH_VARARGS, SIP_MLDOC_CAST(doc_QLine_y2)}
};

PyDoc_STRVAR(doc_QLine, "\1QLine()\n"
    "QLine(QPoint, QPoint)\n"
    "QLine(int, int, int, int)\n"
    "QLine(QLine)");


static pyqt5ClassPluginDef plugin_QLine = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QLine = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLine,
        {0},
        &plugin_QLine
    },
    {
        sipNameNr_QLine,
        {0, 0, 1},
        16, methods_QLine,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLine,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QLine,
    init_type_QLine,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLine,
    assign_QLine,
    array_QLine,
    copy_QLine,
    release_QLine,
    0,
    0,
    0,
    0,
    pickle_QLine,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlibraryinfo.sip"
#include <qlibraryinfo.h>
#line 111193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 34 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qversionnumber.sip"
#include <qversionnumber.h>
#line 111197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 111200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 111203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QLibraryInfo_licensee, "licensee() -> str");

extern "C" {static PyObject *meth_QLibraryInfo_licensee(PyObject *, PyObject *);}
static PyObject *meth_QLibraryInfo_licensee(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QLibraryInfo::licensee());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibraryInfo, sipName_licensee, doc_QLibraryInfo_licensee);

    return NULL;
}


PyDoc_STRVAR(doc_QLibraryInfo_licensedProducts, "licensedProducts() -> str");

extern "C" {static PyObject *meth_QLibraryInfo_licensedProducts(PyObject *, PyObject *);}
static PyObject *meth_QLibraryInfo_licensedProducts(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QLibraryInfo::licensedProducts());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibraryInfo, sipName_licensedProducts, doc_QLibraryInfo_licensedProducts);

    return NULL;
}


PyDoc_STRVAR(doc_QLibraryInfo_location, "location(QLibraryInfo.LibraryLocation) -> str");

extern "C" {static PyObject *meth_QLibraryInfo_location(PyObject *, PyObject *);}
static PyObject *meth_QLibraryInfo_location(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLibraryInfo::LibraryLocation a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QLibraryInfo_LibraryLocation, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QLibraryInfo::location(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibraryInfo, sipName_location, doc_QLibraryInfo_location);

    return NULL;
}


PyDoc_STRVAR(doc_QLibraryInfo_buildDate, "buildDate() -> QDate");

extern "C" {static PyObject *meth_QLibraryInfo_buildDate(PyObject *, PyObject *);}
static PyObject *meth_QLibraryInfo_buildDate(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate( ::QLibraryInfo::buildDate());

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibraryInfo, sipName_buildDate, doc_QLibraryInfo_buildDate);

    return NULL;
}


PyDoc_STRVAR(doc_QLibraryInfo_isDebugBuild, "isDebugBuild() -> bool");

extern "C" {static PyObject *meth_QLibraryInfo_isDebugBuild(PyObject *, PyObject *);}
static PyObject *meth_QLibraryInfo_isDebugBuild(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes =  ::QLibraryInfo::isDebugBuild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibraryInfo, sipName_isDebugBuild, doc_QLibraryInfo_isDebugBuild);

    return NULL;
}


PyDoc_STRVAR(doc_QLibraryInfo_version, "version() -> QVersionNumber");

extern "C" {static PyObject *meth_QLibraryInfo_version(PyObject *, PyObject *);}
static PyObject *meth_QLibraryInfo_version(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QVersionNumber*sipRes;

            sipRes = new  ::QVersionNumber( ::QLibraryInfo::version());

            return sipConvertFromNewType(sipRes,sipType_QVersionNumber,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibraryInfo, sipName_version, doc_QLibraryInfo_version);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLibraryInfo(void *, int);}
static void release_QLibraryInfo(void *sipCppV, int)
{
    delete reinterpret_cast< ::QLibraryInfo *>(sipCppV);
}


extern "C" {static void dealloc_QLibraryInfo(sipSimpleWrapper *);}
static void dealloc_QLibraryInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLibraryInfo(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QLibraryInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLibraryInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QLibraryInfo *sipCpp = 0;

    {
        const  ::QLibraryInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLibraryInfo, &a0))
        {
            sipCpp = new  ::QLibraryInfo(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QLibraryInfo[] = {
    {SIP_MLNAME_CAST(sipName_buildDate), meth_QLibraryInfo_buildDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibraryInfo_buildDate)},
    {SIP_MLNAME_CAST(sipName_isDebugBuild), meth_QLibraryInfo_isDebugBuild, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibraryInfo_isDebugBuild)},
    {SIP_MLNAME_CAST(sipName_licensedProducts), meth_QLibraryInfo_licensedProducts, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibraryInfo_licensedProducts)},
    {SIP_MLNAME_CAST(sipName_licensee), meth_QLibraryInfo_licensee, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibraryInfo_licensee)},
    {SIP_MLNAME_CAST(sipName_location), meth_QLibraryInfo_location, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibraryInfo_location)},
    {SIP_MLNAME_CAST(sipName_version), meth_QLibraryInfo_version, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibraryInfo_version)}
};

static sipEnumMemberDef enummembers_QLibraryInfo[] = {
    {sipName_ArchDataPath, static_cast<int>( ::QLibraryInfo::ArchDataPath), 106},
    {sipName_BinariesPath, static_cast<int>( ::QLibraryInfo::BinariesPath), 106},
    {sipName_DataPath, static_cast<int>( ::QLibraryInfo::DataPath), 106},
    {sipName_DocumentationPath, static_cast<int>( ::QLibraryInfo::DocumentationPath), 106},
    {sipName_ExamplesPath, static_cast<int>( ::QLibraryInfo::ExamplesPath), 106},
    {sipName_HeadersPath, static_cast<int>( ::QLibraryInfo::HeadersPath), 106},
    {sipName_ImportsPath, static_cast<int>( ::QLibraryInfo::ImportsPath), 106},
    {sipName_LibrariesPath, static_cast<int>( ::QLibraryInfo::LibrariesPath), 106},
    {sipName_LibraryExecutablesPath, static_cast<int>( ::QLibraryInfo::LibraryExecutablesPath), 106},
    {sipName_PluginsPath, static_cast<int>( ::QLibraryInfo::PluginsPath), 106},
    {sipName_PrefixPath, static_cast<int>( ::QLibraryInfo::PrefixPath), 106},
    {sipName_Qml2ImportsPath, static_cast<int>( ::QLibraryInfo::Qml2ImportsPath), 106},
    {sipName_SettingsPath, static_cast<int>( ::QLibraryInfo::SettingsPath), 106},
    {sipName_TestsPath, static_cast<int>( ::QLibraryInfo::TestsPath), 106},
    {sipName_TranslationsPath, static_cast<int>( ::QLibraryInfo::TranslationsPath), 106},
};

PyDoc_STRVAR(doc_QLibraryInfo, "\1QLibraryInfo(QLibraryInfo)");


static pyqt5ClassPluginDef plugin_QLibraryInfo = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QLibraryInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLibraryInfo,
        {0},
        &plugin_QLibraryInfo
    },
    {
        sipNameNr_QLibraryInfo,
        {0, 0, 1},
        6, methods_QLibraryInfo,
        15, enummembers_QLibraryInfo,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLibraryInfo,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QLibraryInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLibraryInfo,
    0,
    0,
    0,
    release_QLibraryInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 111492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 111496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QLibrary_LoadHints___hash__(PyObject *);}
static long slot_QLibrary_LoadHints___hash__(PyObject *sipSelf)
{
     ::QLibrary::LoadHints *sipCpp = reinterpret_cast< ::QLibrary::LoadHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLibrary_LoadHints));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QLibrary::LoadHints::Int();
#line 111514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QLibrary_LoadHints___bool__(PyObject *);}
static int slot_QLibrary_LoadHints___bool__(PyObject *sipSelf)
{
     ::QLibrary::LoadHints *sipCpp = reinterpret_cast< ::QLibrary::LoadHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLibrary_LoadHints));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLibrary::LoadHints::Int() != 0);
#line 111539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QLibrary_LoadHints___ne__(PyObject *,PyObject *);}
static PyObject *slot_QLibrary_LoadHints___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QLibrary::LoadHints *sipCpp = reinterpret_cast< ::QLibrary::LoadHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLibrary_LoadHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QLibrary::LoadHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QLibrary_LoadHints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLibrary::LoadHints::Int() != a0->operator QLibrary::LoadHints::Int());
#line 111569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QLibrary::LoadHints *>(a0),sipType_QLibrary_LoadHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QLibrary_LoadHints, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QLibrary_LoadHints___eq__(PyObject *,PyObject *);}
static PyObject *slot_QLibrary_LoadHints___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QLibrary::LoadHints *sipCpp = reinterpret_cast< ::QLibrary::LoadHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLibrary_LoadHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QLibrary::LoadHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QLibrary_LoadHints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QLibrary::LoadHints::Int() == a0->operator QLibrary::LoadHints::Int());
#line 111605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QLibrary::LoadHints *>(a0),sipType_QLibrary_LoadHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QLibrary_LoadHints, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QLibrary_LoadHints___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QLibrary_LoadHints___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QLibrary_LoadHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QLibrary::LoadHints *sipCpp = reinterpret_cast< ::QLibrary::LoadHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLibrary_LoadHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QLibrary::LoadHints(*sipCpp ^ a0);
#line 111644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QLibrary_LoadHints___xor__(PyObject *,PyObject *);}
static PyObject *slot_QLibrary_LoadHints___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLibrary::LoadHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLibrary_LoadHints, &a0, &a0State, &a1))
        {
             ::QLibrary::LoadHints*sipRes;

            sipRes = new  ::QLibrary::LoadHints((*a0 ^ a1));
            sipReleaseType(a0,sipType_QLibrary_LoadHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_QLibrary_LoadHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QLibrary_LoadHints___ior__(PyObject *,PyObject *);}
static PyObject *slot_QLibrary_LoadHints___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QLibrary_LoadHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QLibrary::LoadHints *sipCpp = reinterpret_cast< ::QLibrary::LoadHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLibrary_LoadHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QLibrary::LoadHints(*sipCpp | a0);
#line 111716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QLibrary_LoadHints___or__(PyObject *,PyObject *);}
static PyObject *slot_QLibrary_LoadHints___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLibrary::LoadHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLibrary_LoadHints, &a0, &a0State, &a1))
        {
             ::QLibrary::LoadHints*sipRes;

            sipRes = new  ::QLibrary::LoadHints((*a0 | a1));
            sipReleaseType(a0,sipType_QLibrary_LoadHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_QLibrary_LoadHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QLibrary_LoadHints___iand__(PyObject *,PyObject *);}
static PyObject *slot_QLibrary_LoadHints___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QLibrary_LoadHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QLibrary::LoadHints *sipCpp = reinterpret_cast< ::QLibrary::LoadHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLibrary_LoadHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QLibrary::LoadHints::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QLibrary_LoadHints___and__(PyObject *,PyObject *);}
static PyObject *slot_QLibrary_LoadHints___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLibrary::LoadHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QLibrary_LoadHints, &a0, &a0State, &a1))
        {
             ::QLibrary::LoadHints*sipRes;

            sipRes = new  ::QLibrary::LoadHints((*a0 & a1));
            sipReleaseType(a0,sipType_QLibrary_LoadHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_QLibrary_LoadHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QLibrary_LoadHints___invert__(PyObject *);}
static PyObject *slot_QLibrary_LoadHints___invert__(PyObject *sipSelf)
{
     ::QLibrary::LoadHints *sipCpp = reinterpret_cast< ::QLibrary::LoadHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLibrary_LoadHints));

    if (!sipCpp)
        return 0;


    {
        {
             ::QLibrary::LoadHints*sipRes;

            sipRes = new  ::QLibrary::LoadHints(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QLibrary_LoadHints,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QLibrary_LoadHints___int__(PyObject *);}
static PyObject *slot_QLibrary_LoadHints___int__(PyObject *sipSelf)
{
     ::QLibrary::LoadHints *sipCpp = reinterpret_cast< ::QLibrary::LoadHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLibrary_LoadHints));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLibrary_LoadHints(void *, int);}
static void release_QLibrary_LoadHints(void *sipCppV, int)
{
    delete reinterpret_cast< ::QLibrary::LoadHints *>(sipCppV);
}


extern "C" {static void assign_QLibrary_LoadHints(void *, SIP_SSIZE_T, const void *);}
static void assign_QLibrary_LoadHints(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QLibrary::LoadHints *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QLibrary::LoadHints *>(sipSrc);
}


extern "C" {static void *array_QLibrary_LoadHints(SIP_SSIZE_T);}
static void *array_QLibrary_LoadHints(SIP_SSIZE_T sipNrElem)
{
    return new  ::QLibrary::LoadHints[sipNrElem];
}


extern "C" {static void *copy_QLibrary_LoadHints(const void *, SIP_SSIZE_T);}
static void *copy_QLibrary_LoadHints(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QLibrary::LoadHints(reinterpret_cast<const  ::QLibrary::LoadHints *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QLibrary_LoadHints(sipSimpleWrapper *);}
static void dealloc_QLibrary_LoadHints(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLibrary_LoadHints(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QLibrary_LoadHints(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLibrary_LoadHints(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QLibrary::LoadHints *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QLibrary::LoadHints();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QLibrary::LoadHints(a0);

            return sipCpp;
        }
    }

    {
        const  ::QLibrary::LoadHints* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QLibrary_LoadHints, &a0, &a0State))
        {
            sipCpp = new  ::QLibrary::LoadHints(*a0);
            sipReleaseType(const_cast< ::QLibrary::LoadHints *>(a0),sipType_QLibrary_LoadHints,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QLibrary_LoadHints(PyObject *, void **, int *, PyObject *);}
static int convertTo_QLibrary_LoadHints(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QLibrary::LoadHints **sipCppPtr = reinterpret_cast< ::QLibrary::LoadHints **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QLibrary::LoadHints is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QLibrary_LoadHint)) ||
            sipCanConvertToType(sipPy, sipType_QLibrary_LoadHints, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QLibrary_LoadHint)))
{
    *sipCppPtr = new QLibrary::LoadHints(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QLibrary::LoadHints *>(sipConvertToType(sipPy, sipType_QLibrary_LoadHints, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 111984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QLibrary_LoadHints[] = {
    {(void *)slot_QLibrary_LoadHints___hash__, hash_slot},
    {(void *)slot_QLibrary_LoadHints___bool__, bool_slot},
    {(void *)slot_QLibrary_LoadHints___ne__, ne_slot},
    {(void *)slot_QLibrary_LoadHints___eq__, eq_slot},
    {(void *)slot_QLibrary_LoadHints___ixor__, ixor_slot},
    {(void *)slot_QLibrary_LoadHints___xor__, xor_slot},
    {(void *)slot_QLibrary_LoadHints___ior__, ior_slot},
    {(void *)slot_QLibrary_LoadHints___or__, or_slot},
    {(void *)slot_QLibrary_LoadHints___iand__, iand_slot},
    {(void *)slot_QLibrary_LoadHints___and__, and_slot},
    {(void *)slot_QLibrary_LoadHints___invert__, invert_slot},
    {(void *)slot_QLibrary_LoadHints___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QLibrary_LoadHints, "\1QLibrary.LoadHints()\n"
    "QLibrary.LoadHints(Union[QLibrary.LoadHints, QLibrary.LoadHint])\n"
    "QLibrary.LoadHints(QLibrary.LoadHints)");


static pyqt5ClassPluginDef plugin_QLibrary_LoadHints = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QLibrary_LoadHints = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLibrary__LoadHints,
        {0},
        &plugin_QLibrary_LoadHints
    },
    {
        sipNameNr_LoadHints,
        {102, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLibrary_LoadHints,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QLibrary_LoadHints,
    init_type_QLibrary_LoadHints,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLibrary_LoadHints,
    assign_QLibrary_LoadHints,
    array_QLibrary_LoadHints,
    copy_QLibrary_LoadHints,
    release_QLibrary_LoadHints,
    0,
    convertTo_QLibrary_LoadHints,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 112070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 112074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 112077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlibrary.sip"
#include <qlibrary.h>
#line 112080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 112083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 112086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 112089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 112092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 112095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 112098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 112101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 112104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 112107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 112110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 112113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 112116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 112119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 112122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQLibrary : public  ::QLibrary
{
public:
    sipQLibrary( ::QObject*);
    sipQLibrary(const  ::QString&, ::QObject*);
    sipQLibrary(const  ::QString&,int, ::QObject*);
    sipQLibrary(const  ::QString&,const  ::QString&, ::QObject*);
    virtual ~sipQLibrary();

    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 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:
    sipQLibrary(const sipQLibrary &);
    sipQLibrary &operator = (const sipQLibrary &);

    char sipPyMethods[7];
};

sipQLibrary::sipQLibrary( ::QObject*a0):  ::QLibrary(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLibrary::sipQLibrary(const  ::QString& a0, ::QObject*a1):  ::QLibrary(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLibrary::sipQLibrary(const  ::QString& a0,int a1, ::QObject*a2):  ::QLibrary(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLibrary::sipQLibrary(const  ::QString& a0,const  ::QString& a1, ::QObject*a2):  ::QLibrary(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLibrary::~sipQLibrary()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQLibrary::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QLibrary);

    return  ::QLibrary::metaObject();
}

int sipQLibrary::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QLibrary::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QLibrary,_c,_id,_a);

    return _id;
}

void *sipQLibrary::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QLibrary, _clname, &sipCpp) ? sipCpp :  ::QLibrary::qt_metacast(_clname));
}

bool sipQLibrary::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QLibrary::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQLibrary::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QLibrary::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQLibrary::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QLibrary::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQLibrary::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QLibrary::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQLibrary::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QLibrary::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQLibrary::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QLibrary::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQLibrary::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QLibrary::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQLibrary::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQLibrary::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQLibrary::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQLibrary::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQLibrary::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQLibrary::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQLibrary::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQLibrary::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQLibrary::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QLibrary_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QLibrary_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLibrary_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLibrary, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 112434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibrary, sipName_sender, doc_QLibrary_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QLibrary_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLibrary_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QLibrary, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 112494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QLibrary, sipName_receivers, doc_QLibrary_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QLibrary_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLibrary_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLibrary, &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_QLibrary, sipName_timerEvent, doc_QLibrary_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QLibrary_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLibrary_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLibrary, &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_QLibrary, sipName_childEvent, doc_QLibrary_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QLibrary_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLibrary_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLibrary, &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_QLibrary, sipName_customEvent, doc_QLibrary_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QLibrary_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLibrary_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLibrary, &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_QLibrary, sipName_connectNotify, doc_QLibrary_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QLibrary_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLibrary_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLibrary, &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_QLibrary, sipName_disconnectNotify, doc_QLibrary_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QLibrary_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLibrary_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLibrary, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibrary, sipName_senderSignalIndex, doc_QLibrary_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QLibrary_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLibrary_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQLibrary *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLibrary, &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_QLibrary, sipName_isSignalConnected, doc_QLibrary_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QLibrary_errorString(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLibrary, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibrary, sipName_errorString, doc_QLibrary_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_fileName, "fileName(self) -> str");

extern "C" {static PyObject *meth_QLibrary_fileName(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLibrary, &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_QLibrary, sipName_fileName, doc_QLibrary_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_isLoaded, "isLoaded(self) -> bool");

extern "C" {static PyObject *meth_QLibrary_isLoaded(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_isLoaded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLibrary, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isLoaded();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibrary, sipName_isLoaded, doc_QLibrary_isLoaded);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_load, "load(self) -> bool");

extern "C" {static PyObject *meth_QLibrary_load(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_load(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLibrary, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->load();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibrary, sipName_load, doc_QLibrary_load);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_loadHints, "loadHints(self) -> QLibrary.LoadHints");

extern "C" {static PyObject *meth_QLibrary_loadHints(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_loadHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLibrary, &sipCpp))
        {
             ::QLibrary::LoadHints*sipRes;

            sipRes = new  ::QLibrary::LoadHints(sipCpp->loadHints());

            return sipConvertFromNewType(sipRes,sipType_QLibrary_LoadHints,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibrary, sipName_loadHints, doc_QLibrary_loadHints);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_resolve, "resolve(self, str) -> sip.voidptr\n"
    "resolve(str, str) -> sip.voidptr\n"
    "resolve(str, int, str) -> sip.voidptr\n"
    "resolve(str, str, str) -> sip.voidptr");

extern "C" {static PyObject *meth_QLibrary_resolve(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_resolve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
         ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QLibrary, &sipCpp, &a0Keep, &a0))
        {
             ::QFunctionPointer sipRes;

            sipRes = sipCpp->resolve(a0);
            Py_DECREF(a0Keep);

            return sipConvertFromVoidPtr((void *)sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const char* a1;
        PyObject *a1Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1AA", sipType_QString,&a0, &a0State, &a1Keep, &a1))
        {
             ::QFunctionPointer sipRes;

            sipRes =  ::QLibrary::resolve(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            Py_DECREF(a1Keep);

            return sipConvertFromVoidPtr((void *)sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1;
        const char* a2;
        PyObject *a2Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1iAA", sipType_QString,&a0, &a0State, &a1, &a2Keep, &a2))
        {
             ::QFunctionPointer sipRes;

            sipRes =  ::QLibrary::resolve(*a0,a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            Py_DECREF(a2Keep);

            return sipConvertFromVoidPtr((void *)sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const char* a2;
        PyObject *a2Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1AA", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2Keep, &a2))
        {
             ::QFunctionPointer sipRes;

            sipRes =  ::QLibrary::resolve(*a0,*a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            Py_DECREF(a2Keep);

            return sipConvertFromVoidPtr((void *)sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibrary, sipName_resolve, doc_QLibrary_resolve);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_unload, "unload(self) -> bool");

extern "C" {static PyObject *meth_QLibrary_unload(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_unload(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLibrary, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->unload();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibrary, sipName_unload, doc_QLibrary_unload);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_isLibrary, "isLibrary(str) -> bool");

extern "C" {static PyObject *meth_QLibrary_isLibrary(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_isLibrary(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes =  ::QLibrary::isLibrary(*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_QLibrary, sipName_isLibrary, doc_QLibrary_isLibrary);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_setFileName, "setFileName(self, str)");

extern "C" {static PyObject *meth_QLibrary_setFileName(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_setFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLibrary, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFileName(*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_QLibrary, sipName_setFileName, doc_QLibrary_setFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_setFileNameAndVersion, "setFileNameAndVersion(self, str, int)\n"
    "setFileNameAndVersion(self, str, str)");

extern "C" {static PyObject *meth_QLibrary_setFileNameAndVersion(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_setFileNameAndVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1;
         ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_QLibrary, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            sipCpp->setFileNameAndVersion(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QLibrary, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->setFileNameAndVersion(*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_QLibrary, sipName_setFileNameAndVersion, doc_QLibrary_setFileNameAndVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QLibrary_setLoadHints, "setLoadHints(self, Union[QLibrary.LoadHints, QLibrary.LoadHint])");

extern "C" {static PyObject *meth_QLibrary_setLoadHints(PyObject *, PyObject *);}
static PyObject *meth_QLibrary_setLoadHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QLibrary::LoadHints* a0;
        int a0State = 0;
         ::QLibrary *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLibrary, &sipCpp, sipType_QLibrary_LoadHints, &a0, &a0State))
        {
            sipCpp->setLoadHints(*a0);
            sipReleaseType(a0,sipType_QLibrary_LoadHints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLibrary, sipName_setLoadHints, doc_QLibrary_setLoadHints);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QLibrary(void *, const sipTypeDef *);}
static void *cast_QLibrary(void *sipCppV, const sipTypeDef *targetType)
{
     ::QLibrary *sipCpp = reinterpret_cast< ::QLibrary *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLibrary(void *, int);}
static void release_QLibrary(void *sipCppV, int)
{
     ::QLibrary *sipCpp = reinterpret_cast< ::QLibrary *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QLibrary(sipSimpleWrapper *);}
static void dealloc_QLibrary(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQLibrary *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QLibrary(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QLibrary(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLibrary(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQLibrary *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 sipQLibrary(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQLibrary(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1;
         ::QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1i|JH", sipType_QString,&a0, &a0State, &a1, sipType_QObject, &a2, sipOwner))
        {
            sipCpp = new sipQLibrary(*a0,a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QObject* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1|JH", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            sipCpp = new sipQLibrary(*a0,*a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QLibrary[] = {{169, 255, 1}};


static PyMethodDef methods_QLibrary[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QLibrary_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QLibrary_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QLibrary_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QLibrary_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QLibrary_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_errorString)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QLibrary_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_fileName)},
    {SIP_MLNAME_CAST(sipName_isLibrary), meth_QLibrary_isLibrary, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_isLibrary)},
    {SIP_MLNAME_CAST(sipName_isLoaded), meth_QLibrary_isLoaded, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_isLoaded)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QLibrary_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_load), meth_QLibrary_load, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_load)},
    {SIP_MLNAME_CAST(sipName_loadHints), meth_QLibrary_loadHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_loadHints)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QLibrary_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resolve), meth_QLibrary_resolve, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_resolve)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QLibrary_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QLibrary_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFileName), meth_QLibrary_setFileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_setFileName)},
    {SIP_MLNAME_CAST(sipName_setFileNameAndVersion), meth_QLibrary_setFileNameAndVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_setFileNameAndVersion)},
    {SIP_MLNAME_CAST(sipName_setLoadHints), meth_QLibrary_setLoadHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_setLoadHints)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QLibrary_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unload), meth_QLibrary_unload, METH_VARARGS, SIP_MLDOC_CAST(doc_QLibrary_unload)}
};

static sipEnumMemberDef enummembers_QLibrary[] = {
    {sipName_DeepBindHint, static_cast<int>( ::QLibrary::DeepBindHint), 103},
    {sipName_ExportExternalSymbolsHint, static_cast<int>( ::QLibrary::ExportExternalSymbolsHint), 103},
    {sipName_LoadArchiveMemberHint, static_cast<int>( ::QLibrary::LoadArchiveMemberHint), 103},
    {sipName_PreventUnloadHint, static_cast<int>( ::QLibrary::PreventUnloadHint), 103},
    {sipName_ResolveAllSymbolsHint, static_cast<int>( ::QLibrary::ResolveAllSymbolsHint), 103},
};

PyDoc_STRVAR(doc_QLibrary, "\1QLibrary(parent: QObject = None)\n"
    "QLibrary(str, parent: QObject = None)\n"
    "QLibrary(str, int, parent: QObject = None)\n"
    "QLibrary(str, str, parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QLibrary = {
    & ::QLibrary::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QLibrary = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QLibrary,
        {0},
        &plugin_QLibrary
    },
    {
        sipNameNr_QLibrary,
        {0, 0, 1},
        20, methods_QLibrary,
        5, enummembers_QLibrary,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLibrary,
    -1,
    -1,
    supers_QLibrary,
    0,
    init_type_QLibrary,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLibrary,
    0,
    0,
    0,
    release_QLibrary,
    cast_QLibrary,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonvalue.sip"
#include <qjsonvalue.h>
#line 113356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 113360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 25 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonobject.sip"
#include <qjsonobject.h>
#line 113363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonarray.sip"
#include <qjsonarray.h>
#line 113366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 113369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QJsonValue_fromVariant, "fromVariant(Any) -> QJsonValue");

extern "C" {static PyObject *meth_QJsonValue_fromVariant(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_fromVariant(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QVariant, &a0, &a0State))
        {
             ::QJsonValue*sipRes;

            sipRes = new  ::QJsonValue( ::QJsonValue::fromVariant(*a0));
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return sipConvertFromNewType(sipRes,sipType_QJsonValue,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_fromVariant, doc_QJsonValue_fromVariant);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_toVariant, "toVariant(self) -> Any");

extern "C" {static PyObject *meth_QJsonValue_toVariant(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_toVariant(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->toVariant());

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_toVariant, doc_QJsonValue_toVariant);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_type, "type(self) -> QJsonValue.Type");

extern "C" {static PyObject *meth_QJsonValue_type(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
             ::QJsonValue::Type sipRes;

            sipRes = sipCpp->type();

            return sipConvertFromEnum(sipRes,sipType_QJsonValue_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_type, doc_QJsonValue_type);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QJsonValue_isNull(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_isNull, doc_QJsonValue_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_isBool, "isBool(self) -> bool");

extern "C" {static PyObject *meth_QJsonValue_isBool(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_isBool(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isBool();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_isBool, doc_QJsonValue_isBool);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_isDouble, "isDouble(self) -> bool");

extern "C" {static PyObject *meth_QJsonValue_isDouble(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_isDouble(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDouble();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_isDouble, doc_QJsonValue_isDouble);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_isString, "isString(self) -> bool");

extern "C" {static PyObject *meth_QJsonValue_isString(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_isString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isString();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_isString, doc_QJsonValue_isString);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_isArray, "isArray(self) -> bool");

extern "C" {static PyObject *meth_QJsonValue_isArray(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_isArray(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isArray();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_isArray, doc_QJsonValue_isArray);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_isObject, "isObject(self) -> bool");

extern "C" {static PyObject *meth_QJsonValue_isObject(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_isObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isObject();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_isObject, doc_QJsonValue_isObject);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_isUndefined, "isUndefined(self) -> bool");

extern "C" {static PyObject *meth_QJsonValue_isUndefined(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_isUndefined(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isUndefined();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_isUndefined, doc_QJsonValue_isUndefined);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_toBool, "toBool(self, defaultValue: bool = False) -> bool");

extern "C" {static PyObject *meth_QJsonValue_toBool(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_toBool(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 0;
        const  ::QJsonValue *sipCpp;

        static const char *sipKwdList[] = {
            sipName_defaultValue,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|b", &sipSelf, sipType_QJsonValue, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->toBool(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_toBool, doc_QJsonValue_toBool);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_toInt, "toInt(self, defaultValue: int = 0) -> int");

extern "C" {static PyObject *meth_QJsonValue_toInt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_toInt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
        const  ::QJsonValue *sipCpp;

        static const char *sipKwdList[] = {
            sipName_defaultValue,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QJsonValue, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->toInt(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_toInt, doc_QJsonValue_toInt);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_toDouble, "toDouble(self, defaultValue: float = 0) -> float");

extern "C" {static PyObject *meth_QJsonValue_toDouble(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_toDouble(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        double a0 = 0;
        const  ::QJsonValue *sipCpp;

        static const char *sipKwdList[] = {
            sipName_defaultValue,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|d", &sipSelf, sipType_QJsonValue, &sipCpp, &a0))
        {
            double sipRes;

            sipRes = sipCpp->toDouble(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_toDouble, doc_QJsonValue_toDouble);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_toArray, "toArray(self) -> List[QJsonValue]\n"
    "toArray(self, Iterable[Union[QJsonValue, QJsonValue.Type, Dict[str, QJsonValue], bool, int, float, str]]) -> List[QJsonValue]");

extern "C" {static PyObject *meth_QJsonValue_toArray(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_toArray(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
             ::QJsonArray*sipRes;

            sipRes = new  ::QJsonArray(sipCpp->toArray());

            return sipConvertFromNewType(sipRes,sipType_QJsonArray,NULL);
        }
    }

    {
        const  ::QJsonArray* a0;
        int a0State = 0;
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QJsonValue, &sipCpp, sipType_QJsonArray,&a0, &a0State))
        {
             ::QJsonArray*sipRes;

            sipRes = new  ::QJsonArray(sipCpp->toArray(*a0));
            sipReleaseType(const_cast< ::QJsonArray *>(a0),sipType_QJsonArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QJsonArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_toArray, doc_QJsonValue_toArray);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_toObject, "toObject(self) -> Dict[str, QJsonValue]\n"
    "toObject(self, Dict[str, QJsonValue]) -> Dict[str, QJsonValue]");

extern "C" {static PyObject *meth_QJsonValue_toObject(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_toObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
             ::QJsonObject*sipRes;

            sipRes = new  ::QJsonObject(sipCpp->toObject());

            return sipConvertFromNewType(sipRes,sipType_QJsonObject,NULL);
        }
    }

    {
        const  ::QJsonObject* a0;
        int a0State = 0;
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QJsonValue, &sipCpp, sipType_QJsonObject,&a0, &a0State))
        {
             ::QJsonObject*sipRes;

            sipRes = new  ::QJsonObject(sipCpp->toObject(*a0));
            sipReleaseType(const_cast< ::QJsonObject *>(a0),sipType_QJsonObject,a0State);

            return sipConvertFromNewType(sipRes,sipType_QJsonObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonValue, sipName_toObject, doc_QJsonValue_toObject);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonValue_toString, "toString(self) -> str\n"
    "toString(self, str) -> str");

extern "C" {static PyObject *meth_QJsonValue_toString(PyObject *, PyObject *);}
static PyObject *meth_QJsonValue_toString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonValue, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QJsonValue *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QJsonValue, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0));
            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_QJsonValue, sipName_toString, doc_QJsonValue_toString);

    return NULL;
}


extern "C" {static PyObject *slot_QJsonValue___ne__(PyObject *,PyObject *);}
static PyObject *slot_QJsonValue___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QJsonValue *sipCpp = reinterpret_cast< ::QJsonValue *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QJsonValue));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QJsonValue, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QJsonValue::operator!=(*a0);
            sipReleaseType(const_cast< ::QJsonValue *>(a0),sipType_QJsonValue,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QJsonValue, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QJsonValue___eq__(PyObject *,PyObject *);}
static PyObject *slot_QJsonValue___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QJsonValue *sipCpp = reinterpret_cast< ::QJsonValue *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QJsonValue));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonValue* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QJsonValue, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QJsonValue::operator==(*a0);
            sipReleaseType(const_cast< ::QJsonValue *>(a0),sipType_QJsonValue,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QJsonValue, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QJsonValue(void *, int);}
static void release_QJsonValue(void *sipCppV, int)
{
    delete reinterpret_cast< ::QJsonValue *>(sipCppV);
}


extern "C" {static void assign_QJsonValue(void *, SIP_SSIZE_T, const void *);}
static void assign_QJsonValue(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QJsonValue *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QJsonValue *>(sipSrc);
}


extern "C" {static void *array_QJsonValue(SIP_SSIZE_T);}
static void *array_QJsonValue(SIP_SSIZE_T sipNrElem)
{
    return new  ::QJsonValue[sipNrElem];
}


extern "C" {static void *copy_QJsonValue(const void *, SIP_SSIZE_T);}
static void *copy_QJsonValue(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QJsonValue(reinterpret_cast<const  ::QJsonValue *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QJsonValue(sipSimpleWrapper *);}
static void dealloc_QJsonValue(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QJsonValue(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QJsonValue(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QJsonValue(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QJsonValue *sipCpp = 0;

    {
         ::QJsonValue::Type a0 = QJsonValue::Null;

        static const char *sipKwdList[] = {
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|XE", sipType_QJsonValue_Type, &a0))
        {
            sipCpp = new  ::QJsonValue(a0);

            return sipCpp;
        }
    }

    {
        const  ::QJsonValue* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QJsonValue, &a0, &a0State))
        {
            sipCpp = new  ::QJsonValue(*a0);
            sipReleaseType(const_cast< ::QJsonValue *>(a0),sipType_QJsonValue,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QJsonValue(PyObject *, void **, int *, PyObject *);}
static int convertTo_QJsonValue(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QJsonValue **sipCppPtr = reinterpret_cast< ::QJsonValue **>(sipCppPtrV);

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonvalue.sip"
if (!sipIsErr)
    return qpycore_canConvertTo_QJsonValue(sipPy);

return qpycore_convertTo_QJsonValue(sipPy, sipTransferObj, sipCppPtr, sipIsErr);
#line 114045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QJsonValue[] = {
    {(void *)slot_QJsonValue___ne__, ne_slot},
    {(void *)slot_QJsonValue___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QJsonValue[] = {
    {SIP_MLNAME_CAST(sipName_fromVariant), meth_QJsonValue_fromVariant, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_fromVariant)},
    {SIP_MLNAME_CAST(sipName_isArray), meth_QJsonValue_isArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_isArray)},
    {SIP_MLNAME_CAST(sipName_isBool), meth_QJsonValue_isBool, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_isBool)},
    {SIP_MLNAME_CAST(sipName_isDouble), meth_QJsonValue_isDouble, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_isDouble)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QJsonValue_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_isNull)},
    {SIP_MLNAME_CAST(sipName_isObject), meth_QJsonValue_isObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_isObject)},
    {SIP_MLNAME_CAST(sipName_isString), meth_QJsonValue_isString, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_isString)},
    {SIP_MLNAME_CAST(sipName_isUndefined), meth_QJsonValue_isUndefined, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_isUndefined)},
    {SIP_MLNAME_CAST(sipName_toArray), meth_QJsonValue_toArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_toArray)},
    {SIP_MLNAME_CAST(sipName_toBool), (PyCFunction)meth_QJsonValue_toBool, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QJsonValue_toBool)},
    {SIP_MLNAME_CAST(sipName_toDouble), (PyCFunction)meth_QJsonValue_toDouble, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QJsonValue_toDouble)},
    {SIP_MLNAME_CAST(sipName_toInt), (PyCFunction)meth_QJsonValue_toInt, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QJsonValue_toInt)},
    {SIP_MLNAME_CAST(sipName_toObject), meth_QJsonValue_toObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_toObject)},
    {SIP_MLNAME_CAST(sipName_toString), meth_QJsonValue_toString, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_toString)},
    {SIP_MLNAME_CAST(sipName_toVariant), meth_QJsonValue_toVariant, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_toVariant)},
    {SIP_MLNAME_CAST(sipName_type), meth_QJsonValue_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonValue_type)}
};

static sipEnumMemberDef enummembers_QJsonValue[] = {
    {sipName_Array, static_cast<int>( ::QJsonValue::Array), 101},
    {sipName_Bool, static_cast<int>( ::QJsonValue::Bool), 101},
    {sipName_Double, static_cast<int>( ::QJsonValue::Double), 101},
    {sipName_Null, static_cast<int>( ::QJsonValue::Null), 101},
    {sipName_Object, static_cast<int>( ::QJsonValue::Object), 101},
    {sipName_String, static_cast<int>( ::QJsonValue::String), 101},
    {sipName_Undefined, static_cast<int>( ::QJsonValue::Undefined), 101},
};

PyDoc_STRVAR(doc_QJsonValue, "\1QJsonValue(type: QJsonValue.Type = QJsonValue.Null)\n"
    "QJsonValue(Union[QJsonValue, QJsonValue.Type, Dict[str, QJsonValue], bool, int, float, str])");


static pyqt5ClassPluginDef plugin_QJsonValue = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QJsonValue = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QJsonValue,
        {0},
        &plugin_QJsonValue
    },
    {
        sipNameNr_QJsonValue,
        {0, 0, 1},
        16, methods_QJsonValue,
        7, enummembers_QJsonValue,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QJsonValue,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QJsonValue,
    init_type_QJsonValue,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QJsonValue,
    assign_QJsonValue,
    array_QJsonValue,
    copy_QJsonValue,
    release_QJsonValue,
    0,
    convertTo_QJsonValue,
    0,
    0,
    0,
    0,
    0
};

#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsondocument.sip"
#include <qjsondocument.h>
#line 114150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 25 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonobject.sip"
#include <qjsonobject.h>
#line 114154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 31 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsonarray.sip"
#include <qjsonarray.h>
#line 114157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 114160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsondocument.sip"
#include <qjsondocument.h>
#line 114163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 114166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QJsonDocument_fromRawData, "fromRawData(str, int, validation: QJsonDocument.DataValidation = QJsonDocument.Validate) -> QJsonDocument");

extern "C" {static PyObject *meth_QJsonDocument_fromRawData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_fromRawData(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        int a1;
         ::QJsonDocument::DataValidation a2 = QJsonDocument::Validate;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_validation,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "si|E", &a0, &a1, sipType_QJsonDocument_DataValidation, &a2))
        {
             ::QJsonDocument*sipRes;

            sipRes = new  ::QJsonDocument( ::QJsonDocument::fromRawData(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QJsonDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_fromRawData, doc_QJsonDocument_fromRawData);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_rawData, "rawData(self) -> Tuple[str, int]");

extern "C" {static PyObject *meth_QJsonDocument_rawData(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_rawData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonDocument, &sipCpp))
        {
            const char*sipRes;

            sipRes = sipCpp->rawData(&a0);

            return sipBuildResult(0,"(si)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_rawData, doc_QJsonDocument_rawData);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_fromBinaryData, "fromBinaryData(Union[QByteArray, bytes, bytearray], validation: QJsonDocument.DataValidation = QJsonDocument.Validate) -> QJsonDocument");

extern "C" {static PyObject *meth_QJsonDocument_fromBinaryData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_fromBinaryData(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QJsonDocument::DataValidation a1 = QJsonDocument::Validate;

        static const char *sipKwdList[] = {
            NULL,
            sipName_validation,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|E", sipType_QByteArray, &a0, &a0State, sipType_QJsonDocument_DataValidation, &a1))
        {
             ::QJsonDocument*sipRes;

            sipRes = new  ::QJsonDocument( ::QJsonDocument::fromBinaryData(*a0,a1));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QJsonDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_fromBinaryData, doc_QJsonDocument_fromBinaryData);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_toBinaryData, "toBinaryData(self) -> QByteArray");

extern "C" {static PyObject *meth_QJsonDocument_toBinaryData(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_toBinaryData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonDocument, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toBinaryData());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_toBinaryData, doc_QJsonDocument_toBinaryData);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_fromVariant, "fromVariant(Any) -> QJsonDocument");

extern "C" {static PyObject *meth_QJsonDocument_fromVariant(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_fromVariant(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QVariant, &a0, &a0State))
        {
             ::QJsonDocument*sipRes;

            sipRes = new  ::QJsonDocument( ::QJsonDocument::fromVariant(*a0));
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            return sipConvertFromNewType(sipRes,sipType_QJsonDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_fromVariant, doc_QJsonDocument_fromVariant);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_toVariant, "toVariant(self) -> Any");

extern "C" {static PyObject *meth_QJsonDocument_toVariant(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_toVariant(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonDocument, &sipCpp))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->toVariant());

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_toVariant, doc_QJsonDocument_toVariant);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_fromJson, "fromJson(Union[QByteArray, bytes, bytearray], error: QJsonParseError = None) -> QJsonDocument");

extern "C" {static PyObject *meth_QJsonDocument_fromJson(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_fromJson(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QJsonParseError* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_error,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|J8", sipType_QByteArray, &a0, &a0State, sipType_QJsonParseError, &a1))
        {
             ::QJsonDocument*sipRes;

            sipRes = new  ::QJsonDocument( ::QJsonDocument::fromJson(*a0,a1));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QJsonDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_fromJson, doc_QJsonDocument_fromJson);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_toJson, "toJson(self) -> QByteArray\n"
    "toJson(self, QJsonDocument.JsonFormat) -> QByteArray");

extern "C" {static PyObject *meth_QJsonDocument_toJson(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_toJson(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonDocument, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toJson());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
         ::QJsonDocument::JsonFormat a0;
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QJsonDocument, &sipCpp, sipType_QJsonDocument_JsonFormat, &a0))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toJson(a0));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_toJson, doc_QJsonDocument_toJson);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QJsonDocument_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonDocument, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_isEmpty, doc_QJsonDocument_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_isArray, "isArray(self) -> bool");

extern "C" {static PyObject *meth_QJsonDocument_isArray(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_isArray(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonDocument, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isArray();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_isArray, doc_QJsonDocument_isArray);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_isObject, "isObject(self) -> bool");

extern "C" {static PyObject *meth_QJsonDocument_isObject(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_isObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonDocument, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isObject();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_isObject, doc_QJsonDocument_isObject);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_object, "object(self) -> Dict[str, QJsonValue]");

extern "C" {static PyObject *meth_QJsonDocument_object(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_object(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonDocument, &sipCpp))
        {
             ::QJsonObject*sipRes;

            sipRes = new  ::QJsonObject(sipCpp->object());

            return sipConvertFromNewType(sipRes,sipType_QJsonObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_object, doc_QJsonDocument_object);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_array, "array(self) -> List[QJsonValue]");

extern "C" {static PyObject *meth_QJsonDocument_array(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_array(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonDocument, &sipCpp))
        {
             ::QJsonArray*sipRes;

            sipRes = new  ::QJsonArray(sipCpp->array());

            return sipConvertFromNewType(sipRes,sipType_QJsonArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_array, doc_QJsonDocument_array);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_setObject, "setObject(self, Dict[str, QJsonValue])");

extern "C" {static PyObject *meth_QJsonDocument_setObject(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_setObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonObject* a0;
        int a0State = 0;
         ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QJsonDocument, &sipCpp, sipType_QJsonObject,&a0, &a0State))
        {
            sipCpp->setObject(*a0);
            sipReleaseType(const_cast< ::QJsonObject *>(a0),sipType_QJsonObject,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_setObject, doc_QJsonDocument_setObject);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_setArray, "setArray(self, Iterable[Union[QJsonValue, QJsonValue.Type, Dict[str, QJsonValue], bool, int, float, str]])");

extern "C" {static PyObject *meth_QJsonDocument_setArray(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_setArray(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonArray* a0;
        int a0State = 0;
         ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QJsonDocument, &sipCpp, sipType_QJsonArray,&a0, &a0State))
        {
            sipCpp->setArray(*a0);
            sipReleaseType(const_cast< ::QJsonArray *>(a0),sipType_QJsonArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_setArray, doc_QJsonDocument_setArray);

    return NULL;
}


PyDoc_STRVAR(doc_QJsonDocument_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QJsonDocument_isNull(PyObject *, PyObject *);}
static PyObject *meth_QJsonDocument_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonDocument, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonDocument, sipName_isNull, doc_QJsonDocument_isNull);

    return NULL;
}


extern "C" {static PyObject *slot_QJsonDocument___ne__(PyObject *,PyObject *);}
static PyObject *slot_QJsonDocument___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QJsonDocument *sipCpp = reinterpret_cast< ::QJsonDocument *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QJsonDocument));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QJsonDocument, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QJsonDocument::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QJsonDocument, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QJsonDocument___eq__(PyObject *,PyObject *);}
static PyObject *slot_QJsonDocument___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QJsonDocument *sipCpp = reinterpret_cast< ::QJsonDocument *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QJsonDocument));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonDocument* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QJsonDocument, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QJsonDocument::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QJsonDocument, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QJsonDocument(void *, int);}
static void release_QJsonDocument(void *sipCppV, int)
{
    delete reinterpret_cast< ::QJsonDocument *>(sipCppV);
}


extern "C" {static void assign_QJsonDocument(void *, SIP_SSIZE_T, const void *);}
static void assign_QJsonDocument(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QJsonDocument *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QJsonDocument *>(sipSrc);
}


extern "C" {static void *array_QJsonDocument(SIP_SSIZE_T);}
static void *array_QJsonDocument(SIP_SSIZE_T sipNrElem)
{
    return new  ::QJsonDocument[sipNrElem];
}


extern "C" {static void *copy_QJsonDocument(const void *, SIP_SSIZE_T);}
static void *copy_QJsonDocument(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QJsonDocument(reinterpret_cast<const  ::QJsonDocument *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QJsonDocument(sipSimpleWrapper *);}
static void dealloc_QJsonDocument(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QJsonDocument(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QJsonDocument(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QJsonDocument(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QJsonDocument *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QJsonDocument();

            return sipCpp;
        }
    }

    {
        const  ::QJsonObject* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QJsonObject,&a0, &a0State))
        {
            sipCpp = new  ::QJsonDocument(*a0);
            sipReleaseType(const_cast< ::QJsonObject *>(a0),sipType_QJsonObject,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QJsonArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QJsonArray,&a0, &a0State))
        {
            sipCpp = new  ::QJsonDocument(*a0);
            sipReleaseType(const_cast< ::QJsonArray *>(a0),sipType_QJsonArray,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QJsonDocument* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QJsonDocument, &a0))
        {
            sipCpp = new  ::QJsonDocument(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QJsonDocument[] = {
    {(void *)slot_QJsonDocument___ne__, ne_slot},
    {(void *)slot_QJsonDocument___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QJsonDocument[] = {
    {SIP_MLNAME_CAST(sipName_array), meth_QJsonDocument_array, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_array)},
    {SIP_MLNAME_CAST(sipName_fromBinaryData), (PyCFunction)meth_QJsonDocument_fromBinaryData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QJsonDocument_fromBinaryData)},
    {SIP_MLNAME_CAST(sipName_fromJson), (PyCFunction)meth_QJsonDocument_fromJson, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QJsonDocument_fromJson)},
    {SIP_MLNAME_CAST(sipName_fromRawData), (PyCFunction)meth_QJsonDocument_fromRawData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QJsonDocument_fromRawData)},
    {SIP_MLNAME_CAST(sipName_fromVariant), meth_QJsonDocument_fromVariant, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_fromVariant)},
    {SIP_MLNAME_CAST(sipName_isArray), meth_QJsonDocument_isArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_isArray)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QJsonDocument_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QJsonDocument_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_isNull)},
    {SIP_MLNAME_CAST(sipName_isObject), meth_QJsonDocument_isObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_isObject)},
    {SIP_MLNAME_CAST(sipName_object), meth_QJsonDocument_object, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_object)},
    {SIP_MLNAME_CAST(sipName_rawData), meth_QJsonDocument_rawData, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_rawData)},
    {SIP_MLNAME_CAST(sipName_setArray), meth_QJsonDocument_setArray, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_setArray)},
    {SIP_MLNAME_CAST(sipName_setObject), meth_QJsonDocument_setObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_setObject)},
    {SIP_MLNAME_CAST(sipName_toBinaryData), meth_QJsonDocument_toBinaryData, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_toBinaryData)},
    {SIP_MLNAME_CAST(sipName_toJson), meth_QJsonDocument_toJson, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_toJson)},
    {SIP_MLNAME_CAST(sipName_toVariant), meth_QJsonDocument_toVariant, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonDocument_toVariant)}
};

static sipEnumMemberDef enummembers_QJsonDocument[] = {
    {sipName_BypassValidation, static_cast<int>( ::QJsonDocument::BypassValidation), 95},
    {sipName_Compact, static_cast<int>( ::QJsonDocument::Compact), 96},
    {sipName_Indented, static_cast<int>( ::QJsonDocument::Indented), 96},
    {sipName_Validate, static_cast<int>( ::QJsonDocument::Validate), 95},
};

PyDoc_STRVAR(doc_QJsonDocument, "\1QJsonDocument()\n"
    "QJsonDocument(Dict[str, QJsonValue])\n"
    "QJsonDocument(Iterable[Union[QJsonValue, QJsonValue.Type, Dict[str, QJsonValue], bool, int, float, str]])\n"
    "QJsonDocument(QJsonDocument)");


static pyqt5ClassPluginDef plugin_QJsonDocument = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QJsonDocument = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QJsonDocument,
        {0},
        &plugin_QJsonDocument
    },
    {
        sipNameNr_QJsonDocument,
        {0, 0, 1},
        16, methods_QJsonDocument,
        4, enummembers_QJsonDocument,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QJsonDocument,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QJsonDocument,
    init_type_QJsonDocument,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QJsonDocument,
    assign_QJsonDocument,
    array_QJsonDocument,
    copy_QJsonDocument,
    release_QJsonDocument,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qjsondocument.sip"
#include <qjsondocument.h>
#line 114922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 114926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QJsonParseError_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QJsonParseError_errorString(PyObject *, PyObject *);}
static PyObject *meth_QJsonParseError_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QJsonParseError *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QJsonParseError, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QJsonParseError, sipName_errorString, doc_QJsonParseError_errorString);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QJsonParseError(void *, int);}
static void release_QJsonParseError(void *sipCppV, int)
{
    delete reinterpret_cast< ::QJsonParseError *>(sipCppV);
}


extern "C" {static void assign_QJsonParseError(void *, SIP_SSIZE_T, const void *);}
static void assign_QJsonParseError(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QJsonParseError *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QJsonParseError *>(sipSrc);
}


extern "C" {static void *array_QJsonParseError(SIP_SSIZE_T);}
static void *array_QJsonParseError(SIP_SSIZE_T sipNrElem)
{
    return new  ::QJsonParseError[sipNrElem];
}


extern "C" {static void *copy_QJsonParseError(const void *, SIP_SSIZE_T);}
static void *copy_QJsonParseError(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QJsonParseError(reinterpret_cast<const  ::QJsonParseError *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QJsonParseError(sipSimpleWrapper *);}
static void dealloc_QJsonParseError(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QJsonParseError(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QJsonParseError(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QJsonParseError(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QJsonParseError *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QJsonParseError();

            return sipCpp;
        }
    }

    {
        const  ::QJsonParseError* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QJsonParseError, &a0))
        {
            sipCpp = new  ::QJsonParseError(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QJsonParseError[] = {
    {SIP_MLNAME_CAST(sipName_errorString), meth_QJsonParseError_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QJsonParseError_errorString)}
};

static sipEnumMemberDef enummembers_QJsonParseError[] = {
    {sipName_DeepNesting, static_cast<int>( ::QJsonParseError::DeepNesting), 99},
    {sipName_DocumentTooLarge, static_cast<int>( ::QJsonParseError::DocumentTooLarge), 99},
    {sipName_GarbageAtEnd, static_cast<int>( ::QJsonParseError::GarbageAtEnd), 99},
    {sipName_IllegalEscapeSequence, static_cast<int>( ::QJsonParseError::IllegalEscapeSequence), 99},
    {sipName_IllegalNumber, static_cast<int>( ::QJsonParseError::IllegalNumber), 99},
    {sipName_IllegalUTF8String, static_cast<int>( ::QJsonParseError::IllegalUTF8String), 99},
    {sipName_IllegalValue, static_cast<int>( ::QJsonParseError::IllegalValue), 99},
    {sipName_MissingNameSeparator, static_cast<int>( ::QJsonParseError::MissingNameSeparator), 99},
    {sipName_MissingObject, static_cast<int>( ::QJsonParseError::MissingObject), 99},
    {sipName_MissingValueSeparator, static_cast<int>( ::QJsonParseError::MissingValueSeparator), 99},
    {sipName_NoError, static_cast<int>( ::QJsonParseError::NoError), 99},
    {sipName_TerminationByNumber, static_cast<int>( ::QJsonParseError::TerminationByNumber), 99},
    {sipName_UnterminatedArray, static_cast<int>( ::QJsonParseError::UnterminatedArray), 99},
    {sipName_UnterminatedObject, static_cast<int>( ::QJsonParseError::UnterminatedObject), 99},
    {sipName_UnterminatedString, static_cast<int>( ::QJsonParseError::UnterminatedString), 99},
};


extern "C" {static PyObject *varget_QJsonParseError_error(void *, PyObject *, PyObject *);}
static PyObject *varget_QJsonParseError_error(void *sipSelf, PyObject *, PyObject *)
{
     ::QJsonParseError::ParseError sipVal;
     ::QJsonParseError *sipCpp = reinterpret_cast< ::QJsonParseError *>(sipSelf);

    sipVal = sipCpp->error;

    return sipConvertFromEnum(sipVal, sipType_QJsonParseError_ParseError);
}


extern "C" {static int varset_QJsonParseError_error(void *, PyObject *, PyObject *);}
static int varset_QJsonParseError_error(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QJsonParseError::ParseError sipVal;
     ::QJsonParseError *sipCpp = reinterpret_cast< ::QJsonParseError *>(sipSelf);

    sipVal = ( ::QJsonParseError::ParseError)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->error = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QJsonParseError_offset(void *, PyObject *, PyObject *);}
static PyObject *varget_QJsonParseError_offset(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QJsonParseError *sipCpp = reinterpret_cast< ::QJsonParseError *>(sipSelf);

    sipVal = sipCpp->offset;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QJsonParseError_offset(void *, PyObject *, PyObject *);}
static int varset_QJsonParseError_offset(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QJsonParseError *sipCpp = reinterpret_cast< ::QJsonParseError *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->offset = sipVal;

    return 0;
}

sipVariableDef variables_QJsonParseError[] = {
    {InstanceVariable, sipName_error, (PyMethodDef *)varget_QJsonParseError_error, (PyMethodDef *)varset_QJsonParseError_error, NULL, NULL},
    {InstanceVariable, sipName_offset, (PyMethodDef *)varget_QJsonParseError_offset, (PyMethodDef *)varset_QJsonParseError_offset, NULL, NULL},
};

PyDoc_STRVAR(doc_QJsonParseError, "\1QJsonParseError()\n"
    "QJsonParseError(QJsonParseError)");


static pyqt5ClassPluginDef plugin_QJsonParseError = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QJsonParseError = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QJsonParseError,
        {0},
        &plugin_QJsonParseError
    },
    {
        sipNameNr_QJsonParseError,
        {0, 0, 1},
        1, methods_QJsonParseError,
        15, enummembers_QJsonParseError,
        2, variables_QJsonParseError,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QJsonParseError,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QJsonParseError,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QJsonParseError,
    assign_QJsonParseError,
    array_QJsonParseError,
    copy_QJsonParseError,
    release_QJsonParseError,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 115174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 115178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 115181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 115184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 115187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QItemSelection_select, "select(self, QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QItemSelection_select(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_select(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_QItemSelection, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->select(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_select, doc_QItemSelection_select);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_contains, "contains(self, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QItemSelection_contains(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QItemSelection, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->contains(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_contains, doc_QItemSelection_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_indexes, "indexes(self) -> object");

extern "C" {static PyObject *meth_QItemSelection_indexes(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_indexes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelection, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->indexes());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_indexes, doc_QItemSelection_indexes);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_merge, "merge(self, QItemSelection, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

extern "C" {static PyObject *meth_QItemSelection_merge(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_merge(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelection* a0;
         ::QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QItemSelection, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->merge(*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_merge, doc_QItemSelection_merge);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_split, "split(QItemSelectionRange, QItemSelectionRange, QItemSelection)");

extern "C" {static PyObject *meth_QItemSelection_split(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_split(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;
        const  ::QItemSelectionRange* a1;
         ::QItemSelection* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9J8", sipType_QItemSelectionRange, &a0, sipType_QItemSelectionRange, &a1, sipType_QItemSelection, &a2))
        {
             ::QItemSelection::split(*a0,*a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_split, doc_QItemSelection_split);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_clear, "clear(self)");

extern "C" {static PyObject *meth_QItemSelection_clear(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelection, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_clear, doc_QItemSelection_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QItemSelection_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelection, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_isEmpty, doc_QItemSelection_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_append, "append(self, QItemSelectionRange)");

extern "C" {static PyObject *meth_QItemSelection_append(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_append(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QItemSelection, &sipCpp, sipType_QItemSelectionRange, &a0))
        {
            sipCpp->append(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_append, doc_QItemSelection_append);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_prepend, "prepend(self, QItemSelectionRange)");

extern "C" {static PyObject *meth_QItemSelection_prepend(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_prepend(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QItemSelection, &sipCpp, sipType_QItemSelectionRange, &a0))
        {
            sipCpp->prepend(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_prepend, doc_QItemSelection_prepend);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_insert, "insert(self, int, QItemSelectionRange)");

extern "C" {static PyObject *meth_QItemSelection_insert(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_insert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QItemSelectionRange* a1;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QItemSelection, &sipCpp, &a0, sipType_QItemSelectionRange, &a1))
        {
            sipCpp->insert(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_insert, doc_QItemSelection_insert);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_replace, "replace(self, int, QItemSelectionRange)");

extern "C" {static PyObject *meth_QItemSelection_replace(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_replace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QItemSelectionRange* a1;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QItemSelection, &sipCpp, &a0, sipType_QItemSelectionRange, &a1))
        {
            sipCpp->replace(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_replace, doc_QItemSelection_replace);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_removeAt, "removeAt(self, int)");

extern "C" {static PyObject *meth_QItemSelection_removeAt(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_removeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QItemSelection, &sipCpp, &a0))
        {
            sipCpp->removeAt(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_removeAt, doc_QItemSelection_removeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_removeAll, "removeAll(self, QItemSelectionRange) -> int");

extern "C" {static PyObject *meth_QItemSelection_removeAll(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_removeAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QItemSelection, &sipCpp, sipType_QItemSelectionRange, &a0))
        {
            int sipRes;

            sipRes = sipCpp->removeAll(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_removeAll, doc_QItemSelection_removeAll);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_takeAt, "takeAt(self, int) -> QItemSelectionRange");

extern "C" {static PyObject *meth_QItemSelection_takeAt(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_takeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QItemSelection, &sipCpp, &a0))
        {
             ::QItemSelectionRange*sipRes;

            sipRes = new  ::QItemSelectionRange(sipCpp->takeAt(a0));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionRange,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_takeAt, doc_QItemSelection_takeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_takeFirst, "takeFirst(self) -> QItemSelectionRange");

extern "C" {static PyObject *meth_QItemSelection_takeFirst(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_takeFirst(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelection, &sipCpp))
        {
             ::QItemSelectionRange*sipRes;

            sipRes = new  ::QItemSelectionRange(sipCpp->takeFirst());

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionRange,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_takeFirst, doc_QItemSelection_takeFirst);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_takeLast, "takeLast(self) -> QItemSelectionRange");

extern "C" {static PyObject *meth_QItemSelection_takeLast(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_takeLast(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelection, &sipCpp))
        {
             ::QItemSelectionRange*sipRes;

            sipRes = new  ::QItemSelectionRange(sipCpp->takeLast());

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionRange,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_takeLast, doc_QItemSelection_takeLast);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_move, "move(self, int, int)");

extern "C" {static PyObject *meth_QItemSelection_move(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_move(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QItemSelection, &sipCpp, &a0, &a1))
        {
            sipCpp->move(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_move, doc_QItemSelection_move);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_swap, "swap(self, int, int)");

extern "C" {static PyObject *meth_QItemSelection_swap(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QItemSelection, &sipCpp, &a0, &a1))
        {
            sipCpp->swap(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_swap, doc_QItemSelection_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_count, "count(self, QItemSelectionRange) -> int\n"
    "count(self) -> int");

extern "C" {static PyObject *meth_QItemSelection_count(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;
        const  ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QItemSelection, &sipCpp, sipType_QItemSelectionRange, &a0))
        {
            int sipRes;

            sipRes = sipCpp->count(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const  ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelection, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_count, doc_QItemSelection_count);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_first, "first(self) -> QItemSelectionRange");

extern "C" {static PyObject *meth_QItemSelection_first(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_first(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelection, &sipCpp))
        {
             ::QItemSelectionRange*sipRes;

            sipRes = &sipCpp->first();

            return sipConvertFromType(sipRes,sipType_QItemSelectionRange,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_first, doc_QItemSelection_first);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_last, "last(self) -> QItemSelectionRange");

extern "C" {static PyObject *meth_QItemSelection_last(PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_last(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelection, &sipCpp))
        {
             ::QItemSelectionRange*sipRes;

            sipRes = &sipCpp->last();

            return sipConvertFromType(sipRes,sipType_QItemSelectionRange,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_last, doc_QItemSelection_last);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_indexOf, "indexOf(self, QItemSelectionRange, from_: int = 0) -> int");

extern "C" {static PyObject *meth_QItemSelection_indexOf(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_indexOf(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;
        int a1 = 0;
        const  ::QItemSelection *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_from,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QItemSelection, &sipCpp, sipType_QItemSelectionRange, &a0, &a1))
        {
            int sipRes;

            sipRes = sipCpp->indexOf(*a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_indexOf, doc_QItemSelection_indexOf);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelection_lastIndexOf, "lastIndexOf(self, QItemSelectionRange, from_: int = -1) -> int");

extern "C" {static PyObject *meth_QItemSelection_lastIndexOf(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelection_lastIndexOf(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;
        int a1 = -1;
        const  ::QItemSelection *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_from,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QItemSelection, &sipCpp, sipType_QItemSelectionRange, &a0, &a1))
        {
            int sipRes;

            sipRes = sipCpp->lastIndexOf(*a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName_lastIndexOf, doc_QItemSelection_lastIndexOf);

    return NULL;
}


extern "C" {static PyObject *slot_QItemSelection___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelection___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelection *sipCpp = reinterpret_cast< ::QItemSelection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelection* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QItemSelection, &a0))
        {
            sipCpp-> ::QItemSelection::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        const  ::QItemSelectionRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QItemSelectionRange, &a0))
        {
            sipCpp-> ::QItemSelection::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 SIP_SSIZE_T slot_QItemSelection___len__(PyObject *);}
static SIP_SSIZE_T slot_QItemSelection___len__(PyObject *sipSelf)
{
     ::QItemSelection *sipCpp = reinterpret_cast< ::QItemSelection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelection));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 115931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QItemSelection___eq__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelection___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelection *sipCpp = reinterpret_cast< ::QItemSelection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelection* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QItemSelection, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QItemSelection::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QItemSelection, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QItemSelection___ne__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelection___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelection *sipCpp = reinterpret_cast< ::QItemSelection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelection* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QItemSelection, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QItemSelection::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QItemSelection, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QItemSelection___getitem__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelection___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelection *sipCpp = reinterpret_cast< ::QItemSelection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
             ::QItemSelectionRange*sipRes = 0;
            int sipIsErr = 0;

#line 248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
        Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = new QItemSelectionRange(sipCpp->operator[]((int)idx));
#line 116030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionRange,NULL);
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
             ::QItemSelection*sipRes = 0;
            int sipIsErr = 0;

#line 258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
        Py_ssize_t len, start, stop, step, slicelength, i;
        
        len = sipCpp->count();
        
        #if PY_VERSION_HEX >= 0x03020000
        if (PySlice_GetIndicesEx(a0, len, &start, &stop, &step, &slicelength) < 0)
        #else
        if (PySlice_GetIndicesEx((PySliceObject *)a0, len, &start, &stop, &step, &slicelength) < 0)
        #endif
            sipIsErr = 1;
        else
        {
            sipRes = new QItemSelection();
        
            for (i = 0; i < slicelength; ++i)
            {
                (*sipRes) += (*sipCpp)[start];
                start += step;
            }
        }
#line 116068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName___getitem__, NULL);

    return 0;
}


extern "C" {static int slot_QItemSelection___delitem__(PyObject *,PyObject *);}
static int slot_QItemSelection___delitem__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelection *sipCpp = reinterpret_cast< ::QItemSelection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelection));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            int sipIsErr = 0;

#line 216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
        int len;
        
        len = sipCpp->count();
        
        if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
            sipIsErr = 1;
        else
            sipCpp->removeAt(a0);
#line 116110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
            int sipIsErr = 0;

#line 228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
        Py_ssize_t len, start, stop, step, slicelength, i;
        
        len = sipCpp->count();
        
        #if PY_VERSION_HEX >= 0x03020000
        if (PySlice_GetIndicesEx(a0, len, &start, &stop, &step, &slicelength) < 0)
        #else
        if (PySlice_GetIndicesEx((PySliceObject *)a0, len, &start, &stop, &step, &slicelength) < 0)
        #endif
            sipIsErr = 1;
        else
            for (i = 0; i < slicelength; ++i)
            {
                sipCpp->removeAt(start);
                start += step - 1;
            }
#line 116143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName___delitem__, NULL);

    return -1;
}


extern "C" {static int slot_QItemSelection___setitem__(PyObject *,PyObject *);}
static int slot_QItemSelection___setitem__(PyObject *sipSelf,PyObject *sipArgs)
{
     ::QItemSelection *sipCpp = reinterpret_cast< ::QItemSelection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelection));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QItemSelectionRange* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ9", &a0, sipType_QItemSelectionRange, &a1))
        {
            int sipIsErr = 0;

#line 169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
        int len;
        
        len = sipCpp->count();
        
        if ((a0 = (int)sipConvertFromSequenceIndex(a0, len)) < 0)
            sipIsErr = 1;
        else
            (*sipCpp)[a0] = *a1;
#line 116186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    {
        PyObject * a0;
        const  ::QItemSelection* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "TJ9", &PySlice_Type, &a0, sipType_QItemSelection, &a1))
        {
            int sipIsErr = 0;

#line 181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
        Py_ssize_t len, start, stop, step, slicelength, i;
        
        len = sipCpp->count();
        
        #if PY_VERSION_HEX >= 0x03020000
        if (PySlice_GetIndicesEx(a0, len, &start, &stop, &step, &slicelength) < 0)
        #else
        if (PySlice_GetIndicesEx((PySliceObject *)a0, len, &start, &stop, &step, &slicelength) < 0)
        #endif
            sipIsErr = 1;
        else
        {
            int vlen = a1->count();
        
            if (vlen != slicelength)
            {
                sipBadLengthForSlice(vlen, slicelength);
                sipIsErr = 1;
            }
            else
            {
                QItemSelection::const_iterator it = a1->begin();
        
                for (i = 0; i < slicelength; ++i)
                {
                    (*sipCpp)[start] = *it;
                    start += step;
                    ++it;
                }
            }
        }
#line 116235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return -1;

            return 0;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName___setitem__, NULL);

    return -1;
}


extern "C" {static int slot_QItemSelection___contains__(PyObject *,PyObject *);}
static int slot_QItemSelection___contains__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelection *sipCpp = reinterpret_cast< ::QItemSelection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelection));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QModelIndex, &a0))
        {
            int sipRes = 0;

#line 160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
        // It looks like you can't assign QBool to int.
        sipRes = bool(sipCpp->contains(*a0));
#line 116271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelection, sipName___contains__, NULL);

    return -1;
}


/* Call the instance's destructor. */
extern "C" {static void release_QItemSelection(void *, int);}
static void release_QItemSelection(void *sipCppV, int)
{
    delete reinterpret_cast< ::QItemSelection *>(sipCppV);
}


extern "C" {static void assign_QItemSelection(void *, SIP_SSIZE_T, const void *);}
static void assign_QItemSelection(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QItemSelection *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QItemSelection *>(sipSrc);
}


extern "C" {static void *array_QItemSelection(SIP_SSIZE_T);}
static void *array_QItemSelection(SIP_SSIZE_T sipNrElem)
{
    return new  ::QItemSelection[sipNrElem];
}


extern "C" {static void *copy_QItemSelection(const void *, SIP_SSIZE_T);}
static void *copy_QItemSelection(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QItemSelection(reinterpret_cast<const  ::QItemSelection *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QItemSelection(sipSimpleWrapper *);}
static void dealloc_QItemSelection(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QItemSelection(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QItemSelection(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QItemSelection(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QItemSelection *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QItemSelection();

            return sipCpp;
        }
    }

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9", sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp = new  ::QItemSelection(*a0,*a1);

            return sipCpp;
        }
    }

    {
        const  ::QItemSelection* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QItemSelection, &a0))
        {
            sipCpp = new  ::QItemSelection(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QItemSelection[] = {
    {(void *)slot_QItemSelection___iadd__, iconcat_slot},
    {(void *)slot_QItemSelection___len__, len_slot},
    {(void *)slot_QItemSelection___eq__, eq_slot},
    {(void *)slot_QItemSelection___ne__, ne_slot},
    {(void *)slot_QItemSelection___getitem__, getitem_slot},
    {(void *)slot_QItemSelection___delitem__, delitem_slot},
    {(void *)slot_QItemSelection___setitem__, setitem_slot},
    {(void *)slot_QItemSelection___contains__, contains_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QItemSelection[] = {
    {SIP_MLNAME_CAST(sipName_append), meth_QItemSelection_append, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_append)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QItemSelection_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_clear)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QItemSelection_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_contains)},
    {SIP_MLNAME_CAST(sipName_count), meth_QItemSelection_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_count)},
    {SIP_MLNAME_CAST(sipName_first), meth_QItemSelection_first, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_first)},
    {SIP_MLNAME_CAST(sipName_indexOf), (PyCFunction)meth_QItemSelection_indexOf, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemSelection_indexOf)},
    {SIP_MLNAME_CAST(sipName_indexes), meth_QItemSelection_indexes, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_indexes)},
    {SIP_MLNAME_CAST(sipName_insert), meth_QItemSelection_insert, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_insert)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QItemSelection_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_isEmpty)},
    {SIP_MLNAME_CAST(sipName_last), meth_QItemSelection_last, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_last)},
    {SIP_MLNAME_CAST(sipName_lastIndexOf), (PyCFunction)meth_QItemSelection_lastIndexOf, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemSelection_lastIndexOf)},
    {SIP_MLNAME_CAST(sipName_merge), meth_QItemSelection_merge, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_merge)},
    {SIP_MLNAME_CAST(sipName_move), meth_QItemSelection_move, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_move)},
    {SIP_MLNAME_CAST(sipName_prepend), meth_QItemSelection_prepend, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_prepend)},
    {SIP_MLNAME_CAST(sipName_removeAll), meth_QItemSelection_removeAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_removeAll)},
    {SIP_MLNAME_CAST(sipName_removeAt), meth_QItemSelection_removeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_removeAt)},
    {SIP_MLNAME_CAST(sipName_replace), meth_QItemSelection_replace, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_replace)},
    {SIP_MLNAME_CAST(sipName_select), meth_QItemSelection_select, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_select)},
    {SIP_MLNAME_CAST(sipName_split), meth_QItemSelection_split, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_split)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QItemSelection_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_swap)},
    {SIP_MLNAME_CAST(sipName_takeAt), meth_QItemSelection_takeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_takeAt)},
    {SIP_MLNAME_CAST(sipName_takeFirst), meth_QItemSelection_takeFirst, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_takeFirst)},
    {SIP_MLNAME_CAST(sipName_takeLast), meth_QItemSelection_takeLast, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelection_takeLast)}
};

PyDoc_STRVAR(doc_QItemSelection, "\1QItemSelection()\n"
    "QItemSelection(QModelIndex, QModelIndex)\n"
    "QItemSelection(QItemSelection)");


static pyqt5ClassPluginDef plugin_QItemSelection = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QItemSelection = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QItemSelection,
        {0},
        &plugin_QItemSelection
    },
    {
        sipNameNr_QItemSelection,
        {0, 0, 1},
        23, methods_QItemSelection,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemSelection,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QItemSelection,
    init_type_QItemSelection,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QItemSelection,
    assign_QItemSelection,
    array_QItemSelection,
    copy_QItemSelection,
    release_QItemSelection,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 67 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 116469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 67 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 116473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QItemSelectionModel_SelectionFlags___hash__(PyObject *);}
static long slot_QItemSelectionModel_SelectionFlags___hash__(PyObject *sipSelf)
{
     ::QItemSelectionModel::SelectionFlags *sipCpp = reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionModel_SelectionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QItemSelectionModel::SelectionFlags::Int();
#line 116491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QItemSelectionModel_SelectionFlags___bool__(PyObject *);}
static int slot_QItemSelectionModel_SelectionFlags___bool__(PyObject *sipSelf)
{
     ::QItemSelectionModel::SelectionFlags *sipCpp = reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionModel_SelectionFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QItemSelectionModel::SelectionFlags::Int() != 0);
#line 116516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QItemSelectionModel_SelectionFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelectionModel::SelectionFlags *sipCpp = reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionModel_SelectionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QItemSelectionModel::SelectionFlags::Int() != a0->operator QItemSelectionModel::SelectionFlags::Int());
#line 116546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QItemSelectionModel::SelectionFlags *>(a0),sipType_QItemSelectionModel_SelectionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QItemSelectionModel_SelectionFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QItemSelectionModel_SelectionFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelectionModel::SelectionFlags *sipCpp = reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionModel_SelectionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QItemSelectionModel::SelectionFlags::Int() == a0->operator QItemSelectionModel::SelectionFlags::Int());
#line 116582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QItemSelectionModel::SelectionFlags *>(a0),sipType_QItemSelectionModel_SelectionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QItemSelectionModel_SelectionFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QItemSelectionModel_SelectionFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QItemSelectionModel_SelectionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QItemSelectionModel::SelectionFlags *sipCpp = reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionModel_SelectionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QItemSelectionModel::SelectionFlags(*sipCpp ^ a0);
#line 116621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QItemSelectionModel_SelectionFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State, &a1))
        {
             ::QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new  ::QItemSelectionModel::SelectionFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QItemSelectionModel_SelectionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QItemSelectionModel_SelectionFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QItemSelectionModel_SelectionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QItemSelectionModel::SelectionFlags *sipCpp = reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionModel_SelectionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QItemSelectionModel::SelectionFlags(*sipCpp | a0);
#line 116693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QItemSelectionModel_SelectionFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State, &a1))
        {
             ::QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new  ::QItemSelectionModel::SelectionFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QItemSelectionModel_SelectionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QItemSelectionModel_SelectionFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QItemSelectionModel_SelectionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QItemSelectionModel::SelectionFlags *sipCpp = reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionModel_SelectionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QItemSelectionModel::SelectionFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QItemSelectionModel_SelectionFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State, &a1))
        {
             ::QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new  ::QItemSelectionModel::SelectionFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QItemSelectionModel_SelectionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QItemSelectionModel_SelectionFlags___invert__(PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___invert__(PyObject *sipSelf)
{
     ::QItemSelectionModel::SelectionFlags *sipCpp = reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionModel_SelectionFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new  ::QItemSelectionModel::SelectionFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QItemSelectionModel_SelectionFlags___int__(PyObject *);}
static PyObject *slot_QItemSelectionModel_SelectionFlags___int__(PyObject *sipSelf)
{
     ::QItemSelectionModel::SelectionFlags *sipCpp = reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionModel_SelectionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QItemSelectionModel_SelectionFlags(void *, int);}
static void release_QItemSelectionModel_SelectionFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipCppV);
}


extern "C" {static void assign_QItemSelectionModel_SelectionFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QItemSelectionModel_SelectionFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QItemSelectionModel::SelectionFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QItemSelectionModel::SelectionFlags *>(sipSrc);
}


extern "C" {static void *array_QItemSelectionModel_SelectionFlags(SIP_SSIZE_T);}
static void *array_QItemSelectionModel_SelectionFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QItemSelectionModel::SelectionFlags[sipNrElem];
}


extern "C" {static void *copy_QItemSelectionModel_SelectionFlags(const void *, SIP_SSIZE_T);}
static void *copy_QItemSelectionModel_SelectionFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QItemSelectionModel::SelectionFlags(reinterpret_cast<const  ::QItemSelectionModel::SelectionFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QItemSelectionModel_SelectionFlags(sipSimpleWrapper *);}
static void dealloc_QItemSelectionModel_SelectionFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QItemSelectionModel_SelectionFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QItemSelectionModel_SelectionFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QItemSelectionModel_SelectionFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QItemSelectionModel::SelectionFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QItemSelectionModel::SelectionFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QItemSelectionModel::SelectionFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QItemSelectionModel::SelectionFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State))
        {
            sipCpp = new  ::QItemSelectionModel::SelectionFlags(*a0);
            sipReleaseType(const_cast< ::QItemSelectionModel::SelectionFlags *>(a0),sipType_QItemSelectionModel_SelectionFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QItemSelectionModel_SelectionFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QItemSelectionModel_SelectionFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QItemSelectionModel::SelectionFlags **sipCppPtr = reinterpret_cast< ::QItemSelectionModel::SelectionFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QItemSelectionModel::SelectionFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QItemSelectionModel_SelectionFlag)) ||
            sipCanConvertToType(sipPy, sipType_QItemSelectionModel_SelectionFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QItemSelectionModel_SelectionFlag)))
{
    *sipCppPtr = new QItemSelectionModel::SelectionFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QItemSelectionModel::SelectionFlags *>(sipConvertToType(sipPy, sipType_QItemSelectionModel_SelectionFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 116961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QItemSelectionModel_SelectionFlags[] = {
    {(void *)slot_QItemSelectionModel_SelectionFlags___hash__, hash_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___bool__, bool_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___ne__, ne_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___eq__, eq_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___ixor__, ixor_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___xor__, xor_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___ior__, ior_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___or__, or_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___iand__, iand_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___and__, and_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___invert__, invert_slot},
    {(void *)slot_QItemSelectionModel_SelectionFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QItemSelectionModel_SelectionFlags, "\1QItemSelectionModel.SelectionFlags()\n"
    "QItemSelectionModel.SelectionFlags(Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])\n"
    "QItemSelectionModel.SelectionFlags(QItemSelectionModel.SelectionFlags)");


static pyqt5ClassPluginDef plugin_QItemSelectionModel_SelectionFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QItemSelectionModel_SelectionFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QItemSelectionModel__SelectionFlags,
        {0},
        &plugin_QItemSelectionModel_SelectionFlags
    },
    {
        sipNameNr_SelectionFlags,
        {89, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemSelectionModel_SelectionFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QItemSelectionModel_SelectionFlags,
    init_type_QItemSelectionModel_SelectionFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QItemSelectionModel_SelectionFlags,
    assign_QItemSelectionModel_SelectionFlags,
    array_QItemSelectionModel_SelectionFlags,
    copy_QItemSelectionModel_SelectionFlags,
    release_QItemSelectionModel_SelectionFlags,
    0,
    convertTo_QItemSelectionModel_SelectionFlags,
    0,
    0,
    0,
    0,
    0
};

#line 67 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 117047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 117051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 117054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 117057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 117060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 117063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 67 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 117066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 117069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 117072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 117075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 117078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 117081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 117084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 117087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 117090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 117093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 117096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 117099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 117102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 117105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 117108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 117111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQItemSelectionModel : public  ::QItemSelectionModel
{
public:
    sipQItemSelectionModel( ::QAbstractItemModel*);
    sipQItemSelectionModel( ::QAbstractItemModel*, ::QObject*);
    virtual ~sipQItemSelectionModel();

    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;
    void sipProtect_emitSelectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void clearCurrentIndex();
    void setCurrentIndex(const  ::QModelIndex&, ::QItemSelectionModel::SelectionFlags);
    void select(const  ::QItemSelection&, ::QItemSelectionModel::SelectionFlags);
    void select(const  ::QModelIndex&, ::QItemSelectionModel::SelectionFlags);
    void reset();
    void clear();
    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:
    sipQItemSelectionModel(const sipQItemSelectionModel &);
    sipQItemSelectionModel &operator = (const sipQItemSelectionModel &);

    char sipPyMethods[13];
};

sipQItemSelectionModel::sipQItemSelectionModel( ::QAbstractItemModel*a0):  ::QItemSelectionModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQItemSelectionModel::sipQItemSelectionModel( ::QAbstractItemModel*a0, ::QObject*a1):  ::QItemSelectionModel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQItemSelectionModel::~sipQItemSelectionModel()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQItemSelectionModel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QItemSelectionModel);

    return  ::QItemSelectionModel::metaObject();
}

int sipQItemSelectionModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QItemSelectionModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QItemSelectionModel,_c,_id,_a);

    return _id;
}

void *sipQItemSelectionModel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QItemSelectionModel, _clname, &sipCpp) ? sipCpp :  ::QItemSelectionModel::qt_metacast(_clname));
}

void sipQItemSelectionModel::clearCurrentIndex()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_clearCurrentIndex);

    if (!sipMeth)
    {
         ::QItemSelectionModel::clearCurrentIndex();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQItemSelectionModel::setCurrentIndex(const  ::QModelIndex& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setCurrentIndex);

    if (!sipMeth)
    {
         ::QItemSelectionModel::setCurrentIndex(a0,a1);
        return;
    }

    extern void sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQItemSelectionModel::select(const  ::QItemSelection& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_select);

    if (!sipMeth)
    {
         ::QItemSelectionModel::select(a0,a1);
        return;
    }

    extern void sipVH_QtCore_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtCore_54(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQItemSelectionModel::select(const  ::QModelIndex& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_select);

    if (!sipMeth)
    {
         ::QItemSelectionModel::select(a0,a1);
        return;
    }

    extern void sipVH_QtCore_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QItemSelectionModel::SelectionFlags);

    sipVH_QtCore_53(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQItemSelectionModel::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::QItemSelectionModel::reset();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQItemSelectionModel::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
         ::QItemSelectionModel::clear();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQItemSelectionModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QItemSelectionModel::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQItemSelectionModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QItemSelectionModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQItemSelectionModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QItemSelectionModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQItemSelectionModel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QItemSelectionModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQItemSelectionModel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QItemSelectionModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQItemSelectionModel::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QItemSelectionModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQItemSelectionModel::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QItemSelectionModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQItemSelectionModel::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQItemSelectionModel::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQItemSelectionModel::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQItemSelectionModel::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQItemSelectionModel::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQItemSelectionModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQItemSelectionModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQItemSelectionModel::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQItemSelectionModel::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQItemSelectionModel::sipProtect_emitSelectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
     ::QItemSelectionModel::emitSelectionChanged(a0,a1);
}


PyDoc_STRVAR(doc_QItemSelectionModel_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QItemSelectionModel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQItemSelectionModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 117531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_sender, doc_QItemSelectionModel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QItemSelectionModel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQItemSelectionModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QItemSelectionModel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 117591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QItemSelectionModel, sipName_receivers, doc_QItemSelectionModel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QItemSelectionModel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQItemSelectionModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QItemSelectionModel, &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_QItemSelectionModel, sipName_timerEvent, doc_QItemSelectionModel_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QItemSelectionModel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQItemSelectionModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QItemSelectionModel, &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_QItemSelectionModel, sipName_childEvent, doc_QItemSelectionModel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QItemSelectionModel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQItemSelectionModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QItemSelectionModel, &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_QItemSelectionModel, sipName_customEvent, doc_QItemSelectionModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QItemSelectionModel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQItemSelectionModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QItemSelectionModel, &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_QItemSelectionModel, sipName_connectNotify, doc_QItemSelectionModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QItemSelectionModel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQItemSelectionModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QItemSelectionModel, &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_QItemSelectionModel, sipName_disconnectNotify, doc_QItemSelectionModel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QItemSelectionModel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQItemSelectionModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_senderSignalIndex, doc_QItemSelectionModel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QItemSelectionModel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQItemSelectionModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QItemSelectionModel, &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_QItemSelectionModel, sipName_isSignalConnected, doc_QItemSelectionModel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_currentIndex, "currentIndex(self) -> QModelIndex");

extern "C" {static PyObject *meth_QItemSelectionModel_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex(sipCpp->currentIndex());

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_currentIndex, doc_QItemSelectionModel_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_isSelected, "isSelected(self, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QItemSelectionModel_isSelected(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_isSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QItemSelectionModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isSelected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_isSelected, doc_QItemSelectionModel_isSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_isRowSelected, "isRowSelected(self, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QItemSelectionModel_isRowSelected(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_isRowSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QModelIndex* a1;
        const  ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QItemSelectionModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->isRowSelected(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_isRowSelected, doc_QItemSelectionModel_isRowSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_isColumnSelected, "isColumnSelected(self, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QItemSelectionModel_isColumnSelected(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_isColumnSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QModelIndex* a1;
        const  ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QItemSelectionModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->isColumnSelected(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_isColumnSelected, doc_QItemSelectionModel_isColumnSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_rowIntersectsSelection, "rowIntersectsSelection(self, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QItemSelectionModel_rowIntersectsSelection(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_rowIntersectsSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QModelIndex* a1;
        const  ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QItemSelectionModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->rowIntersectsSelection(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_rowIntersectsSelection, doc_QItemSelectionModel_rowIntersectsSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_columnIntersectsSelection, "columnIntersectsSelection(self, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QItemSelectionModel_columnIntersectsSelection(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_columnIntersectsSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QModelIndex* a1;
        const  ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QItemSelectionModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->columnIntersectsSelection(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_columnIntersectsSelection, doc_QItemSelectionModel_columnIntersectsSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_selectedIndexes, "selectedIndexes(self) -> object");

extern "C" {static PyObject *meth_QItemSelectionModel_selectedIndexes(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->selectedIndexes());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_selectedIndexes, doc_QItemSelectionModel_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_selection, "selection(self) -> QItemSelection");

extern "C" {static PyObject *meth_QItemSelectionModel_selection(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_selection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
             ::QItemSelection*sipRes;

            sipRes = new  ::QItemSelection(sipCpp->selection());

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_selection, doc_QItemSelectionModel_selection);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_model, "model(self) -> QAbstractItemModel");

extern "C" {static PyObject *meth_QItemSelectionModel_model(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_model(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
             ::QAbstractItemModel*sipRes;

            sipRes = sipCpp->model();

            return sipConvertFromType(sipRes,sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_model, doc_QItemSelectionModel_model);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_clear, "clear(self)");

extern "C" {static PyObject *meth_QItemSelectionModel_clear(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QItemSelectionModel::clear() : sipCpp->clear());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_clear, doc_QItemSelectionModel_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_clearSelection, "clearSelection(self)");

extern "C" {static PyObject *meth_QItemSelectionModel_clearSelection(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_clearSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
            sipCpp->clearSelection();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_clearSelection, doc_QItemSelectionModel_clearSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_reset, "reset(self)");

extern "C" {static PyObject *meth_QItemSelectionModel_reset(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QItemSelectionModel::reset() : sipCpp->reset());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_reset, doc_QItemSelectionModel_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_select, "select(self, QModelIndex, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])\n"
    "select(self, QItemSelection, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

extern "C" {static PyObject *meth_QItemSelectionModel_select(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_select(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
         ::QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
         ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QItemSelectionModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            (sipSelfWasArg ? sipCpp-> ::QItemSelectionModel::select(*a0,*a1) : sipCpp->select(*a0,*a1));
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QItemSelection* a0;
         ::QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
         ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QItemSelectionModel, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            (sipSelfWasArg ? sipCpp-> ::QItemSelectionModel::select(*a0,*a1) : sipCpp->select(*a0,*a1));
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_select, doc_QItemSelectionModel_select);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_setCurrentIndex, "setCurrentIndex(self, QModelIndex, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])");

extern "C" {static PyObject *meth_QItemSelectionModel_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
         ::QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
         ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QItemSelectionModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            (sipSelfWasArg ? sipCpp-> ::QItemSelectionModel::setCurrentIndex(*a0,*a1) : sipCpp->setCurrentIndex(*a0,*a1));
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_setCurrentIndex, doc_QItemSelectionModel_setCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_clearCurrentIndex, "clearCurrentIndex(self)");

extern "C" {static PyObject *meth_QItemSelectionModel_clearCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_clearCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QItemSelectionModel::clearCurrentIndex() : sipCpp->clearCurrentIndex());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_clearCurrentIndex, doc_QItemSelectionModel_clearCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_emitSelectionChanged, "emitSelectionChanged(self, QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QItemSelectionModel_emitSelectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_emitSelectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelection* a0;
        const  ::QItemSelection* a1;
        sipQItemSelectionModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QItemSelectionModel, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtect_emitSelectionChanged(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_emitSelectionChanged, doc_QItemSelectionModel_emitSelectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_hasSelection, "hasSelection(self) -> bool");

extern "C" {static PyObject *meth_QItemSelectionModel_hasSelection(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_hasSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionModel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasSelection();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_hasSelection, doc_QItemSelectionModel_hasSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_selectedRows, "selectedRows(self, column: int = 0) -> object");

extern "C" {static PyObject *meth_QItemSelectionModel_selectedRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_selectedRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
        const  ::QItemSelectionModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_column,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QItemSelectionModel, &sipCpp, &a0))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->selectedRows(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_selectedRows, doc_QItemSelectionModel_selectedRows);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_selectedColumns, "selectedColumns(self, row: int = 0) -> object");

extern "C" {static PyObject *meth_QItemSelectionModel_selectedColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_selectedColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
        const  ::QItemSelectionModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_row,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QItemSelectionModel, &sipCpp, &a0))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->selectedColumns(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_selectedColumns, doc_QItemSelectionModel_selectedColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionModel_setModel, "setModel(self, QAbstractItemModel)");

extern "C" {static PyObject *meth_QItemSelectionModel_setModel(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionModel_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractItemModel* a0;
         ::QItemSelectionModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QItemSelectionModel, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            sipCpp->setModel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionModel, sipName_setModel, doc_QItemSelectionModel_setModel);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QItemSelectionModel(void *, const sipTypeDef *);}
static void *cast_QItemSelectionModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QItemSelectionModel *sipCpp = reinterpret_cast< ::QItemSelectionModel *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QItemSelectionModel(void *, int);}
static void release_QItemSelectionModel(void *sipCppV, int)
{
     ::QItemSelectionModel *sipCpp = reinterpret_cast< ::QItemSelectionModel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QItemSelectionModel(sipSimpleWrapper *);}
static void dealloc_QItemSelectionModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQItemSelectionModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QItemSelectionModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QItemSelectionModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QItemSelectionModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQItemSelectionModel *sipCpp = 0;

    {
         ::QAbstractItemModel* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_model,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QAbstractItemModel, &a0, sipOwner))
        {
            sipCpp = new sipQItemSelectionModel(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QAbstractItemModel* a0;
         ::QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8JH", sipType_QAbstractItemModel, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQItemSelectionModel(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QItemSelectionModel[] = {{169, 255, 1}};


static PyMethodDef methods_QItemSelectionModel[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QItemSelectionModel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QItemSelectionModel_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_clear)},
    {SIP_MLNAME_CAST(sipName_clearCurrentIndex), meth_QItemSelectionModel_clearCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_clearCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_clearSelection), meth_QItemSelectionModel_clearSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_clearSelection)},
    {SIP_MLNAME_CAST(sipName_columnIntersectsSelection), meth_QItemSelectionModel_columnIntersectsSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_columnIntersectsSelection)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QItemSelectionModel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QItemSelectionModel_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_currentIndex)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QItemSelectionModel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QItemSelectionModel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSelectionChanged), (PyCFunction)meth_QItemSelectionModel_emitSelectionChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemSelectionModel_emitSelectionChanged)},
    {SIP_MLNAME_CAST(sipName_hasSelection), meth_QItemSelectionModel_hasSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_hasSelection)},
    {SIP_MLNAME_CAST(sipName_isColumnSelected), meth_QItemSelectionModel_isColumnSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_isColumnSelected)},
    {SIP_MLNAME_CAST(sipName_isRowSelected), meth_QItemSelectionModel_isRowSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_isRowSelected)},
    {SIP_MLNAME_CAST(sipName_isSelected), meth_QItemSelectionModel_isSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_isSelected)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QItemSelectionModel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_model), meth_QItemSelectionModel_model, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_model)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QItemSelectionModel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_QItemSelectionModel_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_reset)},
    {SIP_MLNAME_CAST(sipName_rowIntersectsSelection), meth_QItemSelectionModel_rowIntersectsSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_rowIntersectsSelection)},
    {SIP_MLNAME_CAST(sipName_select), meth_QItemSelectionModel_select, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_select)},
    {SIP_MLNAME_CAST(sipName_selectedColumns), (PyCFunction)meth_QItemSelectionModel_selectedColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemSelectionModel_selectedColumns)},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), meth_QItemSelectionModel_selectedIndexes, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_selectedIndexes)},
    {SIP_MLNAME_CAST(sipName_selectedRows), (PyCFunction)meth_QItemSelectionModel_selectedRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemSelectionModel_selectedRows)},
    {SIP_MLNAME_CAST(sipName_selection), meth_QItemSelectionModel_selection, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_selection)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QItemSelectionModel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QItemSelectionModel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_QItemSelectionModel_setCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_setCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QItemSelectionModel_setModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionModel_setModel)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QItemSelectionModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QItemSelectionModel[] = {
    {sipName_Clear, static_cast<int>( ::QItemSelectionModel::Clear), 90},
    {sipName_ClearAndSelect, static_cast<int>( ::QItemSelectionModel::ClearAndSelect), 90},
    {sipName_Columns, static_cast<int>( ::QItemSelectionModel::Columns), 90},
    {sipName_Current, static_cast<int>( ::QItemSelectionModel::Current), 90},
    {sipName_Deselect, static_cast<int>( ::QItemSelectionModel::Deselect), 90},
    {sipName_NoUpdate, static_cast<int>( ::QItemSelectionModel::NoUpdate), 90},
    {sipName_Rows, static_cast<int>( ::QItemSelectionModel::Rows), 90},
    {sipName_Select, static_cast<int>( ::QItemSelectionModel::Select), 90},
    {sipName_SelectCurrent, static_cast<int>( ::QItemSelectionModel::SelectCurrent), 90},
    {sipName_Toggle, static_cast<int>( ::QItemSelectionModel::Toggle), 90},
    {sipName_ToggleCurrent, static_cast<int>( ::QItemSelectionModel::ToggleCurrent), 90},
};

PyDoc_STRVAR(doc_QItemSelectionModel, "\1QItemSelectionModel(model: QAbstractItemModel = None)\n"
    "QItemSelectionModel(QAbstractItemModel, QObject)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QItemSelectionModel[] = {
    {"modelChanged(QAbstractItemModel*)", "\1modelChanged(self, QAbstractItemModel)", 0, 0},
    {"currentColumnChanged(QModelIndex,QModelIndex)", "\1currentColumnChanged(self, QModelIndex, QModelIndex)", 0, 0},
    {"currentRowChanged(QModelIndex,QModelIndex)", "\1currentRowChanged(self, QModelIndex, QModelIndex)", 0, 0},
    {"currentChanged(QModelIndex,QModelIndex)", "\1currentChanged(self, QModelIndex, QModelIndex)", 0, 0},
    {"selectionChanged(QItemSelection,QItemSelection)", "\1selectionChanged(self, QItemSelection, QItemSelection)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QItemSelectionModel = {
    & ::QItemSelectionModel::staticMetaObject,
    0,
    signals_QItemSelectionModel,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QItemSelectionModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QItemSelectionModel,
        {0},
        &plugin_QItemSelectionModel
    },
    {
        sipNameNr_QItemSelectionModel,
        {0, 0, 1},
        29, methods_QItemSelectionModel,
        11, enummembers_QItemSelectionModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemSelectionModel,
    -1,
    -1,
    supers_QItemSelectionModel,
    0,
    init_type_QItemSelectionModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QItemSelectionModel,
    0,
    0,
    0,
    release_QItemSelectionModel,
    cast_QItemSelectionModel,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 118623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 118627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 118630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 118633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 118636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QItemSelectionRange_top, "top(self) -> int");

extern "C" {static PyObject *meth_QItemSelectionRange_top(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_top(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->top();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_top, doc_QItemSelectionRange_top);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_left, "left(self) -> int");

extern "C" {static PyObject *meth_QItemSelectionRange_left(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_left(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->left();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_left, doc_QItemSelectionRange_left);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_bottom, "bottom(self) -> int");

extern "C" {static PyObject *meth_QItemSelectionRange_bottom(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_bottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bottom();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_bottom, doc_QItemSelectionRange_bottom);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_right, "right(self) -> int");

extern "C" {static PyObject *meth_QItemSelectionRange_right(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_right(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->right();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_right, doc_QItemSelectionRange_right);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_width, "width(self) -> int");

extern "C" {static PyObject *meth_QItemSelectionRange_width(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->width();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_width, doc_QItemSelectionRange_width);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_height, "height(self) -> int");

extern "C" {static PyObject *meth_QItemSelectionRange_height(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_height(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->height();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_height, doc_QItemSelectionRange_height);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_topLeft, "topLeft(self) -> QPersistentModelIndex");

extern "C" {static PyObject *meth_QItemSelectionRange_topLeft(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_topLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
             ::QPersistentModelIndex*sipRes;

            sipRes = new  ::QPersistentModelIndex(sipCpp->topLeft());

            return sipConvertFromNewType(sipRes,sipType_QPersistentModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_topLeft, doc_QItemSelectionRange_topLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_bottomRight, "bottomRight(self) -> QPersistentModelIndex");

extern "C" {static PyObject *meth_QItemSelectionRange_bottomRight(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_bottomRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
             ::QPersistentModelIndex*sipRes;

            sipRes = new  ::QPersistentModelIndex(sipCpp->bottomRight());

            return sipConvertFromNewType(sipRes,sipType_QPersistentModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_bottomRight, doc_QItemSelectionRange_bottomRight);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_parent, "parent(self) -> QModelIndex");

extern "C" {static PyObject *meth_QItemSelectionRange_parent(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex(sipCpp->parent());

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_parent, doc_QItemSelectionRange_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_model, "model(self) -> QAbstractItemModel");

extern "C" {static PyObject *meth_QItemSelectionRange_model(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_model(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
            const  ::QAbstractItemModel*sipRes;

            sipRes = sipCpp->model();

            return sipConvertFromType(const_cast< ::QAbstractItemModel *>(sipRes),sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_model, doc_QItemSelectionRange_model);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_contains, "contains(self, QModelIndex) -> bool\n"
    "contains(self, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QItemSelectionRange_contains(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QItemSelectionRange, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->contains(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9", &sipSelf, sipType_QItemSelectionRange, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->contains(a0,a1,*a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_contains, doc_QItemSelectionRange_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_intersects, "intersects(self, QItemSelectionRange) -> bool");

extern "C" {static PyObject *meth_QItemSelectionRange_intersects(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_intersects(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QItemSelectionRange, &sipCpp, sipType_QItemSelectionRange, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->intersects(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_intersects, doc_QItemSelectionRange_intersects);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QItemSelectionRange_isValid(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_isValid, doc_QItemSelectionRange_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_indexes, "indexes(self) -> object");

extern "C" {static PyObject *meth_QItemSelectionRange_indexes(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_indexes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->indexes());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_indexes, doc_QItemSelectionRange_indexes);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_intersected, "intersected(self, QItemSelectionRange) -> QItemSelectionRange");

extern "C" {static PyObject *meth_QItemSelectionRange_intersected(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_intersected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QItemSelectionRange, &sipCpp, sipType_QItemSelectionRange, &a0))
        {
             ::QItemSelectionRange*sipRes;

            sipRes = new  ::QItemSelectionRange(sipCpp->intersected(*a0));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionRange,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_intersected, doc_QItemSelectionRange_intersected);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QItemSelectionRange_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemSelectionRange, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_isEmpty, doc_QItemSelectionRange_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QItemSelectionRange_swap, "swap(self, QItemSelectionRange)");

extern "C" {static PyObject *meth_QItemSelectionRange_swap(PyObject *, PyObject *);}
static PyObject *meth_QItemSelectionRange_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QItemSelectionRange* a0;
         ::QItemSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QItemSelectionRange, &sipCpp, sipType_QItemSelectionRange, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemSelectionRange, sipName_swap, doc_QItemSelectionRange_swap);

    return NULL;
}


extern "C" {static PyObject *slot_QItemSelectionRange___ge__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionRange___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelectionRange *sipCpp = reinterpret_cast< ::QItemSelectionRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionRange));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QItemSelectionRange, &a0))
        {
            bool sipRes;

            sipRes = !sipCpp-> ::QItemSelectionRange::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QItemSelectionRange, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QItemSelectionRange___lt__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionRange___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelectionRange *sipCpp = reinterpret_cast< ::QItemSelectionRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionRange));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QItemSelectionRange, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QItemSelectionRange::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QItemSelectionRange, sipSelf, sipArg);
}


extern "C" {static long slot_QItemSelectionRange___hash__(PyObject *);}
static long slot_QItemSelectionRange___hash__(PyObject *sipSelf)
{
     ::QItemSelectionRange *sipCpp = reinterpret_cast< ::QItemSelectionRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionRange));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 54 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
        sipRes = qHash(*sipCpp);
#line 119215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QItemSelectionRange___ne__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionRange___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelectionRange *sipCpp = reinterpret_cast< ::QItemSelectionRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionRange));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QItemSelectionRange, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QItemSelectionRange::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QItemSelectionRange, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QItemSelectionRange___eq__(PyObject *,PyObject *);}
static PyObject *slot_QItemSelectionRange___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QItemSelectionRange *sipCpp = reinterpret_cast< ::QItemSelectionRange *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QItemSelectionRange));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QItemSelectionRange* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QItemSelectionRange, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QItemSelectionRange::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QItemSelectionRange, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QItemSelectionRange(void *, int);}
static void release_QItemSelectionRange(void *sipCppV, int)
{
    delete reinterpret_cast< ::QItemSelectionRange *>(sipCppV);
}


extern "C" {static void assign_QItemSelectionRange(void *, SIP_SSIZE_T, const void *);}
static void assign_QItemSelectionRange(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QItemSelectionRange *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QItemSelectionRange *>(sipSrc);
}


extern "C" {static void *array_QItemSelectionRange(SIP_SSIZE_T);}
static void *array_QItemSelectionRange(SIP_SSIZE_T sipNrElem)
{
    return new  ::QItemSelectionRange[sipNrElem];
}


extern "C" {static void *copy_QItemSelectionRange(const void *, SIP_SSIZE_T);}
static void *copy_QItemSelectionRange(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QItemSelectionRange(reinterpret_cast<const  ::QItemSelectionRange *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QItemSelectionRange(sipSimpleWrapper *);}
static void dealloc_QItemSelectionRange(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QItemSelectionRange(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QItemSelectionRange(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QItemSelectionRange(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QItemSelectionRange *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QItemSelectionRange();

            return sipCpp;
        }
    }

    {
        const  ::QItemSelectionRange* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QItemSelectionRange, &a0))
        {
            sipCpp = new  ::QItemSelectionRange(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J9", sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp = new  ::QItemSelectionRange(*a0,*a1);

            return sipCpp;
        }
    }

    {
        const  ::QModelIndex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QModelIndex, &a0))
        {
            sipCpp = new  ::QItemSelectionRange(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QItemSelectionRange[] = {
    {(void *)slot_QItemSelectionRange___ge__, ge_slot},
    {(void *)slot_QItemSelectionRange___lt__, lt_slot},
    {(void *)slot_QItemSelectionRange___hash__, hash_slot},
    {(void *)slot_QItemSelectionRange___ne__, ne_slot},
    {(void *)slot_QItemSelectionRange___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QItemSelectionRange[] = {
    {SIP_MLNAME_CAST(sipName_bottom), meth_QItemSelectionRange_bottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_bottom)},
    {SIP_MLNAME_CAST(sipName_bottomRight), meth_QItemSelectionRange_bottomRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_bottomRight)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QItemSelectionRange_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_contains)},
    {SIP_MLNAME_CAST(sipName_height), meth_QItemSelectionRange_height, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_height)},
    {SIP_MLNAME_CAST(sipName_indexes), meth_QItemSelectionRange_indexes, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_indexes)},
    {SIP_MLNAME_CAST(sipName_intersected), meth_QItemSelectionRange_intersected, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_intersected)},
    {SIP_MLNAME_CAST(sipName_intersects), meth_QItemSelectionRange_intersects, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_intersects)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QItemSelectionRange_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QItemSelectionRange_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_isValid)},
    {SIP_MLNAME_CAST(sipName_left), meth_QItemSelectionRange_left, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_left)},
    {SIP_MLNAME_CAST(sipName_model), meth_QItemSelectionRange_model, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_model)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QItemSelectionRange_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_parent)},
    {SIP_MLNAME_CAST(sipName_right), meth_QItemSelectionRange_right, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_right)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QItemSelectionRange_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_swap)},
    {SIP_MLNAME_CAST(sipName_top), meth_QItemSelectionRange_top, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_top)},
    {SIP_MLNAME_CAST(sipName_topLeft), meth_QItemSelectionRange_topLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_topLeft)},
    {SIP_MLNAME_CAST(sipName_width), meth_QItemSelectionRange_width, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemSelectionRange_width)}
};

PyDoc_STRVAR(doc_QItemSelectionRange, "\1QItemSelectionRange()\n"
    "QItemSelectionRange(QItemSelectionRange)\n"
    "QItemSelectionRange(QModelIndex, QModelIndex)\n"
    "QItemSelectionRange(QModelIndex)");


static pyqt5ClassPluginDef plugin_QItemSelectionRange = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QItemSelectionRange = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QItemSelectionRange,
        {0},
        &plugin_QItemSelectionRange
    },
    {
        sipNameNr_QItemSelectionRange,
        {0, 0, 1},
        17, methods_QItemSelectionRange,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemSelectionRange,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QItemSelectionRange,
    init_type_QItemSelectionRange,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QItemSelectionRange,
    assign_QItemSelectionRange,
    array_QItemSelectionRange,
    copy_QItemSelectionRange,
    release_QItemSelectionRange,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 119477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 119481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QIODevice_OpenMode___hash__(PyObject *);}
static long slot_QIODevice_OpenMode___hash__(PyObject *sipSelf)
{
     ::QIODevice::OpenMode *sipCpp = reinterpret_cast< ::QIODevice::OpenMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QIODevice_OpenMode));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QIODevice::OpenMode::Int();
#line 119499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QIODevice_OpenMode___bool__(PyObject *);}
static int slot_QIODevice_OpenMode___bool__(PyObject *sipSelf)
{
     ::QIODevice::OpenMode *sipCpp = reinterpret_cast< ::QIODevice::OpenMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QIODevice_OpenMode));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QIODevice::OpenMode::Int() != 0);
#line 119524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QIODevice_OpenMode___ne__(PyObject *,PyObject *);}
static PyObject *slot_QIODevice_OpenMode___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QIODevice::OpenMode *sipCpp = reinterpret_cast< ::QIODevice::OpenMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QIODevice_OpenMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice::OpenMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QIODevice::OpenMode::Int() != a0->operator QIODevice::OpenMode::Int());
#line 119554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QIODevice::OpenMode *>(a0),sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QIODevice_OpenMode, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QIODevice_OpenMode___eq__(PyObject *,PyObject *);}
static PyObject *slot_QIODevice_OpenMode___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QIODevice::OpenMode *sipCpp = reinterpret_cast< ::QIODevice::OpenMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QIODevice_OpenMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice::OpenMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QIODevice::OpenMode::Int() == a0->operator QIODevice::OpenMode::Int());
#line 119590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QIODevice::OpenMode *>(a0),sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QIODevice_OpenMode, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QIODevice_OpenMode___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QIODevice_OpenMode___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QIODevice_OpenMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QIODevice::OpenMode *sipCpp = reinterpret_cast< ::QIODevice::OpenMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QIODevice_OpenMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QIODevice::OpenMode(*sipCpp ^ a0);
#line 119629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QIODevice_OpenMode___xor__(PyObject *,PyObject *);}
static PyObject *slot_QIODevice_OpenMode___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QIODevice_OpenMode, &a0, &a0State, &a1))
        {
             ::QIODevice::OpenMode*sipRes;

            sipRes = new  ::QIODevice::OpenMode((*a0 ^ a1));
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_QIODevice_OpenMode,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QIODevice_OpenMode___ior__(PyObject *,PyObject *);}
static PyObject *slot_QIODevice_OpenMode___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QIODevice_OpenMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QIODevice::OpenMode *sipCpp = reinterpret_cast< ::QIODevice::OpenMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QIODevice_OpenMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QIODevice::OpenMode(*sipCpp | a0);
#line 119701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QIODevice_OpenMode___or__(PyObject *,PyObject *);}
static PyObject *slot_QIODevice_OpenMode___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QIODevice_OpenMode, &a0, &a0State, &a1))
        {
             ::QIODevice::OpenMode*sipRes;

            sipRes = new  ::QIODevice::OpenMode((*a0 | a1));
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_QIODevice_OpenMode,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QIODevice_OpenMode___iand__(PyObject *,PyObject *);}
static PyObject *slot_QIODevice_OpenMode___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QIODevice_OpenMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QIODevice::OpenMode *sipCpp = reinterpret_cast< ::QIODevice::OpenMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QIODevice_OpenMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QIODevice::OpenMode::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QIODevice_OpenMode___and__(PyObject *,PyObject *);}
static PyObject *slot_QIODevice_OpenMode___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QIODevice_OpenMode, &a0, &a0State, &a1))
        {
             ::QIODevice::OpenMode*sipRes;

            sipRes = new  ::QIODevice::OpenMode((*a0 & a1));
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_QIODevice_OpenMode,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QIODevice_OpenMode___invert__(PyObject *);}
static PyObject *slot_QIODevice_OpenMode___invert__(PyObject *sipSelf)
{
     ::QIODevice::OpenMode *sipCpp = reinterpret_cast< ::QIODevice::OpenMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QIODevice_OpenMode));

    if (!sipCpp)
        return 0;


    {
        {
             ::QIODevice::OpenMode*sipRes;

            sipRes = new  ::QIODevice::OpenMode(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QIODevice_OpenMode,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QIODevice_OpenMode___int__(PyObject *);}
static PyObject *slot_QIODevice_OpenMode___int__(PyObject *sipSelf)
{
     ::QIODevice::OpenMode *sipCpp = reinterpret_cast< ::QIODevice::OpenMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QIODevice_OpenMode));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QIODevice_OpenMode(void *, int);}
static void release_QIODevice_OpenMode(void *sipCppV, int)
{
    delete reinterpret_cast< ::QIODevice::OpenMode *>(sipCppV);
}


extern "C" {static void assign_QIODevice_OpenMode(void *, SIP_SSIZE_T, const void *);}
static void assign_QIODevice_OpenMode(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QIODevice::OpenMode *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QIODevice::OpenMode *>(sipSrc);
}


extern "C" {static void *array_QIODevice_OpenMode(SIP_SSIZE_T);}
static void *array_QIODevice_OpenMode(SIP_SSIZE_T sipNrElem)
{
    return new  ::QIODevice::OpenMode[sipNrElem];
}


extern "C" {static void *copy_QIODevice_OpenMode(const void *, SIP_SSIZE_T);}
static void *copy_QIODevice_OpenMode(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QIODevice::OpenMode(reinterpret_cast<const  ::QIODevice::OpenMode *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QIODevice_OpenMode(sipSimpleWrapper *);}
static void dealloc_QIODevice_OpenMode(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QIODevice_OpenMode(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QIODevice_OpenMode(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QIODevice_OpenMode(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QIODevice::OpenMode *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QIODevice::OpenMode();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QIODevice::OpenMode(a0);

            return sipCpp;
        }
    }

    {
        const  ::QIODevice::OpenMode* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            sipCpp = new  ::QIODevice::OpenMode(*a0);
            sipReleaseType(const_cast< ::QIODevice::OpenMode *>(a0),sipType_QIODevice_OpenMode,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QIODevice_OpenMode(PyObject *, void **, int *, PyObject *);}
static int convertTo_QIODevice_OpenMode(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QIODevice::OpenMode **sipCppPtr = reinterpret_cast< ::QIODevice::OpenMode **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QIODevice::OpenMode is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QIODevice_OpenModeFlag)) ||
            sipCanConvertToType(sipPy, sipType_QIODevice_OpenMode, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QIODevice_OpenModeFlag)))
{
    *sipCppPtr = new QIODevice::OpenMode(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QIODevice::OpenMode *>(sipConvertToType(sipPy, sipType_QIODevice_OpenMode, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 119969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QIODevice_OpenMode[] = {
    {(void *)slot_QIODevice_OpenMode___hash__, hash_slot},
    {(void *)slot_QIODevice_OpenMode___bool__, bool_slot},
    {(void *)slot_QIODevice_OpenMode___ne__, ne_slot},
    {(void *)slot_QIODevice_OpenMode___eq__, eq_slot},
    {(void *)slot_QIODevice_OpenMode___ixor__, ixor_slot},
    {(void *)slot_QIODevice_OpenMode___xor__, xor_slot},
    {(void *)slot_QIODevice_OpenMode___ior__, ior_slot},
    {(void *)slot_QIODevice_OpenMode___or__, or_slot},
    {(void *)slot_QIODevice_OpenMode___iand__, iand_slot},
    {(void *)slot_QIODevice_OpenMode___and__, and_slot},
    {(void *)slot_QIODevice_OpenMode___invert__, invert_slot},
    {(void *)slot_QIODevice_OpenMode___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QIODevice_OpenMode, "\1QIODevice.OpenMode()\n"
    "QIODevice.OpenMode(Union[QIODevice.OpenMode, QIODevice.OpenModeFlag])\n"
    "QIODevice.OpenMode(QIODevice.OpenMode)");


static pyqt5ClassPluginDef plugin_QIODevice_OpenMode = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QIODevice_OpenMode = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QIODevice__OpenMode,
        {0},
        &plugin_QIODevice_OpenMode
    },
    {
        sipNameNr_OpenMode,
        {84, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QIODevice_OpenMode,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QIODevice_OpenMode,
    init_type_QIODevice_OpenMode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QIODevice_OpenMode,
    assign_QIODevice_OpenMode,
    array_QIODevice_OpenMode,
    copy_QIODevice_OpenMode,
    release_QIODevice_OpenMode,
    0,
    convertTo_QIODevice_OpenMode,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qidentityproxymodel.sip"
#include <qidentityproxymodel.h>
#line 120055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 120059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 120062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 120065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 120071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 120074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 120080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 120083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 120089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 120092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 120095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 120101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 120104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 120107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 120110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 120113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 120116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 120119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 120131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 120134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 120137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 120140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 120146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 120149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 120152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQIdentityProxyModel : public  ::QIdentityProxyModel
{
public:
    sipQIdentityProxyModel( ::QObject*);
    virtual ~sipQIdentityProxyModel();

    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;
    void sipProtect_encodeData(const  ::QModelIndexList&, ::QDataStream&) const;
    bool sipProtect_decodeData(int,int,const  ::QModelIndex&, ::QDataStream&);
    void sipProtect_beginInsertRows(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
     ::QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_changePersistentIndex(const  ::QModelIndex&,const  ::QModelIndex&);
    void sipProtect_changePersistentIndexList(const  ::QModelIndexList&,const  ::QModelIndexList&);
     ::QModelIndex sipProtect_createIndex(int,int,void*) const;
    bool sipProtect_beginMoveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_resetInternalData();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool moveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool moveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool canDropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&) const;
    QHash<int, ::QByteArray> roleNames() const;
     ::Qt::DropActions supportedDragActions() const;
    void revert();
    bool submit();
     ::QSize span(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QModelIndex buddy(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    bool canFetchMore(const  ::QModelIndex&) const;
    void fetchMore(const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool insertRows(int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
     ::QStringList mimeTypes() const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant data(const  ::QModelIndex&,int) const;
    bool hasChildren(const  ::QModelIndex&) const;
    int columnCount(const  ::QModelIndex&) const;
    int rowCount(const  ::QModelIndex&) const;
     ::QModelIndex sibling(int,int,const  ::QModelIndex&) const;
     ::QModelIndex parent(const  ::QModelIndex&) const;
     ::QModelIndex index(int,int,const  ::QModelIndex&) 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&);
    void setSourceModel( ::QAbstractItemModel*);
     ::QModelIndex mapToSource(const  ::QModelIndex&) const;
     ::QModelIndex mapFromSource(const  ::QModelIndex&) const;
     ::QItemSelection mapSelectionToSource(const  ::QItemSelection&) const;
     ::QItemSelection mapSelectionFromSource(const  ::QItemSelection&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQIdentityProxyModel(const sipQIdentityProxyModel &);
    sipQIdentityProxyModel &operator = (const sipQIdentityProxyModel &);

    char sipPyMethods[46];
};

sipQIdentityProxyModel::sipQIdentityProxyModel( ::QObject*a0):  ::QIdentityProxyModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQIdentityProxyModel::~sipQIdentityProxyModel()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQIdentityProxyModel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QIdentityProxyModel);

    return  ::QIdentityProxyModel::metaObject();
}

int sipQIdentityProxyModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QIdentityProxyModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QIdentityProxyModel,_c,_id,_a);

    return _id;
}

void *sipQIdentityProxyModel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QIdentityProxyModel, _clname, &sipCpp) ? sipCpp :  ::QIdentityProxyModel::qt_metacast(_clname));
}

bool sipQIdentityProxyModel::moveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return  ::QIdentityProxyModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQIdentityProxyModel::moveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return  ::QIdentityProxyModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQIdentityProxyModel::canDropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return  ::QIdentityProxyModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QHash<int, ::QByteArray> sipQIdentityProxyModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return  ::QIdentityProxyModel::roleNames();

    extern QHash<int, ::QByteArray> sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_39(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::Qt::DropActions sipQIdentityProxyModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return  ::QIdentityProxyModel::supportedDragActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQIdentityProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::QIdentityProxyModel::revert();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIdentityProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::QIdentityProxyModel::submit();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::QSize sipQIdentityProxyModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::QIdentityProxyModel::span(a0);

    extern  ::QSize sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_38(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQIdentityProxyModel::match(const  ::QModelIndex& a0,int a1,const  ::QVariant& a2,int a3, ::Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::QIdentityProxyModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_QtCore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_QtCore_37(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QModelIndex sipQIdentityProxyModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::QIdentityProxyModel::buddy(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::QIdentityProxyModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::Qt::ItemFlags sipQIdentityProxyModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QIdentityProxyModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIdentityProxyModel::canFetchMore(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::QIdentityProxyModel::canFetchMore(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::QIdentityProxyModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIdentityProxyModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::QIdentityProxyModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQIdentityProxyModel::removeRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::QIdentityProxyModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQIdentityProxyModel::insertColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::QIdentityProxyModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQIdentityProxyModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::QIdentityProxyModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::Qt::DropActions sipQIdentityProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QIdentityProxyModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIdentityProxyModel::dropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QIdentityProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QMimeData* sipQIdentityProxyModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QIdentityProxyModel::mimeData(a0);

    extern  ::QMimeData* sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QStringList sipQIdentityProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QIdentityProxyModel::mimeTypes();

    extern  ::QStringList sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_29(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIdentityProxyModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return  ::QIdentityProxyModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

QMap<int, ::QVariant> sipQIdentityProxyModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return  ::QIdentityProxyModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIdentityProxyModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return  ::QIdentityProxyModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QVariant sipQIdentityProxyModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::QIdentityProxyModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQIdentityProxyModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::QIdentityProxyModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QVariant sipQIdentityProxyModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return  ::QIdentityProxyModel::data(a0,a1);

    extern  ::QVariant sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQIdentityProxyModel::hasChildren(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return  ::QIdentityProxyModel::hasChildren(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQIdentityProxyModel::columnCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return  ::QIdentityProxyModel::columnCount(a0);

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQIdentityProxyModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return  ::QIdentityProxyModel::rowCount(a0);

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQIdentityProxyModel::sibling(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return  ::QIdentityProxyModel::sibling(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndex sipQIdentityProxyModel::parent(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return  ::QIdentityProxyModel::parent(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQIdentityProxyModel::index(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return  ::QIdentityProxyModel::index(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQIdentityProxyModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QIdentityProxyModel::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIdentityProxyModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QIdentityProxyModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQIdentityProxyModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QIdentityProxyModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QIdentityProxyModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QIdentityProxyModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QIdentityProxyModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QIdentityProxyModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIdentityProxyModel::setSourceModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
         ::QIdentityProxyModel::setSourceModel(a0);
        return;
    }

    extern void sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_QtCore_42(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQIdentityProxyModel::mapToSource(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_mapToSource);

    if (!sipMeth)
        return  ::QIdentityProxyModel::mapToSource(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQIdentityProxyModel::mapFromSource(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_mapFromSource);

    if (!sipMeth)
        return  ::QIdentityProxyModel::mapFromSource(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QItemSelection sipQIdentityProxyModel::mapSelectionToSource(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return  ::QIdentityProxyModel::mapSelectionToSource(a0);

    extern  ::QItemSelection sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QItemSelection sipQIdentityProxyModel::mapSelectionFromSource(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return  ::QIdentityProxyModel::mapSelectionFromSource(a0);

    extern  ::QItemSelection sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQIdentityProxyModel::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQIdentityProxyModel::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQIdentityProxyModel::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQIdentityProxyModel::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQIdentityProxyModel::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQIdentityProxyModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQIdentityProxyModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQIdentityProxyModel::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQIdentityProxyModel::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQIdentityProxyModel::sipProtect_encodeData(const  ::QModelIndexList& a0, ::QDataStream& a1) const
{
     ::QAbstractItemModel::encodeData(a0,a1);
}

bool sipQIdentityProxyModel::sipProtect_decodeData(int a0,int a1,const  ::QModelIndex& a2, ::QDataStream& a3)
{
    return  ::QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipQIdentityProxyModel::sipProtect_beginInsertRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipQIdentityProxyModel::sipProtect_endInsertRows()
{
     ::QAbstractItemModel::endInsertRows();
}

void sipQIdentityProxyModel::sipProtect_beginRemoveRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipQIdentityProxyModel::sipProtect_endRemoveRows()
{
     ::QAbstractItemModel::endRemoveRows();
}

void sipQIdentityProxyModel::sipProtect_beginInsertColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipQIdentityProxyModel::sipProtect_endInsertColumns()
{
     ::QAbstractItemModel::endInsertColumns();
}

void sipQIdentityProxyModel::sipProtect_beginRemoveColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipQIdentityProxyModel::sipProtect_endRemoveColumns()
{
     ::QAbstractItemModel::endRemoveColumns();
}

 ::QModelIndexList sipQIdentityProxyModel::sipProtect_persistentIndexList() const
{
    return  ::QAbstractItemModel::persistentIndexList();
}

void sipQIdentityProxyModel::sipProtect_changePersistentIndex(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
     ::QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipQIdentityProxyModel::sipProtect_changePersistentIndexList(const  ::QModelIndexList& a0,const  ::QModelIndexList& a1)
{
     ::QAbstractItemModel::changePersistentIndexList(a0,a1);
}

 ::QModelIndex sipQIdentityProxyModel::sipProtect_createIndex(int a0,int a1,void*a2) const
{
    return  ::QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipQIdentityProxyModel::sipProtect_beginMoveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipQIdentityProxyModel::sipProtect_endMoveRows()
{
     ::QAbstractItemModel::endMoveRows();
}

bool sipQIdentityProxyModel::sipProtect_beginMoveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipQIdentityProxyModel::sipProtect_endMoveColumns()
{
     ::QAbstractItemModel::endMoveColumns();
}

void sipQIdentityProxyModel::sipProtect_beginResetModel()
{
     ::QAbstractItemModel::beginResetModel();
}

void sipQIdentityProxyModel::sipProtect_endResetModel()
{
     ::QAbstractItemModel::endResetModel();
}

void sipQIdentityProxyModel::sipProtect_resetInternalData()
{
     ::QAbstractProxyModel::resetInternalData();
}


PyDoc_STRVAR(doc_QIdentityProxyModel_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QIdentityProxyModel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 121208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_sender, doc_QIdentityProxyModel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QIdentityProxyModel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 121268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QIdentityProxyModel, sipName_receivers, doc_QIdentityProxyModel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QIdentityProxyModel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QIdentityProxyModel, &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_QIdentityProxyModel, sipName_timerEvent, doc_QIdentityProxyModel_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QIdentityProxyModel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QIdentityProxyModel, &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_QIdentityProxyModel, sipName_childEvent, doc_QIdentityProxyModel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QIdentityProxyModel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QIdentityProxyModel, &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_QIdentityProxyModel, sipName_customEvent, doc_QIdentityProxyModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QIdentityProxyModel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QIdentityProxyModel, &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_QIdentityProxyModel, sipName_connectNotify, doc_QIdentityProxyModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QIdentityProxyModel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QIdentityProxyModel, &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_QIdentityProxyModel, sipName_disconnectNotify, doc_QIdentityProxyModel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QIdentityProxyModel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_senderSignalIndex, doc_QIdentityProxyModel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QIdentityProxyModel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QIdentityProxyModel, &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_QIdentityProxyModel, sipName_isSignalConnected, doc_QIdentityProxyModel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_encodeData, "encodeData(self, object, QDataStream)");

extern "C" {static PyObject *meth_QIdentityProxyModel_encodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_encodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
         ::QDataStream* a1;
        const sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            sipCpp->sipProtect_encodeData(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_encodeData, doc_QIdentityProxyModel_encodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_decodeData, "decodeData(self, int, int, QModelIndex, QDataStream) -> bool");

extern "C" {static PyObject *meth_QIdentityProxyModel_decodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_decodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
         ::QDataStream* a3;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ9J9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_decodeData, doc_QIdentityProxyModel_decodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_beginInsertRows, "beginInsertRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QIdentityProxyModel_beginInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_beginInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_beginInsertRows, doc_QIdentityProxyModel_beginInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_endInsertRows, "endInsertRows(self)");

extern "C" {static PyObject *meth_QIdentityProxyModel_endInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_endInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_endInsertRows, doc_QIdentityProxyModel_endInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_beginRemoveRows, "beginRemoveRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QIdentityProxyModel_beginRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_beginRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_beginRemoveRows, doc_QIdentityProxyModel_beginRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_endRemoveRows, "endRemoveRows(self)");

extern "C" {static PyObject *meth_QIdentityProxyModel_endRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_endRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_endRemoveRows, doc_QIdentityProxyModel_endRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_beginInsertColumns, "beginInsertColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QIdentityProxyModel_beginInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_beginInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_beginInsertColumns, doc_QIdentityProxyModel_beginInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_endInsertColumns, "endInsertColumns(self)");

extern "C" {static PyObject *meth_QIdentityProxyModel_endInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_endInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_endInsertColumns, doc_QIdentityProxyModel_endInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_beginRemoveColumns, "beginRemoveColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QIdentityProxyModel_beginRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_beginRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_beginRemoveColumns, doc_QIdentityProxyModel_beginRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_endRemoveColumns, "endRemoveColumns(self)");

extern "C" {static PyObject *meth_QIdentityProxyModel_endRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_endRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_endRemoveColumns, doc_QIdentityProxyModel_endRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_persistentIndexList, "persistentIndexList(self) -> object");

extern "C" {static PyObject *meth_QIdentityProxyModel_persistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_persistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->sipProtect_persistentIndexList());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_persistentIndexList, doc_QIdentityProxyModel_persistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_changePersistentIndex, "changePersistentIndex(self, QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QIdentityProxyModel_changePersistentIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_changePersistentIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_changePersistentIndex, doc_QIdentityProxyModel_changePersistentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_changePersistentIndexList, "changePersistentIndexList(self, object, object)");

extern "C" {static PyObject *meth_QIdentityProxyModel_changePersistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_changePersistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::QModelIndexList* a1;
        int a1State = 0;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast< ::QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_changePersistentIndexList, doc_QIdentityProxyModel_changePersistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_createIndex, "createIndex(self, int, int, object: object = 0) -> QModelIndex");

extern "C" {static PyObject *meth_QIdentityProxyModel_createIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_createIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        const sipQIdentityProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|P0", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0, &a1, &a2))
        {
             ::QModelIndex*sipRes = 0;

#line 194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        // The Qt API is broken (and won't be fixed as it would break binary
        // compatibility) regarding the internal id of a model index on different
        // architectures (32 vs 64 bits).  We choose to work around the breakage as it
        // is fairly subtle and continues to catch people out.  Instead of letting Qt
        // convert betweed an integer id and a pointer id (the internal format used by
        // Qt) we let Python do it.
        
        void *ptr;
        
        if (a2)
        {
            // Try and convert it to a Python long and fallback to the object's
            // address if it fails.
            ptr = PyLong_AsVoidPtr(a2);
        
            if (PyErr_Occurred())
            {
                PyErr_Clear();
                ptr = a2;
            }
        }
        else
        {
            ptr = 0;
        }
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = new QModelIndex(sipCpp->createIndex(a0, a1, ptr));
        #else
        sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr));
        #endif
#line 121928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_createIndex, doc_QIdentityProxyModel_createIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_beginMoveRows, "beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QIdentityProxyModel_beginMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_beginMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_beginMoveRows, doc_QIdentityProxyModel_beginMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_endMoveRows, "endMoveRows(self)");

extern "C" {static PyObject *meth_QIdentityProxyModel_endMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_endMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_endMoveRows, doc_QIdentityProxyModel_endMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_beginMoveColumns, "beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QIdentityProxyModel_beginMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_beginMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_beginMoveColumns, doc_QIdentityProxyModel_beginMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_endMoveColumns, "endMoveColumns(self)");

extern "C" {static PyObject *meth_QIdentityProxyModel_endMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_endMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_endMoveColumns, doc_QIdentityProxyModel_endMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_beginResetModel, "beginResetModel(self)");

extern "C" {static PyObject *meth_QIdentityProxyModel_beginResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_beginResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_beginResetModel, doc_QIdentityProxyModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_endResetModel, "endResetModel(self)");

extern "C" {static PyObject *meth_QIdentityProxyModel_endResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_endResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_endResetModel, doc_QIdentityProxyModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_resetInternalData, "resetInternalData(self)");

extern "C" {static PyObject *meth_QIdentityProxyModel_resetInternalData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_resetInternalData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQIdentityProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIdentityProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_resetInternalData();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_resetInternalData, doc_QIdentityProxyModel_resetInternalData);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_columnCount, "columnCount(self, parent: QModelIndex = QModelIndex()) -> int");

extern "C" {static PyObject *meth_QIdentityProxyModel_columnCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_columnCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::QIdentityProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::columnCount(*a0) : sipCpp->columnCount(*a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_columnCount, doc_QIdentityProxyModel_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_index, "index(self, int, int, parent: QModelIndex = QModelIndex()) -> QModelIndex");

extern "C" {static PyObject *meth_QIdentityProxyModel_index(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_index(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
        const  ::QIdentityProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_index, doc_QIdentityProxyModel_index);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_mapFromSource, "mapFromSource(self, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QIdentityProxyModel_mapFromSource(PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_mapFromSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::mapFromSource(*a0) : sipCpp->mapFromSource(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_mapFromSource, doc_QIdentityProxyModel_mapFromSource);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_mapToSource, "mapToSource(self, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QIdentityProxyModel_mapToSource(PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_mapToSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::mapToSource(*a0) : sipCpp->mapToSource(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_mapToSource, doc_QIdentityProxyModel_mapToSource);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_parent, "parent(self, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QIdentityProxyModel_parent(PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::parent(*a0) : sipCpp->parent(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_parent, doc_QIdentityProxyModel_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_rowCount, "rowCount(self, parent: QModelIndex = QModelIndex()) -> int");

extern "C" {static PyObject *meth_QIdentityProxyModel_rowCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_rowCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::QIdentityProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::rowCount(*a0) : sipCpp->rowCount(*a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_rowCount, doc_QIdentityProxyModel_rowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_dropMimeData, "dropMimeData(self, QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QIdentityProxyModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMimeData* a0;
         ::Qt::DropAction a1;
        int a2;
        int a3;
        const  ::QModelIndex* a4;
         ::QIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_dropMimeData, doc_QIdentityProxyModel_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_mapSelectionFromSource, "mapSelectionFromSource(self, QItemSelection) -> QItemSelection");

extern "C" {static PyObject *meth_QIdentityProxyModel_mapSelectionFromSource(PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_mapSelectionFromSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QItemSelection* a0;
        const  ::QIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QItemSelection, &a0))
        {
             ::QItemSelection*sipRes;

            sipRes = new  ::QItemSelection((sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::mapSelectionFromSource(*a0) : sipCpp->mapSelectionFromSource(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_mapSelectionFromSource, doc_QIdentityProxyModel_mapSelectionFromSource);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_mapSelectionToSource, "mapSelectionToSource(self, QItemSelection) -> QItemSelection");

extern "C" {static PyObject *meth_QIdentityProxyModel_mapSelectionToSource(PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_mapSelectionToSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QItemSelection* a0;
        const  ::QIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QItemSelection, &a0))
        {
             ::QItemSelection*sipRes;

            sipRes = new  ::QItemSelection((sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::mapSelectionToSource(*a0) : sipCpp->mapSelectionToSource(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_mapSelectionToSource, doc_QIdentityProxyModel_mapSelectionToSource);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_match, "match(self, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) -> object");

extern "C" {static PyObject *meth_QIdentityProxyModel_match(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_match(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1;
        const  ::QVariant* a2;
        int a2State = 0;
        int a3 = 1;
         ::Qt::MatchFlags a4def = Qt::MatchStartsWith|Qt::MatchWrap;
         ::Qt::MatchFlags* a4 = &a4def;
        int a4State = 0;
        const  ::QIdentityProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_hits,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9iJ1|iJ1", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, sipType_QVariant, &a2, &a2State, &a3, sipType_Qt_MatchFlags, &a4, &a4State))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList((sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::match(*a0,a1,*a2,a3,*a4) : sipCpp->match(*a0,a1,*a2,a3,*a4)));
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(a4,sipType_Qt_MatchFlags,a4State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_match, doc_QIdentityProxyModel_match);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_setSourceModel, "setSourceModel(self, QAbstractItemModel)");

extern "C" {static PyObject *meth_QIdentityProxyModel_setSourceModel(PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_setSourceModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractItemModel* a0;
        PyObject *a0Keep;
         ::QIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::setSourceModel(a0) : sipCpp->setSourceModel(a0));

            sipKeepReference(sipSelf, -2, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_setSourceModel, doc_QIdentityProxyModel_setSourceModel);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_insertColumns, "insertColumns(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QIdentityProxyModel_insertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_insertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QIdentityProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::insertColumns(a0,a1,*a2) : sipCpp->insertColumns(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_insertColumns, doc_QIdentityProxyModel_insertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_insertRows, "insertRows(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QIdentityProxyModel_insertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_insertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QIdentityProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::insertRows(a0,a1,*a2) : sipCpp->insertRows(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_insertRows, doc_QIdentityProxyModel_insertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_removeColumns, "removeColumns(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QIdentityProxyModel_removeColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_removeColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QIdentityProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::removeColumns(a0,a1,*a2) : sipCpp->removeColumns(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_removeColumns, doc_QIdentityProxyModel_removeColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_removeRows, "removeRows(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QIdentityProxyModel_removeRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_removeRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QIdentityProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::removeRows(a0,a1,*a2) : sipCpp->removeRows(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_removeRows, doc_QIdentityProxyModel_removeRows);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_headerData, "headerData(self, int, Qt.Orientation, role: int = Qt.DisplayRole) -> Any");

extern "C" {static PyObject *meth_QIdentityProxyModel_headerData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_headerData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        const  ::QIdentityProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiE|i", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_headerData, doc_QIdentityProxyModel_headerData);

    return NULL;
}


PyDoc_STRVAR(doc_QIdentityProxyModel_sibling, "sibling(self, int, int, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QIdentityProxyModel_sibling(PyObject *, PyObject *);}
static PyObject *meth_QIdentityProxyModel_sibling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
        const  ::QIdentityProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9", &sipSelf, sipType_QIdentityProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QIdentityProxyModel::sibling(a0,a1,*a2) : sipCpp->sibling(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIdentityProxyModel, sipName_sibling, doc_QIdentityProxyModel_sibling);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QIdentityProxyModel(void *, const sipTypeDef *);}
static void *cast_QIdentityProxyModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QIdentityProxyModel *sipCpp = reinterpret_cast< ::QIdentityProxyModel *>(sipCppV);

    if (targetType == sipType_QAbstractProxyModel)
        return static_cast< ::QAbstractProxyModel *>(sipCpp);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QIdentityProxyModel(void *, int);}
static void release_QIdentityProxyModel(void *sipCppV, int)
{
     ::QIdentityProxyModel *sipCpp = reinterpret_cast< ::QIdentityProxyModel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QIdentityProxyModel(sipSimpleWrapper *);}
static void dealloc_QIdentityProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQIdentityProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QIdentityProxyModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QIdentityProxyModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QIdentityProxyModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQIdentityProxyModel *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 sipQIdentityProxyModel(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QIdentityProxyModel[] = {{10, 255, 1}};


static PyMethodDef methods_QIdentityProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), (PyCFunction)meth_QIdentityProxyModel_beginInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), (PyCFunction)meth_QIdentityProxyModel_beginInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), (PyCFunction)meth_QIdentityProxyModel_beginMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), (PyCFunction)meth_QIdentityProxyModel_beginMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), (PyCFunction)meth_QIdentityProxyModel_beginRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), (PyCFunction)meth_QIdentityProxyModel_beginRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginResetModel), (PyCFunction)meth_QIdentityProxyModel_beginResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), (PyCFunction)meth_QIdentityProxyModel_changePersistentIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), (PyCFunction)meth_QIdentityProxyModel_changePersistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QIdentityProxyModel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), (PyCFunction)meth_QIdentityProxyModel_columnCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_columnCount)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QIdentityProxyModel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), (PyCFunction)meth_QIdentityProxyModel_createIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QIdentityProxyModel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeData), (PyCFunction)meth_QIdentityProxyModel_decodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QIdentityProxyModel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_QIdentityProxyModel_dropMimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_encodeData), (PyCFunction)meth_QIdentityProxyModel_encodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), (PyCFunction)meth_QIdentityProxyModel_endInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), (PyCFunction)meth_QIdentityProxyModel_endInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), (PyCFunction)meth_QIdentityProxyModel_endMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveRows), (PyCFunction)meth_QIdentityProxyModel_endMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), (PyCFunction)meth_QIdentityProxyModel_endRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), (PyCFunction)meth_QIdentityProxyModel_endRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endResetModel), (PyCFunction)meth_QIdentityProxyModel_endResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_headerData), (PyCFunction)meth_QIdentityProxyModel_headerData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_headerData)},
    {SIP_MLNAME_CAST(sipName_index), (PyCFunction)meth_QIdentityProxyModel_index, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_index)},
    {SIP_MLNAME_CAST(sipName_insertColumns), (PyCFunction)meth_QIdentityProxyModel_insertColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_insertColumns)},
    {SIP_MLNAME_CAST(sipName_insertRows), (PyCFunction)meth_QIdentityProxyModel_insertRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_insertRows)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QIdentityProxyModel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mapFromSource), meth_QIdentityProxyModel_mapFromSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_mapFromSource)},
    {SIP_MLNAME_CAST(sipName_mapSelectionFromSource), meth_QIdentityProxyModel_mapSelectionFromSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_mapSelectionFromSource)},
    {SIP_MLNAME_CAST(sipName_mapSelectionToSource), meth_QIdentityProxyModel_mapSelectionToSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_mapSelectionToSource)},
    {SIP_MLNAME_CAST(sipName_mapToSource), meth_QIdentityProxyModel_mapToSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_mapToSource)},
    {SIP_MLNAME_CAST(sipName_match), (PyCFunction)meth_QIdentityProxyModel_match, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_match)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QIdentityProxyModel_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_parent)},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), (PyCFunction)meth_QIdentityProxyModel_persistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QIdentityProxyModel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeColumns), (PyCFunction)meth_QIdentityProxyModel_removeColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_removeColumns)},
    {SIP_MLNAME_CAST(sipName_removeRows), (PyCFunction)meth_QIdentityProxyModel_removeRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_removeRows)},
    {SIP_MLNAME_CAST(sipName_resetInternalData), (PyCFunction)meth_QIdentityProxyModel_resetInternalData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), (PyCFunction)meth_QIdentityProxyModel_rowCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_rowCount)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QIdentityProxyModel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QIdentityProxyModel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSourceModel), meth_QIdentityProxyModel_setSourceModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_setSourceModel)},
    {SIP_MLNAME_CAST(sipName_sibling), meth_QIdentityProxyModel_sibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QIdentityProxyModel_sibling)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QIdentityProxyModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QIdentityProxyModel, "\1QIdentityProxyModel(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QIdentityProxyModel = {
    & ::QIdentityProxyModel::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QIdentityProxyModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QIdentityProxyModel,
        {0},
        &plugin_QIdentityProxyModel
    },
    {
        sipNameNr_QIdentityProxyModel,
        {0, 0, 1},
        47, methods_QIdentityProxyModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QIdentityProxyModel,
    -1,
    -1,
    supers_QIdentityProxyModel,
    0,
    init_type_QIdentityProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QIdentityProxyModel,
    0,
    0,
    0,
    release_QIdentityProxyModel,
    cast_QIdentityProxyModel,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qhistorystate.sip"
#include <qhistorystate.h>
#line 122932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 122936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 122939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 122942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 122945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 122948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 122951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 122954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 122957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 122960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 122963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 122966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 122969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 122972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 122975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 122978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 122981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 122984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 122987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 122990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 122993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQHistoryState : public  ::QHistoryState
{
public:
    sipQHistoryState( ::QState*);
    sipQHistoryState( ::QHistoryState::HistoryType, ::QState*);
    virtual ~sipQHistoryState();

    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;
    void sipProtectVirt_onEntry(bool, ::QEvent*);
    void sipProtectVirt_onExit(bool, ::QEvent*);
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void onEntry( ::QEvent*);
    void onExit( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQHistoryState(const sipQHistoryState &);
    sipQHistoryState &operator = (const sipQHistoryState &);

    char sipPyMethods[9];
};

sipQHistoryState::sipQHistoryState( ::QState*a0):  ::QHistoryState(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQHistoryState::sipQHistoryState( ::QHistoryState::HistoryType a0, ::QState*a1):  ::QHistoryState(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQHistoryState::~sipQHistoryState()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQHistoryState::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QHistoryState);

    return  ::QHistoryState::metaObject();
}

int sipQHistoryState::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QHistoryState::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QHistoryState,_c,_id,_a);

    return _id;
}

void *sipQHistoryState::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QHistoryState, _clname, &sipCpp) ? sipCpp :  ::QHistoryState::qt_metacast(_clname));
}

void sipQHistoryState::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QHistoryState::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQHistoryState::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QHistoryState::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQHistoryState::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QHistoryState::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQHistoryState::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QHistoryState::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQHistoryState::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QHistoryState::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQHistoryState::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QHistoryState::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQHistoryState::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QHistoryState::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQHistoryState::onEntry( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_onEntry);

    if (!sipMeth)
    {
         ::QHistoryState::onEntry(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQHistoryState::onExit( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_onExit);

    if (!sipMeth)
    {
         ::QHistoryState::onExit(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQHistoryState::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQHistoryState::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQHistoryState::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQHistoryState::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQHistoryState::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQHistoryState::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQHistoryState::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQHistoryState::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQHistoryState::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQHistoryState::sipProtectVirt_onEntry(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QHistoryState::onEntry(a0) : onEntry(a0));
}

void sipQHistoryState::sipProtectVirt_onExit(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QHistoryState::onExit(a0) : onExit(a0));
}

bool sipQHistoryState::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QHistoryState::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QHistoryState_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QHistoryState_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHistoryState, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 123349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_sender, doc_QHistoryState_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QHistoryState_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QHistoryState, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 123409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QHistoryState, sipName_receivers, doc_QHistoryState_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QHistoryState_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHistoryState, &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_QHistoryState, sipName_timerEvent, doc_QHistoryState_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QHistoryState_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHistoryState, &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_QHistoryState, sipName_childEvent, doc_QHistoryState_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QHistoryState_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHistoryState, &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_QHistoryState, sipName_customEvent, doc_QHistoryState_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QHistoryState_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHistoryState, &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_QHistoryState, sipName_connectNotify, doc_QHistoryState_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QHistoryState_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHistoryState, &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_QHistoryState, sipName_disconnectNotify, doc_QHistoryState_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QHistoryState_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHistoryState, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_senderSignalIndex, doc_QHistoryState_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QHistoryState_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHistoryState, &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_QHistoryState, sipName_isSignalConnected, doc_QHistoryState_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_defaultState, "defaultState(self) -> QAbstractState");

extern "C" {static PyObject *meth_QHistoryState_defaultState(PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_defaultState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QHistoryState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHistoryState, &sipCpp))
        {
             ::QAbstractState*sipRes;

            sipRes = sipCpp->defaultState();

            return sipConvertFromType(sipRes,sipType_QAbstractState,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_defaultState, doc_QHistoryState_defaultState);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_setDefaultState, "setDefaultState(self, QAbstractState)");

extern "C" {static PyObject *meth_QHistoryState_setDefaultState(PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_setDefaultState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractState* a0;
        PyObject *a0Keep;
         ::QHistoryState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QHistoryState, &sipCpp, &a0Keep, sipType_QAbstractState, &a0))
        {
            sipCpp->setDefaultState(a0);

            sipKeepReference(sipSelf, 0, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_setDefaultState, doc_QHistoryState_setDefaultState);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_historyType, "historyType(self) -> QHistoryState.HistoryType");

extern "C" {static PyObject *meth_QHistoryState_historyType(PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_historyType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QHistoryState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHistoryState, &sipCpp))
        {
             ::QHistoryState::HistoryType sipRes;

            sipRes = sipCpp->historyType();

            return sipConvertFromEnum(sipRes,sipType_QHistoryState_HistoryType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_historyType, doc_QHistoryState_historyType);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_setHistoryType, "setHistoryType(self, QHistoryState.HistoryType)");

extern "C" {static PyObject *meth_QHistoryState_setHistoryType(PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_setHistoryType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QHistoryState::HistoryType a0;
         ::QHistoryState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QHistoryState, &sipCpp, sipType_QHistoryState_HistoryType, &a0))
        {
            sipCpp->setHistoryType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_setHistoryType, doc_QHistoryState_setHistoryType);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_onEntry, "onEntry(self, QEvent)");

extern "C" {static PyObject *meth_QHistoryState_onEntry(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_onEntry(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHistoryState, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onEntry(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_onEntry, doc_QHistoryState_onEntry);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_onExit, "onExit(self, QEvent)");

extern "C" {static PyObject *meth_QHistoryState_onExit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_onExit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHistoryState, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onExit(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_onExit, doc_QHistoryState_onExit);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QHistoryState_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQHistoryState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHistoryState, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_event, doc_QHistoryState_event);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_defaultTransition, "defaultTransition(self) -> QAbstractTransition");

extern "C" {static PyObject *meth_QHistoryState_defaultTransition(PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_defaultTransition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QHistoryState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHistoryState, &sipCpp))
        {
             ::QAbstractTransition*sipRes;

            sipRes = sipCpp->defaultTransition();

            return sipConvertFromType(sipRes,sipType_QAbstractTransition,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_defaultTransition, doc_QHistoryState_defaultTransition);

    return NULL;
}


PyDoc_STRVAR(doc_QHistoryState_setDefaultTransition, "setDefaultTransition(self, QAbstractTransition)");

extern "C" {static PyObject *meth_QHistoryState_setDefaultTransition(PyObject *, PyObject *);}
static PyObject *meth_QHistoryState_setDefaultTransition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractTransition* a0;
        PyObject *a0Keep;
         ::QHistoryState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QHistoryState, &sipCpp, &a0Keep, sipType_QAbstractTransition, &a0))
        {
            sipCpp->setDefaultTransition(a0);

            sipKeepReference(sipSelf, 1, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHistoryState, sipName_setDefaultTransition, doc_QHistoryState_setDefaultTransition);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QHistoryState(void *, const sipTypeDef *);}
static void *cast_QHistoryState(void *sipCppV, const sipTypeDef *targetType)
{
     ::QHistoryState *sipCpp = reinterpret_cast< ::QHistoryState *>(sipCppV);

    if (targetType == sipType_QAbstractState)
        return static_cast< ::QAbstractState *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QHistoryState(void *, int);}
static void release_QHistoryState(void *sipCppV, int)
{
     ::QHistoryState *sipCpp = reinterpret_cast< ::QHistoryState *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QHistoryState(sipSimpleWrapper *);}
static void dealloc_QHistoryState(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQHistoryState *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QHistoryState(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QHistoryState(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QHistoryState(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQHistoryState *sipCpp = 0;

    {
         ::QState* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QState, &a0, sipOwner))
        {
            sipCpp = new sipQHistoryState(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QHistoryState::HistoryType a0;
         ::QState* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_QHistoryState_HistoryType, &a0, sipType_QState, &a1, sipOwner))
        {
            sipCpp = new sipQHistoryState(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QHistoryState[] = {{11, 255, 1}};


static PyMethodDef methods_QHistoryState[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QHistoryState_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QHistoryState_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QHistoryState_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultState), meth_QHistoryState_defaultState, METH_VARARGS, SIP_MLDOC_CAST(doc_QHistoryState_defaultState)},
    {SIP_MLNAME_CAST(sipName_defaultTransition), meth_QHistoryState_defaultTransition, METH_VARARGS, SIP_MLDOC_CAST(doc_QHistoryState_defaultTransition)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QHistoryState_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QHistoryState_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHistoryState_event)},
    {SIP_MLNAME_CAST(sipName_historyType), meth_QHistoryState_historyType, METH_VARARGS, SIP_MLDOC_CAST(doc_QHistoryState_historyType)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QHistoryState_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_onEntry), (PyCFunction)meth_QHistoryState_onEntry, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHistoryState_onEntry)},
    {SIP_MLNAME_CAST(sipName_onExit), (PyCFunction)meth_QHistoryState_onExit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHistoryState_onExit)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QHistoryState_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QHistoryState_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QHistoryState_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultState), meth_QHistoryState_setDefaultState, METH_VARARGS, SIP_MLDOC_CAST(doc_QHistoryState_setDefaultState)},
    {SIP_MLNAME_CAST(sipName_setDefaultTransition), meth_QHistoryState_setDefaultTransition, METH_VARARGS, SIP_MLDOC_CAST(doc_QHistoryState_setDefaultTransition)},
    {SIP_MLNAME_CAST(sipName_setHistoryType), meth_QHistoryState_setHistoryType, METH_VARARGS, SIP_MLDOC_CAST(doc_QHistoryState_setHistoryType)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QHistoryState_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QHistoryState[] = {
    {sipName_DeepHistory, static_cast<int>( ::QHistoryState::DeepHistory), 83},
    {sipName_ShallowHistory, static_cast<int>( ::QHistoryState::ShallowHistory), 83},
};

PyDoc_STRVAR(doc_QHistoryState, "\1QHistoryState(parent: QState = None)\n"
    "QHistoryState(QHistoryState.HistoryType, parent: QState = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QHistoryState[] = {
    {"defaultTransitionChanged()", "\1defaultTransitionChanged(self)", 0, 0},
    {"historyTypeChanged()", "\1historyTypeChanged(self)", 0, 0},
    {"defaultStateChanged()", "\1defaultStateChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QHistoryState = {
    & ::QHistoryState::staticMetaObject,
    0,
    signals_QHistoryState,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QHistoryState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QHistoryState,
        {0},
        &plugin_QHistoryState
    },
    {
        sipNameNr_QHistoryState,
        {0, 0, 1},
        18, methods_QHistoryState,
        2, enummembers_QHistoryState,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QHistoryState,
    -1,
    -1,
    supers_QHistoryState,
    0,
    init_type_QHistoryState,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QHistoryState,
    0,
    0,
    0,
    release_QHistoryState,
    cast_QHistoryState,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfinalstate.sip"
#include <qfinalstate.h>
#line 124084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 124088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 124091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 124094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 124097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 124100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 124103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 124106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 124109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 124112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 124115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 124118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 124121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 124124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 124127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 124130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 124133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 124136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 124139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQFinalState : public  ::QFinalState
{
public:
    sipQFinalState( ::QState*);
    virtual ~sipQFinalState();

    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;
    void sipProtectVirt_onEntry(bool, ::QEvent*);
    void sipProtectVirt_onExit(bool, ::QEvent*);
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    void onEntry( ::QEvent*);
    void onExit( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFinalState(const sipQFinalState &);
    sipQFinalState &operator = (const sipQFinalState &);

    char sipPyMethods[9];
};

sipQFinalState::sipQFinalState( ::QState*a0):  ::QFinalState(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFinalState::~sipQFinalState()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFinalState::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QFinalState);

    return  ::QFinalState::metaObject();
}

int sipQFinalState::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QFinalState::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QFinalState,_c,_id,_a);

    return _id;
}

void *sipQFinalState::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QFinalState, _clname, &sipCpp) ? sipCpp :  ::QFinalState::qt_metacast(_clname));
}

void sipQFinalState::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QFinalState::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFinalState::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QFinalState::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFinalState::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QFinalState::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFinalState::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QFinalState::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFinalState::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QFinalState::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFinalState::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QFinalState::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQFinalState::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFinalState::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFinalState::onEntry( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_onEntry);

    if (!sipMeth)
    {
         ::QFinalState::onEntry(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFinalState::onExit( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_onExit);

    if (!sipMeth)
    {
         ::QFinalState::onExit(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQFinalState::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQFinalState::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQFinalState::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQFinalState::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQFinalState::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQFinalState::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFinalState::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFinalState::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQFinalState::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQFinalState::sipProtectVirt_onEntry(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QFinalState::onEntry(a0) : onEntry(a0));
}

void sipQFinalState::sipProtectVirt_onExit(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QFinalState::onExit(a0) : onExit(a0));
}

bool sipQFinalState::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QFinalState::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QFinalState_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QFinalState_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFinalState, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 124489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFinalState, sipName_sender, doc_QFinalState_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QFinalState_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFinalState, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 124549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QFinalState, sipName_receivers, doc_QFinalState_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QFinalState_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFinalState, &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_QFinalState, sipName_timerEvent, doc_QFinalState_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QFinalState_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFinalState, &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_QFinalState, sipName_childEvent, doc_QFinalState_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QFinalState_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFinalState, &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_QFinalState, sipName_customEvent, doc_QFinalState_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QFinalState_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFinalState, &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_QFinalState, sipName_connectNotify, doc_QFinalState_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QFinalState_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFinalState, &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_QFinalState, sipName_disconnectNotify, doc_QFinalState_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QFinalState_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFinalState, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFinalState, sipName_senderSignalIndex, doc_QFinalState_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFinalState_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFinalState, &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_QFinalState, sipName_isSignalConnected, doc_QFinalState_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_onEntry, "onEntry(self, QEvent)");

extern "C" {static PyObject *meth_QFinalState_onEntry(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_onEntry(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFinalState, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onEntry(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFinalState, sipName_onEntry, doc_QFinalState_onEntry);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_onExit, "onExit(self, QEvent)");

extern "C" {static PyObject *meth_QFinalState_onExit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_onExit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFinalState, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onExit(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFinalState, sipName_onExit, doc_QFinalState_onExit);

    return NULL;
}


PyDoc_STRVAR(doc_QFinalState_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QFinalState_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFinalState_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQFinalState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFinalState, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFinalState, sipName_event, doc_QFinalState_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QFinalState(void *, const sipTypeDef *);}
static void *cast_QFinalState(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFinalState *sipCpp = reinterpret_cast< ::QFinalState *>(sipCppV);

    if (targetType == sipType_QAbstractState)
        return static_cast< ::QAbstractState *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFinalState(void *, int);}
static void release_QFinalState(void *sipCppV, int)
{
     ::QFinalState *sipCpp = reinterpret_cast< ::QFinalState *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFinalState(sipSimpleWrapper *);}
static void dealloc_QFinalState(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFinalState *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFinalState(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QFinalState(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFinalState(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFinalState *sipCpp = 0;

    {
         ::QState* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QState, &a0, sipOwner))
        {
            sipCpp = new sipQFinalState(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFinalState[] = {{11, 255, 1}};


static PyMethodDef methods_QFinalState[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFinalState_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFinalState_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFinalState_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFinalState_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QFinalState_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFinalState_event)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFinalState_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_onEntry), (PyCFunction)meth_QFinalState_onEntry, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFinalState_onEntry)},
    {SIP_MLNAME_CAST(sipName_onExit), (PyCFunction)meth_QFinalState_onExit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFinalState_onExit)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFinalState_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFinalState_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFinalState_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFinalState_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QFinalState, "\1QFinalState(parent: QState = None)");


static pyqt5ClassPluginDef plugin_QFinalState = {
    & ::QFinalState::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QFinalState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFinalState,
        {0},
        &plugin_QFinalState
    },
    {
        sipNameNr_QFinalState,
        {0, 0, 1},
        12, methods_QFinalState,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFinalState,
    -1,
    -1,
    supers_QFinalState,
    0,
    init_type_QFinalState,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFinalState,
    0,
    0,
    0,
    release_QFinalState,
    cast_QFinalState,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfilesystemwatcher.sip"
#include <qfilesystemwatcher.h>
#line 125010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 125014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 125017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 125020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 125023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 125026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 125029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 125032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 125035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 125038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 125041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 125044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 125047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 125050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 125053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 125056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 125059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 125062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQFileSystemWatcher : public  ::QFileSystemWatcher
{
public:
    sipQFileSystemWatcher( ::QObject*);
    sipQFileSystemWatcher(const  ::QStringList&, ::QObject*);
    virtual ~sipQFileSystemWatcher();

    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 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:
    sipQFileSystemWatcher(const sipQFileSystemWatcher &);
    sipQFileSystemWatcher &operator = (const sipQFileSystemWatcher &);

    char sipPyMethods[7];
};

sipQFileSystemWatcher::sipQFileSystemWatcher( ::QObject*a0):  ::QFileSystemWatcher(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFileSystemWatcher::sipQFileSystemWatcher(const  ::QStringList& a0, ::QObject*a1):  ::QFileSystemWatcher(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFileSystemWatcher::~sipQFileSystemWatcher()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFileSystemWatcher::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QFileSystemWatcher);

    return  ::QFileSystemWatcher::metaObject();
}

int sipQFileSystemWatcher::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QFileSystemWatcher::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QFileSystemWatcher,_c,_id,_a);

    return _id;
}

void *sipQFileSystemWatcher::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QFileSystemWatcher, _clname, &sipCpp) ? sipCpp :  ::QFileSystemWatcher::qt_metacast(_clname));
}

bool sipQFileSystemWatcher::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFileSystemWatcher::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFileSystemWatcher::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QFileSystemWatcher::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQFileSystemWatcher::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QFileSystemWatcher::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QFileSystemWatcher::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QFileSystemWatcher::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QFileSystemWatcher::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QFileSystemWatcher::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQFileSystemWatcher::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQFileSystemWatcher::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQFileSystemWatcher::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQFileSystemWatcher::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQFileSystemWatcher::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQFileSystemWatcher::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFileSystemWatcher::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFileSystemWatcher::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQFileSystemWatcher::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QFileSystemWatcher_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QFileSystemWatcher_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemWatcher, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 125362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_sender, doc_QFileSystemWatcher_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QFileSystemWatcher_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 125422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QFileSystemWatcher, sipName_receivers, doc_QFileSystemWatcher_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QFileSystemWatcher_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileSystemWatcher, &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_QFileSystemWatcher, sipName_timerEvent, doc_QFileSystemWatcher_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QFileSystemWatcher_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileSystemWatcher, &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_QFileSystemWatcher, sipName_childEvent, doc_QFileSystemWatcher_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QFileSystemWatcher_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileSystemWatcher, &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_QFileSystemWatcher, sipName_customEvent, doc_QFileSystemWatcher_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QFileSystemWatcher_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileSystemWatcher, &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_QFileSystemWatcher, sipName_connectNotify, doc_QFileSystemWatcher_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QFileSystemWatcher_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileSystemWatcher, &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_QFileSystemWatcher, sipName_disconnectNotify, doc_QFileSystemWatcher_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QFileSystemWatcher_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemWatcher, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_senderSignalIndex, doc_QFileSystemWatcher_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFileSystemWatcher_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQFileSystemWatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileSystemWatcher, &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_QFileSystemWatcher, sipName_isSignalConnected, doc_QFileSystemWatcher_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_addPath, "addPath(self, str) -> bool");

extern "C" {static PyObject *meth_QFileSystemWatcher_addPath(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_addPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFileSystemWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->addPath(*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_QFileSystemWatcher, sipName_addPath, doc_QFileSystemWatcher_addPath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_addPaths, "addPaths(self, Iterable[str]) -> List[str]");

extern "C" {static PyObject *meth_QFileSystemWatcher_addPaths(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_addPaths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QFileSystemWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->addPaths(*a0));
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_addPaths, doc_QFileSystemWatcher_addPaths);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_directories, "directories(self) -> List[str]");

extern "C" {static PyObject *meth_QFileSystemWatcher_directories(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_directories(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileSystemWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemWatcher, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->directories());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_directories, doc_QFileSystemWatcher_directories);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_files, "files(self) -> List[str]");

extern "C" {static PyObject *meth_QFileSystemWatcher_files(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_files(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileSystemWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemWatcher, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->files());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_files, doc_QFileSystemWatcher_files);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_removePath, "removePath(self, str) -> bool");

extern "C" {static PyObject *meth_QFileSystemWatcher_removePath(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_removePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFileSystemWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->removePath(*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_QFileSystemWatcher, sipName_removePath, doc_QFileSystemWatcher_removePath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_removePaths, "removePaths(self, Iterable[str]) -> List[str]");

extern "C" {static PyObject *meth_QFileSystemWatcher_removePaths(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemWatcher_removePaths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QFileSystemWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->removePaths(*a0));
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_removePaths, doc_QFileSystemWatcher_removePaths);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QFileSystemWatcher(void *, const sipTypeDef *);}
static void *cast_QFileSystemWatcher(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFileSystemWatcher *sipCpp = reinterpret_cast< ::QFileSystemWatcher *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileSystemWatcher(void *, int);}
static void release_QFileSystemWatcher(void *sipCppV, int)
{
     ::QFileSystemWatcher *sipCpp = reinterpret_cast< ::QFileSystemWatcher *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFileSystemWatcher(sipSimpleWrapper *);}
static void dealloc_QFileSystemWatcher(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFileSystemWatcher *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFileSystemWatcher(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QFileSystemWatcher(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileSystemWatcher(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFileSystemWatcher *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 sipQFileSystemWatcher(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QStringList,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQFileSystemWatcher(*a0,a1);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFileSystemWatcher[] = {{169, 255, 1}};


static PyMethodDef methods_QFileSystemWatcher[] = {
    {SIP_MLNAME_CAST(sipName_addPath), meth_QFileSystemWatcher_addPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemWatcher_addPath)},
    {SIP_MLNAME_CAST(sipName_addPaths), meth_QFileSystemWatcher_addPaths, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemWatcher_addPaths)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFileSystemWatcher_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFileSystemWatcher_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFileSystemWatcher_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_directories), meth_QFileSystemWatcher_directories, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemWatcher_directories)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFileSystemWatcher_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_files), meth_QFileSystemWatcher_files, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemWatcher_files)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFileSystemWatcher_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFileSystemWatcher_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removePath), meth_QFileSystemWatcher_removePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemWatcher_removePath)},
    {SIP_MLNAME_CAST(sipName_removePaths), meth_QFileSystemWatcher_removePaths, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemWatcher_removePaths)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFileSystemWatcher_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFileSystemWatcher_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFileSystemWatcher_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QFileSystemWatcher, "\1QFileSystemWatcher(parent: QObject = None)\n"
    "QFileSystemWatcher(Iterable[str], parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QFileSystemWatcher[] = {
    {"fileChanged(QString)", "\1fileChanged(self, str)", 0, 0},
    {"directoryChanged(QString)", "\1directoryChanged(self, str)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QFileSystemWatcher = {
    & ::QFileSystemWatcher::staticMetaObject,
    0,
    signals_QFileSystemWatcher,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QFileSystemWatcher = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileSystemWatcher,
        {0},
        &plugin_QFileSystemWatcher
    },
    {
        sipNameNr_QFileSystemWatcher,
        {0, 0, 1},
        15, methods_QFileSystemWatcher,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileSystemWatcher,
    -1,
    -1,
    supers_QFileSystemWatcher,
    0,
    init_type_QFileSystemWatcher,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileSystemWatcher,
    0,
    0,
    0,
    release_QFileSystemWatcher,
    cast_QFileSystemWatcher,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfileselector.sip"
#include <qfileselector.h>
#line 126005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 126009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 126012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 126015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 126018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 126021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 126024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 126027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 126030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 126033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 126036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 126039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 126042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 126045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 126048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 126051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 126054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 126057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 126060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQFileSelector : public  ::QFileSelector
{
public:
    sipQFileSelector( ::QObject*);
    virtual ~sipQFileSelector();

    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 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:
    sipQFileSelector(const sipQFileSelector &);
    sipQFileSelector &operator = (const sipQFileSelector &);

    char sipPyMethods[7];
};

sipQFileSelector::sipQFileSelector( ::QObject*a0):  ::QFileSelector(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFileSelector::~sipQFileSelector()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFileSelector::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QFileSelector);

    return  ::QFileSelector::metaObject();
}

int sipQFileSelector::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QFileSelector::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QFileSelector,_c,_id,_a);

    return _id;
}

void *sipQFileSelector::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QFileSelector, _clname, &sipCpp) ? sipCpp :  ::QFileSelector::qt_metacast(_clname));
}

bool sipQFileSelector::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFileSelector::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFileSelector::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QFileSelector::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQFileSelector::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QFileSelector::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSelector::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QFileSelector::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSelector::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QFileSelector::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSelector::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QFileSelector::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFileSelector::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QFileSelector::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQFileSelector::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQFileSelector::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQFileSelector::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQFileSelector::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQFileSelector::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQFileSelector::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFileSelector::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFileSelector::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQFileSelector::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QFileSelector_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QFileSelector_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFileSelector *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSelector, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 126354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSelector, sipName_sender, doc_QFileSelector_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QFileSelector_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFileSelector *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFileSelector, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 126414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QFileSelector, sipName_receivers, doc_QFileSelector_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QFileSelector_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQFileSelector *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileSelector, &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_QFileSelector, sipName_timerEvent, doc_QFileSelector_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QFileSelector_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQFileSelector *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileSelector, &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_QFileSelector, sipName_childEvent, doc_QFileSelector_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QFileSelector_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQFileSelector *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileSelector, &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_QFileSelector, sipName_customEvent, doc_QFileSelector_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QFileSelector_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQFileSelector *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileSelector, &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_QFileSelector, sipName_connectNotify, doc_QFileSelector_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QFileSelector_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQFileSelector *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileSelector, &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_QFileSelector, sipName_disconnectNotify, doc_QFileSelector_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QFileSelector_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFileSelector *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSelector, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSelector, sipName_senderSignalIndex, doc_QFileSelector_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFileSelector_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQFileSelector *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileSelector, &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_QFileSelector, sipName_isSignalConnected, doc_QFileSelector_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_select, "select(self, str) -> str\n"
    "select(self, QUrl) -> QUrl");

extern "C" {static PyObject *meth_QFileSelector_select(PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_select(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QFileSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSelector, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->select(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QUrl* a0;
        const  ::QFileSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSelector, &sipCpp, sipType_QUrl, &a0))
        {
             ::QUrl*sipRes;

            sipRes = new  ::QUrl(sipCpp->select(*a0));

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSelector, sipName_select, doc_QFileSelector_select);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_extraSelectors, "extraSelectors(self) -> List[str]");

extern "C" {static PyObject *meth_QFileSelector_extraSelectors(PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_extraSelectors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSelector, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->extraSelectors());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSelector, sipName_extraSelectors, doc_QFileSelector_extraSelectors);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_setExtraSelectors, "setExtraSelectors(self, Iterable[str])");

extern "C" {static PyObject *meth_QFileSelector_setExtraSelectors(PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_setExtraSelectors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QFileSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSelector, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setExtraSelectors(*a0);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSelector, sipName_setExtraSelectors, doc_QFileSelector_setExtraSelectors);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSelector_allSelectors, "allSelectors(self) -> List[str]");

extern "C" {static PyObject *meth_QFileSelector_allSelectors(PyObject *, PyObject *);}
static PyObject *meth_QFileSelector_allSelectors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileSelector *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSelector, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->allSelectors());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSelector, sipName_allSelectors, doc_QFileSelector_allSelectors);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QFileSelector(void *, const sipTypeDef *);}
static void *cast_QFileSelector(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFileSelector *sipCpp = reinterpret_cast< ::QFileSelector *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileSelector(void *, int);}
static void release_QFileSelector(void *sipCppV, int)
{
     ::QFileSelector *sipCpp = reinterpret_cast< ::QFileSelector *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFileSelector(sipSimpleWrapper *);}
static void dealloc_QFileSelector(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFileSelector *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFileSelector(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QFileSelector(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileSelector(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFileSelector *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 sipQFileSelector(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFileSelector[] = {{169, 255, 1}};


static PyMethodDef methods_QFileSelector[] = {
    {SIP_MLNAME_CAST(sipName_allSelectors), meth_QFileSelector_allSelectors, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSelector_allSelectors)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFileSelector_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFileSelector_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFileSelector_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFileSelector_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_extraSelectors), meth_QFileSelector_extraSelectors, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSelector_extraSelectors)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFileSelector_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFileSelector_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_select), meth_QFileSelector_select, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSelector_select)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFileSelector_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFileSelector_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setExtraSelectors), meth_QFileSelector_setExtraSelectors, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSelector_setExtraSelectors)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFileSelector_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QFileSelector, "\1QFileSelector(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QFileSelector = {
    & ::QFileSelector::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QFileSelector = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileSelector,
        {0},
        &plugin_QFileSelector
    },
    {
        sipNameNr_QFileSelector,
        {0, 0, 1},
        13, methods_QFileSelector,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileSelector,
    -1,
    -1,
    supers_QFileSelector,
    0,
    init_type_QFileSelector,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileSelector,
    0,
    0,
    0,
    release_QFileSelector,
    cast_QFileSelector,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 126918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 126922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 126925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 126928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 126931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 126934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QFileInfo_setFile, "setFile(self, str)\n"
    "setFile(self, QFile)\n"
    "setFile(self, QDir, str)");

extern "C" {static PyObject *meth_QFileInfo_setFile(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_setFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileInfo, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFile(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QFile* a0;
         ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileInfo, &sipCpp, sipType_QFile, &a0))
        {
            sipCpp->setFile(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QDir* a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QFileInfo, &sipCpp, sipType_QDir, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setFile(*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_QFileInfo, sipName_setFile, doc_QFileInfo_setFile);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_exists, "exists(self) -> bool\n"
    "exists(str) -> bool");

extern "C" {static PyObject *meth_QFileInfo_exists(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_exists(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->exists();

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes =  ::QFileInfo::exists(*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_QFileInfo, sipName_exists, doc_QFileInfo_exists);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_refresh, "refresh(self)");

extern "C" {static PyObject *meth_QFileInfo_refresh(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_refresh(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            sipCpp->refresh();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_refresh, doc_QFileInfo_refresh);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_filePath, "filePath(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_filePath(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_filePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->filePath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_filePath, doc_QFileInfo_filePath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo___fspath__, "__fspath__(self) -> object");

extern "C" {static PyObject *meth_QFileInfo___fspath__(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo___fspath__(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 46 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfileinfo.sip"
        sipRes = qpycore_PyObject_FromQString(QDir::toNativeSeparators(sipCpp->filePath()));
#line 127117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName___fspath__, doc_QFileInfo___fspath__);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_absoluteFilePath, "absoluteFilePath(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_absoluteFilePath(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_absoluteFilePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->absoluteFilePath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_absoluteFilePath, doc_QFileInfo_absoluteFilePath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_canonicalFilePath, "canonicalFilePath(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_canonicalFilePath(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_canonicalFilePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->canonicalFilePath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_canonicalFilePath, doc_QFileInfo_canonicalFilePath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_fileName, "fileName(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_fileName(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &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_QFileInfo, sipName_fileName, doc_QFileInfo_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_baseName, "baseName(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_baseName(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_baseName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->baseName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_baseName, doc_QFileInfo_baseName);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_completeBaseName, "completeBaseName(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_completeBaseName(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_completeBaseName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->completeBaseName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_completeBaseName, doc_QFileInfo_completeBaseName);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_suffix, "suffix(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_suffix(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_suffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->suffix());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_suffix, doc_QFileInfo_suffix);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_completeSuffix, "completeSuffix(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_completeSuffix(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_completeSuffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->completeSuffix());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_completeSuffix, doc_QFileInfo_completeSuffix);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_path, "path(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_path(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_path(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->path());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_path, doc_QFileInfo_path);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_absolutePath, "absolutePath(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_absolutePath(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_absolutePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->absolutePath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_absolutePath, doc_QFileInfo_absolutePath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_canonicalPath, "canonicalPath(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_canonicalPath(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_canonicalPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->canonicalPath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_canonicalPath, doc_QFileInfo_canonicalPath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_dir, "dir(self) -> QDir");

extern "C" {static PyObject *meth_QFileInfo_dir(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_dir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QDir*sipRes;

            sipRes = new  ::QDir(sipCpp->dir());

            return sipConvertFromNewType(sipRes,sipType_QDir,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_dir, doc_QFileInfo_dir);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_absoluteDir, "absoluteDir(self) -> QDir");

extern "C" {static PyObject *meth_QFileInfo_absoluteDir(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_absoluteDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QDir*sipRes;

            sipRes = new  ::QDir(sipCpp->absoluteDir());

            return sipConvertFromNewType(sipRes,sipType_QDir,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_absoluteDir, doc_QFileInfo_absoluteDir);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isReadable, "isReadable(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isReadable(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isReadable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isReadable, doc_QFileInfo_isReadable);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isWritable, "isWritable(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isWritable(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isWritable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWritable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isWritable, doc_QFileInfo_isWritable);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isExecutable, "isExecutable(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isExecutable(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isExecutable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isExecutable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isExecutable, doc_QFileInfo_isExecutable);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isHidden, "isHidden(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isHidden(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isHidden();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isHidden, doc_QFileInfo_isHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isRelative, "isRelative(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isRelative(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isRelative(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRelative();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isRelative, doc_QFileInfo_isRelative);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isAbsolute, "isAbsolute(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isAbsolute(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isAbsolute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAbsolute();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isAbsolute, doc_QFileInfo_isAbsolute);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_makeAbsolute, "makeAbsolute(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_makeAbsolute(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_makeAbsolute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->makeAbsolute();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_makeAbsolute, doc_QFileInfo_makeAbsolute);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isFile, "isFile(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isFile(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFile();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isFile, doc_QFileInfo_isFile);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isDir, "isDir(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isDir(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDir();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isDir, doc_QFileInfo_isDir);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isSymLink, "isSymLink(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isSymLink(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isSymLink(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSymLink();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isSymLink, doc_QFileInfo_isSymLink);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isRoot, "isRoot(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isRoot(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isRoot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRoot();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isRoot, doc_QFileInfo_isRoot);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_owner, "owner(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_owner(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_owner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->owner());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_owner, doc_QFileInfo_owner);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_ownerId, "ownerId(self) -> int");

extern "C" {static PyObject *meth_QFileInfo_ownerId(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_ownerId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::uint sipRes;

            sipRes = sipCpp->ownerId();

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_ownerId, doc_QFileInfo_ownerId);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_group, "group(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_group(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_group(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->group());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_group, doc_QFileInfo_group);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_groupId, "groupId(self) -> int");

extern "C" {static PyObject *meth_QFileInfo_groupId(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_groupId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::uint sipRes;

            sipRes = sipCpp->groupId();

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_groupId, doc_QFileInfo_groupId);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_permission, "permission(self, Union[QFileDevice.Permissions, QFileDevice.Permission]) -> bool");

extern "C" {static PyObject *meth_QFileInfo_permission(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_permission(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileDevice::Permissions* a0;
        int a0State = 0;
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileInfo, &sipCpp, sipType_QFileDevice_Permissions, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->permission(*a0);
            sipReleaseType(a0,sipType_QFileDevice_Permissions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_permission, doc_QFileInfo_permission);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_permissions, "permissions(self) -> QFileDevice.Permissions");

extern "C" {static PyObject *meth_QFileInfo_permissions(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_permissions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QFileDevice::Permissions*sipRes;

            sipRes = new  ::QFileDevice::Permissions(sipCpp->permissions());

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_permissions, doc_QFileInfo_permissions);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_size, "size(self) -> int");

extern "C" {static PyObject *meth_QFileInfo_size(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->size();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_size, doc_QFileInfo_size);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_created, "created(self) -> QDateTime");

extern "C" {static PyObject *meth_QFileInfo_created(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_created(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->created());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_created, doc_QFileInfo_created);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_lastModified, "lastModified(self) -> QDateTime");

extern "C" {static PyObject *meth_QFileInfo_lastModified(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_lastModified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->lastModified());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_lastModified, doc_QFileInfo_lastModified);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_lastRead, "lastRead(self) -> QDateTime");

extern "C" {static PyObject *meth_QFileInfo_lastRead(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_lastRead(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->lastRead());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_lastRead, doc_QFileInfo_lastRead);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_caching, "caching(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_caching(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_caching(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->caching();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_caching, doc_QFileInfo_caching);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_setCaching, "setCaching(self, bool)");

extern "C" {static PyObject *meth_QFileInfo_setCaching(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_setCaching(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QFileInfo, &sipCpp, &a0))
        {
            sipCpp->setCaching(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_setCaching, doc_QFileInfo_setCaching);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_symLinkTarget, "symLinkTarget(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_symLinkTarget(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_symLinkTarget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->symLinkTarget());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_symLinkTarget, doc_QFileInfo_symLinkTarget);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_bundleName, "bundleName(self) -> str");

extern "C" {static PyObject *meth_QFileInfo_bundleName(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_bundleName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->bundleName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_bundleName, doc_QFileInfo_bundleName);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isBundle, "isBundle(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isBundle(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isBundle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isBundle();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isBundle, doc_QFileInfo_isBundle);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_isNativePath, "isNativePath(self) -> bool");

extern "C" {static PyObject *meth_QFileInfo_isNativePath(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_isNativePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileInfo, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNativePath();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_isNativePath, doc_QFileInfo_isNativePath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileInfo_swap, "swap(self, QFileInfo)");

extern "C" {static PyObject *meth_QFileInfo_swap(PyObject *, PyObject *);}
static PyObject *meth_QFileInfo_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileInfo* a0;
         ::QFileInfo *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileInfo, &sipCpp, sipType_QFileInfo, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileInfo, sipName_swap, doc_QFileInfo_swap);

    return NULL;
}


extern "C" {static PyObject *slot_QFileInfo___ne__(PyObject *,PyObject *);}
static PyObject *slot_QFileInfo___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QFileInfo *sipCpp = reinterpret_cast< ::QFileInfo *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileInfo));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QFileInfo, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QFileInfo::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QFileInfo, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QFileInfo___eq__(PyObject *,PyObject *);}
static PyObject *slot_QFileInfo___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QFileInfo *sipCpp = reinterpret_cast< ::QFileInfo *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileInfo));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QFileInfo* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QFileInfo, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QFileInfo::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QFileInfo, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileInfo(void *, int);}
static void release_QFileInfo(void *sipCppV, int)
{
    delete reinterpret_cast< ::QFileInfo *>(sipCppV);
}


extern "C" {static void assign_QFileInfo(void *, SIP_SSIZE_T, const void *);}
static void assign_QFileInfo(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QFileInfo *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QFileInfo *>(sipSrc);
}


extern "C" {static void *array_QFileInfo(SIP_SSIZE_T);}
static void *array_QFileInfo(SIP_SSIZE_T sipNrElem)
{
    return new  ::QFileInfo[sipNrElem];
}


extern "C" {static void *copy_QFileInfo(const void *, SIP_SSIZE_T);}
static void *copy_QFileInfo(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QFileInfo(reinterpret_cast<const  ::QFileInfo *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QFileInfo(sipSimpleWrapper *);}
static void dealloc_QFileInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFileInfo(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QFileInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QFileInfo *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QFileInfo();

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new  ::QFileInfo(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QFile* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QFile, &a0))
        {
            sipCpp = new  ::QFileInfo(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QDir* a0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1", sipType_QDir, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp = new  ::QFileInfo(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QFileInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QFileInfo, &a0))
        {
            sipCpp = new  ::QFileInfo(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFileInfo[] = {
    {(void *)slot_QFileInfo___ne__, ne_slot},
    {(void *)slot_QFileInfo___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QFileInfo[] = {
    {SIP_MLNAME_CAST(sipName___fspath__), meth_QFileInfo___fspath__, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo___fspath__)},
    {SIP_MLNAME_CAST(sipName_absoluteDir), meth_QFileInfo_absoluteDir, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_absoluteDir)},
    {SIP_MLNAME_CAST(sipName_absoluteFilePath), meth_QFileInfo_absoluteFilePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_absoluteFilePath)},
    {SIP_MLNAME_CAST(sipName_absolutePath), meth_QFileInfo_absolutePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_absolutePath)},
    {SIP_MLNAME_CAST(sipName_baseName), meth_QFileInfo_baseName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_baseName)},
    {SIP_MLNAME_CAST(sipName_bundleName), meth_QFileInfo_bundleName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_bundleName)},
    {SIP_MLNAME_CAST(sipName_caching), meth_QFileInfo_caching, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_caching)},
    {SIP_MLNAME_CAST(sipName_canonicalFilePath), meth_QFileInfo_canonicalFilePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_canonicalFilePath)},
    {SIP_MLNAME_CAST(sipName_canonicalPath), meth_QFileInfo_canonicalPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_canonicalPath)},
    {SIP_MLNAME_CAST(sipName_completeBaseName), meth_QFileInfo_completeBaseName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_completeBaseName)},
    {SIP_MLNAME_CAST(sipName_completeSuffix), meth_QFileInfo_completeSuffix, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_completeSuffix)},
    {SIP_MLNAME_CAST(sipName_created), meth_QFileInfo_created, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_created)},
    {SIP_MLNAME_CAST(sipName_dir), meth_QFileInfo_dir, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_dir)},
    {SIP_MLNAME_CAST(sipName_exists), meth_QFileInfo_exists, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_exists)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QFileInfo_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_fileName)},
    {SIP_MLNAME_CAST(sipName_filePath), meth_QFileInfo_filePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_filePath)},
    {SIP_MLNAME_CAST(sipName_group), meth_QFileInfo_group, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_group)},
    {SIP_MLNAME_CAST(sipName_groupId), meth_QFileInfo_groupId, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_groupId)},
    {SIP_MLNAME_CAST(sipName_isAbsolute), meth_QFileInfo_isAbsolute, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isAbsolute)},
    {SIP_MLNAME_CAST(sipName_isBundle), meth_QFileInfo_isBundle, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isBundle)},
    {SIP_MLNAME_CAST(sipName_isDir), meth_QFileInfo_isDir, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isDir)},
    {SIP_MLNAME_CAST(sipName_isExecutable), meth_QFileInfo_isExecutable, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isExecutable)},
    {SIP_MLNAME_CAST(sipName_isFile), meth_QFileInfo_isFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isFile)},
    {SIP_MLNAME_CAST(sipName_isHidden), meth_QFileInfo_isHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isHidden)},
    {SIP_MLNAME_CAST(sipName_isNativePath), meth_QFileInfo_isNativePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isNativePath)},
    {SIP_MLNAME_CAST(sipName_isReadable), meth_QFileInfo_isReadable, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isReadable)},
    {SIP_MLNAME_CAST(sipName_isRelative), meth_QFileInfo_isRelative, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isRelative)},
    {SIP_MLNAME_CAST(sipName_isRoot), meth_QFileInfo_isRoot, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isRoot)},
    {SIP_MLNAME_CAST(sipName_isSymLink), meth_QFileInfo_isSymLink, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isSymLink)},
    {SIP_MLNAME_CAST(sipName_isWritable), meth_QFileInfo_isWritable, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_isWritable)},
    {SIP_MLNAME_CAST(sipName_lastModified), meth_QFileInfo_lastModified, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_lastModified)},
    {SIP_MLNAME_CAST(sipName_lastRead), meth_QFileInfo_lastRead, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_lastRead)},
    {SIP_MLNAME_CAST(sipName_makeAbsolute), meth_QFileInfo_makeAbsolute, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_makeAbsolute)},
    {SIP_MLNAME_CAST(sipName_owner), meth_QFileInfo_owner, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_owner)},
    {SIP_MLNAME_CAST(sipName_ownerId), meth_QFileInfo_ownerId, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_ownerId)},
    {SIP_MLNAME_CAST(sipName_path), meth_QFileInfo_path, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_path)},
    {SIP_MLNAME_CAST(sipName_permission), meth_QFileInfo_permission, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_permission)},
    {SIP_MLNAME_CAST(sipName_permissions), meth_QFileInfo_permissions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_permissions)},
    {SIP_MLNAME_CAST(sipName_refresh), meth_QFileInfo_refresh, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_refresh)},
    {SIP_MLNAME_CAST(sipName_setCaching), meth_QFileInfo_setCaching, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_setCaching)},
    {SIP_MLNAME_CAST(sipName_setFile), meth_QFileInfo_setFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_setFile)},
    {SIP_MLNAME_CAST(sipName_size), meth_QFileInfo_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_size)},
    {SIP_MLNAME_CAST(sipName_suffix), meth_QFileInfo_suffix, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_suffix)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QFileInfo_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_swap)},
    {SIP_MLNAME_CAST(sipName_symLinkTarget), meth_QFileInfo_symLinkTarget, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileInfo_symLinkTarget)}
};

PyDoc_STRVAR(doc_QFileInfo, "\1QFileInfo()\n"
    "QFileInfo(str)\n"
    "QFileInfo(QFile)\n"
    "QFileInfo(QDir, str)\n"
    "QFileInfo(QFileInfo)");


static pyqt5ClassPluginDef plugin_QFileInfo = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QFileInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileInfo,
        {0},
        &plugin_QFileInfo
    },
    {
        sipNameNr_QFileInfo,
        {0, 0, 1},
        45, methods_QFileInfo,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileInfo,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QFileInfo,
    init_type_QFileInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileInfo,
    assign_QFileInfo,
    array_QFileInfo,
    copy_QFileInfo,
    release_QFileInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 128546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 128550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QFileDevice_FileHandleFlags___hash__(PyObject *);}
static long slot_QFileDevice_FileHandleFlags___hash__(PyObject *sipSelf)
{
     ::QFileDevice::FileHandleFlags *sipCpp = reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_FileHandleFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QFileDevice::FileHandleFlags::Int();
#line 128568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QFileDevice_FileHandleFlags___bool__(PyObject *);}
static int slot_QFileDevice_FileHandleFlags___bool__(PyObject *sipSelf)
{
     ::QFileDevice::FileHandleFlags *sipCpp = reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_FileHandleFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::FileHandleFlags::Int() != 0);
#line 128593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFileDevice_FileHandleFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QFileDevice::FileHandleFlags *sipCpp = reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_FileHandleFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QFileDevice::FileHandleFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDevice_FileHandleFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::FileHandleFlags::Int() != a0->operator QFileDevice::FileHandleFlags::Int());
#line 128623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QFileDevice::FileHandleFlags *>(a0),sipType_QFileDevice_FileHandleFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QFileDevice_FileHandleFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QFileDevice_FileHandleFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QFileDevice::FileHandleFlags *sipCpp = reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_FileHandleFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QFileDevice::FileHandleFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDevice_FileHandleFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::FileHandleFlags::Int() == a0->operator QFileDevice::FileHandleFlags::Int());
#line 128659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QFileDevice::FileHandleFlags *>(a0),sipType_QFileDevice_FileHandleFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QFileDevice_FileHandleFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QFileDevice_FileHandleFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileDevice_FileHandleFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QFileDevice::FileHandleFlags *sipCpp = reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_FileHandleFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QFileDevice::FileHandleFlags(*sipCpp ^ a0);
#line 128698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFileDevice_FileHandleFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileDevice::FileHandleFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDevice_FileHandleFlags, &a0, &a0State, &a1))
        {
             ::QFileDevice::FileHandleFlags*sipRes;

            sipRes = new  ::QFileDevice::FileHandleFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QFileDevice_FileHandleFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_FileHandleFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QFileDevice_FileHandleFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileDevice_FileHandleFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QFileDevice::FileHandleFlags *sipCpp = reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_FileHandleFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QFileDevice::FileHandleFlags(*sipCpp | a0);
#line 128770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFileDevice_FileHandleFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileDevice::FileHandleFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDevice_FileHandleFlags, &a0, &a0State, &a1))
        {
             ::QFileDevice::FileHandleFlags*sipRes;

            sipRes = new  ::QFileDevice::FileHandleFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QFileDevice_FileHandleFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_FileHandleFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QFileDevice_FileHandleFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileDevice_FileHandleFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QFileDevice::FileHandleFlags *sipCpp = reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_FileHandleFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QFileDevice::FileHandleFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFileDevice_FileHandleFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileDevice::FileHandleFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDevice_FileHandleFlags, &a0, &a0State, &a1))
        {
             ::QFileDevice::FileHandleFlags*sipRes;

            sipRes = new  ::QFileDevice::FileHandleFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QFileDevice_FileHandleFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_FileHandleFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QFileDevice_FileHandleFlags___invert__(PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___invert__(PyObject *sipSelf)
{
     ::QFileDevice::FileHandleFlags *sipCpp = reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_FileHandleFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QFileDevice::FileHandleFlags*sipRes;

            sipRes = new  ::QFileDevice::FileHandleFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_FileHandleFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFileDevice_FileHandleFlags___int__(PyObject *);}
static PyObject *slot_QFileDevice_FileHandleFlags___int__(PyObject *sipSelf)
{
     ::QFileDevice::FileHandleFlags *sipCpp = reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_FileHandleFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileDevice_FileHandleFlags(void *, int);}
static void release_QFileDevice_FileHandleFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipCppV);
}


extern "C" {static void assign_QFileDevice_FileHandleFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QFileDevice_FileHandleFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QFileDevice::FileHandleFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QFileDevice::FileHandleFlags *>(sipSrc);
}


extern "C" {static void *array_QFileDevice_FileHandleFlags(SIP_SSIZE_T);}
static void *array_QFileDevice_FileHandleFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QFileDevice::FileHandleFlags[sipNrElem];
}


extern "C" {static void *copy_QFileDevice_FileHandleFlags(const void *, SIP_SSIZE_T);}
static void *copy_QFileDevice_FileHandleFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QFileDevice::FileHandleFlags(reinterpret_cast<const  ::QFileDevice::FileHandleFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QFileDevice_FileHandleFlags(sipSimpleWrapper *);}
static void dealloc_QFileDevice_FileHandleFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFileDevice_FileHandleFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QFileDevice_FileHandleFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileDevice_FileHandleFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QFileDevice::FileHandleFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QFileDevice::FileHandleFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QFileDevice::FileHandleFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QFileDevice::FileHandleFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QFileDevice_FileHandleFlags, &a0, &a0State))
        {
            sipCpp = new  ::QFileDevice::FileHandleFlags(*a0);
            sipReleaseType(const_cast< ::QFileDevice::FileHandleFlags *>(a0),sipType_QFileDevice_FileHandleFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QFileDevice_FileHandleFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QFileDevice_FileHandleFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QFileDevice::FileHandleFlags **sipCppPtr = reinterpret_cast< ::QFileDevice::FileHandleFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QFileDevice::FileHandleFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFileDevice_FileHandleFlag)) ||
            sipCanConvertToType(sipPy, sipType_QFileDevice_FileHandleFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFileDevice_FileHandleFlag)))
{
    *sipCppPtr = new QFileDevice::FileHandleFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QFileDevice::FileHandleFlags *>(sipConvertToType(sipPy, sipType_QFileDevice_FileHandleFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 129038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFileDevice_FileHandleFlags[] = {
    {(void *)slot_QFileDevice_FileHandleFlags___hash__, hash_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___bool__, bool_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___ne__, ne_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___eq__, eq_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___ixor__, ixor_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___xor__, xor_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___ior__, ior_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___or__, or_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___iand__, iand_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___and__, and_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___invert__, invert_slot},
    {(void *)slot_QFileDevice_FileHandleFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFileDevice_FileHandleFlags, "\1QFileDevice.FileHandleFlags()\n"
    "QFileDevice.FileHandleFlags(Union[QFileDevice.FileHandleFlags, QFileDevice.FileHandleFlag])\n"
    "QFileDevice.FileHandleFlags(QFileDevice.FileHandleFlags)");


static pyqt5ClassPluginDef plugin_QFileDevice_FileHandleFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QFileDevice_FileHandleFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileDevice__FileHandleFlags,
        {0},
        &plugin_QFileDevice_FileHandleFlags
    },
    {
        sipNameNr_FileHandleFlags,
        {67, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileDevice_FileHandleFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QFileDevice_FileHandleFlags,
    init_type_QFileDevice_FileHandleFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileDevice_FileHandleFlags,
    assign_QFileDevice_FileHandleFlags,
    array_QFileDevice_FileHandleFlags,
    copy_QFileDevice_FileHandleFlags,
    release_QFileDevice_FileHandleFlags,
    0,
    convertTo_QFileDevice_FileHandleFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 129124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 129128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QFileDevice_Permissions___hash__(PyObject *);}
static long slot_QFileDevice_Permissions___hash__(PyObject *sipSelf)
{
     ::QFileDevice::Permissions *sipCpp = reinterpret_cast< ::QFileDevice::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_Permissions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QFileDevice::Permissions::Int();
#line 129146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QFileDevice_Permissions___bool__(PyObject *);}
static int slot_QFileDevice_Permissions___bool__(PyObject *sipSelf)
{
     ::QFileDevice::Permissions *sipCpp = reinterpret_cast< ::QFileDevice::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_Permissions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::Permissions::Int() != 0);
#line 129171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFileDevice_Permissions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_Permissions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QFileDevice::Permissions *sipCpp = reinterpret_cast< ::QFileDevice::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_Permissions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QFileDevice::Permissions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDevice_Permissions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::Permissions::Int() != a0->operator QFileDevice::Permissions::Int());
#line 129201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QFileDevice::Permissions *>(a0),sipType_QFileDevice_Permissions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QFileDevice_Permissions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QFileDevice_Permissions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_Permissions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QFileDevice::Permissions *sipCpp = reinterpret_cast< ::QFileDevice::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_Permissions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QFileDevice::Permissions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDevice_Permissions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDevice::Permissions::Int() == a0->operator QFileDevice::Permissions::Int());
#line 129237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QFileDevice::Permissions *>(a0),sipType_QFileDevice_Permissions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QFileDevice_Permissions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QFileDevice_Permissions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_Permissions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileDevice_Permissions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QFileDevice::Permissions *sipCpp = reinterpret_cast< ::QFileDevice::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_Permissions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QFileDevice::Permissions(*sipCpp ^ a0);
#line 129276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFileDevice_Permissions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_Permissions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileDevice::Permissions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDevice_Permissions, &a0, &a0State, &a1))
        {
             ::QFileDevice::Permissions*sipRes;

            sipRes = new  ::QFileDevice::Permissions((*a0 ^ a1));
            sipReleaseType(a0,sipType_QFileDevice_Permissions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QFileDevice_Permissions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_Permissions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileDevice_Permissions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QFileDevice::Permissions *sipCpp = reinterpret_cast< ::QFileDevice::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_Permissions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QFileDevice::Permissions(*sipCpp | a0);
#line 129348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFileDevice_Permissions___or__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_Permissions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileDevice::Permissions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDevice_Permissions, &a0, &a0State, &a1))
        {
             ::QFileDevice::Permissions*sipRes;

            sipRes = new  ::QFileDevice::Permissions((*a0 | a1));
            sipReleaseType(a0,sipType_QFileDevice_Permissions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QFileDevice_Permissions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_Permissions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileDevice_Permissions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QFileDevice::Permissions *sipCpp = reinterpret_cast< ::QFileDevice::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_Permissions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QFileDevice::Permissions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QFileDevice_Permissions___and__(PyObject *,PyObject *);}
static PyObject *slot_QFileDevice_Permissions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileDevice::Permissions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDevice_Permissions, &a0, &a0State, &a1))
        {
             ::QFileDevice::Permissions*sipRes;

            sipRes = new  ::QFileDevice::Permissions((*a0 & a1));
            sipReleaseType(a0,sipType_QFileDevice_Permissions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QFileDevice_Permissions___invert__(PyObject *);}
static PyObject *slot_QFileDevice_Permissions___invert__(PyObject *sipSelf)
{
     ::QFileDevice::Permissions *sipCpp = reinterpret_cast< ::QFileDevice::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_Permissions));

    if (!sipCpp)
        return 0;


    {
        {
             ::QFileDevice::Permissions*sipRes;

            sipRes = new  ::QFileDevice::Permissions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFileDevice_Permissions___int__(PyObject *);}
static PyObject *slot_QFileDevice_Permissions___int__(PyObject *sipSelf)
{
     ::QFileDevice::Permissions *sipCpp = reinterpret_cast< ::QFileDevice::Permissions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDevice_Permissions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileDevice_Permissions(void *, int);}
static void release_QFileDevice_Permissions(void *sipCppV, int)
{
    delete reinterpret_cast< ::QFileDevice::Permissions *>(sipCppV);
}


extern "C" {static void assign_QFileDevice_Permissions(void *, SIP_SSIZE_T, const void *);}
static void assign_QFileDevice_Permissions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QFileDevice::Permissions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QFileDevice::Permissions *>(sipSrc);
}


extern "C" {static void *array_QFileDevice_Permissions(SIP_SSIZE_T);}
static void *array_QFileDevice_Permissions(SIP_SSIZE_T sipNrElem)
{
    return new  ::QFileDevice::Permissions[sipNrElem];
}


extern "C" {static void *copy_QFileDevice_Permissions(const void *, SIP_SSIZE_T);}
static void *copy_QFileDevice_Permissions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QFileDevice::Permissions(reinterpret_cast<const  ::QFileDevice::Permissions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QFileDevice_Permissions(sipSimpleWrapper *);}
static void dealloc_QFileDevice_Permissions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFileDevice_Permissions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QFileDevice_Permissions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileDevice_Permissions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QFileDevice::Permissions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QFileDevice::Permissions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QFileDevice::Permissions(a0);

            return sipCpp;
        }
    }

    {
        const  ::QFileDevice::Permissions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QFileDevice_Permissions, &a0, &a0State))
        {
            sipCpp = new  ::QFileDevice::Permissions(*a0);
            sipReleaseType(const_cast< ::QFileDevice::Permissions *>(a0),sipType_QFileDevice_Permissions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QFileDevice_Permissions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QFileDevice_Permissions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QFileDevice::Permissions **sipCppPtr = reinterpret_cast< ::QFileDevice::Permissions **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QFileDevice::Permissions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFileDevice_Permission)) ||
            sipCanConvertToType(sipPy, sipType_QFileDevice_Permissions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFileDevice_Permission)))
{
    *sipCppPtr = new QFileDevice::Permissions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QFileDevice::Permissions *>(sipConvertToType(sipPy, sipType_QFileDevice_Permissions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 129616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFileDevice_Permissions[] = {
    {(void *)slot_QFileDevice_Permissions___hash__, hash_slot},
    {(void *)slot_QFileDevice_Permissions___bool__, bool_slot},
    {(void *)slot_QFileDevice_Permissions___ne__, ne_slot},
    {(void *)slot_QFileDevice_Permissions___eq__, eq_slot},
    {(void *)slot_QFileDevice_Permissions___ixor__, ixor_slot},
    {(void *)slot_QFileDevice_Permissions___xor__, xor_slot},
    {(void *)slot_QFileDevice_Permissions___ior__, ior_slot},
    {(void *)slot_QFileDevice_Permissions___or__, or_slot},
    {(void *)slot_QFileDevice_Permissions___iand__, iand_slot},
    {(void *)slot_QFileDevice_Permissions___and__, and_slot},
    {(void *)slot_QFileDevice_Permissions___invert__, invert_slot},
    {(void *)slot_QFileDevice_Permissions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFileDevice_Permissions, "\1QFileDevice.Permissions()\n"
    "QFileDevice.Permissions(Union[QFileDevice.Permissions, QFileDevice.Permission])\n"
    "QFileDevice.Permissions(QFileDevice.Permissions)");


static pyqt5ClassPluginDef plugin_QFileDevice_Permissions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QFileDevice_Permissions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileDevice__Permissions,
        {0},
        &plugin_QFileDevice_Permissions
    },
    {
        sipNameNr_Permissions,
        {67, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileDevice_Permissions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QFileDevice_Permissions,
    init_type_QFileDevice_Permissions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileDevice_Permissions,
    assign_QFileDevice_Permissions,
    array_QFileDevice_Permissions,
    copy_QFileDevice_Permissions,
    release_QFileDevice_Permissions,
    0,
    convertTo_QFileDevice_Permissions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfile.sip"
#include <qfile.h>
#line 129702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 129706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 129709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 129712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 129715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 129718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 129721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 129724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 129727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 129730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 129733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 129736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 129739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 129742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 129745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 129748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 129751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 129754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 129757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 129760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 129763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQFile : public  ::QFile
{
public:
    sipQFile();
    sipQFile(const  ::QString&);
    sipQFile( ::QObject*);
    sipQFile(const  ::QString&, ::QObject*);
    virtual ~sipQFile();

    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;
    void sipProtect_setOpenMode( ::QIODevice::OpenMode);
    void sipProtect_setErrorString(const  ::QString&);
     ::qint64 sipProtectVirt_readData(bool,char*, ::qint64);
     ::qint64 sipProtectVirt_writeData(bool,const char*,PY_LONG_LONG);
     ::qint64 sipProtectVirt_readLineData(bool,char*, ::qint64);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::qint64 writeData(const char*,PY_LONG_LONG);
     ::qint64 readLineData(char*, ::qint64);
     ::qint64 readData(char*, ::qint64);
    bool waitForBytesWritten(int);
    bool waitForReadyRead(int);
    bool canReadLine() const;
     ::qint64 bytesToWrite() const;
     ::qint64 bytesAvailable() const;
    bool reset();
    bool atEnd() const;
    bool seek( ::qint64);
     ::qint64 size() const;
     ::qint64 pos() const;
    void close();
    bool open( ::QIODevice::OpenMode);
    bool isSequential() 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&);
     ::QString fileName() const;
    bool resize( ::qint64);
     ::QFileDevice::Permissions permissions() const;
    bool setPermissions( ::QFileDevice::Permissions);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFile(const sipQFile &);
    sipQFile &operator = (const sipQFile &);

    char sipPyMethods[27];
};

sipQFile::sipQFile():  ::QFile(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFile::sipQFile(const  ::QString& a0):  ::QFile(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFile::sipQFile( ::QObject*a0):  ::QFile(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFile::sipQFile(const  ::QString& a0, ::QObject*a1):  ::QFile(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFile::~sipQFile()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQFile::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QFile);

    return  ::QFile::metaObject();
}

int sipQFile::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QFile::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QFile,_c,_id,_a);

    return _id;
}

void *sipQFile::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QFile, _clname, &sipCpp) ? sipCpp :  ::QFile::qt_metacast(_clname));
}

 ::qint64 sipQFile::writeData(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_writeData);

    if (!sipMeth)
        return  ::QFile::writeData(a0,a1);

    extern  ::qint64 sipVH_QtCore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_49(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQFile::readLineData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_readLineData);

    if (!sipMeth)
        return  ::QFile::readLineData(a0,a1);

    extern  ::qint64 sipVH_QtCore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_48(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQFile::readData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_readData);

    if (!sipMeth)
        return  ::QFile::readData(a0,a1);

    extern  ::qint64 sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQFile::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!sipMeth)
        return  ::QFile::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFile::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!sipMeth)
        return  ::QFile::waitForReadyRead(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFile::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_canReadLine);

    if (!sipMeth)
        return  ::QFile::canReadLine();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQFile::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!sipMeth)
        return  ::QFile::bytesToWrite();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQFile::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!sipMeth)
        return  ::QFile::bytesAvailable();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
        return  ::QFile::reset();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_atEnd);

    if (!sipMeth)
        return  ::QFile::atEnd();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::seek( ::qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return  ::QFile::seek(a0);

    extern bool sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qint64);

    return sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::qint64 sipQFile::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return  ::QFile::size();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQFile::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return  ::QFile::pos();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQFile::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
    {
         ::QFile::close();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::open( ::QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return  ::QFile::open(a0);

    extern bool sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QIODevice::OpenMode);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFile::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return  ::QFile::isSequential();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QFile::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQFile::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QFile::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQFile::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QFile::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFile::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QFile::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFile::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QFile::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFile::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QFile::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQFile::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QFile::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QString sipQFile::fileName() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_fileName);

    if (!sipMeth)
        return  ::QFile::fileName();

    extern  ::QString sipVH_QtCore_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_50(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::resize( ::qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resize);

    if (!sipMeth)
        return  ::QFile::resize(a0);

    extern bool sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qint64);

    return sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QFileDevice::Permissions sipQFile::permissions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_permissions);

    if (!sipMeth)
        return  ::QFile::permissions();

    extern  ::QFileDevice::Permissions sipVH_QtCore_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_51(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQFile::setPermissions( ::QFileDevice::Permissions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setPermissions);

    if (!sipMeth)
        return  ::QFile::setPermissions(a0);

    extern bool sipVH_QtCore_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFileDevice::Permissions);

    return sipVH_QtCore_52(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQFile::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQFile::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQFile::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQFile::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQFile::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQFile::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFile::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFile::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQFile::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQFile::sipProtect_setOpenMode( ::QIODevice::OpenMode a0)
{
     ::QIODevice::setOpenMode(a0);
}

void sipQFile::sipProtect_setErrorString(const  ::QString& a0)
{
     ::QIODevice::setErrorString(a0);
}

 ::qint64 sipQFile::sipProtectVirt_readData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QFileDevice::readData(a0,a1) : readData(a0,a1));
}

 ::qint64 sipQFile::sipProtectVirt_writeData(bool sipSelfWasArg,const char*a0,PY_LONG_LONG a1)
{
    return (sipSelfWasArg ?  ::QFileDevice::writeData(a0,a1) : writeData(a0,a1));
}

 ::qint64 sipQFile::sipProtectVirt_readLineData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QFileDevice::readLineData(a0,a1) : readLineData(a0,a1));
}


PyDoc_STRVAR(doc_QFile_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QFile_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 130428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_sender, doc_QFile_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QFile_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFile, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 130488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QFile, sipName_receivers, doc_QFile_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QFile_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFile, &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_QFile, sipName_timerEvent, doc_QFile_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QFile_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFile, &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_QFile, sipName_childEvent, doc_QFile_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QFile_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFile, &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_QFile, sipName_customEvent, doc_QFile_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QFile_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFile, &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_QFile, sipName_connectNotify, doc_QFile_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QFile_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFile, &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_QFile, sipName_disconnectNotify, doc_QFile_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QFile_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_senderSignalIndex, doc_QFile_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFile_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFile, &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_QFile, sipName_isSignalConnected, doc_QFile_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_setOpenMode, "setOpenMode(self, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag])");

extern "C" {static PyObject *meth_QFile_setOpenMode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_setOpenMode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QFile, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            sipCpp->sipProtect_setOpenMode(*a0);
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_setOpenMode, doc_QFile_setOpenMode);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_setErrorString, "setErrorString(self, str)");

extern "C" {static PyObject *meth_QFile_setErrorString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_setErrorString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->sipProtect_setErrorString(*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_QFile, sipName_setErrorString, doc_QFile_setErrorString);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_readData, "readData(self, int) -> bytes");

extern "C" {static PyObject *meth_QFile_readData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_readData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QFile, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QFileDevice::readData(s, a0) : sipCpp->readData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 130824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_readData, doc_QFile_readData);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_writeData, "writeData(self, bytes) -> int");

extern "C" {static PyObject *meth_QFile_writeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_writeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const char* a0;
        SIP_SSIZE_T a1;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bk", &sipSelf, sipType_QFile, &sipCpp, &a0, &a1))
        {
             ::qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_writeData(sipSelfWasArg,a0,(PY_LONG_LONG)a1);
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_writeData, doc_QFile_writeData);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_readLineData, "readLineData(self, int) -> bytes");

extern "C" {static PyObject *meth_QFile_readLineData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_readLineData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QFile, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QFileDevice::readLineData(s, a0) : sipCpp->readLineData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 130926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_readLineData, doc_QFile_readLineData);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_fileName, "fileName(self) -> str");

extern "C" {static PyObject *meth_QFile_fileName(PyObject *, PyObject *);}
static PyObject *meth_QFile_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::QFile::fileName() : sipCpp->fileName()));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_fileName, doc_QFile_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_setFileName, "setFileName(self, str)");

extern "C" {static PyObject *meth_QFile_setFileName(PyObject *, PyObject *);}
static PyObject *meth_QFile_setFileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFileName(*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_QFile, sipName_setFileName, doc_QFile_setFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_encodeName, "encodeName(str) -> QByteArray");

extern "C" {static PyObject *meth_QFile_encodeName(PyObject *, PyObject *);}
static PyObject *meth_QFile_encodeName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QFile::encodeName(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_encodeName, doc_QFile_encodeName);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_decodeName, "decodeName(Union[QByteArray, bytes, bytearray]) -> str\n"
    "decodeName(str) -> str");

extern "C" {static PyObject *meth_QFile_decodeName(PyObject *, PyObject *);}
static PyObject *meth_QFile_decodeName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QFile::decodeName(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const char* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "AA", &a0Keep, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QFile::decodeName(a0));
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_decodeName, doc_QFile_decodeName);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_exists, "exists(self) -> bool\n"
    "exists(str) -> bool");

extern "C" {static PyObject *meth_QFile_exists(PyObject *, PyObject *);}
static PyObject *meth_QFile_exists(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->exists();

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes =  ::QFile::exists(*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_QFile, sipName_exists, doc_QFile_exists);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_symLinkTarget, "symLinkTarget(self) -> str\n"
    "symLinkTarget(str) -> str");

extern "C" {static PyObject *meth_QFile_symLinkTarget(PyObject *, PyObject *);}
static PyObject *meth_QFile_symLinkTarget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->symLinkTarget());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QFile::symLinkTarget(*a0));
            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_QFile, sipName_symLinkTarget, doc_QFile_symLinkTarget);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_remove, "remove(self) -> bool\n"
    "remove(str) -> bool");

extern "C" {static PyObject *meth_QFile_remove(PyObject *, PyObject *);}
static PyObject *meth_QFile_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->remove();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QFile::remove(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_remove, doc_QFile_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_rename, "rename(self, str) -> bool\n"
    "rename(str, str) -> bool");

extern "C" {static PyObject *meth_QFile_rename(PyObject *, PyObject *);}
static PyObject *meth_QFile_rename(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->rename(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QFile::rename(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_rename, doc_QFile_rename);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_link, "link(self, str) -> bool\n"
    "link(str, str) -> bool");

extern "C" {static PyObject *meth_QFile_link(PyObject *, PyObject *);}
static PyObject *meth_QFile_link(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->link(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QFile::link(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_link, doc_QFile_link);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_copy, "copy(self, str) -> bool\n"
    "copy(str, str) -> bool");

extern "C" {static PyObject *meth_QFile_copy(PyObject *, PyObject *);}
static PyObject *meth_QFile_copy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFile, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->copy(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QFile::copy(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_copy, doc_QFile_copy);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_open, "open(self, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag]) -> bool\n"
    "open(self, int, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag], handleFlags: Union[QFileDevice.FileHandleFlags, QFileDevice.FileHandleFlag] = QFileDevice.DontCloseHandle) -> bool");

extern "C" {static PyObject *meth_QFile_open(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFile_open(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
         ::QFile *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QFile, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QFile::open(*a0) : sipCpp->open(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
         ::QIODevice::OpenMode* a1;
        int a1State = 0;
         ::QFileDevice::FileHandleFlags a2def = QFileDevice::DontCloseHandle;
         ::QFileDevice::FileHandleFlags* a2 = &a2def;
        int a2State = 0;
         ::QFile *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_handleFlags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiJ1|J1", &sipSelf, sipType_QFile, &sipCpp, &a0, sipType_QIODevice_OpenMode, &a1, &a1State, sipType_QFileDevice_FileHandleFlags, &a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->open(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);
            sipReleaseType(a2,sipType_QFileDevice_FileHandleFlags,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_open, doc_QFile_open);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_size, "size(self) -> int");

extern "C" {static PyObject *meth_QFile_size(PyObject *, PyObject *);}
static PyObject *meth_QFile_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QFile::size() : sipCpp->size());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_size, doc_QFile_size);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_resize, "resize(self, int) -> bool\n"
    "resize(str, int) -> bool");

extern "C" {static PyObject *meth_QFile_resize(PyObject *, PyObject *);}
static PyObject *meth_QFile_resize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
         ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QFile, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QFile::resize(a0) : sipCpp->resize(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::qint64 a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1n", sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes =  ::QFile::resize(*a0,a1);
            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_QFile, sipName_resize, doc_QFile_resize);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_permissions, "permissions(self) -> QFileDevice.Permissions\n"
    "permissions(str) -> QFileDevice.Permissions");

extern "C" {static PyObject *meth_QFile_permissions(PyObject *, PyObject *);}
static PyObject *meth_QFile_permissions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFile, &sipCpp))
        {
             ::QFileDevice::Permissions*sipRes;

            sipRes = new  ::QFileDevice::Permissions((sipSelfWasArg ? sipCpp-> ::QFile::permissions() : sipCpp->permissions()));

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QFileDevice::Permissions*sipRes;

            sipRes = new  ::QFileDevice::Permissions( ::QFile::permissions(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_permissions, doc_QFile_permissions);

    return NULL;
}


PyDoc_STRVAR(doc_QFile_setPermissions, "setPermissions(self, Union[QFileDevice.Permissions, QFileDevice.Permission]) -> bool\n"
    "setPermissions(str, Union[QFileDevice.Permissions, QFileDevice.Permission]) -> bool");

extern "C" {static PyObject *meth_QFile_setPermissions(PyObject *, PyObject *);}
static PyObject *meth_QFile_setPermissions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFileDevice::Permissions* a0;
        int a0State = 0;
         ::QFile *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFile, &sipCpp, sipType_QFileDevice_Permissions, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QFile::setPermissions(*a0) : sipCpp->setPermissions(*a0));
            sipReleaseType(a0,sipType_QFileDevice_Permissions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFileDevice::Permissions* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QFileDevice_Permissions, &a1, &a1State))
        {
            bool sipRes;

            sipRes =  ::QFile::setPermissions(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QFileDevice_Permissions,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFile, sipName_setPermissions, doc_QFile_setPermissions);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QFile(void *, const sipTypeDef *);}
static void *cast_QFile(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFile *sipCpp = reinterpret_cast< ::QFile *>(sipCppV);

    if (targetType == sipType_QFileDevice)
        return static_cast< ::QFileDevice *>(sipCpp);

    if (targetType == sipType_QIODevice)
        return static_cast< ::QIODevice *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFile(void *, int);}
static void release_QFile(void *sipCppV, int)
{
     ::QFile *sipCpp = reinterpret_cast< ::QFile *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFile(sipSimpleWrapper *);}
static void dealloc_QFile(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFile *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFile(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QFile(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFile(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFile *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQFile();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new sipQFile(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQFile(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQFile(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFile[] = {{67, 255, 1}};


static PyMethodDef methods_QFile[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFile_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFile_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_copy), meth_QFile_copy, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_copy)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFile_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeName), meth_QFile_decodeName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_decodeName)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFile_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_encodeName), meth_QFile_encodeName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_encodeName)},
    {SIP_MLNAME_CAST(sipName_exists), meth_QFile_exists, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_exists)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QFile_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_fileName)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFile_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_link), meth_QFile_link, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_link)},
    {SIP_MLNAME_CAST(sipName_open), (PyCFunction)meth_QFile_open, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFile_open)},
    {SIP_MLNAME_CAST(sipName_permissions), meth_QFile_permissions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_permissions)},
    {SIP_MLNAME_CAST(sipName_readData), (PyCFunction)meth_QFile_readData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_readLineData), (PyCFunction)meth_QFile_readLineData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFile_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_QFile_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_remove)},
    {SIP_MLNAME_CAST(sipName_rename), meth_QFile_rename, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_rename)},
    {SIP_MLNAME_CAST(sipName_resize), meth_QFile_resize, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_resize)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFile_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFile_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorString), (PyCFunction)meth_QFile_setErrorString, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFileName), meth_QFile_setFileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_setFileName)},
    {SIP_MLNAME_CAST(sipName_setOpenMode), (PyCFunction)meth_QFile_setOpenMode, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setPermissions), meth_QFile_setPermissions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_setPermissions)},
    {SIP_MLNAME_CAST(sipName_size), meth_QFile_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_size)},
    {SIP_MLNAME_CAST(sipName_symLinkTarget), meth_QFile_symLinkTarget, METH_VARARGS, SIP_MLDOC_CAST(doc_QFile_symLinkTarget)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFile_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), (PyCFunction)meth_QFile_writeData, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QFile, "\1QFile()\n"
    "QFile(str)\n"
    "QFile(QObject)\n"
    "QFile(str, QObject)");


static pyqt5ClassPluginDef plugin_QFile = {
    & ::QFile::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QFile = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFile,
        {0},
        &plugin_QFile
    },
    {
        sipNameNr_QFile,
        {0, 0, 1},
        29, methods_QFile,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFile,
    -1,
    -1,
    supers_QFile,
    0,
    init_type_QFile,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFile,
    0,
    0,
    0,
    release_QFile,
    cast_QFile,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 131833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 131837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 131840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 131843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 131846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 131849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 131852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 131855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 131858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 131861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 131864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 131867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 131870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 131873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 131876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 131879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 131882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 131885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 131888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QFileDevice_error, "error(self) -> QFileDevice.FileError");

extern "C" {static PyObject *meth_QFileDevice_error(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
             ::QFileDevice::FileError sipRes;

            sipRes = sipCpp->error();

            return sipConvertFromEnum(sipRes,sipType_QFileDevice_FileError);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_error, doc_QFileDevice_error);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_unsetError, "unsetError(self)");

extern "C" {static PyObject *meth_QFileDevice_unsetError(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_unsetError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
            sipCpp->unsetError();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_unsetError, doc_QFileDevice_unsetError);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_close, "close(self)");

extern "C" {static PyObject *meth_QFileDevice_close(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::QFileDevice::close() : sipCpp->close());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_close, doc_QFileDevice_close);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_isSequential, "isSequential(self) -> bool");

extern "C" {static PyObject *meth_QFileDevice_isSequential(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_isSequential(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QFileDevice::isSequential() : sipCpp->isSequential());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_isSequential, doc_QFileDevice_isSequential);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_handle, "handle(self) -> int");

extern "C" {static PyObject *meth_QFileDevice_handle(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_handle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->handle();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_handle, doc_QFileDevice_handle);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_fileName, "fileName(self) -> str");

extern "C" {static PyObject *meth_QFileDevice_fileName(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString((sipSelfWasArg ? sipCpp-> ::QFileDevice::fileName() : sipCpp->fileName()));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_fileName, doc_QFileDevice_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_pos, "pos(self) -> int");

extern "C" {static PyObject *meth_QFileDevice_pos(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QFileDevice::pos() : sipCpp->pos());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_pos, doc_QFileDevice_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_seek, "seek(self, int) -> bool");

extern "C" {static PyObject *meth_QFileDevice_seek(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_seek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
         ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QFileDevice, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QFileDevice::seek(a0) : sipCpp->seek(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_seek, doc_QFileDevice_seek);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_atEnd, "atEnd(self) -> bool");

extern "C" {static PyObject *meth_QFileDevice_atEnd(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_atEnd(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QFileDevice::atEnd() : sipCpp->atEnd());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_atEnd, doc_QFileDevice_atEnd);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_flush, "flush(self) -> bool");

extern "C" {static PyObject *meth_QFileDevice_flush(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_flush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->flush();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_flush, doc_QFileDevice_flush);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_size, "size(self) -> int");

extern "C" {static PyObject *meth_QFileDevice_size(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QFileDevice::size() : sipCpp->size());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_size, doc_QFileDevice_size);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_resize, "resize(self, int) -> bool");

extern "C" {static PyObject *meth_QFileDevice_resize(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_resize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
         ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QFileDevice, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QFileDevice::resize(a0) : sipCpp->resize(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_resize, doc_QFileDevice_resize);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_permissions, "permissions(self) -> QFileDevice.Permissions");

extern "C" {static PyObject *meth_QFileDevice_permissions(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_permissions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDevice, &sipCpp))
        {
             ::QFileDevice::Permissions*sipRes;

            sipRes = new  ::QFileDevice::Permissions((sipSelfWasArg ? sipCpp-> ::QFileDevice::permissions() : sipCpp->permissions()));

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_permissions, doc_QFileDevice_permissions);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_setPermissions, "setPermissions(self, Union[QFileDevice.Permissions, QFileDevice.Permission]) -> bool");

extern "C" {static PyObject *meth_QFileDevice_setPermissions(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_setPermissions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFileDevice::Permissions* a0;
        int a0State = 0;
         ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDevice, &sipCpp, sipType_QFileDevice_Permissions, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QFileDevice::setPermissions(*a0) : sipCpp->setPermissions(*a0));
            sipReleaseType(a0,sipType_QFileDevice_Permissions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_setPermissions, doc_QFileDevice_setPermissions);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_map, "map(self, int, int, flags: QFileDevice.MemoryMapFlags = QFileDevice.NoOptions) -> sip.voidptr");

extern "C" {static PyObject *meth_QFileDevice_map(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_map(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::qint64 a1;
         ::QFileDevice::MemoryMapFlags a2 = QFileDevice::NoOptions;
         ::QFileDevice *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bnn|E", &sipSelf, sipType_QFileDevice, &sipCpp, &a0, &a1, sipType_QFileDevice_MemoryMapFlags, &a2))
        {
            void*sipRes;

            sipRes = sipCpp->map(a0,a1,a2);

            return sipConvertFromVoidPtrAndSize(sipRes,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_map, doc_QFileDevice_map);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDevice_unmap, "unmap(self, sip.voidptr) -> bool");

extern "C" {static PyObject *meth_QFileDevice_unmap(PyObject *, PyObject *);}
static PyObject *meth_QFileDevice_unmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        void* a0;
         ::QFileDevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bv", &sipSelf, sipType_QFileDevice, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->unmap(reinterpret_cast< ::uchar *>(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDevice, sipName_unmap, doc_QFileDevice_unmap);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QFileDevice(void *, const sipTypeDef *);}
static void *cast_QFileDevice(void *sipCppV, const sipTypeDef *targetType)
{
     ::QFileDevice *sipCpp = reinterpret_cast< ::QFileDevice *>(sipCppV);

    if (targetType == sipType_QIODevice)
        return static_cast< ::QIODevice *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileDevice(void *, int);}
static void release_QFileDevice(void *sipCppV, int)
{
     ::QFileDevice *sipCpp = reinterpret_cast< ::QFileDevice *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFileDevice(sipSimpleWrapper *);}
static void dealloc_QFileDevice(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFileDevice(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFileDevice[] = {{84, 255, 1}};


static PyMethodDef methods_QFileDevice[] = {
    {SIP_MLNAME_CAST(sipName_atEnd), meth_QFileDevice_atEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_atEnd)},
    {SIP_MLNAME_CAST(sipName_close), meth_QFileDevice_close, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_close)},
    {SIP_MLNAME_CAST(sipName_error), meth_QFileDevice_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_error)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QFileDevice_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_fileName)},
    {SIP_MLNAME_CAST(sipName_flush), meth_QFileDevice_flush, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_flush)},
    {SIP_MLNAME_CAST(sipName_handle), meth_QFileDevice_handle, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_handle)},
    {SIP_MLNAME_CAST(sipName_isSequential), meth_QFileDevice_isSequential, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_isSequential)},
    {SIP_MLNAME_CAST(sipName_map), (PyCFunction)meth_QFileDevice_map, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDevice_map)},
    {SIP_MLNAME_CAST(sipName_permissions), meth_QFileDevice_permissions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_permissions)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QFileDevice_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_pos)},
    {SIP_MLNAME_CAST(sipName_resize), meth_QFileDevice_resize, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_resize)},
    {SIP_MLNAME_CAST(sipName_seek), meth_QFileDevice_seek, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_seek)},
    {SIP_MLNAME_CAST(sipName_setPermissions), meth_QFileDevice_setPermissions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_setPermissions)},
    {SIP_MLNAME_CAST(sipName_size), meth_QFileDevice_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_size)},
    {SIP_MLNAME_CAST(sipName_unmap), meth_QFileDevice_unmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_unmap)},
    {SIP_MLNAME_CAST(sipName_unsetError), meth_QFileDevice_unsetError, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDevice_unsetError)}
};

static sipEnumMemberDef enummembers_QFileDevice[] = {
    {sipName_AbortError, static_cast<int>( ::QFileDevice::AbortError), 68},
    {sipName_AutoCloseHandle, static_cast<int>( ::QFileDevice::AutoCloseHandle), 69},
    {sipName_CopyError, static_cast<int>( ::QFileDevice::CopyError), 68},
    {sipName_DontCloseHandle, static_cast<int>( ::QFileDevice::DontCloseHandle), 69},
    {sipName_ExeGroup, static_cast<int>( ::QFileDevice::ExeGroup), 72},
    {sipName_ExeOther, static_cast<int>( ::QFileDevice::ExeOther), 72},
    {sipName_ExeOwner, static_cast<int>( ::QFileDevice::ExeOwner), 72},
    {sipName_ExeUser, static_cast<int>( ::QFileDevice::ExeUser), 72},
    {sipName_FatalError, static_cast<int>( ::QFileDevice::FatalError), 68},
    {sipName_MapPrivateOption, static_cast<int>( ::QFileDevice::MapPrivateOption), 71},
    {sipName_NoError, static_cast<int>( ::QFileDevice::NoError), 68},
    {sipName_NoOptions, static_cast<int>( ::QFileDevice::NoOptions), 71},
    {sipName_OpenError, static_cast<int>( ::QFileDevice::OpenError), 68},
    {sipName_PermissionsError, static_cast<int>( ::QFileDevice::PermissionsError), 68},
    {sipName_PositionError, static_cast<int>( ::QFileDevice::PositionError), 68},
    {sipName_ReadError, static_cast<int>( ::QFileDevice::ReadError), 68},
    {sipName_ReadGroup, static_cast<int>( ::QFileDevice::ReadGroup), 72},
    {sipName_ReadOther, static_cast<int>( ::QFileDevice::ReadOther), 72},
    {sipName_ReadOwner, static_cast<int>( ::QFileDevice::ReadOwner), 72},
    {sipName_ReadUser, static_cast<int>( ::QFileDevice::ReadUser), 72},
    {sipName_RemoveError, static_cast<int>( ::QFileDevice::RemoveError), 68},
    {sipName_RenameError, static_cast<int>( ::QFileDevice::RenameError), 68},
    {sipName_ResizeError, static_cast<int>( ::QFileDevice::ResizeError), 68},
    {sipName_ResourceError, static_cast<int>( ::QFileDevice::ResourceError), 68},
    {sipName_TimeOutError, static_cast<int>( ::QFileDevice::TimeOutError), 68},
    {sipName_UnspecifiedError, static_cast<int>( ::QFileDevice::UnspecifiedError), 68},
    {sipName_WriteError, static_cast<int>( ::QFileDevice::WriteError), 68},
    {sipName_WriteGroup, static_cast<int>( ::QFileDevice::WriteGroup), 72},
    {sipName_WriteOther, static_cast<int>( ::QFileDevice::WriteOther), 72},
    {sipName_WriteOwner, static_cast<int>( ::QFileDevice::WriteOwner), 72},
    {sipName_WriteUser, static_cast<int>( ::QFileDevice::WriteUser), 72},
};


static pyqt5ClassPluginDef plugin_QFileDevice = {
    & ::QFileDevice::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QFileDevice = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileDevice,
        {0},
        &plugin_QFileDevice
    },
    {
        sipNameNr_QFileDevice,
        {0, 0, 1},
        16, methods_QFileDevice,
        31, enummembers_QFileDevice,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QFileDevice,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileDevice,
    0,
    0,
    0,
    release_QFileDevice,
    cast_QFileDevice,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventtransition.sip"
#include <qeventtransition.h>
#line 132524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 132528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 132531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 132534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 132537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 132540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 132543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 132546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 132549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 132552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 132555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 132558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 132561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 132564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 132567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 132570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 132573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 132576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 132579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 132582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 132585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 132588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 132591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 132594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQEventTransition : public  ::QEventTransition
{
public:
    sipQEventTransition( ::QState*);
    sipQEventTransition( ::QObject*, ::QEvent::Type, ::QState*);
    virtual ~sipQEventTransition();

    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;
    bool sipProtectVirt_eventTest(bool, ::QEvent*);
    void sipProtectVirt_onTransition(bool, ::QEvent*);
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    bool eventTest( ::QEvent*);
    void onTransition( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQEventTransition(const sipQEventTransition &);
    sipQEventTransition &operator = (const sipQEventTransition &);

    char sipPyMethods[9];
};

sipQEventTransition::sipQEventTransition( ::QState*a0):  ::QEventTransition(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQEventTransition::sipQEventTransition( ::QObject*a0, ::QEvent::Type a1, ::QState*a2):  ::QEventTransition(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQEventTransition::~sipQEventTransition()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQEventTransition::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QEventTransition);

    return  ::QEventTransition::metaObject();
}

int sipQEventTransition::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QEventTransition::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QEventTransition,_c,_id,_a);

    return _id;
}

void *sipQEventTransition::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QEventTransition, _clname, &sipCpp) ? sipCpp :  ::QEventTransition::qt_metacast(_clname));
}

void sipQEventTransition::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QEventTransition::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventTransition::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QEventTransition::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventTransition::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QEventTransition::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventTransition::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QEventTransition::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventTransition::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QEventTransition::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQEventTransition::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QEventTransition::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQEventTransition::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QEventTransition::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQEventTransition::eventTest( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventTest);

    if (!sipMeth)
        return  ::QEventTransition::eventTest(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventTransition::onTransition( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_onTransition);

    if (!sipMeth)
    {
         ::QEventTransition::onTransition(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQEventTransition::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQEventTransition::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQEventTransition::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQEventTransition::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQEventTransition::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQEventTransition::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQEventTransition::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQEventTransition::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQEventTransition::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQEventTransition::sipProtectVirt_eventTest(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QEventTransition::eventTest(a0) : eventTest(a0));
}

void sipQEventTransition::sipProtectVirt_onTransition(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QEventTransition::onTransition(a0) : onTransition(a0));
}

bool sipQEventTransition::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QEventTransition::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QEventTransition_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QEventTransition_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QEventTransition, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 132947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventTransition, sipName_sender, doc_QEventTransition_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QEventTransition_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QEventTransition, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 133007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QEventTransition, sipName_receivers, doc_QEventTransition_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QEventTransition_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QEventTransition, &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_QEventTransition, sipName_timerEvent, doc_QEventTransition_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QEventTransition_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QEventTransition, &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_QEventTransition, sipName_childEvent, doc_QEventTransition_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QEventTransition_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QEventTransition, &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_QEventTransition, sipName_customEvent, doc_QEventTransition_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QEventTransition_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QEventTransition, &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_QEventTransition, sipName_connectNotify, doc_QEventTransition_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QEventTransition_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QEventTransition, &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_QEventTransition, sipName_disconnectNotify, doc_QEventTransition_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QEventTransition_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QEventTransition, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventTransition, sipName_senderSignalIndex, doc_QEventTransition_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QEventTransition_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QEventTransition, &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_QEventTransition, sipName_isSignalConnected, doc_QEventTransition_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_eventSource, "eventSource(self) -> QObject");

extern "C" {static PyObject *meth_QEventTransition_eventSource(PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_eventSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEventTransition, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->eventSource();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventTransition, sipName_eventSource, doc_QEventTransition_eventSource);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_setEventSource, "setEventSource(self, QObject)");

extern "C" {static PyObject *meth_QEventTransition_setEventSource(PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_setEventSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        PyObject *a0Keep;
         ::QEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QEventTransition, &sipCpp, &a0Keep, sipType_QObject, &a0))
        {
            sipCpp->setEventSource(a0);

            sipKeepReference(sipSelf, 10, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventTransition, sipName_setEventSource, doc_QEventTransition_setEventSource);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_eventType, "eventType(self) -> QEvent.Type");

extern "C" {static PyObject *meth_QEventTransition_eventType(PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_eventType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEventTransition, &sipCpp))
        {
             ::QEvent::Type sipRes;

            sipRes = sipCpp->eventType();

            return sipConvertFromEnum(sipRes,sipType_QEvent_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventTransition, sipName_eventType, doc_QEventTransition_eventType);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_setEventType, "setEventType(self, QEvent.Type)");

extern "C" {static PyObject *meth_QEventTransition_setEventType(PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_setEventType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEvent::Type a0;
         ::QEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QEventTransition, &sipCpp, sipType_QEvent_Type, &a0))
        {
            sipCpp->setEventType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventTransition, sipName_setEventType, doc_QEventTransition_setEventType);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_eventTest, "eventTest(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QEventTransition_eventTest(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_eventTest(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventTest(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventTransition, sipName_eventTest, doc_QEventTransition_eventTest);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_onTransition, "onTransition(self, QEvent)");

extern "C" {static PyObject *meth_QEventTransition_onTransition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_onTransition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onTransition(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventTransition, sipName_onTransition, doc_QEventTransition_onTransition);

    return NULL;
}


PyDoc_STRVAR(doc_QEventTransition_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QEventTransition_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventTransition_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventTransition, sipName_event, doc_QEventTransition_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QEventTransition(void *, const sipTypeDef *);}
static void *cast_QEventTransition(void *sipCppV, const sipTypeDef *targetType)
{
     ::QEventTransition *sipCpp = reinterpret_cast< ::QEventTransition *>(sipCppV);

    if (targetType == sipType_QAbstractTransition)
        return static_cast< ::QAbstractTransition *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QEventTransition(void *, int);}
static void release_QEventTransition(void *sipCppV, int)
{
     ::QEventTransition *sipCpp = reinterpret_cast< ::QEventTransition *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QEventTransition(sipSimpleWrapper *);}
static void dealloc_QEventTransition(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQEventTransition *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QEventTransition(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QEventTransition(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QEventTransition(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQEventTransition *sipCpp = 0;

    {
         ::QState* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_sourceState,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QState, &a0, sipOwner))
        {
            sipCpp = new sipQEventTransition(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QObject* a0;
        PyObject *a0Keep;
         ::QEvent::Type a1;
         ::QState* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_sourceState,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "@J8E|JH", &a0Keep, sipType_QObject, &a0, sipType_QEvent_Type, &a1, sipType_QState, &a2, sipOwner))
        {
            sipCpp = new sipQEventTransition(a0,a1,a2);

            sipKeepReference((PyObject *)sipSelf, 10, a0Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QEventTransition[] = {{13, 255, 1}};


static PyMethodDef methods_QEventTransition[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QEventTransition_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QEventTransition_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QEventTransition_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QEventTransition_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QEventTransition_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QEventTransition_event)},
    {SIP_MLNAME_CAST(sipName_eventSource), meth_QEventTransition_eventSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QEventTransition_eventSource)},
    {SIP_MLNAME_CAST(sipName_eventTest), (PyCFunction)meth_QEventTransition_eventTest, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QEventTransition_eventTest)},
    {SIP_MLNAME_CAST(sipName_eventType), meth_QEventTransition_eventType, METH_VARARGS, SIP_MLDOC_CAST(doc_QEventTransition_eventType)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QEventTransition_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_onTransition), (PyCFunction)meth_QEventTransition_onTransition, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QEventTransition_onTransition)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QEventTransition_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QEventTransition_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QEventTransition_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setEventSource), meth_QEventTransition_setEventSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QEventTransition_setEventSource)},
    {SIP_MLNAME_CAST(sipName_setEventType), meth_QEventTransition_setEventType, METH_VARARGS, SIP_MLDOC_CAST(doc_QEventTransition_setEventType)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QEventTransition_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QEventTransition, "\1QEventTransition(sourceState: QState = None)\n"
    "QEventTransition(QObject, QEvent.Type, sourceState: QState = None)");


static pyqt5ClassPluginDef plugin_QEventTransition = {
    & ::QEventTransition::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QEventTransition = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QEventTransition,
        {0},
        &plugin_QEventTransition
    },
    {
        sipNameNr_QEventTransition,
        {0, 0, 1},
        16, methods_QEventTransition,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEventTransition,
    -1,
    -1,
    supers_QEventTransition,
    0,
    init_type_QEventTransition,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QEventTransition,
    0,
    0,
    0,
    release_QEventTransition,
    cast_QEventTransition,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 65 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 133613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 133617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 133620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


/* Call the instance's destructor. */
extern "C" {static void release_QEventLoopLocker(void *, int);}
static void release_QEventLoopLocker(void *sipCppV, int)
{
    delete reinterpret_cast< ::QEventLoopLocker *>(sipCppV);
}


extern "C" {static void dealloc_QEventLoopLocker(sipSimpleWrapper *);}
static void dealloc_QEventLoopLocker(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QEventLoopLocker(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QEventLoopLocker(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QEventLoopLocker(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QEventLoopLocker *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QEventLoopLocker();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
         ::QEventLoop* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QEventLoop, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QEventLoopLocker(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
         ::QThread* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QThread, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new  ::QEventLoopLocker(a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}

PyDoc_STRVAR(doc_QEventLoopLocker, "\1QEventLoopLocker()\n"
    "QEventLoopLocker(QEventLoop)\n"
    "QEventLoopLocker(QThread)");


static pyqt5ClassPluginDef plugin_QEventLoopLocker = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QEventLoopLocker = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QEventLoopLocker,
        {0},
        &plugin_QEventLoopLocker
    },
    {
        sipNameNr_QEventLoopLocker,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEventLoopLocker,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QEventLoopLocker,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QEventLoopLocker,
    0,
    0,
    0,
    release_QEventLoopLocker,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 133751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 133755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QEventLoop_ProcessEventsFlags___hash__(PyObject *);}
static long slot_QEventLoop_ProcessEventsFlags___hash__(PyObject *sipSelf)
{
     ::QEventLoop::ProcessEventsFlags *sipCpp = reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEventLoop_ProcessEventsFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QEventLoop::ProcessEventsFlags::Int();
#line 133773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QEventLoop_ProcessEventsFlags___bool__(PyObject *);}
static int slot_QEventLoop_ProcessEventsFlags___bool__(PyObject *sipSelf)
{
     ::QEventLoop::ProcessEventsFlags *sipCpp = reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEventLoop_ProcessEventsFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QEventLoop::ProcessEventsFlags::Int() != 0);
#line 133798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QEventLoop_ProcessEventsFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QEventLoop::ProcessEventsFlags *sipCpp = reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEventLoop_ProcessEventsFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QEventLoop::ProcessEventsFlags::Int() != a0->operator QEventLoop::ProcessEventsFlags::Int());
#line 133828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QEventLoop::ProcessEventsFlags *>(a0),sipType_QEventLoop_ProcessEventsFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QEventLoop_ProcessEventsFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QEventLoop_ProcessEventsFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QEventLoop::ProcessEventsFlags *sipCpp = reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEventLoop_ProcessEventsFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QEventLoop::ProcessEventsFlags::Int() == a0->operator QEventLoop::ProcessEventsFlags::Int());
#line 133864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QEventLoop::ProcessEventsFlags *>(a0),sipType_QEventLoop_ProcessEventsFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QEventLoop_ProcessEventsFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QEventLoop_ProcessEventsFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QEventLoop_ProcessEventsFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QEventLoop::ProcessEventsFlags *sipCpp = reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEventLoop_ProcessEventsFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QEventLoop::ProcessEventsFlags(*sipCpp ^ a0);
#line 133903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QEventLoop_ProcessEventsFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State, &a1))
        {
             ::QEventLoop::ProcessEventsFlags*sipRes;

            sipRes = new  ::QEventLoop::ProcessEventsFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QEventLoop_ProcessEventsFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QEventLoop_ProcessEventsFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QEventLoop_ProcessEventsFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QEventLoop::ProcessEventsFlags *sipCpp = reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEventLoop_ProcessEventsFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QEventLoop::ProcessEventsFlags(*sipCpp | a0);
#line 133975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QEventLoop_ProcessEventsFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State, &a1))
        {
             ::QEventLoop::ProcessEventsFlags*sipRes;

            sipRes = new  ::QEventLoop::ProcessEventsFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QEventLoop_ProcessEventsFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QEventLoop_ProcessEventsFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QEventLoop_ProcessEventsFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QEventLoop::ProcessEventsFlags *sipCpp = reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEventLoop_ProcessEventsFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QEventLoop::ProcessEventsFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QEventLoop_ProcessEventsFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State, &a1))
        {
             ::QEventLoop::ProcessEventsFlags*sipRes;

            sipRes = new  ::QEventLoop::ProcessEventsFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QEventLoop_ProcessEventsFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QEventLoop_ProcessEventsFlags___invert__(PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___invert__(PyObject *sipSelf)
{
     ::QEventLoop::ProcessEventsFlags *sipCpp = reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEventLoop_ProcessEventsFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QEventLoop::ProcessEventsFlags*sipRes;

            sipRes = new  ::QEventLoop::ProcessEventsFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QEventLoop_ProcessEventsFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QEventLoop_ProcessEventsFlags___int__(PyObject *);}
static PyObject *slot_QEventLoop_ProcessEventsFlags___int__(PyObject *sipSelf)
{
     ::QEventLoop::ProcessEventsFlags *sipCpp = reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEventLoop_ProcessEventsFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QEventLoop_ProcessEventsFlags(void *, int);}
static void release_QEventLoop_ProcessEventsFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipCppV);
}


extern "C" {static void assign_QEventLoop_ProcessEventsFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QEventLoop_ProcessEventsFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QEventLoop::ProcessEventsFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QEventLoop::ProcessEventsFlags *>(sipSrc);
}


extern "C" {static void *array_QEventLoop_ProcessEventsFlags(SIP_SSIZE_T);}
static void *array_QEventLoop_ProcessEventsFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QEventLoop::ProcessEventsFlags[sipNrElem];
}


extern "C" {static void *copy_QEventLoop_ProcessEventsFlags(const void *, SIP_SSIZE_T);}
static void *copy_QEventLoop_ProcessEventsFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QEventLoop::ProcessEventsFlags(reinterpret_cast<const  ::QEventLoop::ProcessEventsFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QEventLoop_ProcessEventsFlags(sipSimpleWrapper *);}
static void dealloc_QEventLoop_ProcessEventsFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QEventLoop_ProcessEventsFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QEventLoop_ProcessEventsFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QEventLoop_ProcessEventsFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QEventLoop::ProcessEventsFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QEventLoop::ProcessEventsFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QEventLoop::ProcessEventsFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State))
        {
            sipCpp = new  ::QEventLoop::ProcessEventsFlags(*a0);
            sipReleaseType(const_cast< ::QEventLoop::ProcessEventsFlags *>(a0),sipType_QEventLoop_ProcessEventsFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QEventLoop_ProcessEventsFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QEventLoop_ProcessEventsFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QEventLoop::ProcessEventsFlags **sipCppPtr = reinterpret_cast< ::QEventLoop::ProcessEventsFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QEventLoop::ProcessEventsFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QEventLoop_ProcessEventsFlag)) ||
            sipCanConvertToType(sipPy, sipType_QEventLoop_ProcessEventsFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QEventLoop_ProcessEventsFlag)))
{
    *sipCppPtr = new QEventLoop::ProcessEventsFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QEventLoop::ProcessEventsFlags *>(sipConvertToType(sipPy, sipType_QEventLoop_ProcessEventsFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 134243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QEventLoop_ProcessEventsFlags[] = {
    {(void *)slot_QEventLoop_ProcessEventsFlags___hash__, hash_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___bool__, bool_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___ne__, ne_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___eq__, eq_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___ixor__, ixor_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___xor__, xor_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___ior__, ior_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___or__, or_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___iand__, iand_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___and__, and_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___invert__, invert_slot},
    {(void *)slot_QEventLoop_ProcessEventsFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QEventLoop_ProcessEventsFlags, "\1QEventLoop.ProcessEventsFlags()\n"
    "QEventLoop.ProcessEventsFlags(Union[QEventLoop.ProcessEventsFlags, QEventLoop.ProcessEventsFlag])\n"
    "QEventLoop.ProcessEventsFlags(QEventLoop.ProcessEventsFlags)");


static pyqt5ClassPluginDef plugin_QEventLoop_ProcessEventsFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QEventLoop_ProcessEventsFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QEventLoop__ProcessEventsFlags,
        {0},
        &plugin_QEventLoop_ProcessEventsFlags
    },
    {
        sipNameNr_ProcessEventsFlags,
        {61, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEventLoop_ProcessEventsFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QEventLoop_ProcessEventsFlags,
    init_type_QEventLoop_ProcessEventsFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QEventLoop_ProcessEventsFlags,
    assign_QEventLoop_ProcessEventsFlags,
    array_QEventLoop_ProcessEventsFlags,
    copy_QEventLoop_ProcessEventsFlags,
    release_QEventLoop_ProcessEventsFlags,
    0,
    convertTo_QEventLoop_ProcessEventsFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 134329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 134333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 134336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 134339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 134342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 134345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 134348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 134351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 134354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 134357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 134360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 134363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 134366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 134369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 134372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 134375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 134378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 134381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQEventLoop : public  ::QEventLoop
{
public:
    sipQEventLoop( ::QObject*);
    virtual ~sipQEventLoop();

    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 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:
    sipQEventLoop(const sipQEventLoop &);
    sipQEventLoop &operator = (const sipQEventLoop &);

    char sipPyMethods[7];
};

sipQEventLoop::sipQEventLoop( ::QObject*a0):  ::QEventLoop(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQEventLoop::~sipQEventLoop()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQEventLoop::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QEventLoop);

    return  ::QEventLoop::metaObject();
}

int sipQEventLoop::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QEventLoop::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QEventLoop,_c,_id,_a);

    return _id;
}

void *sipQEventLoop::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QEventLoop, _clname, &sipCpp) ? sipCpp :  ::QEventLoop::qt_metacast(_clname));
}

bool sipQEventLoop::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QEventLoop::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQEventLoop::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QEventLoop::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQEventLoop::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QEventLoop::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventLoop::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QEventLoop::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventLoop::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QEventLoop::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventLoop::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QEventLoop::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQEventLoop::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QEventLoop::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQEventLoop::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQEventLoop::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQEventLoop::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQEventLoop::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQEventLoop::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQEventLoop::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQEventLoop::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQEventLoop::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQEventLoop::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QEventLoop_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QEventLoop_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QEventLoop, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 134675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventLoop, sipName_sender, doc_QEventLoop_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QEventLoop_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QEventLoop, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 134735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QEventLoop, sipName_receivers, doc_QEventLoop_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QEventLoop_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QEventLoop, &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_QEventLoop, sipName_timerEvent, doc_QEventLoop_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QEventLoop_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QEventLoop, &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_QEventLoop, sipName_childEvent, doc_QEventLoop_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QEventLoop_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QEventLoop, &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_QEventLoop, sipName_customEvent, doc_QEventLoop_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QEventLoop_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QEventLoop, &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_QEventLoop, sipName_connectNotify, doc_QEventLoop_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QEventLoop_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QEventLoop, &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_QEventLoop, sipName_disconnectNotify, doc_QEventLoop_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QEventLoop_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QEventLoop, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventLoop, sipName_senderSignalIndex, doc_QEventLoop_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QEventLoop_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QEventLoop, &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_QEventLoop, sipName_isSignalConnected, doc_QEventLoop_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_processEvents, "processEvents(self, flags: Union[QEventLoop.ProcessEventsFlags, QEventLoop.ProcessEventsFlag] = QEventLoop.AllEvents) -> bool\n"
    "processEvents(self, Union[QEventLoop.ProcessEventsFlags, QEventLoop.ProcessEventsFlag], int)");

extern "C" {static PyObject *meth_QEventLoop_processEvents(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_processEvents(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEventLoop::ProcessEventsFlags a0def = QEventLoop::AllEvents;
         ::QEventLoop::ProcessEventsFlags* a0 = &a0def;
        int a0State = 0;
         ::QEventLoop *sipCpp;

        static const char *sipKwdList[] = {
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QEventLoop, &sipCpp, sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->processEvents(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
         ::QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;
        int a1;
         ::QEventLoop *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1i", &sipSelf, sipType_QEventLoop, &sipCpp, sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->processEvents(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventLoop, sipName_processEvents, doc_QEventLoop_processEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_exec_, "exec_(self, flags: QEventLoop.ProcessEventsFlags = QEventLoop.AllEvents) -> int");

extern "C" {static PyObject *meth_QEventLoop_exec_(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_exec_(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEventLoop::ProcessEventsFlags a0def =  ::QEventLoop::AllEvents;
         ::QEventLoop::ProcessEventsFlags* a0 = &a0def;
        int a0State = 0;
         ::QEventLoop *sipCpp;

        static const char *sipKwdList[] = {
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QEventLoop, &sipCpp, sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State))
        {
            int sipRes;

            sipCallHook("__pyQtPreEventLoopHook__");

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);


            sipCallHook("__pyQtPostEventLoopHook__");
            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventLoop, sipName_exec_, doc_QEventLoop_exec_);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_exec, "exec(self, flags: QEventLoop.ProcessEventsFlags = QEventLoop.AllEvents) -> int");

extern "C" {static PyObject *meth_QEventLoop_exec(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_exec(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEventLoop::ProcessEventsFlags a0def =  ::QEventLoop::AllEvents;
         ::QEventLoop::ProcessEventsFlags* a0 = &a0def;
        int a0State = 0;
         ::QEventLoop *sipCpp;

        static const char *sipKwdList[] = {
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QEventLoop, &sipCpp, sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State))
        {
            int sipRes;

            sipCallHook("__pyQtPreEventLoopHook__");

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);


            sipCallHook("__pyQtPostEventLoopHook__");
            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventLoop, sipName_exec, doc_QEventLoop_exec);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_exit, "exit(self, returnCode: int = 0)");

extern "C" {static PyObject *meth_QEventLoop_exit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_exit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
         ::QEventLoop *sipCpp;

        static const char *sipKwdList[] = {
            sipName_returnCode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QEventLoop, &sipCpp, &a0))
        {
            sipCpp->exit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventLoop, sipName_exit, doc_QEventLoop_exit);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_isRunning, "isRunning(self) -> bool");

extern "C" {static PyObject *meth_QEventLoop_isRunning(PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_isRunning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEventLoop *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEventLoop, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRunning();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventLoop, sipName_isRunning, doc_QEventLoop_isRunning);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_wakeUp, "wakeUp(self)");

extern "C" {static PyObject *meth_QEventLoop_wakeUp(PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_wakeUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEventLoop *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEventLoop, &sipCpp))
        {
            sipCpp->wakeUp();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventLoop, sipName_wakeUp, doc_QEventLoop_wakeUp);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_quit, "quit(self)");

extern "C" {static PyObject *meth_QEventLoop_quit(PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_quit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEventLoop *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEventLoop, &sipCpp))
        {
            sipCpp->quit();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventLoop, sipName_quit, doc_QEventLoop_quit);

    return NULL;
}


PyDoc_STRVAR(doc_QEventLoop_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QEventLoop_event(PyObject *, PyObject *);}
static PyObject *meth_QEventLoop_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::QEventLoop *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QEventLoop, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QEventLoop::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEventLoop, sipName_event, doc_QEventLoop_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QEventLoop(void *, const sipTypeDef *);}
static void *cast_QEventLoop(void *sipCppV, const sipTypeDef *targetType)
{
     ::QEventLoop *sipCpp = reinterpret_cast< ::QEventLoop *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QEventLoop(void *, int);}
static void release_QEventLoop(void *sipCppV, int)
{
     ::QEventLoop *sipCpp = reinterpret_cast< ::QEventLoop *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QEventLoop(sipSimpleWrapper *);}
static void dealloc_QEventLoop(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQEventLoop *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QEventLoop(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QEventLoop(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QEventLoop(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQEventLoop *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 sipQEventLoop(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QEventLoop[] = {{169, 255, 1}};


static PyMethodDef methods_QEventLoop[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QEventLoop_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QEventLoop_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QEventLoop_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QEventLoop_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_QEventLoop_event, METH_VARARGS, SIP_MLDOC_CAST(doc_QEventLoop_event)},
    {SIP_MLNAME_CAST(sipName_exec), (PyCFunction)meth_QEventLoop_exec, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QEventLoop_exec)},
    {SIP_MLNAME_CAST(sipName_exec_), (PyCFunction)meth_QEventLoop_exec_, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QEventLoop_exec_)},
    {SIP_MLNAME_CAST(sipName_exit), (PyCFunction)meth_QEventLoop_exit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QEventLoop_exit)},
    {SIP_MLNAME_CAST(sipName_isRunning), meth_QEventLoop_isRunning, METH_VARARGS, SIP_MLDOC_CAST(doc_QEventLoop_isRunning)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QEventLoop_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_processEvents), (PyCFunction)meth_QEventLoop_processEvents, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QEventLoop_processEvents)},
    {SIP_MLNAME_CAST(sipName_quit), meth_QEventLoop_quit, METH_VARARGS, SIP_MLDOC_CAST(doc_QEventLoop_quit)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QEventLoop_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QEventLoop_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QEventLoop_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QEventLoop_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wakeUp), meth_QEventLoop_wakeUp, METH_VARARGS, SIP_MLDOC_CAST(doc_QEventLoop_wakeUp)}
};

static sipEnumMemberDef enummembers_QEventLoop[] = {
    {sipName_AllEvents, static_cast<int>( ::QEventLoop::AllEvents), 62},
    {sipName_ExcludeSocketNotifiers, static_cast<int>( ::QEventLoop::ExcludeSocketNotifiers), 62},
    {sipName_ExcludeUserInputEvents, static_cast<int>( ::QEventLoop::ExcludeUserInputEvents), 62},
    {sipName_WaitForMoreEvents, static_cast<int>( ::QEventLoop::WaitForMoreEvents), 62},
    {sipName_X11ExcludeTimers, static_cast<int>( ::QEventLoop::X11ExcludeTimers), 62},
};

PyDoc_STRVAR(doc_QEventLoop, "\1QEventLoop(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QEventLoop = {
    & ::QEventLoop::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QEventLoop = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QEventLoop,
        {0},
        &plugin_QEventLoop
    },
    {
        sipNameNr_QEventLoop,
        {0, 0, 1},
        17, methods_QEventLoop,
        5, enummembers_QEventLoop,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEventLoop,
    -1,
    -1,
    supers_QEventLoop,
    0,
    init_type_QEventLoop,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QEventLoop,
    0,
    0,
    0,
    release_QEventLoop,
    cast_QEventLoop,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qelapsedtimer.sip"
#include <qelapsedtimer.h>
#line 135404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QElapsedTimer_clockType, "clockType() -> QElapsedTimer.ClockType");

extern "C" {static PyObject *meth_QElapsedTimer_clockType(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_clockType(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QElapsedTimer::ClockType sipRes;

            sipRes =  ::QElapsedTimer::clockType();

            return sipConvertFromEnum(sipRes,sipType_QElapsedTimer_ClockType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_clockType, doc_QElapsedTimer_clockType);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_isMonotonic, "isMonotonic() -> bool");

extern "C" {static PyObject *meth_QElapsedTimer_isMonotonic(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_isMonotonic(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes =  ::QElapsedTimer::isMonotonic();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_isMonotonic, doc_QElapsedTimer_isMonotonic);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_start, "start(self)");

extern "C" {static PyObject *meth_QElapsedTimer_start(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QElapsedTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QElapsedTimer, &sipCpp))
        {
            sipCpp->start();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_start, doc_QElapsedTimer_start);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_restart, "restart(self) -> int");

extern "C" {static PyObject *meth_QElapsedTimer_restart(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_restart(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QElapsedTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QElapsedTimer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->restart();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_restart, doc_QElapsedTimer_restart);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_invalidate, "invalidate(self)");

extern "C" {static PyObject *meth_QElapsedTimer_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QElapsedTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QElapsedTimer, &sipCpp))
        {
            sipCpp->invalidate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_invalidate, doc_QElapsedTimer_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QElapsedTimer_isValid(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QElapsedTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QElapsedTimer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_isValid, doc_QElapsedTimer_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_elapsed, "elapsed(self) -> int");

extern "C" {static PyObject *meth_QElapsedTimer_elapsed(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_elapsed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QElapsedTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QElapsedTimer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->elapsed();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_elapsed, doc_QElapsedTimer_elapsed);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_hasExpired, "hasExpired(self, int) -> bool");

extern "C" {static PyObject *meth_QElapsedTimer_hasExpired(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_hasExpired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
        const  ::QElapsedTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QElapsedTimer, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->hasExpired(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_hasExpired, doc_QElapsedTimer_hasExpired);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_msecsSinceReference, "msecsSinceReference(self) -> int");

extern "C" {static PyObject *meth_QElapsedTimer_msecsSinceReference(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_msecsSinceReference(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QElapsedTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QElapsedTimer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->msecsSinceReference();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_msecsSinceReference, doc_QElapsedTimer_msecsSinceReference);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_msecsTo, "msecsTo(self, QElapsedTimer) -> int");

extern "C" {static PyObject *meth_QElapsedTimer_msecsTo(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_msecsTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QElapsedTimer* a0;
        const  ::QElapsedTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QElapsedTimer, &sipCpp, sipType_QElapsedTimer, &a0))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->msecsTo(*a0);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_msecsTo, doc_QElapsedTimer_msecsTo);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_secsTo, "secsTo(self, QElapsedTimer) -> int");

extern "C" {static PyObject *meth_QElapsedTimer_secsTo(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_secsTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QElapsedTimer* a0;
        const  ::QElapsedTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QElapsedTimer, &sipCpp, sipType_QElapsedTimer, &a0))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->secsTo(*a0);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_secsTo, doc_QElapsedTimer_secsTo);

    return NULL;
}


PyDoc_STRVAR(doc_QElapsedTimer_nsecsElapsed, "nsecsElapsed(self) -> int");

extern "C" {static PyObject *meth_QElapsedTimer_nsecsElapsed(PyObject *, PyObject *);}
static PyObject *meth_QElapsedTimer_nsecsElapsed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QElapsedTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QElapsedTimer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->nsecsElapsed();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QElapsedTimer, sipName_nsecsElapsed, doc_QElapsedTimer_nsecsElapsed);

    return NULL;
}


extern "C" {static PyObject *slot_QElapsedTimer___ge__(PyObject *,PyObject *);}
static PyObject *slot_QElapsedTimer___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QElapsedTimer *sipCpp = reinterpret_cast< ::QElapsedTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QElapsedTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QElapsedTimer* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QElapsedTimer, &a0))
        {
            bool sipRes;

            sipRes = !operator<((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QElapsedTimer, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QElapsedTimer___lt__(PyObject *,PyObject *);}
static PyObject *slot_QElapsedTimer___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QElapsedTimer *sipCpp = reinterpret_cast< ::QElapsedTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QElapsedTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QElapsedTimer* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QElapsedTimer, &a0))
        {
            bool sipRes;

            sipRes = operator<((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QElapsedTimer, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QElapsedTimer___ne__(PyObject *,PyObject *);}
static PyObject *slot_QElapsedTimer___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QElapsedTimer *sipCpp = reinterpret_cast< ::QElapsedTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QElapsedTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QElapsedTimer* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QElapsedTimer, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QElapsedTimer::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QElapsedTimer, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QElapsedTimer___eq__(PyObject *,PyObject *);}
static PyObject *slot_QElapsedTimer___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QElapsedTimer *sipCpp = reinterpret_cast< ::QElapsedTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QElapsedTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QElapsedTimer* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QElapsedTimer, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QElapsedTimer::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QElapsedTimer, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QElapsedTimer(void *, int);}
static void release_QElapsedTimer(void *sipCppV, int)
{
    delete reinterpret_cast< ::QElapsedTimer *>(sipCppV);
}


extern "C" {static void assign_QElapsedTimer(void *, SIP_SSIZE_T, const void *);}
static void assign_QElapsedTimer(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QElapsedTimer *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QElapsedTimer *>(sipSrc);
}


extern "C" {static void *array_QElapsedTimer(SIP_SSIZE_T);}
static void *array_QElapsedTimer(SIP_SSIZE_T sipNrElem)
{
    return new  ::QElapsedTimer[sipNrElem];
}


extern "C" {static void *copy_QElapsedTimer(const void *, SIP_SSIZE_T);}
static void *copy_QElapsedTimer(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QElapsedTimer(reinterpret_cast<const  ::QElapsedTimer *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QElapsedTimer(sipSimpleWrapper *);}
static void dealloc_QElapsedTimer(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QElapsedTimer(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QElapsedTimer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QElapsedTimer(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QElapsedTimer *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QElapsedTimer();

            return sipCpp;
        }
    }

    {
        const  ::QElapsedTimer* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QElapsedTimer, &a0))
        {
            sipCpp = new  ::QElapsedTimer(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QElapsedTimer[] = {
    {(void *)slot_QElapsedTimer___ge__, ge_slot},
    {(void *)slot_QElapsedTimer___lt__, lt_slot},
    {(void *)slot_QElapsedTimer___ne__, ne_slot},
    {(void *)slot_QElapsedTimer___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QElapsedTimer[] = {
    {SIP_MLNAME_CAST(sipName_clockType), meth_QElapsedTimer_clockType, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_clockType)},
    {SIP_MLNAME_CAST(sipName_elapsed), meth_QElapsedTimer_elapsed, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_elapsed)},
    {SIP_MLNAME_CAST(sipName_hasExpired), meth_QElapsedTimer_hasExpired, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_hasExpired)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QElapsedTimer_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_invalidate)},
    {SIP_MLNAME_CAST(sipName_isMonotonic), meth_QElapsedTimer_isMonotonic, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_isMonotonic)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QElapsedTimer_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_isValid)},
    {SIP_MLNAME_CAST(sipName_msecsSinceReference), meth_QElapsedTimer_msecsSinceReference, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_msecsSinceReference)},
    {SIP_MLNAME_CAST(sipName_msecsTo), meth_QElapsedTimer_msecsTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_msecsTo)},
    {SIP_MLNAME_CAST(sipName_nsecsElapsed), meth_QElapsedTimer_nsecsElapsed, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_nsecsElapsed)},
    {SIP_MLNAME_CAST(sipName_restart), meth_QElapsedTimer_restart, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_restart)},
    {SIP_MLNAME_CAST(sipName_secsTo), meth_QElapsedTimer_secsTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_secsTo)},
    {SIP_MLNAME_CAST(sipName_start), meth_QElapsedTimer_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QElapsedTimer_start)}
};

static sipEnumMemberDef enummembers_QElapsedTimer[] = {
    {sipName_MachAbsoluteTime, static_cast<int>( ::QElapsedTimer::MachAbsoluteTime), 58},
    {sipName_MonotonicClock, static_cast<int>( ::QElapsedTimer::MonotonicClock), 58},
    {sipName_PerformanceCounter, static_cast<int>( ::QElapsedTimer::PerformanceCounter), 58},
    {sipName_SystemTime, static_cast<int>( ::QElapsedTimer::SystemTime), 58},
    {sipName_TickCounter, static_cast<int>( ::QElapsedTimer::TickCounter), 58},
};

PyDoc_STRVAR(doc_QElapsedTimer, "\1QElapsedTimer()\n"
    "QElapsedTimer(QElapsedTimer)");


static pyqt5ClassPluginDef plugin_QElapsedTimer = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QElapsedTimer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QElapsedTimer,
        {0},
        &plugin_QElapsedTimer
    },
    {
        sipNameNr_QElapsedTimer,
        {0, 0, 1},
        12, methods_QElapsedTimer,
        5, enummembers_QElapsedTimer,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QElapsedTimer,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QElapsedTimer,
    init_type_QElapsedTimer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QElapsedTimer,
    assign_QElapsedTimer,
    array_QElapsedTimer,
    copy_QElapsedTimer,
    release_QElapsedTimer,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 136034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 136038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 136041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeasingcurve.sip"
// The EasingFunction callback doesn't provide a context so we support a fixed
// number of different functions.

const int ec_nr_custom_types = 10;

struct ec_custom_type {
    PyObject *py_func;
    QEasingCurve::EasingFunction func;
};

static qreal ec_call(int ec, qreal v);

static qreal ec_func_0(qreal v)
{
    return ec_call(0, v);
}

static qreal ec_func_1(qreal v)
{
    return ec_call(1, v);
}

static qreal ec_func_2(qreal v)
{
    return ec_call(2, v);
}

static qreal ec_func_3(qreal v)
{
    return ec_call(3, v);
}

static qreal ec_func_4(qreal v)
{
    return ec_call(4, v);
}

static qreal ec_func_5(qreal v)
{
    return ec_call(5, v);
}

static qreal ec_func_6(qreal v)
{
    return ec_call(6, v);
}

static qreal ec_func_7(qreal v)
{
    return ec_call(7, v);
}

static qreal ec_func_8(qreal v)
{
    return ec_call(8, v);
}

static qreal ec_func_9(qreal v)
{
    return ec_call(9, v);
}

static ec_custom_type ec_custom_types[ec_nr_custom_types] = {
    {0, ec_func_0},
    {0, ec_func_1},
    {0, ec_func_2},
    {0, ec_func_3},
    {0, ec_func_4},
    {0, ec_func_5},
    {0, ec_func_6},
    {0, ec_func_7},
    {0, ec_func_8},
    {0, ec_func_9},
};

static qreal ec_call(int ec, qreal v)
{
    PyObject *res_obj;
    qreal res = 0.0;

    SIP_BLOCK_THREADS

    res_obj = PyObject_CallFunction(ec_custom_types[ec].py_func, (char *)"(d)", (double)v);

    if (res_obj)
    {
        PyErr_Clear();

        res = PyFloat_AsDouble(res_obj);
        Py_DECREF(res_obj);

        if (PyErr_Occurred())
            res_obj = 0;
    }

    if (!res_obj)
        pyqt5_err_print();

    SIP_UNBLOCK_THREADS

    return res;
}
#line 136145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QEasingCurve_amplitude, "amplitude(self) -> float");

extern "C" {static PyObject *meth_QEasingCurve_amplitude(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_amplitude(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEasingCurve, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->amplitude();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_amplitude, doc_QEasingCurve_amplitude);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_setAmplitude, "setAmplitude(self, float)");

extern "C" {static PyObject *meth_QEasingCurve_setAmplitude(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_setAmplitude(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QEasingCurve, &sipCpp, &a0))
        {
            sipCpp->setAmplitude(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_setAmplitude, doc_QEasingCurve_setAmplitude);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_period, "period(self) -> float");

extern "C" {static PyObject *meth_QEasingCurve_period(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_period(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEasingCurve, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->period();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_period, doc_QEasingCurve_period);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_setPeriod, "setPeriod(self, float)");

extern "C" {static PyObject *meth_QEasingCurve_setPeriod(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_setPeriod(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QEasingCurve, &sipCpp, &a0))
        {
            sipCpp->setPeriod(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_setPeriod, doc_QEasingCurve_setPeriod);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_overshoot, "overshoot(self) -> float");

extern "C" {static PyObject *meth_QEasingCurve_overshoot(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_overshoot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEasingCurve, &sipCpp))
        {
             ::qreal sipRes;

            sipRes = sipCpp->overshoot();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_overshoot, doc_QEasingCurve_overshoot);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_setOvershoot, "setOvershoot(self, float)");

extern "C" {static PyObject *meth_QEasingCurve_setOvershoot(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_setOvershoot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
         ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QEasingCurve, &sipCpp, &a0))
        {
            sipCpp->setOvershoot(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_setOvershoot, doc_QEasingCurve_setOvershoot);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_type, "type(self) -> QEasingCurve.Type");

extern "C" {static PyObject *meth_QEasingCurve_type(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEasingCurve, &sipCpp))
        {
             ::QEasingCurve::Type sipRes;

            sipRes = sipCpp->type();

            return sipConvertFromEnum(sipRes,sipType_QEasingCurve_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_type, doc_QEasingCurve_type);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_setType, "setType(self, QEasingCurve.Type)");

extern "C" {static PyObject *meth_QEasingCurve_setType(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_setType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEasingCurve::Type a0;
         ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QEasingCurve, &sipCpp, sipType_QEasingCurve_Type, &a0))
        {
            sipCpp->setType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_setType, doc_QEasingCurve_setType);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_setCustomType, "setCustomType(self, Callable[[], float])");

extern "C" {static PyObject *meth_QEasingCurve_setCustomType(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_setCustomType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
         ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BF", &sipSelf, sipType_QEasingCurve, &sipCpp, &a0))
        {
            sipErrorState sipError = sipErrorNone;

#line 228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeasingcurve.sip"
        int i;
        ec_custom_type *ct;
        
        for (i = 0; i < ec_nr_custom_types; ++i)
        {
            ct = &ec_custom_types[i];
        
            if (!ct->py_func || ct->py_func == a0)
                break;
        }
        
        if (i == ec_nr_custom_types)
        {
            PyErr_Format(PyExc_ValueError, "a maximum of %d different easing functions are supported", ec_nr_custom_types);
            sipError = sipErrorFail;
        }
        else
        {
            if (!ct->py_func)
            {
                ct->py_func = a0;
                Py_INCREF(a0);
            }
        
            sipCpp->setCustomType(ct->func);
        }
#line 136415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_setCustomType, doc_QEasingCurve_setCustomType);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_customType, "customType(self) -> Callable[[], float]");

extern "C" {static PyObject *meth_QEasingCurve_customType(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_customType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEasingCurve, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeasingcurve.sip"
        QEasingCurve::EasingFunction func = sipCpp->customType();
        
        sipRes = Py_None;
        
        if (func)
        {
            for (int i = 0; i < ec_nr_custom_types; ++i)
            {
                if (ec_custom_types[i].func == func)
                {
                    sipRes = ec_custom_types[i].py_func;
                    break;
                }
            }
        }
        
        Py_INCREF(sipRes);
#line 136470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_customType, doc_QEasingCurve_customType);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_valueForProgress, "valueForProgress(self, float) -> float");

extern "C" {static PyObject *meth_QEasingCurve_valueForProgress(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_valueForProgress(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qreal a0;
        const  ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QEasingCurve, &sipCpp, &a0))
        {
             ::qreal sipRes;

            sipRes = sipCpp->valueForProgress(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_valueForProgress, doc_QEasingCurve_valueForProgress);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_swap, "swap(self, QEasingCurve)");

extern "C" {static PyObject *meth_QEasingCurve_swap(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEasingCurve* a0;
         ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QEasingCurve, &sipCpp, sipType_QEasingCurve, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_swap, doc_QEasingCurve_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_addCubicBezierSegment, "addCubicBezierSegment(self, Union[QPointF, QPoint], Union[QPointF, QPoint], Union[QPointF, QPoint])");

extern "C" {static PyObject *meth_QEasingCurve_addCubicBezierSegment(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_addCubicBezierSegment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
        const  ::QPointF* a1;
        int a1State = 0;
        const  ::QPointF* a2;
        int a2State = 0;
         ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QEasingCurve, &sipCpp, sipType_QPointF, &a0, &a0State, sipType_QPointF, &a1, &a1State, sipType_QPointF, &a2, &a2State))
        {
            sipCpp->addCubicBezierSegment(*a0,*a1,*a2);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);
            sipReleaseType(const_cast< ::QPointF *>(a1),sipType_QPointF,a1State);
            sipReleaseType(const_cast< ::QPointF *>(a2),sipType_QPointF,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_addCubicBezierSegment, doc_QEasingCurve_addCubicBezierSegment);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_addTCBSegment, "addTCBSegment(self, Union[QPointF, QPoint], float, float, float)");

extern "C" {static PyObject *meth_QEasingCurve_addTCBSegment(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_addTCBSegment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPointF* a0;
        int a0State = 0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1ddd", &sipSelf, sipType_QEasingCurve, &sipCpp, sipType_QPointF, &a0, &a0State, &a1, &a2, &a3))
        {
            sipCpp->addTCBSegment(*a0,a1,a2,a3);
            sipReleaseType(const_cast< ::QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_addTCBSegment, doc_QEasingCurve_addTCBSegment);

    return NULL;
}


PyDoc_STRVAR(doc_QEasingCurve_toCubicSpline, "toCubicSpline(self) -> object");

extern "C" {static PyObject *meth_QEasingCurve_toCubicSpline(PyObject *, PyObject *);}
static PyObject *meth_QEasingCurve_toCubicSpline(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEasingCurve *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEasingCurve, &sipCpp))
        {
            QVector< ::QPointF>*sipRes;

            sipRes = new QVector< ::QPointF>(sipCpp->toCubicSpline());

            return sipConvertFromNewType(sipRes,sipType_QVector_0100QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEasingCurve, sipName_toCubicSpline, doc_QEasingCurve_toCubicSpline);

    return NULL;
}


extern "C" {static PyObject *slot_QEasingCurve___ne__(PyObject *,PyObject *);}
static PyObject *slot_QEasingCurve___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QEasingCurve *sipCpp = reinterpret_cast< ::QEasingCurve *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEasingCurve));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QEasingCurve* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QEasingCurve, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QEasingCurve::operator!=(*a0);
            sipReleaseType(const_cast< ::QEasingCurve *>(a0),sipType_QEasingCurve,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QEasingCurve, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QEasingCurve___eq__(PyObject *,PyObject *);}
static PyObject *slot_QEasingCurve___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QEasingCurve *sipCpp = reinterpret_cast< ::QEasingCurve *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QEasingCurve));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QEasingCurve* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QEasingCurve, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QEasingCurve::operator==(*a0);
            sipReleaseType(const_cast< ::QEasingCurve *>(a0),sipType_QEasingCurve,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QEasingCurve, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QEasingCurve(void *, int);}
static void release_QEasingCurve(void *sipCppV, int)
{
    delete reinterpret_cast< ::QEasingCurve *>(sipCppV);
}


extern "C" {static void assign_QEasingCurve(void *, SIP_SSIZE_T, const void *);}
static void assign_QEasingCurve(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QEasingCurve *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QEasingCurve *>(sipSrc);
}


extern "C" {static void *array_QEasingCurve(SIP_SSIZE_T);}
static void *array_QEasingCurve(SIP_SSIZE_T sipNrElem)
{
    return new  ::QEasingCurve[sipNrElem];
}


extern "C" {static void *copy_QEasingCurve(const void *, SIP_SSIZE_T);}
static void *copy_QEasingCurve(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QEasingCurve(reinterpret_cast<const  ::QEasingCurve *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QEasingCurve(sipSimpleWrapper *);}
static void dealloc_QEasingCurve(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QEasingCurve(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QEasingCurve(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QEasingCurve(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QEasingCurve *sipCpp = 0;

    {
         ::QEasingCurve::Type a0 = QEasingCurve::Linear;

        static const char *sipKwdList[] = {
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|E", sipType_QEasingCurve_Type, &a0))
        {
            sipCpp = new  ::QEasingCurve(a0);

            return sipCpp;
        }
    }

    {
        const  ::QEasingCurve* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QEasingCurve, &a0, &a0State))
        {
            sipCpp = new  ::QEasingCurve(*a0);
            sipReleaseType(const_cast< ::QEasingCurve *>(a0),sipType_QEasingCurve,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QEasingCurve(PyObject *, void **, int *, PyObject *);}
static int convertTo_QEasingCurve(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QEasingCurve **sipCppPtr = reinterpret_cast< ::QEasingCurve **>(sipCppPtrV);

#line 135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeasingcurve.sip"
// Allow a QEasingCurve::Type whenever a QEasingCurve is expected.

if (sipIsErr == NULL)
{
    if (sipCanConvertToType(sipPy, sipType_QEasingCurve, SIP_NO_CONVERTORS))
        return 1;

    if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QEasingCurve_Type)))
        return 1;

    return 0;
}

if (sipCanConvertToType(sipPy, sipType_QEasingCurve, SIP_NO_CONVERTORS))
{
    *sipCppPtr = reinterpret_cast<QEasingCurve *>(sipConvertToType(sipPy, sipType_QEasingCurve, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

    return 0;
}

*sipCppPtr = new QEasingCurve((QEasingCurve::Type)SIPLong_AsLong(sipPy));

return sipGetState(sipTransferObj);
#line 136810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QEasingCurve[] = {
    {(void *)slot_QEasingCurve___ne__, ne_slot},
    {(void *)slot_QEasingCurve___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QEasingCurve[] = {
    {SIP_MLNAME_CAST(sipName_addCubicBezierSegment), meth_QEasingCurve_addCubicBezierSegment, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_addCubicBezierSegment)},
    {SIP_MLNAME_CAST(sipName_addTCBSegment), meth_QEasingCurve_addTCBSegment, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_addTCBSegment)},
    {SIP_MLNAME_CAST(sipName_amplitude), meth_QEasingCurve_amplitude, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_amplitude)},
    {SIP_MLNAME_CAST(sipName_customType), meth_QEasingCurve_customType, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_customType)},
    {SIP_MLNAME_CAST(sipName_overshoot), meth_QEasingCurve_overshoot, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_overshoot)},
    {SIP_MLNAME_CAST(sipName_period), meth_QEasingCurve_period, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_period)},
    {SIP_MLNAME_CAST(sipName_setAmplitude), meth_QEasingCurve_setAmplitude, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_setAmplitude)},
    {SIP_MLNAME_CAST(sipName_setCustomType), meth_QEasingCurve_setCustomType, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_setCustomType)},
    {SIP_MLNAME_CAST(sipName_setOvershoot), meth_QEasingCurve_setOvershoot, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_setOvershoot)},
    {SIP_MLNAME_CAST(sipName_setPeriod), meth_QEasingCurve_setPeriod, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_setPeriod)},
    {SIP_MLNAME_CAST(sipName_setType), meth_QEasingCurve_setType, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_setType)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QEasingCurve_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_swap)},
    {SIP_MLNAME_CAST(sipName_toCubicSpline), meth_QEasingCurve_toCubicSpline, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_toCubicSpline)},
    {SIP_MLNAME_CAST(sipName_type), meth_QEasingCurve_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_type)},
    {SIP_MLNAME_CAST(sipName_valueForProgress), meth_QEasingCurve_valueForProgress, METH_VARARGS, SIP_MLDOC_CAST(doc_QEasingCurve_valueForProgress)}
};

static sipEnumMemberDef enummembers_QEasingCurve[] = {
    {sipName_BezierSpline, static_cast<int>( ::QEasingCurve::BezierSpline), 56},
    {sipName_CosineCurve, static_cast<int>( ::QEasingCurve::CosineCurve), 56},
    {sipName_Custom, static_cast<int>( ::QEasingCurve::Custom), 56},
    {sipName_InBack, static_cast<int>( ::QEasingCurve::InBack), 56},
    {sipName_InBounce, static_cast<int>( ::QEasingCurve::InBounce), 56},
    {sipName_InCirc, static_cast<int>( ::QEasingCurve::InCirc), 56},
    {sipName_InCubic, static_cast<int>( ::QEasingCurve::InCubic), 56},
    {sipName_InCurve, static_cast<int>( ::QEasingCurve::InCurve), 56},
    {sipName_InElastic, static_cast<int>( ::QEasingCurve::InElastic), 56},
    {sipName_InExpo, static_cast<int>( ::QEasingCurve::InExpo), 56},
    {sipName_InOutBack, static_cast<int>( ::QEasingCurve::InOutBack), 56},
    {sipName_InOutBounce, static_cast<int>( ::QEasingCurve::InOutBounce), 56},
    {sipName_InOutCirc, static_cast<int>( ::QEasingCurve::InOutCirc), 56},
    {sipName_InOutCubic, static_cast<int>( ::QEasingCurve::InOutCubic), 56},
    {sipName_InOutElastic, static_cast<int>( ::QEasingCurve::InOutElastic), 56},
    {sipName_InOutExpo, static_cast<int>( ::QEasingCurve::InOutExpo), 56},
    {sipName_InOutQuad, static_cast<int>( ::QEasingCurve::InOutQuad), 56},
    {sipName_InOutQuart, static_cast<int>( ::QEasingCurve::InOutQuart), 56},
    {sipName_InOutQuint, static_cast<int>( ::QEasingCurve::InOutQuint), 56},
    {sipName_InOutSine, static_cast<int>( ::QEasingCurve::InOutSine), 56},
    {sipName_InQuad, static_cast<int>( ::QEasingCurve::InQuad), 56},
    {sipName_InQuart, static_cast<int>( ::QEasingCurve::InQuart), 56},
    {sipName_InQuint, static_cast<int>( ::QEasingCurve::InQuint), 56},
    {sipName_InSine, static_cast<int>( ::QEasingCurve::InSine), 56},
    {sipName_Linear, static_cast<int>( ::QEasingCurve::Linear), 56},
    {sipName_OutBack, static_cast<int>( ::QEasingCurve::OutBack), 56},
    {sipName_OutBounce, static_cast<int>( ::QEasingCurve::OutBounce), 56},
    {sipName_OutCirc, static_cast<int>( ::QEasingCurve::OutCirc), 56},
    {sipName_OutCubic, static_cast<int>( ::QEasingCurve::OutCubic), 56},
    {sipName_OutCurve, static_cast<int>( ::QEasingCurve::OutCurve), 56},
    {sipName_OutElastic, static_cast<int>( ::QEasingCurve::OutElastic), 56},
    {sipName_OutExpo, static_cast<int>( ::QEasingCurve::OutExpo), 56},
    {sipName_OutInBack, static_cast<int>( ::QEasingCurve::OutInBack), 56},
    {sipName_OutInBounce, static_cast<int>( ::QEasingCurve::OutInBounce), 56},
    {sipName_OutInCirc, static_cast<int>( ::QEasingCurve::OutInCirc), 56},
    {sipName_OutInCubic, static_cast<int>( ::QEasingCurve::OutInCubic), 56},
    {sipName_OutInElastic, static_cast<int>( ::QEasingCurve::OutInElastic), 56},
    {sipName_OutInExpo, static_cast<int>( ::QEasingCurve::OutInExpo), 56},
    {sipName_OutInQuad, static_cast<int>( ::QEasingCurve::OutInQuad), 56},
    {sipName_OutInQuart, static_cast<int>( ::QEasingCurve::OutInQuart), 56},
    {sipName_OutInQuint, static_cast<int>( ::QEasingCurve::OutInQuint), 56},
    {sipName_OutInSine, static_cast<int>( ::QEasingCurve::OutInSine), 56},
    {sipName_OutQuad, static_cast<int>( ::QEasingCurve::OutQuad), 56},
    {sipName_OutQuart, static_cast<int>( ::QEasingCurve::OutQuart), 56},
    {sipName_OutQuint, static_cast<int>( ::QEasingCurve::OutQuint), 56},
    {sipName_OutSine, static_cast<int>( ::QEasingCurve::OutSine), 56},
    {sipName_SineCurve, static_cast<int>( ::QEasingCurve::SineCurve), 56},
    {sipName_TCBSpline, static_cast<int>( ::QEasingCurve::TCBSpline), 56},
};

PyDoc_STRVAR(doc_QEasingCurve, "\1QEasingCurve(type: QEasingCurve.Type = QEasingCurve.Linear)\n"
    "QEasingCurve(Union[QEasingCurve, QEasingCurve.Type])");


static pyqt5ClassPluginDef plugin_QEasingCurve = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QEasingCurve = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QEasingCurve,
        {0},
        &plugin_QEasingCurve
    },
    {
        sipNameNr_QEasingCurve,
        {0, 0, 1},
        15, methods_QEasingCurve,
        48, enummembers_QEasingCurve,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEasingCurve,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QEasingCurve,
    init_type_QEasingCurve,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QEasingCurve,
    assign_QEasingCurve,
    array_QEasingCurve,
    copy_QEasingCurve,
    release_QEasingCurve,
    0,
    convertTo_QEasingCurve,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 136955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 136959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QDirIterator_IteratorFlags___hash__(PyObject *);}
static long slot_QDirIterator_IteratorFlags___hash__(PyObject *sipSelf)
{
     ::QDirIterator::IteratorFlags *sipCpp = reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDirIterator_IteratorFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QDirIterator::IteratorFlags::Int();
#line 136977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QDirIterator_IteratorFlags___bool__(PyObject *);}
static int slot_QDirIterator_IteratorFlags___bool__(PyObject *sipSelf)
{
     ::QDirIterator::IteratorFlags *sipCpp = reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDirIterator_IteratorFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDirIterator::IteratorFlags::Int() != 0);
#line 137002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDirIterator_IteratorFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDirIterator::IteratorFlags *sipCpp = reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDirIterator_IteratorFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDirIterator::IteratorFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDirIterator_IteratorFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDirIterator::IteratorFlags::Int() != a0->operator QDirIterator::IteratorFlags::Int());
#line 137032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QDirIterator::IteratorFlags *>(a0),sipType_QDirIterator_IteratorFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QDirIterator_IteratorFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDirIterator_IteratorFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDirIterator::IteratorFlags *sipCpp = reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDirIterator_IteratorFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDirIterator::IteratorFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDirIterator_IteratorFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDirIterator::IteratorFlags::Int() == a0->operator QDirIterator::IteratorFlags::Int());
#line 137068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QDirIterator::IteratorFlags *>(a0),sipType_QDirIterator_IteratorFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QDirIterator_IteratorFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDirIterator_IteratorFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDirIterator_IteratorFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDirIterator::IteratorFlags *sipCpp = reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDirIterator_IteratorFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QDirIterator::IteratorFlags(*sipCpp ^ a0);
#line 137107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDirIterator_IteratorFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDirIterator::IteratorFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDirIterator_IteratorFlags, &a0, &a0State, &a1))
        {
             ::QDirIterator::IteratorFlags*sipRes;

            sipRes = new  ::QDirIterator::IteratorFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QDirIterator_IteratorFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDirIterator_IteratorFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDirIterator_IteratorFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDirIterator_IteratorFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDirIterator::IteratorFlags *sipCpp = reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDirIterator_IteratorFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QDirIterator::IteratorFlags(*sipCpp | a0);
#line 137179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDirIterator_IteratorFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDirIterator::IteratorFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDirIterator_IteratorFlags, &a0, &a0State, &a1))
        {
             ::QDirIterator::IteratorFlags*sipRes;

            sipRes = new  ::QDirIterator::IteratorFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QDirIterator_IteratorFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDirIterator_IteratorFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDirIterator_IteratorFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDirIterator_IteratorFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDirIterator::IteratorFlags *sipCpp = reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDirIterator_IteratorFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QDirIterator::IteratorFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDirIterator_IteratorFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDirIterator::IteratorFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDirIterator_IteratorFlags, &a0, &a0State, &a1))
        {
             ::QDirIterator::IteratorFlags*sipRes;

            sipRes = new  ::QDirIterator::IteratorFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QDirIterator_IteratorFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDirIterator_IteratorFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDirIterator_IteratorFlags___invert__(PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___invert__(PyObject *sipSelf)
{
     ::QDirIterator::IteratorFlags *sipCpp = reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDirIterator_IteratorFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QDirIterator::IteratorFlags*sipRes;

            sipRes = new  ::QDirIterator::IteratorFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QDirIterator_IteratorFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDirIterator_IteratorFlags___int__(PyObject *);}
static PyObject *slot_QDirIterator_IteratorFlags___int__(PyObject *sipSelf)
{
     ::QDirIterator::IteratorFlags *sipCpp = reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDirIterator_IteratorFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDirIterator_IteratorFlags(void *, int);}
static void release_QDirIterator_IteratorFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipCppV);
}


extern "C" {static void assign_QDirIterator_IteratorFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QDirIterator_IteratorFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QDirIterator::IteratorFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QDirIterator::IteratorFlags *>(sipSrc);
}


extern "C" {static void *array_QDirIterator_IteratorFlags(SIP_SSIZE_T);}
static void *array_QDirIterator_IteratorFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDirIterator::IteratorFlags[sipNrElem];
}


extern "C" {static void *copy_QDirIterator_IteratorFlags(const void *, SIP_SSIZE_T);}
static void *copy_QDirIterator_IteratorFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QDirIterator::IteratorFlags(reinterpret_cast<const  ::QDirIterator::IteratorFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDirIterator_IteratorFlags(sipSimpleWrapper *);}
static void dealloc_QDirIterator_IteratorFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDirIterator_IteratorFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QDirIterator_IteratorFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDirIterator_IteratorFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QDirIterator::IteratorFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QDirIterator::IteratorFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QDirIterator::IteratorFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QDirIterator::IteratorFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDirIterator_IteratorFlags, &a0, &a0State))
        {
            sipCpp = new  ::QDirIterator::IteratorFlags(*a0);
            sipReleaseType(const_cast< ::QDirIterator::IteratorFlags *>(a0),sipType_QDirIterator_IteratorFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QDirIterator_IteratorFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDirIterator_IteratorFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QDirIterator::IteratorFlags **sipCppPtr = reinterpret_cast< ::QDirIterator::IteratorFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QDirIterator::IteratorFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDirIterator_IteratorFlag)) ||
            sipCanConvertToType(sipPy, sipType_QDirIterator_IteratorFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDirIterator_IteratorFlag)))
{
    *sipCppPtr = new QDirIterator::IteratorFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDirIterator::IteratorFlags *>(sipConvertToType(sipPy, sipType_QDirIterator_IteratorFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 137447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDirIterator_IteratorFlags[] = {
    {(void *)slot_QDirIterator_IteratorFlags___hash__, hash_slot},
    {(void *)slot_QDirIterator_IteratorFlags___bool__, bool_slot},
    {(void *)slot_QDirIterator_IteratorFlags___ne__, ne_slot},
    {(void *)slot_QDirIterator_IteratorFlags___eq__, eq_slot},
    {(void *)slot_QDirIterator_IteratorFlags___ixor__, ixor_slot},
    {(void *)slot_QDirIterator_IteratorFlags___xor__, xor_slot},
    {(void *)slot_QDirIterator_IteratorFlags___ior__, ior_slot},
    {(void *)slot_QDirIterator_IteratorFlags___or__, or_slot},
    {(void *)slot_QDirIterator_IteratorFlags___iand__, iand_slot},
    {(void *)slot_QDirIterator_IteratorFlags___and__, and_slot},
    {(void *)slot_QDirIterator_IteratorFlags___invert__, invert_slot},
    {(void *)slot_QDirIterator_IteratorFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDirIterator_IteratorFlags, "\1QDirIterator.IteratorFlags()\n"
    "QDirIterator.IteratorFlags(Union[QDirIterator.IteratorFlags, QDirIterator.IteratorFlag])\n"
    "QDirIterator.IteratorFlags(QDirIterator.IteratorFlags)");


static pyqt5ClassPluginDef plugin_QDirIterator_IteratorFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QDirIterator_IteratorFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDirIterator__IteratorFlags,
        {0},
        &plugin_QDirIterator_IteratorFlags
    },
    {
        sipNameNr_IteratorFlags,
        {51, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDirIterator_IteratorFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDirIterator_IteratorFlags,
    init_type_QDirIterator_IteratorFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDirIterator_IteratorFlags,
    assign_QDirIterator_IteratorFlags,
    array_QDirIterator_IteratorFlags,
    copy_QDirIterator_IteratorFlags,
    release_QDirIterator_IteratorFlags,
    0,
    convertTo_QDirIterator_IteratorFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 137533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 137537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdiriterator.sip"
#include <qdiriterator.h>
#line 137540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 137543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 137546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 137549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 137552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDirIterator_next, "next(self) -> str");

extern "C" {static PyObject *meth_QDirIterator_next(PyObject *, PyObject *);}
static PyObject *meth_QDirIterator_next(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDirIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirIterator, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->next());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirIterator, sipName_next, doc_QDirIterator_next);

    return NULL;
}


PyDoc_STRVAR(doc_QDirIterator_hasNext, "hasNext(self) -> bool");

extern "C" {static PyObject *meth_QDirIterator_hasNext(PyObject *, PyObject *);}
static PyObject *meth_QDirIterator_hasNext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDirIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirIterator, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasNext();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirIterator, sipName_hasNext, doc_QDirIterator_hasNext);

    return NULL;
}


PyDoc_STRVAR(doc_QDirIterator_fileName, "fileName(self) -> str");

extern "C" {static PyObject *meth_QDirIterator_fileName(PyObject *, PyObject *);}
static PyObject *meth_QDirIterator_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDirIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirIterator, &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_QDirIterator, sipName_fileName, doc_QDirIterator_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QDirIterator_filePath, "filePath(self) -> str");

extern "C" {static PyObject *meth_QDirIterator_filePath(PyObject *, PyObject *);}
static PyObject *meth_QDirIterator_filePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDirIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirIterator, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->filePath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirIterator, sipName_filePath, doc_QDirIterator_filePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDirIterator_fileInfo, "fileInfo(self) -> QFileInfo");

extern "C" {static PyObject *meth_QDirIterator_fileInfo(PyObject *, PyObject *);}
static PyObject *meth_QDirIterator_fileInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDirIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirIterator, &sipCpp))
        {
             ::QFileInfo*sipRes;

            sipRes = new  ::QFileInfo(sipCpp->fileInfo());

            return sipConvertFromNewType(sipRes,sipType_QFileInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirIterator, sipName_fileInfo, doc_QDirIterator_fileInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QDirIterator_path, "path(self) -> str");

extern "C" {static PyObject *meth_QDirIterator_path(PyObject *, PyObject *);}
static PyObject *meth_QDirIterator_path(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDirIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirIterator, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->path());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirIterator, sipName_path, doc_QDirIterator_path);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDirIterator(void *, int);}
static void release_QDirIterator(void *sipCppV, int)
{
    delete reinterpret_cast< ::QDirIterator *>(sipCppV);
}


extern "C" {static void dealloc_QDirIterator(sipSimpleWrapper *);}
static void dealloc_QDirIterator(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDirIterator(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QDirIterator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDirIterator(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QDirIterator *sipCpp = 0;

    {
        const  ::QDir* a0;
         ::QDirIterator::IteratorFlags a1def =  ::QDirIterator::NoIteratorFlags;
         ::QDirIterator::IteratorFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|J1", sipType_QDir, &a0, sipType_QDirIterator_IteratorFlags, &a1, &a1State))
        {
            sipCpp = new  ::QDirIterator(*a0,*a1);
            sipReleaseType(a1,sipType_QDirIterator_IteratorFlags,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QDirIterator::IteratorFlags a1def =  ::QDirIterator::NoIteratorFlags;
         ::QDirIterator::IteratorFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|J1", sipType_QString,&a0, &a0State, sipType_QDirIterator_IteratorFlags, &a1, &a1State))
        {
            sipCpp = new  ::QDirIterator(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QDirIterator_IteratorFlags,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QDir::Filters* a1;
        int a1State = 0;
         ::QDirIterator::IteratorFlags a2def =  ::QDirIterator::NoIteratorFlags;
         ::QDirIterator::IteratorFlags* a2 = &a2def;
        int a2State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1|J1", sipType_QString,&a0, &a0State, sipType_QDir_Filters, &a1, &a1State, sipType_QDirIterator_IteratorFlags, &a2, &a2State))
        {
            sipCpp = new  ::QDirIterator(*a0,*a1,*a2);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QDir_Filters,a1State);
            sipReleaseType(a2,sipType_QDirIterator_IteratorFlags,a2State);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QStringList* a1;
        int a1State = 0;
         ::QDir::Filters a2def = QDir::NoFilter;
         ::QDir::Filters* a2 = &a2def;
        int a2State = 0;
         ::QDirIterator::IteratorFlags a3def =  ::QDirIterator::NoIteratorFlags;
         ::QDirIterator::IteratorFlags* a3 = &a3def;
        int a3State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_filters,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1|J1J1", sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State, sipType_QDir_Filters, &a2, &a2State, sipType_QDirIterator_IteratorFlags, &a3, &a3State))
        {
            sipCpp = new  ::QDirIterator(*a0,*a1,*a2,*a3);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a1),sipType_QStringList,a1State);
            sipReleaseType(a2,sipType_QDir_Filters,a2State);
            sipReleaseType(a3,sipType_QDirIterator_IteratorFlags,a3State);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QDirIterator[] = {
    {SIP_MLNAME_CAST(sipName_fileInfo), meth_QDirIterator_fileInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirIterator_fileInfo)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QDirIterator_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirIterator_fileName)},
    {SIP_MLNAME_CAST(sipName_filePath), meth_QDirIterator_filePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirIterator_filePath)},
    {SIP_MLNAME_CAST(sipName_hasNext), meth_QDirIterator_hasNext, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirIterator_hasNext)},
    {SIP_MLNAME_CAST(sipName_next), meth_QDirIterator_next, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirIterator_next)},
    {SIP_MLNAME_CAST(sipName_path), meth_QDirIterator_path, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirIterator_path)}
};

static sipEnumMemberDef enummembers_QDirIterator[] = {
    {sipName_FollowSymlinks, static_cast<int>( ::QDirIterator::FollowSymlinks), 52},
    {sipName_NoIteratorFlags, static_cast<int>( ::QDirIterator::NoIteratorFlags), 52},
    {sipName_Subdirectories, static_cast<int>( ::QDirIterator::Subdirectories), 52},
};

PyDoc_STRVAR(doc_QDirIterator, "\1QDirIterator(QDir, flags: QDirIterator.IteratorFlags = QDirIterator.NoIteratorFlags)\n"
    "QDirIterator(str, flags: QDirIterator.IteratorFlags = QDirIterator.NoIteratorFlags)\n"
    "QDirIterator(str, QDir.Filters, flags: QDirIterator.IteratorFlags = QDirIterator.NoIteratorFlags)\n"
    "QDirIterator(str, Iterable[str], filters: QDir.Filters = QDir.NoFilter, flags: QDirIterator.IteratorFlags = QDirIterator.NoIteratorFlags)");


static pyqt5ClassPluginDef plugin_QDirIterator = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QDirIterator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDirIterator,
        {0},
        &plugin_QDirIterator
    },
    {
        sipNameNr_QDirIterator,
        {0, 0, 1},
        6, methods_QDirIterator,
        3, enummembers_QDirIterator,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDirIterator,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QDirIterator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDirIterator,
    0,
    0,
    0,
    release_QDirIterator,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 137930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 137934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QDir_SortFlags___hash__(PyObject *);}
static long slot_QDir_SortFlags___hash__(PyObject *sipSelf)
{
     ::QDir::SortFlags *sipCpp = reinterpret_cast< ::QDir::SortFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_SortFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QDir::SortFlags::Int();
#line 137952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QDir_SortFlags___bool__(PyObject *);}
static int slot_QDir_SortFlags___bool__(PyObject *sipSelf)
{
     ::QDir::SortFlags *sipCpp = reinterpret_cast< ::QDir::SortFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_SortFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::SortFlags::Int() != 0);
#line 137977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDir_SortFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDir_SortFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDir::SortFlags *sipCpp = reinterpret_cast< ::QDir::SortFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_SortFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::SortFlags::Int() != a0->operator QDir::SortFlags::Int());
#line 138007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QDir_SortFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDir_SortFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDir_SortFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDir::SortFlags *sipCpp = reinterpret_cast< ::QDir::SortFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_SortFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::SortFlags::Int() == a0->operator QDir::SortFlags::Int());
#line 138043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QDir_SortFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDir_SortFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QDir_SortFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDir_SortFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDir::SortFlags *sipCpp = reinterpret_cast< ::QDir::SortFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_SortFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QDir::SortFlags(*sipCpp ^ a0);
#line 138082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDir_SortFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDir_SortFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::SortFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDir_SortFlags, &a0, &a0State, &a1))
        {
             ::QDir::SortFlags*sipRes;

            sipRes = new  ::QDir::SortFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QDir_SortFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDir_SortFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDir_SortFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QDir_SortFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDir_SortFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDir::SortFlags *sipCpp = reinterpret_cast< ::QDir::SortFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_SortFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QDir::SortFlags(*sipCpp | a0);
#line 138154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDir_SortFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QDir_SortFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::SortFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDir_SortFlags, &a0, &a0State, &a1))
        {
             ::QDir::SortFlags*sipRes;

            sipRes = new  ::QDir::SortFlags((*a0 | a1));
            sipReleaseType(a0,sipType_QDir_SortFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDir_SortFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDir_SortFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QDir_SortFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDir_SortFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDir::SortFlags *sipCpp = reinterpret_cast< ::QDir::SortFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_SortFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QDir::SortFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDir_SortFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QDir_SortFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::SortFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDir_SortFlags, &a0, &a0State, &a1))
        {
             ::QDir::SortFlags*sipRes;

            sipRes = new  ::QDir::SortFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QDir_SortFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDir_SortFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDir_SortFlags___invert__(PyObject *);}
static PyObject *slot_QDir_SortFlags___invert__(PyObject *sipSelf)
{
     ::QDir::SortFlags *sipCpp = reinterpret_cast< ::QDir::SortFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_SortFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QDir::SortFlags*sipRes;

            sipRes = new  ::QDir::SortFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QDir_SortFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDir_SortFlags___int__(PyObject *);}
static PyObject *slot_QDir_SortFlags___int__(PyObject *sipSelf)
{
     ::QDir::SortFlags *sipCpp = reinterpret_cast< ::QDir::SortFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_SortFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDir_SortFlags(void *, int);}
static void release_QDir_SortFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QDir::SortFlags *>(sipCppV);
}


extern "C" {static void assign_QDir_SortFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QDir_SortFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QDir::SortFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QDir::SortFlags *>(sipSrc);
}


extern "C" {static void *array_QDir_SortFlags(SIP_SSIZE_T);}
static void *array_QDir_SortFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDir::SortFlags[sipNrElem];
}


extern "C" {static void *copy_QDir_SortFlags(const void *, SIP_SSIZE_T);}
static void *copy_QDir_SortFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QDir::SortFlags(reinterpret_cast<const  ::QDir::SortFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDir_SortFlags(sipSimpleWrapper *);}
static void dealloc_QDir_SortFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDir_SortFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QDir_SortFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDir_SortFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QDir::SortFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QDir::SortFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QDir::SortFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QDir::SortFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDir_SortFlags, &a0, &a0State))
        {
            sipCpp = new  ::QDir::SortFlags(*a0);
            sipReleaseType(const_cast< ::QDir::SortFlags *>(a0),sipType_QDir_SortFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QDir_SortFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDir_SortFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QDir::SortFlags **sipCppPtr = reinterpret_cast< ::QDir::SortFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QDir::SortFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDir_SortFlag)) ||
            sipCanConvertToType(sipPy, sipType_QDir_SortFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDir_SortFlag)))
{
    *sipCppPtr = new QDir::SortFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDir::SortFlags *>(sipConvertToType(sipPy, sipType_QDir_SortFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 138422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDir_SortFlags[] = {
    {(void *)slot_QDir_SortFlags___hash__, hash_slot},
    {(void *)slot_QDir_SortFlags___bool__, bool_slot},
    {(void *)slot_QDir_SortFlags___ne__, ne_slot},
    {(void *)slot_QDir_SortFlags___eq__, eq_slot},
    {(void *)slot_QDir_SortFlags___ixor__, ixor_slot},
    {(void *)slot_QDir_SortFlags___xor__, xor_slot},
    {(void *)slot_QDir_SortFlags___ior__, ior_slot},
    {(void *)slot_QDir_SortFlags___or__, or_slot},
    {(void *)slot_QDir_SortFlags___iand__, iand_slot},
    {(void *)slot_QDir_SortFlags___and__, and_slot},
    {(void *)slot_QDir_SortFlags___invert__, invert_slot},
    {(void *)slot_QDir_SortFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDir_SortFlags, "\1QDir.SortFlags()\n"
    "QDir.SortFlags(Union[QDir.SortFlags, QDir.SortFlag])\n"
    "QDir.SortFlags(QDir.SortFlags)");


static pyqt5ClassPluginDef plugin_QDir_SortFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QDir_SortFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDir__SortFlags,
        {0},
        &plugin_QDir_SortFlags
    },
    {
        sipNameNr_SortFlags,
        {46, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDir_SortFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDir_SortFlags,
    init_type_QDir_SortFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDir_SortFlags,
    assign_QDir_SortFlags,
    array_QDir_SortFlags,
    copy_QDir_SortFlags,
    release_QDir_SortFlags,
    0,
    convertTo_QDir_SortFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 138508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 138512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QDir_Filters___hash__(PyObject *);}
static long slot_QDir_Filters___hash__(PyObject *sipSelf)
{
     ::QDir::Filters *sipCpp = reinterpret_cast< ::QDir::Filters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_Filters));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QDir::Filters::Int();
#line 138530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QDir_Filters___bool__(PyObject *);}
static int slot_QDir_Filters___bool__(PyObject *sipSelf)
{
     ::QDir::Filters *sipCpp = reinterpret_cast< ::QDir::Filters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_Filters));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::Filters::Int() != 0);
#line 138555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDir_Filters___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDir_Filters___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDir::Filters *sipCpp = reinterpret_cast< ::QDir::Filters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_Filters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDir::Filters* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDir_Filters, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::Filters::Int() != a0->operator QDir::Filters::Int());
#line 138585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QDir::Filters *>(a0),sipType_QDir_Filters,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QDir_Filters, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDir_Filters___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDir_Filters___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDir::Filters *sipCpp = reinterpret_cast< ::QDir::Filters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_Filters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDir::Filters* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDir_Filters, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDir::Filters::Int() == a0->operator QDir::Filters::Int());
#line 138621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QDir::Filters *>(a0),sipType_QDir_Filters,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QDir_Filters, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDir_Filters___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QDir_Filters___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDir_Filters)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDir::Filters *sipCpp = reinterpret_cast< ::QDir::Filters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_Filters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QDir::Filters(*sipCpp ^ a0);
#line 138660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDir_Filters___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDir_Filters___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::Filters* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDir_Filters, &a0, &a0State, &a1))
        {
             ::QDir::Filters*sipRes;

            sipRes = new  ::QDir::Filters((*a0 ^ a1));
            sipReleaseType(a0,sipType_QDir_Filters,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDir_Filters___ior__(PyObject *,PyObject *);}
static PyObject *slot_QDir_Filters___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDir_Filters)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDir::Filters *sipCpp = reinterpret_cast< ::QDir::Filters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_Filters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QDir::Filters(*sipCpp | a0);
#line 138732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDir_Filters___or__(PyObject *,PyObject *);}
static PyObject *slot_QDir_Filters___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::Filters* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDir_Filters, &a0, &a0State, &a1))
        {
             ::QDir::Filters*sipRes;

            sipRes = new  ::QDir::Filters((*a0 | a1));
            sipReleaseType(a0,sipType_QDir_Filters,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDir_Filters___iand__(PyObject *,PyObject *);}
static PyObject *slot_QDir_Filters___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDir_Filters)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDir::Filters *sipCpp = reinterpret_cast< ::QDir::Filters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_Filters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QDir::Filters::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDir_Filters___and__(PyObject *,PyObject *);}
static PyObject *slot_QDir_Filters___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::Filters* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDir_Filters, &a0, &a0State, &a1))
        {
             ::QDir::Filters*sipRes;

            sipRes = new  ::QDir::Filters((*a0 & a1));
            sipReleaseType(a0,sipType_QDir_Filters,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDir_Filters___invert__(PyObject *);}
static PyObject *slot_QDir_Filters___invert__(PyObject *sipSelf)
{
     ::QDir::Filters *sipCpp = reinterpret_cast< ::QDir::Filters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_Filters));

    if (!sipCpp)
        return 0;


    {
        {
             ::QDir::Filters*sipRes;

            sipRes = new  ::QDir::Filters(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDir_Filters___int__(PyObject *);}
static PyObject *slot_QDir_Filters___int__(PyObject *sipSelf)
{
     ::QDir::Filters *sipCpp = reinterpret_cast< ::QDir::Filters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir_Filters));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDir_Filters(void *, int);}
static void release_QDir_Filters(void *sipCppV, int)
{
    delete reinterpret_cast< ::QDir::Filters *>(sipCppV);
}


extern "C" {static void assign_QDir_Filters(void *, SIP_SSIZE_T, const void *);}
static void assign_QDir_Filters(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QDir::Filters *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QDir::Filters *>(sipSrc);
}


extern "C" {static void *array_QDir_Filters(SIP_SSIZE_T);}
static void *array_QDir_Filters(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDir::Filters[sipNrElem];
}


extern "C" {static void *copy_QDir_Filters(const void *, SIP_SSIZE_T);}
static void *copy_QDir_Filters(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QDir::Filters(reinterpret_cast<const  ::QDir::Filters *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDir_Filters(sipSimpleWrapper *);}
static void dealloc_QDir_Filters(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDir_Filters(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QDir_Filters(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDir_Filters(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QDir::Filters *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QDir::Filters();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QDir::Filters(a0);

            return sipCpp;
        }
    }

    {
        const  ::QDir::Filters* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDir_Filters, &a0, &a0State))
        {
            sipCpp = new  ::QDir::Filters(*a0);
            sipReleaseType(const_cast< ::QDir::Filters *>(a0),sipType_QDir_Filters,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QDir_Filters(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDir_Filters(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QDir::Filters **sipCppPtr = reinterpret_cast< ::QDir::Filters **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QDir::Filters is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDir_Filter)) ||
            sipCanConvertToType(sipPy, sipType_QDir_Filters, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDir_Filter)))
{
    *sipCppPtr = new QDir::Filters(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDir::Filters *>(sipConvertToType(sipPy, sipType_QDir_Filters, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 139000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDir_Filters[] = {
    {(void *)slot_QDir_Filters___hash__, hash_slot},
    {(void *)slot_QDir_Filters___bool__, bool_slot},
    {(void *)slot_QDir_Filters___ne__, ne_slot},
    {(void *)slot_QDir_Filters___eq__, eq_slot},
    {(void *)slot_QDir_Filters___ixor__, ixor_slot},
    {(void *)slot_QDir_Filters___xor__, xor_slot},
    {(void *)slot_QDir_Filters___ior__, ior_slot},
    {(void *)slot_QDir_Filters___or__, or_slot},
    {(void *)slot_QDir_Filters___iand__, iand_slot},
    {(void *)slot_QDir_Filters___and__, and_slot},
    {(void *)slot_QDir_Filters___invert__, invert_slot},
    {(void *)slot_QDir_Filters___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDir_Filters, "\1QDir.Filters()\n"
    "QDir.Filters(Union[QDir.Filters, QDir.Filter])\n"
    "QDir.Filters(QDir.Filters)");


static pyqt5ClassPluginDef plugin_QDir_Filters = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QDir_Filters = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDir__Filters,
        {0},
        &plugin_QDir_Filters
    },
    {
        sipNameNr_Filters,
        {46, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDir_Filters,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDir_Filters,
    init_type_QDir_Filters,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDir_Filters,
    assign_QDir_Filters,
    array_QDir_Filters,
    copy_QDir_Filters,
    release_QDir_Filters,
    0,
    convertTo_QDir_Filters,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 139086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 139090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 139093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
#include <qdir.h>
#line 139096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 139099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 139102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 139105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 139108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDir_setPath, "setPath(self, str)");

extern "C" {static PyObject *meth_QDir_setPath(PyObject *, PyObject *);}
static PyObject *meth_QDir_setPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPath(*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_QDir, sipName_setPath, doc_QDir_setPath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_path, "path(self) -> str");

extern "C" {static PyObject *meth_QDir_path(PyObject *, PyObject *);}
static PyObject *meth_QDir_path(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->path());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_path, doc_QDir_path);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_absolutePath, "absolutePath(self) -> str");

extern "C" {static PyObject *meth_QDir_absolutePath(PyObject *, PyObject *);}
static PyObject *meth_QDir_absolutePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->absolutePath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_absolutePath, doc_QDir_absolutePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_canonicalPath, "canonicalPath(self) -> str");

extern "C" {static PyObject *meth_QDir_canonicalPath(PyObject *, PyObject *);}
static PyObject *meth_QDir_canonicalPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->canonicalPath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_canonicalPath, doc_QDir_canonicalPath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_dirName, "dirName(self) -> str");

extern "C" {static PyObject *meth_QDir_dirName(PyObject *, PyObject *);}
static PyObject *meth_QDir_dirName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->dirName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_dirName, doc_QDir_dirName);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_filePath, "filePath(self, str) -> str");

extern "C" {static PyObject *meth_QDir_filePath(PyObject *, PyObject *);}
static PyObject *meth_QDir_filePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->filePath(*a0));
            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_QDir, sipName_filePath, doc_QDir_filePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_absoluteFilePath, "absoluteFilePath(self, str) -> str");

extern "C" {static PyObject *meth_QDir_absoluteFilePath(PyObject *, PyObject *);}
static PyObject *meth_QDir_absoluteFilePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->absoluteFilePath(*a0));
            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_QDir, sipName_absoluteFilePath, doc_QDir_absoluteFilePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_relativeFilePath, "relativeFilePath(self, str) -> str");

extern "C" {static PyObject *meth_QDir_relativeFilePath(PyObject *, PyObject *);}
static PyObject *meth_QDir_relativeFilePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->relativeFilePath(*a0));
            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_QDir, sipName_relativeFilePath, doc_QDir_relativeFilePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_cd, "cd(self, str) -> bool");

extern "C" {static PyObject *meth_QDir_cd(PyObject *, PyObject *);}
static PyObject *meth_QDir_cd(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->cd(*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_QDir, sipName_cd, doc_QDir_cd);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_cdUp, "cdUp(self) -> bool");

extern "C" {static PyObject *meth_QDir_cdUp(PyObject *, PyObject *);}
static PyObject *meth_QDir_cdUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->cdUp();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_cdUp, doc_QDir_cdUp);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_nameFilters, "nameFilters(self) -> List[str]");

extern "C" {static PyObject *meth_QDir_nameFilters(PyObject *, PyObject *);}
static PyObject *meth_QDir_nameFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->nameFilters());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_nameFilters, doc_QDir_nameFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_setNameFilters, "setNameFilters(self, Iterable[str])");

extern "C" {static PyObject *meth_QDir_setNameFilters(PyObject *, PyObject *);}
static PyObject *meth_QDir_setNameFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setNameFilters(*a0);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_setNameFilters, doc_QDir_setNameFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_filter, "filter(self) -> QDir.Filters");

extern "C" {static PyObject *meth_QDir_filter(PyObject *, PyObject *);}
static PyObject *meth_QDir_filter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
             ::QDir::Filters*sipRes;

            sipRes = new  ::QDir::Filters(sipCpp->filter());

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_filter, doc_QDir_filter);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_setFilter, "setFilter(self, Union[QDir.Filters, QDir.Filter])");

extern "C" {static PyObject *meth_QDir_setFilter(PyObject *, PyObject *);}
static PyObject *meth_QDir_setFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::Filters* a0;
        int a0State = 0;
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QDir_Filters, &a0, &a0State))
        {
            sipCpp->setFilter(*a0);
            sipReleaseType(a0,sipType_QDir_Filters,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_setFilter, doc_QDir_setFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_sorting, "sorting(self) -> QDir.SortFlags");

extern "C" {static PyObject *meth_QDir_sorting(PyObject *, PyObject *);}
static PyObject *meth_QDir_sorting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
             ::QDir::SortFlags*sipRes;

            sipRes = new  ::QDir::SortFlags(sipCpp->sorting());

            return sipConvertFromNewType(sipRes,sipType_QDir_SortFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_sorting, doc_QDir_sorting);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_setSorting, "setSorting(self, Union[QDir.SortFlags, QDir.SortFlag])");

extern "C" {static PyObject *meth_QDir_setSorting(PyObject *, PyObject *);}
static PyObject *meth_QDir_setSorting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::SortFlags* a0;
        int a0State = 0;
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QDir_SortFlags, &a0, &a0State))
        {
            sipCpp->setSorting(*a0);
            sipReleaseType(a0,sipType_QDir_SortFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_setSorting, doc_QDir_setSorting);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_count, "count(self) -> int");

extern "C" {static PyObject *meth_QDir_count(PyObject *, PyObject *);}
static PyObject *meth_QDir_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
             ::uint sipRes;

            sipRes = sipCpp->count();

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_count, doc_QDir_count);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_nameFiltersFromString, "nameFiltersFromString(str) -> List[str]");

extern "C" {static PyObject *meth_QDir_nameFiltersFromString(PyObject *, PyObject *);}
static PyObject *meth_QDir_nameFiltersFromString(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QDir::nameFiltersFromString(*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_QDir, sipName_nameFiltersFromString, doc_QDir_nameFiltersFromString);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_entryList, "entryList(self, filters: Union[QDir.Filters, QDir.Filter] = QDir.NoFilter, sort: Union[QDir.SortFlags, QDir.SortFlag] = QDir.NoSort) -> List[str]\n"
    "entryList(self, Iterable[str], filters: Union[QDir.Filters, QDir.Filter] = QDir.NoFilter, sort: Union[QDir.SortFlags, QDir.SortFlag] = QDir.NoSort) -> List[str]");

extern "C" {static PyObject *meth_QDir_entryList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDir_entryList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::Filters a0def = QDir::NoFilter;
         ::QDir::Filters* a0 = &a0def;
        int a0State = 0;
         ::QDir::SortFlags a1def = QDir::NoSort;
         ::QDir::SortFlags* a1 = &a1def;
        int a1State = 0;
        const  ::QDir *sipCpp;

        static const char *sipKwdList[] = {
            sipName_filters,
            sipName_sort,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1J1", &sipSelf, sipType_QDir, &sipCpp, sipType_QDir_Filters, &a0, &a0State, sipType_QDir_SortFlags, &a1, &a1State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->entryList(*a0,*a1));
            sipReleaseType(a0,sipType_QDir_Filters,a0State);
            sipReleaseType(a1,sipType_QDir_SortFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QDir::Filters a1def = QDir::NoFilter;
         ::QDir::Filters* a1 = &a1def;
        int a1State = 0;
         ::QDir::SortFlags a2def = QDir::NoSort;
         ::QDir::SortFlags* a2 = &a2def;
        int a2State = 0;
        const  ::QDir *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_filters,
            sipName_sort,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1J1", &sipSelf, sipType_QDir, &sipCpp, sipType_QStringList,&a0, &a0State, sipType_QDir_Filters, &a1, &a1State, sipType_QDir_SortFlags, &a2, &a2State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->entryList(*a0,*a1,*a2));
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(a1,sipType_QDir_Filters,a1State);
            sipReleaseType(a2,sipType_QDir_SortFlags,a2State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_entryList, doc_QDir_entryList);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_entryInfoList, "entryInfoList(self, filters: Union[QDir.Filters, QDir.Filter] = QDir.NoFilter, sort: Union[QDir.SortFlags, QDir.SortFlag] = QDir.NoSort) -> object\n"
    "entryInfoList(self, Iterable[str], filters: Union[QDir.Filters, QDir.Filter] = QDir.NoFilter, sort: Union[QDir.SortFlags, QDir.SortFlag] = QDir.NoSort) -> object");

extern "C" {static PyObject *meth_QDir_entryInfoList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDir_entryInfoList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::Filters a0def = QDir::NoFilter;
         ::QDir::Filters* a0 = &a0def;
        int a0State = 0;
         ::QDir::SortFlags a1def = QDir::NoSort;
         ::QDir::SortFlags* a1 = &a1def;
        int a1State = 0;
        const  ::QDir *sipCpp;

        static const char *sipKwdList[] = {
            sipName_filters,
            sipName_sort,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1J1", &sipSelf, sipType_QDir, &sipCpp, sipType_QDir_Filters, &a0, &a0State, sipType_QDir_SortFlags, &a1, &a1State))
        {
             ::QFileInfoList*sipRes;

            sipRes = new  ::QFileInfoList(sipCpp->entryInfoList(*a0,*a1));
            sipReleaseType(a0,sipType_QDir_Filters,a0State);
            sipReleaseType(a1,sipType_QDir_SortFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QFileInfo,NULL);
        }
    }

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QDir::Filters a1def = QDir::NoFilter;
         ::QDir::Filters* a1 = &a1def;
        int a1State = 0;
         ::QDir::SortFlags a2def = QDir::NoSort;
         ::QDir::SortFlags* a2 = &a2def;
        int a2State = 0;
        const  ::QDir *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_filters,
            sipName_sort,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1J1", &sipSelf, sipType_QDir, &sipCpp, sipType_QStringList,&a0, &a0State, sipType_QDir_Filters, &a1, &a1State, sipType_QDir_SortFlags, &a2, &a2State))
        {
             ::QFileInfoList*sipRes;

            sipRes = new  ::QFileInfoList(sipCpp->entryInfoList(*a0,*a1,*a2));
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(a1,sipType_QDir_Filters,a1State);
            sipReleaseType(a2,sipType_QDir_SortFlags,a2State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QFileInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_entryInfoList, doc_QDir_entryInfoList);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_mkdir, "mkdir(self, str) -> bool");

extern "C" {static PyObject *meth_QDir_mkdir(PyObject *, PyObject *);}
static PyObject *meth_QDir_mkdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->mkdir(*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_QDir, sipName_mkdir, doc_QDir_mkdir);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_rmdir, "rmdir(self, str) -> bool");

extern "C" {static PyObject *meth_QDir_rmdir(PyObject *, PyObject *);}
static PyObject *meth_QDir_rmdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->rmdir(*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_QDir, sipName_rmdir, doc_QDir_rmdir);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_mkpath, "mkpath(self, str) -> bool");

extern "C" {static PyObject *meth_QDir_mkpath(PyObject *, PyObject *);}
static PyObject *meth_QDir_mkpath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->mkpath(*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_QDir, sipName_mkpath, doc_QDir_mkpath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_rmpath, "rmpath(self, str) -> bool");

extern "C" {static PyObject *meth_QDir_rmpath(PyObject *, PyObject *);}
static PyObject *meth_QDir_rmpath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->rmpath(*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_QDir, sipName_rmpath, doc_QDir_rmpath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_isReadable, "isReadable(self) -> bool");

extern "C" {static PyObject *meth_QDir_isReadable(PyObject *, PyObject *);}
static PyObject *meth_QDir_isReadable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_isReadable, doc_QDir_isReadable);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_exists, "exists(self) -> bool\n"
    "exists(self, str) -> bool");

extern "C" {static PyObject *meth_QDir_exists(PyObject *, PyObject *);}
static PyObject *meth_QDir_exists(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->exists();

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->exists(*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_QDir, sipName_exists, doc_QDir_exists);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_isRoot, "isRoot(self) -> bool");

extern "C" {static PyObject *meth_QDir_isRoot(PyObject *, PyObject *);}
static PyObject *meth_QDir_isRoot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRoot();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_isRoot, doc_QDir_isRoot);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_isRelativePath, "isRelativePath(str) -> bool");

extern "C" {static PyObject *meth_QDir_isRelativePath(PyObject *, PyObject *);}
static PyObject *meth_QDir_isRelativePath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes =  ::QDir::isRelativePath(*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_QDir, sipName_isRelativePath, doc_QDir_isRelativePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_isAbsolutePath, "isAbsolutePath(str) -> bool");

extern "C" {static PyObject *meth_QDir_isAbsolutePath(PyObject *, PyObject *);}
static PyObject *meth_QDir_isAbsolutePath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes =  ::QDir::isAbsolutePath(*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_QDir, sipName_isAbsolutePath, doc_QDir_isAbsolutePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_isRelative, "isRelative(self) -> bool");

extern "C" {static PyObject *meth_QDir_isRelative(PyObject *, PyObject *);}
static PyObject *meth_QDir_isRelative(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRelative();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_isRelative, doc_QDir_isRelative);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_isAbsolute, "isAbsolute(self) -> bool");

extern "C" {static PyObject *meth_QDir_isAbsolute(PyObject *, PyObject *);}
static PyObject *meth_QDir_isAbsolute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAbsolute();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_isAbsolute, doc_QDir_isAbsolute);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_makeAbsolute, "makeAbsolute(self) -> bool");

extern "C" {static PyObject *meth_QDir_makeAbsolute(PyObject *, PyObject *);}
static PyObject *meth_QDir_makeAbsolute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->makeAbsolute();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_makeAbsolute, doc_QDir_makeAbsolute);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_remove, "remove(self, str) -> bool");

extern "C" {static PyObject *meth_QDir_remove(PyObject *, PyObject *);}
static PyObject *meth_QDir_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->remove(*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_QDir, sipName_remove, doc_QDir_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_rename, "rename(self, str, str) -> bool");

extern "C" {static PyObject *meth_QDir_rename(PyObject *, PyObject *);}
static PyObject *meth_QDir_rename(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDir, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->rename(*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_QDir, sipName_rename, doc_QDir_rename);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_refresh, "refresh(self)");

extern "C" {static PyObject *meth_QDir_refresh(PyObject *, PyObject *);}
static PyObject *meth_QDir_refresh(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
            sipCpp->refresh();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_refresh, doc_QDir_refresh);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_drives, "drives() -> object");

extern "C" {static PyObject *meth_QDir_drives(PyObject *, PyObject *);}
static PyObject *meth_QDir_drives(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QFileInfoList*sipRes;

            sipRes = new  ::QFileInfoList( ::QDir::drives());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QFileInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_drives, doc_QDir_drives);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_separator, "separator() -> str");

extern "C" {static PyObject *meth_QDir_separator(PyObject *, PyObject *);}
static PyObject *meth_QDir_separator(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar( ::QDir::separator());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_separator, doc_QDir_separator);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_setCurrent, "setCurrent(str) -> bool");

extern "C" {static PyObject *meth_QDir_setCurrent(PyObject *, PyObject *);}
static PyObject *meth_QDir_setCurrent(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes =  ::QDir::setCurrent(*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_QDir, sipName_setCurrent, doc_QDir_setCurrent);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_current, "current() -> QDir");

extern "C" {static PyObject *meth_QDir_current(PyObject *, PyObject *);}
static PyObject *meth_QDir_current(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDir*sipRes;

            sipRes = new  ::QDir( ::QDir::current());

            return sipConvertFromNewType(sipRes,sipType_QDir,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_current, doc_QDir_current);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_currentPath, "currentPath() -> str");

extern "C" {static PyObject *meth_QDir_currentPath(PyObject *, PyObject *);}
static PyObject *meth_QDir_currentPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDir::currentPath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_currentPath, doc_QDir_currentPath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_home, "home() -> QDir");

extern "C" {static PyObject *meth_QDir_home(PyObject *, PyObject *);}
static PyObject *meth_QDir_home(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDir*sipRes;

            sipRes = new  ::QDir( ::QDir::home());

            return sipConvertFromNewType(sipRes,sipType_QDir,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_home, doc_QDir_home);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_homePath, "homePath() -> str");

extern "C" {static PyObject *meth_QDir_homePath(PyObject *, PyObject *);}
static PyObject *meth_QDir_homePath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDir::homePath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_homePath, doc_QDir_homePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_root, "root() -> QDir");

extern "C" {static PyObject *meth_QDir_root(PyObject *, PyObject *);}
static PyObject *meth_QDir_root(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDir*sipRes;

            sipRes = new  ::QDir( ::QDir::root());

            return sipConvertFromNewType(sipRes,sipType_QDir,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_root, doc_QDir_root);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_rootPath, "rootPath() -> str");

extern "C" {static PyObject *meth_QDir_rootPath(PyObject *, PyObject *);}
static PyObject *meth_QDir_rootPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDir::rootPath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_rootPath, doc_QDir_rootPath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_temp, "temp() -> QDir");

extern "C" {static PyObject *meth_QDir_temp(PyObject *, PyObject *);}
static PyObject *meth_QDir_temp(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDir*sipRes;

            sipRes = new  ::QDir( ::QDir::temp());

            return sipConvertFromNewType(sipRes,sipType_QDir,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_temp, doc_QDir_temp);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_tempPath, "tempPath() -> str");

extern "C" {static PyObject *meth_QDir_tempPath(PyObject *, PyObject *);}
static PyObject *meth_QDir_tempPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDir::tempPath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_tempPath, doc_QDir_tempPath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_match, "match(Iterable[str], str) -> bool\n"
    "match(str, str) -> bool");

extern "C" {static PyObject *meth_QDir_match(PyObject *, PyObject *);}
static PyObject *meth_QDir_match(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QStringList,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            sipRes =  ::QDir::match(*a0,*a1);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            bool sipRes;

            sipRes =  ::QDir::match(*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_QDir, sipName_match, doc_QDir_match);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_cleanPath, "cleanPath(str) -> str");

extern "C" {static PyObject *meth_QDir_cleanPath(PyObject *, PyObject *);}
static PyObject *meth_QDir_cleanPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDir::cleanPath(*a0));
            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_QDir, sipName_cleanPath, doc_QDir_cleanPath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_toNativeSeparators, "toNativeSeparators(str) -> str");

extern "C" {static PyObject *meth_QDir_toNativeSeparators(PyObject *, PyObject *);}
static PyObject *meth_QDir_toNativeSeparators(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDir::toNativeSeparators(*a0));
            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_QDir, sipName_toNativeSeparators, doc_QDir_toNativeSeparators);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_fromNativeSeparators, "fromNativeSeparators(str) -> str");

extern "C" {static PyObject *meth_QDir_fromNativeSeparators(PyObject *, PyObject *);}
static PyObject *meth_QDir_fromNativeSeparators(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDir::fromNativeSeparators(*a0));
            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_QDir, sipName_fromNativeSeparators, doc_QDir_fromNativeSeparators);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_setSearchPaths, "setSearchPaths(str, Iterable[str])");

extern "C" {static PyObject *meth_QDir_setSearchPaths(PyObject *, PyObject *);}
static PyObject *meth_QDir_setSearchPaths(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QStringList* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QStringList,&a1, &a1State))
        {
             ::QDir::setSearchPaths(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a1),sipType_QStringList,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_setSearchPaths, doc_QDir_setSearchPaths);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_addSearchPath, "addSearchPath(str, str)");

extern "C" {static PyObject *meth_QDir_addSearchPath(PyObject *, PyObject *);}
static PyObject *meth_QDir_addSearchPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QDir::addSearchPath(*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_QDir, sipName_addSearchPath, doc_QDir_addSearchPath);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_searchPaths, "searchPaths(str) -> List[str]");

extern "C" {static PyObject *meth_QDir_searchPaths(PyObject *, PyObject *);}
static PyObject *meth_QDir_searchPaths(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QDir::searchPaths(*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_QDir, sipName_searchPaths, doc_QDir_searchPaths);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_removeRecursively, "removeRecursively(self) -> bool");

extern "C" {static PyObject *meth_QDir_removeRecursively(PyObject *, PyObject *);}
static PyObject *meth_QDir_removeRecursively(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDir, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->removeRecursively();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_removeRecursively, doc_QDir_removeRecursively);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_swap, "swap(self, QDir)");

extern "C" {static PyObject *meth_QDir_swap(PyObject *, PyObject *);}
static PyObject *meth_QDir_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir* a0;
         ::QDir *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDir, &sipCpp, sipType_QDir, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_swap, doc_QDir_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_listSeparator, "listSeparator() -> str");

extern "C" {static PyObject *meth_QDir_listSeparator(PyObject *, PyObject *);}
static PyObject *meth_QDir_listSeparator(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QChar*sipRes;

            sipRes = new  ::QChar( ::QDir::listSeparator());

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_listSeparator, doc_QDir_listSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QDir_isEmpty, "isEmpty(self, filters: Union[QDir.Filters, QDir.Filter] = QDir.AllEntries|QDir.NoDotAndDotDot) -> bool");

extern "C" {static PyObject *meth_QDir_isEmpty(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDir_isEmpty(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDir::Filters a0def = QDir::AllEntries|QDir::NoDotAndDotDot;
         ::QDir::Filters* a0 = &a0def;
        int a0State = 0;
        const  ::QDir *sipCpp;

        static const char *sipKwdList[] = {
            sipName_filters,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QDir, &sipCpp, sipType_QDir_Filters, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty(*a0);
            sipReleaseType(a0,sipType_QDir_Filters,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName_isEmpty, doc_QDir_isEmpty);

    return NULL;
}


extern "C" {static PyObject *slot_QDir___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDir___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDir *sipCpp = reinterpret_cast< ::QDir *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDir* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDir, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDir::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QDir, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDir___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDir___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDir *sipCpp = reinterpret_cast< ::QDir *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDir* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDir, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDir::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QDir, sipSelf, sipArg);
}


extern "C" {static int slot_QDir___contains__(PyObject *,PyObject *);}
static int slot_QDir___contains__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDir *sipCpp = reinterpret_cast< ::QDir *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            int sipRes = 0;

#line 130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
        sipRes = bool(sipCpp->entryList().contains(*a0));
#line 140974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName___contains__, NULL);

    return -1;
}


extern "C" {static PyObject *slot_QDir___getitem__(PyObject *,PyObject *);}
static PyObject *slot_QDir___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDir *sipCpp = reinterpret_cast< ::QDir *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
             ::QString*sipRes = 0;
            int sipIsErr = 0;

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
        Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = new QString(sipCpp->operator[]((int)idx));
#line 141013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
             ::QStringList*sipRes = 0;
            int sipIsErr = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdir.sip"
        Py_ssize_t len, start, stop, step, slicelength, i;
        
        len = sipCpp->count();
        
        #if PY_VERSION_HEX >= 0x03020000
        if (PySlice_GetIndicesEx(a0, len, &start, &stop, &step, &slicelength) < 0)
        #else
        if (PySlice_GetIndicesEx((PySliceObject *)a0, len, &start, &stop, &step, &slicelength) < 0)
        #endif
            sipIsErr = 1;
        else
        {
            sipRes = new QStringList();
        
            for (i = 0; i < slicelength; ++i)
            {
                (*sipRes) += (*sipCpp)[start];
                start += step;
            }
        }
#line 141051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDir, sipName___getitem__, NULL);

    return 0;
}


extern "C" {static SIP_SSIZE_T slot_QDir___len__(PyObject *);}
static SIP_SSIZE_T slot_QDir___len__(PyObject *sipSelf)
{
     ::QDir *sipCpp = reinterpret_cast< ::QDir *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDir));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 141082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDir(void *, int);}
static void release_QDir(void *sipCppV, int)
{
    delete reinterpret_cast< ::QDir *>(sipCppV);
}


extern "C" {static void assign_QDir(void *, SIP_SSIZE_T, const void *);}
static void assign_QDir(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QDir *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QDir *>(sipSrc);
}


extern "C" {static void *array_QDir(SIP_SSIZE_T);}
static void *array_QDir(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDir[sipNrElem];
}


extern "C" {static void *copy_QDir(const void *, SIP_SSIZE_T);}
static void *copy_QDir(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QDir(reinterpret_cast<const  ::QDir *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDir(sipSimpleWrapper *);}
static void dealloc_QDir(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDir(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QDir(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDir(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QDir *sipCpp = 0;

    {
        const  ::QDir* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDir, &a0))
        {
            sipCpp = new  ::QDir(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;

        static const char *sipKwdList[] = {
            sipName_path,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new  ::QDir(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QDir::SortFlags a2def = QDir::SortFlags(QDir::Name|QDir::IgnoreCase);
         ::QDir::SortFlags* a2 = &a2def;
        int a2State = 0;
         ::QDir::Filters a3def =  ::QDir::AllEntries;
         ::QDir::Filters* a3 = &a3def;
        int a3State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_sort,
            sipName_filters,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1|J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QDir_SortFlags, &a2, &a2State, sipType_QDir_Filters, &a3, &a3State))
        {
            sipCpp = new  ::QDir(*a0,*a1,*a2,*a3);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_QDir_SortFlags,a2State);
            sipReleaseType(a3,sipType_QDir_Filters,a3State);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDir[] = {
    {(void *)slot_QDir___ne__, ne_slot},
    {(void *)slot_QDir___eq__, eq_slot},
    {(void *)slot_QDir___contains__, contains_slot},
    {(void *)slot_QDir___getitem__, getitem_slot},
    {(void *)slot_QDir___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDir[] = {
    {SIP_MLNAME_CAST(sipName_absoluteFilePath), meth_QDir_absoluteFilePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_absoluteFilePath)},
    {SIP_MLNAME_CAST(sipName_absolutePath), meth_QDir_absolutePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_absolutePath)},
    {SIP_MLNAME_CAST(sipName_addSearchPath), meth_QDir_addSearchPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_addSearchPath)},
    {SIP_MLNAME_CAST(sipName_canonicalPath), meth_QDir_canonicalPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_canonicalPath)},
    {SIP_MLNAME_CAST(sipName_cd), meth_QDir_cd, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_cd)},
    {SIP_MLNAME_CAST(sipName_cdUp), meth_QDir_cdUp, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_cdUp)},
    {SIP_MLNAME_CAST(sipName_cleanPath), meth_QDir_cleanPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_cleanPath)},
    {SIP_MLNAME_CAST(sipName_count), meth_QDir_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_count)},
    {SIP_MLNAME_CAST(sipName_current), meth_QDir_current, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_current)},
    {SIP_MLNAME_CAST(sipName_currentPath), meth_QDir_currentPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_currentPath)},
    {SIP_MLNAME_CAST(sipName_dirName), meth_QDir_dirName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_dirName)},
    {SIP_MLNAME_CAST(sipName_drives), meth_QDir_drives, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_drives)},
    {SIP_MLNAME_CAST(sipName_entryInfoList), (PyCFunction)meth_QDir_entryInfoList, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDir_entryInfoList)},
    {SIP_MLNAME_CAST(sipName_entryList), (PyCFunction)meth_QDir_entryList, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDir_entryList)},
    {SIP_MLNAME_CAST(sipName_exists), meth_QDir_exists, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_exists)},
    {SIP_MLNAME_CAST(sipName_filePath), meth_QDir_filePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_filePath)},
    {SIP_MLNAME_CAST(sipName_filter), meth_QDir_filter, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_filter)},
    {SIP_MLNAME_CAST(sipName_fromNativeSeparators), meth_QDir_fromNativeSeparators, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_fromNativeSeparators)},
    {SIP_MLNAME_CAST(sipName_home), meth_QDir_home, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_home)},
    {SIP_MLNAME_CAST(sipName_homePath), meth_QDir_homePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_homePath)},
    {SIP_MLNAME_CAST(sipName_isAbsolute), meth_QDir_isAbsolute, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_isAbsolute)},
    {SIP_MLNAME_CAST(sipName_isAbsolutePath), meth_QDir_isAbsolutePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_isAbsolutePath)},
    {SIP_MLNAME_CAST(sipName_isEmpty), (PyCFunction)meth_QDir_isEmpty, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDir_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isReadable), meth_QDir_isReadable, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_isReadable)},
    {SIP_MLNAME_CAST(sipName_isRelative), meth_QDir_isRelative, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_isRelative)},
    {SIP_MLNAME_CAST(sipName_isRelativePath), meth_QDir_isRelativePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_isRelativePath)},
    {SIP_MLNAME_CAST(sipName_isRoot), meth_QDir_isRoot, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_isRoot)},
    {SIP_MLNAME_CAST(sipName_listSeparator), meth_QDir_listSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_listSeparator)},
    {SIP_MLNAME_CAST(sipName_makeAbsolute), meth_QDir_makeAbsolute, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_makeAbsolute)},
    {SIP_MLNAME_CAST(sipName_match), meth_QDir_match, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_match)},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_QDir_mkdir, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_mkdir)},
    {SIP_MLNAME_CAST(sipName_mkpath), meth_QDir_mkpath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_mkpath)},
    {SIP_MLNAME_CAST(sipName_nameFilters), meth_QDir_nameFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_nameFilters)},
    {SIP_MLNAME_CAST(sipName_nameFiltersFromString), meth_QDir_nameFiltersFromString, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_nameFiltersFromString)},
    {SIP_MLNAME_CAST(sipName_path), meth_QDir_path, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_path)},
    {SIP_MLNAME_CAST(sipName_refresh), meth_QDir_refresh, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_refresh)},
    {SIP_MLNAME_CAST(sipName_relativeFilePath), meth_QDir_relativeFilePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_relativeFilePath)},
    {SIP_MLNAME_CAST(sipName_remove), meth_QDir_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_remove)},
    {SIP_MLNAME_CAST(sipName_removeRecursively), meth_QDir_removeRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_removeRecursively)},
    {SIP_MLNAME_CAST(sipName_rename), meth_QDir_rename, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_rename)},
    {SIP_MLNAME_CAST(sipName_rmdir), meth_QDir_rmdir, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_rmdir)},
    {SIP_MLNAME_CAST(sipName_rmpath), meth_QDir_rmpath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_rmpath)},
    {SIP_MLNAME_CAST(sipName_root), meth_QDir_root, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_root)},
    {SIP_MLNAME_CAST(sipName_rootPath), meth_QDir_rootPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_rootPath)},
    {SIP_MLNAME_CAST(sipName_searchPaths), meth_QDir_searchPaths, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_searchPaths)},
    {SIP_MLNAME_CAST(sipName_separator), meth_QDir_separator, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_separator)},
    {SIP_MLNAME_CAST(sipName_setCurrent), meth_QDir_setCurrent, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_setCurrent)},
    {SIP_MLNAME_CAST(sipName_setFilter), meth_QDir_setFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_setFilter)},
    {SIP_MLNAME_CAST(sipName_setNameFilters), meth_QDir_setNameFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_setNameFilters)},
    {SIP_MLNAME_CAST(sipName_setPath), meth_QDir_setPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_setPath)},
    {SIP_MLNAME_CAST(sipName_setSearchPaths), meth_QDir_setSearchPaths, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_setSearchPaths)},
    {SIP_MLNAME_CAST(sipName_setSorting), meth_QDir_setSorting, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_setSorting)},
    {SIP_MLNAME_CAST(sipName_sorting), meth_QDir_sorting, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_sorting)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QDir_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_swap)},
    {SIP_MLNAME_CAST(sipName_temp), meth_QDir_temp, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_temp)},
    {SIP_MLNAME_CAST(sipName_tempPath), meth_QDir_tempPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_tempPath)},
    {SIP_MLNAME_CAST(sipName_toNativeSeparators), meth_QDir_toNativeSeparators, METH_VARARGS, SIP_MLDOC_CAST(doc_QDir_toNativeSeparators)}
};

static sipEnumMemberDef enummembers_QDir[] = {
    {sipName_AccessMask, static_cast<int>( ::QDir::AccessMask), 47},
    {sipName_AllDirs, static_cast<int>( ::QDir::AllDirs), 47},
    {sipName_AllEntries, static_cast<int>( ::QDir::AllEntries), 47},
    {sipName_CaseSensitive, static_cast<int>( ::QDir::CaseSensitive), 47},
    {sipName_Dirs, static_cast<int>( ::QDir::Dirs), 47},
    {sipName_DirsFirst, static_cast<int>( ::QDir::DirsFirst), 49},
    {sipName_DirsLast, static_cast<int>( ::QDir::DirsLast), 49},
    {sipName_Drives, static_cast<int>( ::QDir::Drives), 47},
    {sipName_Executable, static_cast<int>( ::QDir::Executable), 47},
    {sipName_Files, static_cast<int>( ::QDir::Files), 47},
    {sipName_Hidden, static_cast<int>( ::QDir::Hidden), 47},
    {sipName_IgnoreCase, static_cast<int>( ::QDir::IgnoreCase), 49},
    {sipName_LocaleAware, static_cast<int>( ::QDir::LocaleAware), 49},
    {sipName_Modified, static_cast<int>( ::QDir::Modified), 47},
    {sipName_Name, static_cast<int>( ::QDir::Name), 49},
    {sipName_NoDot, static_cast<int>( ::QDir::NoDot), 47},
    {sipName_NoDotAndDotDot, static_cast<int>( ::QDir::NoDotAndDotDot), 47},
    {sipName_NoDotDot, static_cast<int>( ::QDir::NoDotDot), 47},
    {sipName_NoFilter, static_cast<int>( ::QDir::NoFilter), 47},
    {sipName_NoSort, static_cast<int>( ::QDir::NoSort), 49},
    {sipName_NoSymLinks, static_cast<int>( ::QDir::NoSymLinks), 47},
    {sipName_PermissionMask, static_cast<int>( ::QDir::PermissionMask), 47},
    {sipName_Readable, static_cast<int>( ::QDir::Readable), 47},
    {sipName_Reversed, static_cast<int>( ::QDir::Reversed), 49},
    {sipName_Size, static_cast<int>( ::QDir::Size), 49},
    {sipName_SortByMask, static_cast<int>( ::QDir::SortByMask), 49},
    {sipName_System, static_cast<int>( ::QDir::System), 47},
    {sipName_Time, static_cast<int>( ::QDir::Time), 49},
    {sipName_Type, static_cast<int>( ::QDir::Type), 49},
    {sipName_TypeMask, static_cast<int>( ::QDir::TypeMask), 47},
    {sipName_Unsorted, static_cast<int>( ::QDir::Unsorted), 49},
    {sipName_Writable, static_cast<int>( ::QDir::Writable), 47},
};

PyDoc_STRVAR(doc_QDir, "\1QDir(QDir)\n"
    "QDir(path: str = '')\n"
    "QDir(str, str, sort: QDir.SortFlags = QDir.Name|QDir.IgnoreCase, filters: QDir.Filters = QDir.AllEntries)");


static pyqt5ClassPluginDef plugin_QDir = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QDir = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDir,
        {0},
        &plugin_QDir
    },
    {
        sipNameNr_QDir,
        {0, 0, 1},
        57, methods_QDir,
        32, enummembers_QDir,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDir,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDir,
    init_type_QDir,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDir,
    assign_QDir,
    array_QDir,
    copy_QDir,
    release_QDir,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdeadlinetimer.sip"
#include <qdeadlinetimer.h>
#line 141371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 141375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDeadlineTimer_swap, "swap(self, QDeadlineTimer)");

extern "C" {static PyObject *meth_QDeadlineTimer_swap(PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDeadlineTimer* a0;
         ::QDeadlineTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDeadlineTimer, &sipCpp, sipType_QDeadlineTimer, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_swap, doc_QDeadlineTimer_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_isForever, "isForever(self) -> bool");

extern "C" {static PyObject *meth_QDeadlineTimer_isForever(PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_isForever(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDeadlineTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeadlineTimer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isForever();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_isForever, doc_QDeadlineTimer_isForever);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_hasExpired, "hasExpired(self) -> bool");

extern "C" {static PyObject *meth_QDeadlineTimer_hasExpired(PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_hasExpired(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDeadlineTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeadlineTimer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasExpired();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_hasExpired, doc_QDeadlineTimer_hasExpired);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_timerType, "timerType(self) -> Qt.TimerType");

extern "C" {static PyObject *meth_QDeadlineTimer_timerType(PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_timerType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDeadlineTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeadlineTimer, &sipCpp))
        {
             ::Qt::TimerType sipRes;

            sipRes = sipCpp->timerType();

            return sipConvertFromEnum(sipRes,sipType_Qt_TimerType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_timerType, doc_QDeadlineTimer_timerType);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_setTimerType, "setTimerType(self, Qt.TimerType)");

extern "C" {static PyObject *meth_QDeadlineTimer_setTimerType(PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_setTimerType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TimerType a0;
         ::QDeadlineTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDeadlineTimer, &sipCpp, sipType_Qt_TimerType, &a0))
        {
            sipCpp->setTimerType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_setTimerType, doc_QDeadlineTimer_setTimerType);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_remainingTime, "remainingTime(self) -> int");

extern "C" {static PyObject *meth_QDeadlineTimer_remainingTime(PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_remainingTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDeadlineTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeadlineTimer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->remainingTime();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_remainingTime, doc_QDeadlineTimer_remainingTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_remainingTimeNSecs, "remainingTimeNSecs(self) -> int");

extern "C" {static PyObject *meth_QDeadlineTimer_remainingTimeNSecs(PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_remainingTimeNSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDeadlineTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeadlineTimer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->remainingTimeNSecs();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_remainingTimeNSecs, doc_QDeadlineTimer_remainingTimeNSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_setRemainingTime, "setRemainingTime(self, int, type: Qt.TimerType = Qt.TimerType.CoarseTimer)");

extern "C" {static PyObject *meth_QDeadlineTimer_setRemainingTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_setRemainingTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::Qt::TimerType a1 = Qt::TimerType::CoarseTimer;
         ::QDeadlineTimer *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bn|E", &sipSelf, sipType_QDeadlineTimer, &sipCpp, &a0, sipType_Qt_TimerType, &a1))
        {
            sipCpp->setRemainingTime(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_setRemainingTime, doc_QDeadlineTimer_setRemainingTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_setPreciseRemainingTime, "setPreciseRemainingTime(self, int, nsecs: int = 0, type: Qt.TimerType = Qt.TimerType.CoarseTimer)");

extern "C" {static PyObject *meth_QDeadlineTimer_setPreciseRemainingTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_setPreciseRemainingTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::qint64 a1 = 0;
         ::Qt::TimerType a2 = Qt::TimerType::CoarseTimer;
         ::QDeadlineTimer *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_nsecs,
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bn|nE", &sipSelf, sipType_QDeadlineTimer, &sipCpp, &a0, &a1, sipType_Qt_TimerType, &a2))
        {
            sipCpp->setPreciseRemainingTime(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_setPreciseRemainingTime, doc_QDeadlineTimer_setPreciseRemainingTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_deadline, "deadline(self) -> int");

extern "C" {static PyObject *meth_QDeadlineTimer_deadline(PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_deadline(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDeadlineTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeadlineTimer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->deadline();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_deadline, doc_QDeadlineTimer_deadline);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_deadlineNSecs, "deadlineNSecs(self) -> int");

extern "C" {static PyObject *meth_QDeadlineTimer_deadlineNSecs(PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_deadlineNSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDeadlineTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDeadlineTimer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->deadlineNSecs();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_deadlineNSecs, doc_QDeadlineTimer_deadlineNSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_setDeadline, "setDeadline(self, int, type: Qt.TimerType = Qt.TimerType.CoarseTimer)");

extern "C" {static PyObject *meth_QDeadlineTimer_setDeadline(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_setDeadline(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::Qt::TimerType a1 = Qt::TimerType::CoarseTimer;
         ::QDeadlineTimer *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bn|E", &sipSelf, sipType_QDeadlineTimer, &sipCpp, &a0, sipType_Qt_TimerType, &a1))
        {
            sipCpp->setDeadline(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_setDeadline, doc_QDeadlineTimer_setDeadline);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_setPreciseDeadline, "setPreciseDeadline(self, int, nsecs: int = 0, type: Qt.TimerType = Qt.TimerType.CoarseTimer)");

extern "C" {static PyObject *meth_QDeadlineTimer_setPreciseDeadline(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_setPreciseDeadline(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::qint64 a1 = 0;
         ::Qt::TimerType a2 = Qt::TimerType::CoarseTimer;
         ::QDeadlineTimer *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_nsecs,
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bn|nE", &sipSelf, sipType_QDeadlineTimer, &sipCpp, &a0, &a1, sipType_Qt_TimerType, &a2))
        {
            sipCpp->setPreciseDeadline(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_setPreciseDeadline, doc_QDeadlineTimer_setPreciseDeadline);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_addNSecs, "addNSecs(QDeadlineTimer, int) -> QDeadlineTimer");

extern "C" {static PyObject *meth_QDeadlineTimer_addNSecs(PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_addNSecs(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDeadlineTimer* a0;
         ::qint64 a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9n", sipType_QDeadlineTimer, &a0, &a1))
        {
             ::QDeadlineTimer*sipRes;

            sipRes = new  ::QDeadlineTimer( ::QDeadlineTimer::addNSecs(*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QDeadlineTimer,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_addNSecs, doc_QDeadlineTimer_addNSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QDeadlineTimer_current, "current(type: Qt.TimerType = Qt.TimerType.CoarseTimer) -> QDeadlineTimer");

extern "C" {static PyObject *meth_QDeadlineTimer_current(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDeadlineTimer_current(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TimerType a0 = Qt::TimerType::CoarseTimer;

        static const char *sipKwdList[] = {
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|E", sipType_Qt_TimerType, &a0))
        {
             ::QDeadlineTimer*sipRes;

            sipRes = new  ::QDeadlineTimer( ::QDeadlineTimer::current(a0));

            return sipConvertFromNewType(sipRes,sipType_QDeadlineTimer,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDeadlineTimer, sipName_current, doc_QDeadlineTimer_current);

    return NULL;
}


extern "C" {static PyObject *slot_QDeadlineTimer___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDeadlineTimer___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDeadlineTimer *sipCpp = reinterpret_cast< ::QDeadlineTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeadlineTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::QDeadlineTimer* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDeadlineTimer, &a0))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QDeadlineTimer, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDeadlineTimer___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDeadlineTimer___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDeadlineTimer *sipCpp = reinterpret_cast< ::QDeadlineTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeadlineTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::QDeadlineTimer* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDeadlineTimer, &a0))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QDeadlineTimer, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDeadlineTimer___lt__(PyObject *,PyObject *);}
static PyObject *slot_QDeadlineTimer___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDeadlineTimer *sipCpp = reinterpret_cast< ::QDeadlineTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeadlineTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::QDeadlineTimer* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDeadlineTimer, &a0))
        {
            bool sipRes;

            sipRes = operator<((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QDeadlineTimer, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDeadlineTimer___le__(PyObject *,PyObject *);}
static PyObject *slot_QDeadlineTimer___le__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDeadlineTimer *sipCpp = reinterpret_cast< ::QDeadlineTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeadlineTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::QDeadlineTimer* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDeadlineTimer, &a0))
        {
            bool sipRes;

            sipRes = operator<=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, le_slot, sipType_QDeadlineTimer, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDeadlineTimer___gt__(PyObject *,PyObject *);}
static PyObject *slot_QDeadlineTimer___gt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDeadlineTimer *sipCpp = reinterpret_cast< ::QDeadlineTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeadlineTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::QDeadlineTimer* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDeadlineTimer, &a0))
        {
            bool sipRes;

            sipRes = operator>((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, gt_slot, sipType_QDeadlineTimer, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDeadlineTimer___ge__(PyObject *,PyObject *);}
static PyObject *slot_QDeadlineTimer___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDeadlineTimer *sipCpp = reinterpret_cast< ::QDeadlineTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeadlineTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::QDeadlineTimer* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDeadlineTimer, &a0))
        {
            bool sipRes;

            sipRes = operator>=((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QDeadlineTimer, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDeadlineTimer___add__(PyObject *,PyObject *);}
static PyObject *slot_QDeadlineTimer___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDeadlineTimer* a0;
         ::qint64 a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9n", sipType_QDeadlineTimer, &a0, &a1))
        {
             ::QDeadlineTimer*sipRes;

            sipRes = new  ::QDeadlineTimer((*a0 + a1));

            return sipConvertFromNewType(sipRes,sipType_QDeadlineTimer,NULL);
        }
    }

    {
         ::qint64 a0;
         ::QDeadlineTimer* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "nJ9", &a0, sipType_QDeadlineTimer, &a1))
        {
             ::QDeadlineTimer*sipRes;

            sipRes = new  ::QDeadlineTimer((a0 + *a1));

            return sipConvertFromNewType(sipRes,sipType_QDeadlineTimer,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDeadlineTimer___sub__(PyObject *,PyObject *);}
static PyObject *slot_QDeadlineTimer___sub__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDeadlineTimer* a0;
         ::qint64 a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9n", sipType_QDeadlineTimer, &a0, &a1))
        {
             ::QDeadlineTimer*sipRes;

            sipRes = new  ::QDeadlineTimer((*a0 - a1));

            return sipConvertFromNewType(sipRes,sipType_QDeadlineTimer,NULL);
        }
    }

    {
         ::QDeadlineTimer* a0;
         ::QDeadlineTimer* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDeadlineTimer, &a0, sipType_QDeadlineTimer, &a1))
        {
             ::qint64 sipRes;

            sipRes = (*a0 - *a1);

            return PyLong_FromLongLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, sub_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDeadlineTimer___isub__(PyObject *,PyObject *);}
static PyObject *slot_QDeadlineTimer___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDeadlineTimer)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDeadlineTimer *sipCpp = reinterpret_cast< ::QDeadlineTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeadlineTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1n", &a0))
        {
            sipCpp-> ::QDeadlineTimer::operator-=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QDeadlineTimer___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QDeadlineTimer___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDeadlineTimer)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QDeadlineTimer *sipCpp = reinterpret_cast< ::QDeadlineTimer *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDeadlineTimer));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1n", &a0))
        {
            sipCpp-> ::QDeadlineTimer::operator+=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDeadlineTimer(void *, int);}
static void release_QDeadlineTimer(void *sipCppV, int)
{
    delete reinterpret_cast< ::QDeadlineTimer *>(sipCppV);
}


extern "C" {static void assign_QDeadlineTimer(void *, SIP_SSIZE_T, const void *);}
static void assign_QDeadlineTimer(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QDeadlineTimer *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QDeadlineTimer *>(sipSrc);
}


extern "C" {static void *array_QDeadlineTimer(SIP_SSIZE_T);}
static void *array_QDeadlineTimer(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDeadlineTimer[sipNrElem];
}


extern "C" {static void *copy_QDeadlineTimer(const void *, SIP_SSIZE_T);}
static void *copy_QDeadlineTimer(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QDeadlineTimer(reinterpret_cast<const  ::QDeadlineTimer *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDeadlineTimer(sipSimpleWrapper *);}
static void dealloc_QDeadlineTimer(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDeadlineTimer(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QDeadlineTimer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDeadlineTimer(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QDeadlineTimer *sipCpp = 0;

    {
         ::Qt::TimerType a0 = Qt::TimerType::CoarseTimer;

        static const char *sipKwdList[] = {
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|E", sipType_Qt_TimerType, &a0))
        {
            sipCpp = new  ::QDeadlineTimer(a0);

            return sipCpp;
        }
    }

    {
         ::QDeadlineTimer::ForeverConstant a0;
         ::Qt::TimerType a1 = Qt::TimerType::CoarseTimer;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|E", sipType_QDeadlineTimer_ForeverConstant, &a0, sipType_Qt_TimerType, &a1))
        {
            sipCpp = new  ::QDeadlineTimer(a0,a1);

            return sipCpp;
        }
    }

    {
         ::qint64 a0;
         ::Qt::TimerType a1 = Qt::TimerType::CoarseTimer;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "n|E", &a0, sipType_Qt_TimerType, &a1))
        {
            sipCpp = new  ::QDeadlineTimer(a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QDeadlineTimer* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDeadlineTimer, &a0))
        {
            sipCpp = new  ::QDeadlineTimer(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDeadlineTimer[] = {
    {(void *)slot_QDeadlineTimer___eq__, eq_slot},
    {(void *)slot_QDeadlineTimer___ne__, ne_slot},
    {(void *)slot_QDeadlineTimer___lt__, lt_slot},
    {(void *)slot_QDeadlineTimer___le__, le_slot},
    {(void *)slot_QDeadlineTimer___gt__, gt_slot},
    {(void *)slot_QDeadlineTimer___ge__, ge_slot},
    {(void *)slot_QDeadlineTimer___add__, add_slot},
    {(void *)slot_QDeadlineTimer___sub__, sub_slot},
    {(void *)slot_QDeadlineTimer___isub__, isub_slot},
    {(void *)slot_QDeadlineTimer___iadd__, iadd_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDeadlineTimer[] = {
    {SIP_MLNAME_CAST(sipName_addNSecs), meth_QDeadlineTimer_addNSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeadlineTimer_addNSecs)},
    {SIP_MLNAME_CAST(sipName_current), (PyCFunction)meth_QDeadlineTimer_current, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeadlineTimer_current)},
    {SIP_MLNAME_CAST(sipName_deadline), meth_QDeadlineTimer_deadline, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeadlineTimer_deadline)},
    {SIP_MLNAME_CAST(sipName_deadlineNSecs), meth_QDeadlineTimer_deadlineNSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeadlineTimer_deadlineNSecs)},
    {SIP_MLNAME_CAST(sipName_hasExpired), meth_QDeadlineTimer_hasExpired, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeadlineTimer_hasExpired)},
    {SIP_MLNAME_CAST(sipName_isForever), meth_QDeadlineTimer_isForever, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeadlineTimer_isForever)},
    {SIP_MLNAME_CAST(sipName_remainingTime), meth_QDeadlineTimer_remainingTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeadlineTimer_remainingTime)},
    {SIP_MLNAME_CAST(sipName_remainingTimeNSecs), meth_QDeadlineTimer_remainingTimeNSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeadlineTimer_remainingTimeNSecs)},
    {SIP_MLNAME_CAST(sipName_setDeadline), (PyCFunction)meth_QDeadlineTimer_setDeadline, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeadlineTimer_setDeadline)},
    {SIP_MLNAME_CAST(sipName_setPreciseDeadline), (PyCFunction)meth_QDeadlineTimer_setPreciseDeadline, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeadlineTimer_setPreciseDeadline)},
    {SIP_MLNAME_CAST(sipName_setPreciseRemainingTime), (PyCFunction)meth_QDeadlineTimer_setPreciseRemainingTime, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeadlineTimer_setPreciseRemainingTime)},
    {SIP_MLNAME_CAST(sipName_setRemainingTime), (PyCFunction)meth_QDeadlineTimer_setRemainingTime, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDeadlineTimer_setRemainingTime)},
    {SIP_MLNAME_CAST(sipName_setTimerType), meth_QDeadlineTimer_setTimerType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeadlineTimer_setTimerType)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QDeadlineTimer_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeadlineTimer_swap)},
    {SIP_MLNAME_CAST(sipName_timerType), meth_QDeadlineTimer_timerType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDeadlineTimer_timerType)}
};

static sipEnumMemberDef enummembers_QDeadlineTimer[] = {
    {sipName_Forever, static_cast<int>( ::QDeadlineTimer::Forever), 45},
};

PyDoc_STRVAR(doc_QDeadlineTimer, "\1QDeadlineTimer(type: Qt.TimerType = Qt.TimerType.CoarseTimer)\n"
    "QDeadlineTimer(QDeadlineTimer.ForeverConstant, type: Qt.TimerType = Qt.TimerType.CoarseTimer)\n"
    "QDeadlineTimer(int, type: Qt.TimerType = Qt.TimerType.CoarseTimer)\n"
    "QDeadlineTimer(QDeadlineTimer)");


static pyqt5ClassPluginDef plugin_QDeadlineTimer = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QDeadlineTimer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDeadlineTimer,
        {0},
        &plugin_QDeadlineTimer
    },
    {
        sipNameNr_QDeadlineTimer,
        {0, 0, 1},
        15, methods_QDeadlineTimer,
        1, enummembers_QDeadlineTimer,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDeadlineTimer,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDeadlineTimer,
    init_type_QDeadlineTimer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDeadlineTimer,
    assign_QDeadlineTimer,
    array_QDeadlineTimer,
    copy_QDeadlineTimer,
    release_QDeadlineTimer,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 142399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 142403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 142406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 142409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 142412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 142415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <QHash>
#line 142418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDateTime_toPyDateTime, "toPyDateTime(self) -> datetime.datetime");

extern "C" {static PyObject *meth_QDateTime_toPyDateTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_toPyDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        // Convert to a Python datetime object.
        sipDateDef py_date;
        QDate qd = sipCpp->date();
        
        py_date.pd_year = qd.year();
        py_date.pd_month = qd.month();
        py_date.pd_day = qd.day();
        
        sipTimeDef py_time;
        QTime qt = sipCpp->time();
        
        py_time.pt_hour = qt.hour();
        py_time.pt_minute = qt.minute();
        py_time.pt_second = qt.second();
        py_time.pt_microsecond = qt.msec() * 1000;
        
        sipRes = sipFromDateTime(&py_date, &py_time);
#line 142454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_toPyDateTime, doc_QDateTime_toPyDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QDateTime_isNull(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_isNull, doc_QDateTime_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QDateTime_isValid(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_isValid, doc_QDateTime_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_date, "date(self) -> QDate");

extern "C" {static PyObject *meth_QDateTime_date(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_date(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate(sipCpp->date());

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_date, doc_QDateTime_date);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_time, "time(self) -> QTime");

extern "C" {static PyObject *meth_QDateTime_time(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_time(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
             ::QTime*sipRes;

            sipRes = new  ::QTime(sipCpp->time());

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_time, doc_QDateTime_time);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_timeSpec, "timeSpec(self) -> Qt.TimeSpec");

extern "C" {static PyObject *meth_QDateTime_timeSpec(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_timeSpec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
             ::Qt::TimeSpec sipRes;

            sipRes = sipCpp->timeSpec();

            return sipConvertFromEnum(sipRes,sipType_Qt_TimeSpec);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_timeSpec, doc_QDateTime_timeSpec);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_toTime_t, "toTime_t(self) -> int");

extern "C" {static PyObject *meth_QDateTime_toTime_t(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_toTime_t(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
             ::uint sipRes;

            sipRes = sipCpp->toTime_t();

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_toTime_t, doc_QDateTime_toTime_t);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_setDate, "setDate(self, Union[QDate, datetime.date])");

extern "C" {static PyObject *meth_QDateTime_setDate(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_setDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
         ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTime, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            sipCpp->setDate(*a0);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_setDate, doc_QDateTime_setDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_setTime, "setTime(self, Union[QTime, datetime.time])");

extern "C" {static PyObject *meth_QDateTime_setTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_setTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime* a0;
        int a0State = 0;
         ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTime, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            sipCpp->setTime(*a0);
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_setTime, doc_QDateTime_setTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_setTimeSpec, "setTimeSpec(self, Qt.TimeSpec)");

extern "C" {static PyObject *meth_QDateTime_setTimeSpec(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_setTimeSpec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TimeSpec a0;
         ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDateTime, &sipCpp, sipType_Qt_TimeSpec, &a0))
        {
            sipCpp->setTimeSpec(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_setTimeSpec, doc_QDateTime_setTimeSpec);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_setTime_t, "setTime_t(self, int)");

extern "C" {static PyObject *meth_QDateTime_setTime_t(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_setTime_t(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::uint a0;
         ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
            sipCpp->setTime_t(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_setTime_t, doc_QDateTime_setTime_t);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_toString, "toString(self, format: Qt.DateFormat = Qt.TextDate) -> str\n"
    "toString(self, str) -> str");

extern "C" {static PyObject *meth_QDateTime_toString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTime_toString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::DateFormat a0 = Qt::TextDate;
        const  ::QDateTime *sipCpp;

        static const char *sipKwdList[] = {
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QDateTime, &sipCpp, sipType_Qt_DateFormat, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDateTime *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QDateTime, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0));
            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_QDateTime, sipName_toString, doc_QDateTime_toString);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_addDays, "addDays(self, int) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_addDays(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_addDays(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->addDays(a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_addDays, doc_QDateTime_addDays);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_addMonths, "addMonths(self, int) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_addMonths(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_addMonths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->addMonths(a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_addMonths, doc_QDateTime_addMonths);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_addYears, "addYears(self, int) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_addYears(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_addYears(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->addYears(a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_addYears, doc_QDateTime_addYears);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_addSecs, "addSecs(self, int) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_addSecs(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_addSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->addSecs(a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_addSecs, doc_QDateTime_addSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_addMSecs, "addMSecs(self, int) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_addMSecs(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_addMSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->addMSecs(a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_addMSecs, doc_QDateTime_addMSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_toTimeSpec, "toTimeSpec(self, Qt.TimeSpec) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_toTimeSpec(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_toTimeSpec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TimeSpec a0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDateTime, &sipCpp, sipType_Qt_TimeSpec, &a0))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->toTimeSpec(a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_toTimeSpec, doc_QDateTime_toTimeSpec);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_toLocalTime, "toLocalTime(self) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_toLocalTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_toLocalTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->toLocalTime());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_toLocalTime, doc_QDateTime_toLocalTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_toUTC, "toUTC(self) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_toUTC(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_toUTC(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->toUTC());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_toUTC, doc_QDateTime_toUTC);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_daysTo, "daysTo(self, Union[QDateTime, datetime.datetime]) -> int");

extern "C" {static PyObject *meth_QDateTime_daysTo(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_daysTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTime, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->daysTo(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_daysTo, doc_QDateTime_daysTo);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_secsTo, "secsTo(self, Union[QDateTime, datetime.datetime]) -> int");

extern "C" {static PyObject *meth_QDateTime_secsTo(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_secsTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTime, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->secsTo(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_secsTo, doc_QDateTime_secsTo);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_currentDateTime, "currentDateTime() -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_currentDateTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_currentDateTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::currentDateTime());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_currentDateTime, doc_QDateTime_currentDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_fromString, "fromString(str, format: Qt.DateFormat = Qt.TextDate) -> QDateTime\n"
    "fromString(str, str) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_fromString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTime_fromString(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Qt::DateFormat a1 = Qt::TextDate;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|E", sipType_QString,&a0, &a0State, sipType_Qt_DateFormat, &a1))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::fromString(*a0,a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::fromString(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_fromString, doc_QDateTime_fromString);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_fromTime_t, "fromTime_t(int) -> QDateTime\n"
    "fromTime_t(int, Qt.TimeSpec, offsetSeconds: int = 0) -> QDateTime\n"
    "fromTime_t(int, QTimeZone) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_fromTime_t(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTime_fromTime_t(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::uint a0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "u", &a0))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::fromTime_t(a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    {
         ::uint a0;
         ::Qt::TimeSpec a1;
        int a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_offsetSeconds,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "uE|i", &a0, sipType_Qt_TimeSpec, &a1, &a2))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::fromTime_t(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    {
         ::uint a0;
        const  ::QTimeZone* a1;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "uJ9", &a0, sipType_QTimeZone, &a1))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::fromTime_t(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_fromTime_t, doc_QDateTime_fromTime_t);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_toMSecsSinceEpoch, "toMSecsSinceEpoch(self) -> int");

extern "C" {static PyObject *meth_QDateTime_toMSecsSinceEpoch(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_toMSecsSinceEpoch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->toMSecsSinceEpoch();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_toMSecsSinceEpoch, doc_QDateTime_toMSecsSinceEpoch);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_setMSecsSinceEpoch, "setMSecsSinceEpoch(self, int)");

extern "C" {static PyObject *meth_QDateTime_setMSecsSinceEpoch(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_setMSecsSinceEpoch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
            sipCpp->setMSecsSinceEpoch(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_setMSecsSinceEpoch, doc_QDateTime_setMSecsSinceEpoch);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_msecsTo, "msecsTo(self, Union[QDateTime, datetime.datetime]) -> int");

extern "C" {static PyObject *meth_QDateTime_msecsTo(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_msecsTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTime, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->msecsTo(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_msecsTo, doc_QDateTime_msecsTo);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_currentDateTimeUtc, "currentDateTimeUtc() -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_currentDateTimeUtc(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_currentDateTimeUtc(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::currentDateTimeUtc());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_currentDateTimeUtc, doc_QDateTime_currentDateTimeUtc);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_fromMSecsSinceEpoch, "fromMSecsSinceEpoch(int) -> QDateTime\n"
    "fromMSecsSinceEpoch(int, Qt.TimeSpec, offsetSeconds: int = 0) -> QDateTime\n"
    "fromMSecsSinceEpoch(int, QTimeZone) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_fromMSecsSinceEpoch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTime_fromMSecsSinceEpoch(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "n", &a0))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::fromMSecsSinceEpoch(a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    {
         ::qint64 a0;
         ::Qt::TimeSpec a1;
        int a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_offsetSeconds,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "nE|i", &a0, sipType_Qt_TimeSpec, &a1, &a2))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::fromMSecsSinceEpoch(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    {
         ::qint64 a0;
        const  ::QTimeZone* a1;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "nJ9", &a0, sipType_QTimeZone, &a1))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::fromMSecsSinceEpoch(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_fromMSecsSinceEpoch, doc_QDateTime_fromMSecsSinceEpoch);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_currentMSecsSinceEpoch, "currentMSecsSinceEpoch() -> int");

extern "C" {static PyObject *meth_QDateTime_currentMSecsSinceEpoch(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_currentMSecsSinceEpoch(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::qint64 sipRes;

            sipRes =  ::QDateTime::currentMSecsSinceEpoch();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_currentMSecsSinceEpoch, doc_QDateTime_currentMSecsSinceEpoch);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_swap, "swap(self, QDateTime)");

extern "C" {static PyObject *meth_QDateTime_swap(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDateTime* a0;
         ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDateTime, &sipCpp, sipType_QDateTime, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_swap, doc_QDateTime_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_offsetFromUtc, "offsetFromUtc(self) -> int");

extern "C" {static PyObject *meth_QDateTime_offsetFromUtc(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_offsetFromUtc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->offsetFromUtc();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_offsetFromUtc, doc_QDateTime_offsetFromUtc);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_timeZone, "timeZone(self) -> QTimeZone");

extern "C" {static PyObject *meth_QDateTime_timeZone(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_timeZone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
             ::QTimeZone*sipRes;

            sipRes = new  ::QTimeZone(sipCpp->timeZone());

            return sipConvertFromNewType(sipRes,sipType_QTimeZone,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_timeZone, doc_QDateTime_timeZone);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_timeZoneAbbreviation, "timeZoneAbbreviation(self) -> str");

extern "C" {static PyObject *meth_QDateTime_timeZoneAbbreviation(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_timeZoneAbbreviation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->timeZoneAbbreviation());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_timeZoneAbbreviation, doc_QDateTime_timeZoneAbbreviation);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_isDaylightTime, "isDaylightTime(self) -> bool");

extern "C" {static PyObject *meth_QDateTime_isDaylightTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_isDaylightTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDaylightTime();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_isDaylightTime, doc_QDateTime_isDaylightTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_setOffsetFromUtc, "setOffsetFromUtc(self, int)");

extern "C" {static PyObject *meth_QDateTime_setOffsetFromUtc(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_setOffsetFromUtc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
            sipCpp->setOffsetFromUtc(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_setOffsetFromUtc, doc_QDateTime_setOffsetFromUtc);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_setTimeZone, "setTimeZone(self, QTimeZone)");

extern "C" {static PyObject *meth_QDateTime_setTimeZone(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_setTimeZone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeZone* a0;
         ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDateTime, &sipCpp, sipType_QTimeZone, &a0))
        {
            sipCpp->setTimeZone(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_setTimeZone, doc_QDateTime_setTimeZone);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_toOffsetFromUtc, "toOffsetFromUtc(self, int) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_toOffsetFromUtc(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_toOffsetFromUtc(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->toOffsetFromUtc(a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_toOffsetFromUtc, doc_QDateTime_toOffsetFromUtc);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_toTimeZone, "toTimeZone(self, QTimeZone) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_toTimeZone(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_toTimeZone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimeZone* a0;
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDateTime, &sipCpp, sipType_QTimeZone, &a0))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime(sipCpp->toTimeZone(*a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_toTimeZone, doc_QDateTime_toTimeZone);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_toSecsSinceEpoch, "toSecsSinceEpoch(self) -> int");

extern "C" {static PyObject *meth_QDateTime_toSecsSinceEpoch(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_toSecsSinceEpoch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTime, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->toSecsSinceEpoch();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_toSecsSinceEpoch, doc_QDateTime_toSecsSinceEpoch);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_setSecsSinceEpoch, "setSecsSinceEpoch(self, int)");

extern "C" {static PyObject *meth_QDateTime_setSecsSinceEpoch(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_setSecsSinceEpoch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::QDateTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QDateTime, &sipCpp, &a0))
        {
            sipCpp->setSecsSinceEpoch(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_setSecsSinceEpoch, doc_QDateTime_setSecsSinceEpoch);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_fromSecsSinceEpoch, "fromSecsSinceEpoch(int, spec: Qt.TimeSpec = Qt.TimeSpec.LocalTime, offsetSeconds: int = 0) -> QDateTime\n"
    "fromSecsSinceEpoch(int, QTimeZone) -> QDateTime");

extern "C" {static PyObject *meth_QDateTime_fromSecsSinceEpoch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTime_fromSecsSinceEpoch(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::Qt::TimeSpec a1 = Qt::TimeSpec::LocalTime;
        int a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_spec,
            sipName_offsetSeconds,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "n|Ei", &a0, sipType_Qt_TimeSpec, &a1, &a2))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::fromSecsSinceEpoch(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    {
         ::qint64 a0;
        const  ::QTimeZone* a1;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "nJ9", &a0, sipType_QTimeZone, &a1))
        {
             ::QDateTime*sipRes;

            sipRes = new  ::QDateTime( ::QDateTime::fromSecsSinceEpoch(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_fromSecsSinceEpoch, doc_QDateTime_fromSecsSinceEpoch);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTime_currentSecsSinceEpoch, "currentSecsSinceEpoch() -> int");

extern "C" {static PyObject *meth_QDateTime_currentSecsSinceEpoch(PyObject *, PyObject *);}
static PyObject *meth_QDateTime_currentSecsSinceEpoch(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::qint64 sipRes;

            sipRes =  ::QDateTime::currentSecsSinceEpoch();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTime, sipName_currentSecsSinceEpoch, doc_QDateTime_currentSecsSinceEpoch);

    return NULL;
}


extern "C" {static PyObject *slot_QDateTime___ge__(PyObject *,PyObject *);}
static PyObject *slot_QDateTime___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDateTime *sipCpp = reinterpret_cast< ::QDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDateTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDateTime::operator>=(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QDateTime, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDateTime___gt__(PyObject *,PyObject *);}
static PyObject *slot_QDateTime___gt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDateTime *sipCpp = reinterpret_cast< ::QDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDateTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDateTime::operator>(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, gt_slot, sipType_QDateTime, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDateTime___le__(PyObject *,PyObject *);}
static PyObject *slot_QDateTime___le__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDateTime *sipCpp = reinterpret_cast< ::QDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDateTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDateTime::operator<=(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, le_slot, sipType_QDateTime, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDateTime___lt__(PyObject *,PyObject *);}
static PyObject *slot_QDateTime___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDateTime *sipCpp = reinterpret_cast< ::QDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDateTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDateTime::operator<(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QDateTime, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDateTime___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDateTime___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDateTime *sipCpp = reinterpret_cast< ::QDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDateTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDateTime::operator!=(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QDateTime, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDateTime___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDateTime___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDateTime *sipCpp = reinterpret_cast< ::QDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDateTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDateTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDateTime::operator==(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QDateTime, sipSelf, sipArg);
}


extern "C" {static int slot_QDateTime___bool__(PyObject *);}
static int slot_QDateTime___bool__(PyObject *sipSelf)
{
     ::QDateTime *sipCpp = reinterpret_cast< ::QDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTime));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        sipRes = !sipCpp->isNull();
#line 144056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static long slot_QDateTime___hash__(PyObject *);}
static long slot_QDateTime___hash__(PyObject *sipSelf)
{
     ::QDateTime *sipCpp = reinterpret_cast< ::QDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTime));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        sipRes = qHash(sipCpp->toString(Qt::ISODate));
#line 144081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDateTime___repr__(PyObject *);}
static PyObject *slot_QDateTime___repr__(PyObject *sipSelf)
{
     ::QDateTime *sipCpp = reinterpret_cast< ::QDateTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTime));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QDateTime()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QDateTime()");
        #endif
        }
        else
        {
            QDate qd = sipCpp->date();
            QTime qt = sipCpp->time();
        
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QDateTime(%i, %i, %i, %i, %i",
                    qd.year(), qd.month(), qd.day(), qt.hour(), qt.minute());
        
            if (qt.second() || qt.msec() || sipCpp->timeSpec() != Qt::LocalTime)
            {
                qpycore_Unicode_ConcatAndDel(&sipRes,
                        PyUnicode_FromFormat(", %i", qt.second()));
        
                if (qt.msec() || sipCpp->timeSpec() != Qt::LocalTime)
                {
                    qpycore_Unicode_ConcatAndDel(&sipRes,
                            PyUnicode_FromFormat(", %i", qt.msec()));
        
                    if (sipCpp->timeSpec() != Qt::LocalTime)
                        qpycore_Unicode_ConcatAndDel(&sipRes,
                                PyUnicode_FromFormat(", PyQt5.QtCore.Qt.TimeSpec(%i)",
                                        (int)sipCpp->timeSpec()));
                }
            }
        
            qpycore_Unicode_ConcatAndDel(&sipRes, PyUnicode_FromString(")"));
        #else
            sipRes = PyString_FromFormat("PyQt5.QtCore.QDateTime(%i, %i, %i, %i, %i",
                    qd.year(), qd.month(), qd.day(), qt.hour(), qt.minute());
        
            if (qt.second() || qt.msec() || sipCpp->timeSpec() != Qt::LocalTime)
            {
                PyString_ConcatAndDel(&sipRes,
                        PyString_FromFormat(", %i", qt.second()));
        
                if (qt.msec() || sipCpp->timeSpec() != Qt::LocalTime)
                {
                    PyString_ConcatAndDel(&sipRes,
                            PyString_FromFormat(", %i", qt.msec()));
        
                    if (sipCpp->timeSpec() != Qt::LocalTime)
                        PyString_ConcatAndDel(&sipRes,
                                PyString_FromFormat(", PyQt5.QtCore.Qt.TimeSpec(%i)",
                                        (int)sipCpp->timeSpec()));
                }
            }
        
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        }
#line 144164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDateTime(void *, int);}
static void release_QDateTime(void *sipCppV, int)
{
    delete reinterpret_cast< ::QDateTime *>(sipCppV);
}


extern "C" {static PyObject *pickle_QDateTime(void *);}
static PyObject *pickle_QDateTime(void *sipCppV)
{
     ::QDateTime *sipCpp = reinterpret_cast< ::QDateTime *>(sipCppV);
    PyObject *sipRes;

#line 344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
    QDate qd = sipCpp->date();
    QTime qt = sipCpp->time();
    
    sipRes = Py_BuildValue((char *)"iiiiiiii", qd.year(), qd.month(), qd.day(),
            qt.hour(), qt.minute(), qt.second(), qt.msec(),
            (int)sipCpp->timeSpec());
#line 144195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QDateTime(void *, SIP_SSIZE_T, const void *);}
static void assign_QDateTime(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QDateTime *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QDateTime *>(sipSrc);
}


extern "C" {static void *array_QDateTime(SIP_SSIZE_T);}
static void *array_QDateTime(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDateTime[sipNrElem];
}


extern "C" {static void *copy_QDateTime(const void *, SIP_SSIZE_T);}
static void *copy_QDateTime(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QDateTime(reinterpret_cast<const  ::QDateTime *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDateTime(sipSimpleWrapper *);}
static void dealloc_QDateTime(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDateTime(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QDateTime(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDateTime(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QDateTime *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QDateTime();

            return sipCpp;
        }
    }

    {
        const  ::QDateTime* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDateTime, &a0, &a0State))
        {
            sipCpp = new  ::QDateTime(*a0);
            sipReleaseType(const_cast< ::QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QDate* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDate, &a0, &a0State))
        {
            sipCpp = new  ::QDateTime(*a0);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QDate* a0;
        int a0State = 0;
        const  ::QTime* a1;
        int a1State = 0;
         ::Qt::TimeSpec a2 = Qt::LocalTime;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_timeSpec,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1|E", sipType_QDate, &a0, &a0State, sipType_QTime, &a1, &a1State, sipType_Qt_TimeSpec, &a2))
        {
            sipCpp = new  ::QDateTime(*a0,*a1,a2);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);
            sipReleaseType(const_cast< ::QTime *>(a1),sipType_QTime,a1State);

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;
        int a4;
        int a5 = 0;
        int a6 = 0;
        int a7 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_second,
            sipName_msec,
            sipName_timeSpec,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "iiiii|iii", &a0, &a1, &a2, &a3, &a4, &a5, &a6, &a7))
        {
#line 359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        // This ctor is mainly supplied to allow pickling.
        QDate qd(a0, a1, a2);
        QTime qt(a3, a4, a5, a6);
        
        sipCpp = new QDateTime(qd, qt, (Qt::TimeSpec)a7);
#line 144324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipCpp;
        }
    }

    {
        const  ::QDate* a0;
        int a0State = 0;
        const  ::QTime* a1;
        int a1State = 0;
         ::Qt::TimeSpec a2;
        int a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1Ei", sipType_QDate, &a0, &a0State, sipType_QTime, &a1, &a1State, sipType_Qt_TimeSpec, &a2, &a3))
        {
            sipCpp = new  ::QDateTime(*a0,*a1,a2,a3);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);
            sipReleaseType(const_cast< ::QTime *>(a1),sipType_QTime,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QDate* a0;
        int a0State = 0;
        const  ::QTime* a1;
        int a1State = 0;
        const  ::QTimeZone* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1J1J9", sipType_QDate, &a0, &a0State, sipType_QTime, &a1, &a1State, sipType_QTimeZone, &a2))
        {
            sipCpp = new  ::QDateTime(*a0,*a1,*a2);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);
            sipReleaseType(const_cast< ::QTime *>(a1),sipType_QTime,a1State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QDateTime(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDateTime(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QDateTime **sipCppPtr = reinterpret_cast< ::QDateTime **>(sipCppPtrV);

#line 311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
// Allow a Python datetime object whenever a QDateTime is expected.

if (sipIsErr == NULL)
    return (sipGetDateTime(sipPy, 0, 0) ||
            sipCanConvertToType(sipPy, sipType_QDateTime, SIP_NO_CONVERTORS));

sipDateDef py_date;
sipTimeDef py_time;

if (sipGetDateTime(sipPy, &py_date, &py_time))
{
    QDate qdate(py_date.pd_year,
                py_date.pd_month,
                py_date.pd_day);

    QTime qtime(py_time.pt_hour,
                py_time.pt_minute,
                py_time.pt_second,
                py_time.pt_microsecond / 1000);

    QDateTime *qdt = new QDateTime(qdate, qtime);

    *sipCppPtr = qdt;

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDateTime *>(sipConvertToType(sipPy, sipType_QDateTime, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 144405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDateTime[] = {
    {(void *)slot_QDateTime___ge__, ge_slot},
    {(void *)slot_QDateTime___gt__, gt_slot},
    {(void *)slot_QDateTime___le__, le_slot},
    {(void *)slot_QDateTime___lt__, lt_slot},
    {(void *)slot_QDateTime___ne__, ne_slot},
    {(void *)slot_QDateTime___eq__, eq_slot},
    {(void *)slot_QDateTime___bool__, bool_slot},
    {(void *)slot_QDateTime___hash__, hash_slot},
    {(void *)slot_QDateTime___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDateTime[] = {
    {SIP_MLNAME_CAST(sipName_addDays), meth_QDateTime_addDays, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_addDays)},
    {SIP_MLNAME_CAST(sipName_addMSecs), meth_QDateTime_addMSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_addMSecs)},
    {SIP_MLNAME_CAST(sipName_addMonths), meth_QDateTime_addMonths, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_addMonths)},
    {SIP_MLNAME_CAST(sipName_addSecs), meth_QDateTime_addSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_addSecs)},
    {SIP_MLNAME_CAST(sipName_addYears), meth_QDateTime_addYears, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_addYears)},
    {SIP_MLNAME_CAST(sipName_currentDateTime), meth_QDateTime_currentDateTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_currentDateTime)},
    {SIP_MLNAME_CAST(sipName_currentDateTimeUtc), meth_QDateTime_currentDateTimeUtc, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_currentDateTimeUtc)},
    {SIP_MLNAME_CAST(sipName_currentMSecsSinceEpoch), meth_QDateTime_currentMSecsSinceEpoch, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_currentMSecsSinceEpoch)},
    {SIP_MLNAME_CAST(sipName_currentSecsSinceEpoch), meth_QDateTime_currentSecsSinceEpoch, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_currentSecsSinceEpoch)},
    {SIP_MLNAME_CAST(sipName_date), meth_QDateTime_date, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_date)},
    {SIP_MLNAME_CAST(sipName_daysTo), meth_QDateTime_daysTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_daysTo)},
    {SIP_MLNAME_CAST(sipName_fromMSecsSinceEpoch), (PyCFunction)meth_QDateTime_fromMSecsSinceEpoch, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTime_fromMSecsSinceEpoch)},
    {SIP_MLNAME_CAST(sipName_fromSecsSinceEpoch), (PyCFunction)meth_QDateTime_fromSecsSinceEpoch, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTime_fromSecsSinceEpoch)},
    {SIP_MLNAME_CAST(sipName_fromString), (PyCFunction)meth_QDateTime_fromString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTime_fromString)},
    {SIP_MLNAME_CAST(sipName_fromTime_t), (PyCFunction)meth_QDateTime_fromTime_t, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTime_fromTime_t)},
    {SIP_MLNAME_CAST(sipName_isDaylightTime), meth_QDateTime_isDaylightTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_isDaylightTime)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QDateTime_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_isNull)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QDateTime_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_isValid)},
    {SIP_MLNAME_CAST(sipName_msecsTo), meth_QDateTime_msecsTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_msecsTo)},
    {SIP_MLNAME_CAST(sipName_offsetFromUtc), meth_QDateTime_offsetFromUtc, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_offsetFromUtc)},
    {SIP_MLNAME_CAST(sipName_secsTo), meth_QDateTime_secsTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_secsTo)},
    {SIP_MLNAME_CAST(sipName_setDate), meth_QDateTime_setDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_setDate)},
    {SIP_MLNAME_CAST(sipName_setMSecsSinceEpoch), meth_QDateTime_setMSecsSinceEpoch, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_setMSecsSinceEpoch)},
    {SIP_MLNAME_CAST(sipName_setOffsetFromUtc), meth_QDateTime_setOffsetFromUtc, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_setOffsetFromUtc)},
    {SIP_MLNAME_CAST(sipName_setSecsSinceEpoch), meth_QDateTime_setSecsSinceEpoch, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_setSecsSinceEpoch)},
    {SIP_MLNAME_CAST(sipName_setTime), meth_QDateTime_setTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_setTime)},
    {SIP_MLNAME_CAST(sipName_setTimeSpec), meth_QDateTime_setTimeSpec, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_setTimeSpec)},
    {SIP_MLNAME_CAST(sipName_setTimeZone), meth_QDateTime_setTimeZone, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_setTimeZone)},
    {SIP_MLNAME_CAST(sipName_setTime_t), meth_QDateTime_setTime_t, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_setTime_t)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QDateTime_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_swap)},
    {SIP_MLNAME_CAST(sipName_time), meth_QDateTime_time, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_time)},
    {SIP_MLNAME_CAST(sipName_timeSpec), meth_QDateTime_timeSpec, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_timeSpec)},
    {SIP_MLNAME_CAST(sipName_timeZone), meth_QDateTime_timeZone, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_timeZone)},
    {SIP_MLNAME_CAST(sipName_timeZoneAbbreviation), meth_QDateTime_timeZoneAbbreviation, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_timeZoneAbbreviation)},
    {SIP_MLNAME_CAST(sipName_toLocalTime), meth_QDateTime_toLocalTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_toLocalTime)},
    {SIP_MLNAME_CAST(sipName_toMSecsSinceEpoch), meth_QDateTime_toMSecsSinceEpoch, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_toMSecsSinceEpoch)},
    {SIP_MLNAME_CAST(sipName_toOffsetFromUtc), meth_QDateTime_toOffsetFromUtc, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_toOffsetFromUtc)},
    {SIP_MLNAME_CAST(sipName_toPyDateTime), meth_QDateTime_toPyDateTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_toPyDateTime)},
    {SIP_MLNAME_CAST(sipName_toSecsSinceEpoch), meth_QDateTime_toSecsSinceEpoch, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_toSecsSinceEpoch)},
    {SIP_MLNAME_CAST(sipName_toString), (PyCFunction)meth_QDateTime_toString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTime_toString)},
    {SIP_MLNAME_CAST(sipName_toTimeSpec), meth_QDateTime_toTimeSpec, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_toTimeSpec)},
    {SIP_MLNAME_CAST(sipName_toTimeZone), meth_QDateTime_toTimeZone, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_toTimeZone)},
    {SIP_MLNAME_CAST(sipName_toTime_t), meth_QDateTime_toTime_t, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_toTime_t)},
    {SIP_MLNAME_CAST(sipName_toUTC), meth_QDateTime_toUTC, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTime_toUTC)}
};

PyDoc_STRVAR(doc_QDateTime, "\1QDateTime()\n"
    "QDateTime(Union[QDateTime, datetime.datetime])\n"
    "QDateTime(Union[QDate, datetime.date])\n"
    "QDateTime(Union[QDate, datetime.date], Union[QTime, datetime.time], timeSpec: Qt.TimeSpec = Qt.LocalTime)\n"
    "QDateTime(int, int, int, int, int, second: int = 0, msec: int = 0, timeSpec: int = 0)\n"
    "QDateTime(Union[QDate, datetime.date], Union[QTime, datetime.time], Qt.TimeSpec, int)\n"
    "QDateTime(Union[QDate, datetime.date], Union[QTime, datetime.time], QTimeZone)");


static pyqt5ClassPluginDef plugin_QDateTime = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QDateTime = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDateTime,
        {0},
        &plugin_QDateTime
    },
    {
        sipNameNr_QDateTime,
        {0, 0, 1},
        44, methods_QDateTime,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDateTime,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDateTime,
    init_type_QDateTime,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDateTime,
    assign_QDateTime,
    array_QDateTime,
    copy_QDateTime,
    release_QDateTime,
    0,
    convertTo_QDateTime,
    0,
    0,
    pickle_QDateTime,
    0,
    0
};

#line 159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 144540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 144544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 144547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <QHash>
#line 144550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QTime_toPyTime, "toPyTime(self) -> datetime.time");

extern "C" {static PyObject *meth_QTime_toPyTime(PyObject *, PyObject *);}
static PyObject *meth_QTime_toPyTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        // Convert to a Python time object.
        sipTimeDef py_time;
        
        py_time.pt_hour = sipCpp->hour();
        py_time.pt_minute = sipCpp->minute();
        py_time.pt_second = sipCpp->second();
        py_time.pt_microsecond = sipCpp->msec() * 1000;
        
        sipRes = sipFromTime(&py_time);
#line 144578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_toPyTime, doc_QTime_toPyTime);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QTime_isNull(PyObject *, PyObject *);}
static PyObject *meth_QTime_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_isNull, doc_QTime_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_isValid, "isValid(self) -> bool\n"
    "isValid(int, int, int, msec: int = 0) -> bool");

extern "C" {static PyObject *meth_QTime_isValid(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTime_isValid(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_msec,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "iii|i", &a0, &a1, &a2, &a3))
        {
            bool sipRes;

            sipRes =  ::QTime::isValid(a0,a1,a2,a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_isValid, doc_QTime_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_hour, "hour(self) -> int");

extern "C" {static PyObject *meth_QTime_hour(PyObject *, PyObject *);}
static PyObject *meth_QTime_hour(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->hour();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_hour, doc_QTime_hour);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_minute, "minute(self) -> int");

extern "C" {static PyObject *meth_QTime_minute(PyObject *, PyObject *);}
static PyObject *meth_QTime_minute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minute();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_minute, doc_QTime_minute);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_second, "second(self) -> int");

extern "C" {static PyObject *meth_QTime_second(PyObject *, PyObject *);}
static PyObject *meth_QTime_second(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->second();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_second, doc_QTime_second);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_msec, "msec(self) -> int");

extern "C" {static PyObject *meth_QTime_msec(PyObject *, PyObject *);}
static PyObject *meth_QTime_msec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->msec();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_msec, doc_QTime_msec);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_toString, "toString(self, format: Qt.DateFormat = Qt.TextDate) -> str\n"
    "toString(self, str) -> str");

extern "C" {static PyObject *meth_QTime_toString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTime_toString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::DateFormat a0 = Qt::TextDate;
        const  ::QTime *sipCpp;

        static const char *sipKwdList[] = {
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QTime, &sipCpp, sipType_Qt_DateFormat, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QTime *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTime, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0));
            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_QTime, sipName_toString, doc_QTime_toString);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_setHMS, "setHMS(self, int, int, int, msec: int = 0) -> bool");

extern "C" {static PyObject *meth_QTime_setHMS(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTime_setHMS(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3 = 0;
         ::QTime *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_msec,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Biii|i", &sipSelf, sipType_QTime, &sipCpp, &a0, &a1, &a2, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->setHMS(a0,a1,a2,a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_setHMS, doc_QTime_setHMS);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_addSecs, "addSecs(self, int) -> QTime");

extern "C" {static PyObject *meth_QTime_addSecs(PyObject *, PyObject *);}
static PyObject *meth_QTime_addSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTime, &sipCpp, &a0))
        {
             ::QTime*sipRes;

            sipRes = new  ::QTime(sipCpp->addSecs(a0));

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_addSecs, doc_QTime_addSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_secsTo, "secsTo(self, Union[QTime, datetime.time]) -> int");

extern "C" {static PyObject *meth_QTime_secsTo(PyObject *, PyObject *);}
static PyObject *meth_QTime_secsTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime* a0;
        int a0State = 0;
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTime, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->secsTo(*a0);
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_secsTo, doc_QTime_secsTo);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_addMSecs, "addMSecs(self, int) -> QTime");

extern "C" {static PyObject *meth_QTime_addMSecs(PyObject *, PyObject *);}
static PyObject *meth_QTime_addMSecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTime, &sipCpp, &a0))
        {
             ::QTime*sipRes;

            sipRes = new  ::QTime(sipCpp->addMSecs(a0));

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_addMSecs, doc_QTime_addMSecs);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_msecsTo, "msecsTo(self, Union[QTime, datetime.time]) -> int");

extern "C" {static PyObject *meth_QTime_msecsTo(PyObject *, PyObject *);}
static PyObject *meth_QTime_msecsTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime* a0;
        int a0State = 0;
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTime, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->msecsTo(*a0);
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_msecsTo, doc_QTime_msecsTo);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_currentTime, "currentTime() -> QTime");

extern "C" {static PyObject *meth_QTime_currentTime(PyObject *, PyObject *);}
static PyObject *meth_QTime_currentTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QTime*sipRes;

            sipRes = new  ::QTime( ::QTime::currentTime());

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_currentTime, doc_QTime_currentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_fromString, "fromString(str, format: Qt.DateFormat = Qt.TextDate) -> QTime\n"
    "fromString(str, str) -> QTime");

extern "C" {static PyObject *meth_QTime_fromString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTime_fromString(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Qt::DateFormat a1 = Qt::TextDate;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|E", sipType_QString,&a0, &a0State, sipType_Qt_DateFormat, &a1))
        {
             ::QTime*sipRes;

            sipRes = new  ::QTime( ::QTime::fromString(*a0,a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QTime*sipRes;

            sipRes = new  ::QTime( ::QTime::fromString(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_fromString, doc_QTime_fromString);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_start, "start(self)");

extern "C" {static PyObject *meth_QTime_start(PyObject *, PyObject *);}
static PyObject *meth_QTime_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            sipCpp->start();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_start, doc_QTime_start);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_restart, "restart(self) -> int");

extern "C" {static PyObject *meth_QTime_restart(PyObject *, PyObject *);}
static PyObject *meth_QTime_restart(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->restart();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_restart, doc_QTime_restart);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_elapsed, "elapsed(self) -> int");

extern "C" {static PyObject *meth_QTime_elapsed(PyObject *, PyObject *);}
static PyObject *meth_QTime_elapsed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->elapsed();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_elapsed, doc_QTime_elapsed);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_fromMSecsSinceStartOfDay, "fromMSecsSinceStartOfDay(int) -> QTime");

extern "C" {static PyObject *meth_QTime_fromMSecsSinceStartOfDay(PyObject *, PyObject *);}
static PyObject *meth_QTime_fromMSecsSinceStartOfDay(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
             ::QTime*sipRes;

            sipRes = new  ::QTime( ::QTime::fromMSecsSinceStartOfDay(a0));

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_fromMSecsSinceStartOfDay, doc_QTime_fromMSecsSinceStartOfDay);

    return NULL;
}


PyDoc_STRVAR(doc_QTime_msecsSinceStartOfDay, "msecsSinceStartOfDay(self) -> int");

extern "C" {static PyObject *meth_QTime_msecsSinceStartOfDay(PyObject *, PyObject *);}
static PyObject *meth_QTime_msecsSinceStartOfDay(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTime *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTime, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->msecsSinceStartOfDay();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTime, sipName_msecsSinceStartOfDay, doc_QTime_msecsSinceStartOfDay);

    return NULL;
}


extern "C" {static PyObject *slot_QTime___ge__(PyObject *,PyObject *);}
static PyObject *slot_QTime___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTime *sipCpp = reinterpret_cast< ::QTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QTime::operator>=(*a0);
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QTime, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTime___gt__(PyObject *,PyObject *);}
static PyObject *slot_QTime___gt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTime *sipCpp = reinterpret_cast< ::QTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QTime::operator>(*a0);
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, gt_slot, sipType_QTime, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTime___le__(PyObject *,PyObject *);}
static PyObject *slot_QTime___le__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTime *sipCpp = reinterpret_cast< ::QTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QTime::operator<=(*a0);
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, le_slot, sipType_QTime, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTime___lt__(PyObject *,PyObject *);}
static PyObject *slot_QTime___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTime *sipCpp = reinterpret_cast< ::QTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QTime::operator<(*a0);
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QTime, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTime___ne__(PyObject *,PyObject *);}
static PyObject *slot_QTime___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTime *sipCpp = reinterpret_cast< ::QTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QTime::operator!=(*a0);
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QTime, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QTime___eq__(PyObject *,PyObject *);}
static PyObject *slot_QTime___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QTime *sipCpp = reinterpret_cast< ::QTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTime));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QTime* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTime, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QTime::operator==(*a0);
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QTime, sipSelf, sipArg);
}


extern "C" {static int slot_QTime___bool__(PyObject *);}
static int slot_QTime___bool__(PyObject *sipSelf)
{
     ::QTime *sipCpp = reinterpret_cast< ::QTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTime));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        sipRes = !sipCpp->isNull();
#line 145434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static long slot_QTime___hash__(PyObject *);}
static long slot_QTime___hash__(PyObject *sipSelf)
{
     ::QTime *sipCpp = reinterpret_cast< ::QTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTime));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        sipRes = qHash(sipCpp->toString(Qt::ISODate));
#line 145459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTime___repr__(PyObject *);}
static PyObject *slot_QTime___repr__(PyObject *sipSelf)
{
     ::QTime *sipCpp = reinterpret_cast< ::QTime *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTime));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QTime()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QTime()");
        #endif
        }
        else
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QTime(%i, %i", sipCpp->hour(),
                    sipCpp->minute());
        
            if (sipCpp->second() || sipCpp->msec())
            {
                qpycore_Unicode_ConcatAndDel(&sipRes,
                        PyUnicode_FromFormat(", %i", sipCpp->second()));
        
                if (sipCpp->msec())
                    qpycore_Unicode_ConcatAndDel(&sipRes,
                            PyUnicode_FromFormat(", %i", sipCpp->msec()));
            }
        
            qpycore_Unicode_ConcatAndDel(&sipRes, PyUnicode_FromString(")"));
        #else
            sipRes = PyString_FromFormat("PyQt5.QtCore.QTime(%i, %i", sipCpp->hour(),
                    sipCpp->minute());
        
            if (sipCpp->second() || sipCpp->msec())
            {
                PyString_ConcatAndDel(&sipRes,
                        PyString_FromFormat(", %i", sipCpp->second()));
        
                if (sipCpp->msec())
                    PyString_ConcatAndDel(&sipRes,
                            PyString_FromFormat(", %i", sipCpp->msec()));
            }
        
            PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        }
#line 145525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTime(void *, int);}
static void release_QTime(void *sipCppV, int)
{
    delete reinterpret_cast< ::QTime *>(sipCppV);
}


extern "C" {static PyObject *pickle_QTime(void *);}
static PyObject *pickle_QTime(void *sipCppV)
{
     ::QTime *sipCpp = reinterpret_cast< ::QTime *>(sipCppV);
    PyObject *sipRes;

#line 191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
    sipRes = Py_BuildValue((char *)"iiii", sipCpp->hour(), sipCpp->minute(), sipCpp->second(), sipCpp->msec());
#line 145551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QTime(void *, SIP_SSIZE_T, const void *);}
static void assign_QTime(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QTime *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QTime *>(sipSrc);
}


extern "C" {static void *array_QTime(SIP_SSIZE_T);}
static void *array_QTime(SIP_SSIZE_T sipNrElem)
{
    return new  ::QTime[sipNrElem];
}


extern "C" {static void *copy_QTime(const void *, SIP_SSIZE_T);}
static void *copy_QTime(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QTime(reinterpret_cast<const  ::QTime *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTime(sipSimpleWrapper *);}
static void dealloc_QTime(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTime(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QTime(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTime(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QTime *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QTime();

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2 = 0;
        int a3 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_second,
            sipName_msec,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "ii|ii", &a0, &a1, &a2, &a3))
        {
            sipCpp = new  ::QTime(a0,a1,a2,a3);

            return sipCpp;
        }
    }

    {
        const  ::QTime* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QTime, &a0, &a0State))
        {
            sipCpp = new  ::QTime(*a0);
            sipReleaseType(const_cast< ::QTime *>(a0),sipType_QTime,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QTime(PyObject *, void **, int *, PyObject *);}
static int convertTo_QTime(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QTime **sipCppPtr = reinterpret_cast< ::QTime **>(sipCppPtrV);

#line 167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
// Allow a Python time object whenever a QTime is expected.

if (sipIsErr == NULL)
    return (sipGetTime(sipPy, 0) ||
            sipCanConvertToType(sipPy, sipType_QTime, SIP_NO_CONVERTORS));

sipTimeDef py_time;

if (sipGetTime(sipPy, &py_time))
{
    *sipCppPtr = new QTime(py_time.pt_hour,
                           py_time.pt_minute,
                           py_time.pt_second,
                           py_time.pt_microsecond / 1000);

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QTime *>(sipConvertToType(sipPy, sipType_QTime, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 145667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTime[] = {
    {(void *)slot_QTime___ge__, ge_slot},
    {(void *)slot_QTime___gt__, gt_slot},
    {(void *)slot_QTime___le__, le_slot},
    {(void *)slot_QTime___lt__, lt_slot},
    {(void *)slot_QTime___ne__, ne_slot},
    {(void *)slot_QTime___eq__, eq_slot},
    {(void *)slot_QTime___bool__, bool_slot},
    {(void *)slot_QTime___hash__, hash_slot},
    {(void *)slot_QTime___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QTime[] = {
    {SIP_MLNAME_CAST(sipName_addMSecs), meth_QTime_addMSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_addMSecs)},
    {SIP_MLNAME_CAST(sipName_addSecs), meth_QTime_addSecs, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_addSecs)},
    {SIP_MLNAME_CAST(sipName_currentTime), meth_QTime_currentTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_currentTime)},
    {SIP_MLNAME_CAST(sipName_elapsed), meth_QTime_elapsed, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_elapsed)},
    {SIP_MLNAME_CAST(sipName_fromMSecsSinceStartOfDay), meth_QTime_fromMSecsSinceStartOfDay, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_fromMSecsSinceStartOfDay)},
    {SIP_MLNAME_CAST(sipName_fromString), (PyCFunction)meth_QTime_fromString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTime_fromString)},
    {SIP_MLNAME_CAST(sipName_hour), meth_QTime_hour, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_hour)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QTime_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_isNull)},
    {SIP_MLNAME_CAST(sipName_isValid), (PyCFunction)meth_QTime_isValid, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTime_isValid)},
    {SIP_MLNAME_CAST(sipName_minute), meth_QTime_minute, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_minute)},
    {SIP_MLNAME_CAST(sipName_msec), meth_QTime_msec, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_msec)},
    {SIP_MLNAME_CAST(sipName_msecsSinceStartOfDay), meth_QTime_msecsSinceStartOfDay, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_msecsSinceStartOfDay)},
    {SIP_MLNAME_CAST(sipName_msecsTo), meth_QTime_msecsTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_msecsTo)},
    {SIP_MLNAME_CAST(sipName_restart), meth_QTime_restart, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_restart)},
    {SIP_MLNAME_CAST(sipName_second), meth_QTime_second, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_second)},
    {SIP_MLNAME_CAST(sipName_secsTo), meth_QTime_secsTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_secsTo)},
    {SIP_MLNAME_CAST(sipName_setHMS), (PyCFunction)meth_QTime_setHMS, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTime_setHMS)},
    {SIP_MLNAME_CAST(sipName_start), meth_QTime_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_start)},
    {SIP_MLNAME_CAST(sipName_toPyTime), meth_QTime_toPyTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QTime_toPyTime)},
    {SIP_MLNAME_CAST(sipName_toString), (PyCFunction)meth_QTime_toString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTime_toString)}
};

PyDoc_STRVAR(doc_QTime, "\1QTime()\n"
    "QTime(int, int, second: int = 0, msec: int = 0)\n"
    "QTime(QTime)");


static pyqt5ClassPluginDef plugin_QTime = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTime = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTime,
        {0},
        &plugin_QTime
    },
    {
        sipNameNr_QTime,
        {0, 0, 1},
        20, methods_QTime,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTime,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QTime,
    init_type_QTime,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTime,
    assign_QTime,
    array_QTime,
    copy_QTime,
    release_QTime,
    0,
    convertTo_QTime,
    0,
    0,
    pickle_QTime,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 145774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 145778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 145781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <QHash>
#line 145784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDate_toPyDate, "toPyDate(self) -> datetime.date");

extern "C" {static PyObject *meth_QDate_toPyDate(PyObject *, PyObject *);}
static PyObject *meth_QDate_toPyDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 93 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        // Convert to a Python date object.
        sipDateDef py_date;
        
        py_date.pd_year = sipCpp->year();
        py_date.pd_month = sipCpp->month();
        py_date.pd_day = sipCpp->day();
        
        sipRes = sipFromDate(&py_date);
#line 145811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_toPyDate, doc_QDate_toPyDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QDate_isNull(PyObject *, PyObject *);}
static PyObject *meth_QDate_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_isNull, doc_QDate_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_isValid, "isValid(self) -> bool\n"
    "isValid(int, int, int) -> bool");

extern "C" {static PyObject *meth_QDate_isValid(PyObject *, PyObject *);}
static PyObject *meth_QDate_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
        int a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "iii", &a0, &a1, &a2))
        {
            bool sipRes;

            sipRes =  ::QDate::isValid(a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_isValid, doc_QDate_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_year, "year(self) -> int");

extern "C" {static PyObject *meth_QDate_year(PyObject *, PyObject *);}
static PyObject *meth_QDate_year(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->year();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_year, doc_QDate_year);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_month, "month(self) -> int");

extern "C" {static PyObject *meth_QDate_month(PyObject *, PyObject *);}
static PyObject *meth_QDate_month(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->month();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_month, doc_QDate_month);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_day, "day(self) -> int");

extern "C" {static PyObject *meth_QDate_day(PyObject *, PyObject *);}
static PyObject *meth_QDate_day(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->day();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_day, doc_QDate_day);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_dayOfWeek, "dayOfWeek(self) -> int");

extern "C" {static PyObject *meth_QDate_dayOfWeek(PyObject *, PyObject *);}
static PyObject *meth_QDate_dayOfWeek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->dayOfWeek();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_dayOfWeek, doc_QDate_dayOfWeek);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_dayOfYear, "dayOfYear(self) -> int");

extern "C" {static PyObject *meth_QDate_dayOfYear(PyObject *, PyObject *);}
static PyObject *meth_QDate_dayOfYear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->dayOfYear();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_dayOfYear, doc_QDate_dayOfYear);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_daysInMonth, "daysInMonth(self) -> int");

extern "C" {static PyObject *meth_QDate_daysInMonth(PyObject *, PyObject *);}
static PyObject *meth_QDate_daysInMonth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->daysInMonth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_daysInMonth, doc_QDate_daysInMonth);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_daysInYear, "daysInYear(self) -> int");

extern "C" {static PyObject *meth_QDate_daysInYear(PyObject *, PyObject *);}
static PyObject *meth_QDate_daysInYear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->daysInYear();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_daysInYear, doc_QDate_daysInYear);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_weekNumber, "weekNumber(self) -> Tuple[int, int]");

extern "C" {static PyObject *meth_QDate_weekNumber(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDate_weekNumber(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QDate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->weekNumber(&a0);

            return sipBuildResult(0,"(ii)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_weekNumber, doc_QDate_weekNumber);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_shortMonthName, "shortMonthName(int, type: QDate.MonthNameType = QDate.DateFormat) -> str");

extern "C" {static PyObject *meth_QDate_shortMonthName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDate_shortMonthName(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QDate::MonthNameType a1 = QDate::DateFormat;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "i|E", &a0, sipType_QDate_MonthNameType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDate::shortMonthName(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_shortMonthName, doc_QDate_shortMonthName);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_shortDayName, "shortDayName(int, type: QDate.MonthNameType = QDate.DateFormat) -> str");

extern "C" {static PyObject *meth_QDate_shortDayName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDate_shortDayName(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QDate::MonthNameType a1 = QDate::DateFormat;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "i|E", &a0, sipType_QDate_MonthNameType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDate::shortDayName(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_shortDayName, doc_QDate_shortDayName);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_longMonthName, "longMonthName(int, type: QDate.MonthNameType = QDate.DateFormat) -> str");

extern "C" {static PyObject *meth_QDate_longMonthName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDate_longMonthName(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QDate::MonthNameType a1 = QDate::DateFormat;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "i|E", &a0, sipType_QDate_MonthNameType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDate::longMonthName(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_longMonthName, doc_QDate_longMonthName);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_longDayName, "longDayName(int, type: QDate.MonthNameType = QDate.DateFormat) -> str");

extern "C" {static PyObject *meth_QDate_longDayName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDate_longDayName(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QDate::MonthNameType a1 = QDate::DateFormat;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "i|E", &a0, sipType_QDate_MonthNameType, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QDate::longDayName(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_longDayName, doc_QDate_longDayName);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_toString, "toString(self, format: Qt.DateFormat = Qt.TextDate) -> str\n"
    "toString(self, str) -> str");

extern "C" {static PyObject *meth_QDate_toString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDate_toString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::DateFormat a0 = Qt::TextDate;
        const  ::QDate *sipCpp;

        static const char *sipKwdList[] = {
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QDate, &sipCpp, sipType_Qt_DateFormat, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QDate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QDate, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->toString(*a0));
            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_QDate, sipName_toString, doc_QDate_toString);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_addDays, "addDays(self, int) -> QDate");

extern "C" {static PyObject *meth_QDate_addDays(PyObject *, PyObject *);}
static PyObject *meth_QDate_addDays(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QDate, &sipCpp, &a0))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate(sipCpp->addDays(a0));

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_addDays, doc_QDate_addDays);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_addMonths, "addMonths(self, int) -> QDate");

extern "C" {static PyObject *meth_QDate_addMonths(PyObject *, PyObject *);}
static PyObject *meth_QDate_addMonths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDate, &sipCpp, &a0))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate(sipCpp->addMonths(a0));

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_addMonths, doc_QDate_addMonths);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_addYears, "addYears(self, int) -> QDate");

extern "C" {static PyObject *meth_QDate_addYears(PyObject *, PyObject *);}
static PyObject *meth_QDate_addYears(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDate, &sipCpp, &a0))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate(sipCpp->addYears(a0));

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_addYears, doc_QDate_addYears);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_daysTo, "daysTo(self, Union[QDate, datetime.date]) -> int");

extern "C" {static PyObject *meth_QDate_daysTo(PyObject *, PyObject *);}
static PyObject *meth_QDate_daysTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDate, &sipCpp, sipType_QDate, &a0, &a0State))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->daysTo(*a0);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_daysTo, doc_QDate_daysTo);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_currentDate, "currentDate() -> QDate");

extern "C" {static PyObject *meth_QDate_currentDate(PyObject *, PyObject *);}
static PyObject *meth_QDate_currentDate(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate( ::QDate::currentDate());

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_currentDate, doc_QDate_currentDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_fromString, "fromString(str, format: Qt.DateFormat = Qt.TextDate) -> QDate\n"
    "fromString(str, str) -> QDate");

extern "C" {static PyObject *meth_QDate_fromString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDate_fromString(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Qt::DateFormat a1 = Qt::TextDate;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|E", sipType_QString,&a0, &a0State, sipType_Qt_DateFormat, &a1))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate( ::QDate::fromString(*a0,a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate( ::QDate::fromString(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_fromString, doc_QDate_fromString);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_isLeapYear, "isLeapYear(int) -> bool");

extern "C" {static PyObject *meth_QDate_isLeapYear(PyObject *, PyObject *);}
static PyObject *meth_QDate_isLeapYear(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            bool sipRes;

            sipRes =  ::QDate::isLeapYear(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_isLeapYear, doc_QDate_isLeapYear);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_fromJulianDay, "fromJulianDay(int) -> QDate");

extern "C" {static PyObject *meth_QDate_fromJulianDay(PyObject *, PyObject *);}
static PyObject *meth_QDate_fromJulianDay(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "n", &a0))
        {
             ::QDate*sipRes;

            sipRes = new  ::QDate( ::QDate::fromJulianDay(a0));

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_fromJulianDay, doc_QDate_fromJulianDay);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_toJulianDay, "toJulianDay(self) -> int");

extern "C" {static PyObject *meth_QDate_toJulianDay(PyObject *, PyObject *);}
static PyObject *meth_QDate_toJulianDay(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->toJulianDay();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_toJulianDay, doc_QDate_toJulianDay);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_setDate, "setDate(self, int, int, int) -> bool");

extern "C" {static PyObject *meth_QDate_setDate(PyObject *, PyObject *);}
static PyObject *meth_QDate_setDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
         ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biii", &sipSelf, sipType_QDate, &sipCpp, &a0, &a1, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->setDate(a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_setDate, doc_QDate_setDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDate_getDate, "getDate(self) -> Tuple[int, int, int]");

extern "C" {static PyObject *meth_QDate_getDate(PyObject *, PyObject *);}
static PyObject *meth_QDate_getDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        const  ::QDate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDate, &sipCpp))
        {
            sipCpp->getDate(&a0,&a1,&a2);

            return sipBuildResult(0,"(iii)",a0,a1,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDate, sipName_getDate, doc_QDate_getDate);

    return NULL;
}


extern "C" {static PyObject *slot_QDate___ge__(PyObject *,PyObject *);}
static PyObject *slot_QDate___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDate *sipCpp = reinterpret_cast< ::QDate *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDate));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDate, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDate::operator>=(*a0);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QDate, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDate___gt__(PyObject *,PyObject *);}
static PyObject *slot_QDate___gt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDate *sipCpp = reinterpret_cast< ::QDate *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDate));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDate, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDate::operator>(*a0);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, gt_slot, sipType_QDate, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDate___le__(PyObject *,PyObject *);}
static PyObject *slot_QDate___le__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDate *sipCpp = reinterpret_cast< ::QDate *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDate));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDate, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDate::operator<=(*a0);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, le_slot, sipType_QDate, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDate___lt__(PyObject *,PyObject *);}
static PyObject *slot_QDate___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDate *sipCpp = reinterpret_cast< ::QDate *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDate));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDate, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDate::operator<(*a0);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QDate, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDate___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDate___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDate *sipCpp = reinterpret_cast< ::QDate *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDate));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDate, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDate::operator!=(*a0);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QDate, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QDate___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDate___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QDate *sipCpp = reinterpret_cast< ::QDate *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDate));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QDate* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDate, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QDate::operator==(*a0);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QDate, sipSelf, sipArg);
}


extern "C" {static int slot_QDate___bool__(PyObject *);}
static int slot_QDate___bool__(PyObject *sipSelf)
{
     ::QDate *sipCpp = reinterpret_cast< ::QDate *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDate));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        sipRes = !sipCpp->isNull();
#line 146872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static long slot_QDate___hash__(PyObject *);}
static long slot_QDate___hash__(PyObject *sipSelf)
{
     ::QDate *sipCpp = reinterpret_cast< ::QDate *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDate));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        sipRes = qHash(sipCpp->toString(Qt::ISODate));
#line 146897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDate___repr__(PyObject *);}
static PyObject *slot_QDate___repr__(PyObject *sipSelf)
{
     ::QDate *sipCpp = reinterpret_cast< ::QDate *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDate));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 65 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QDate()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QDate()");
        #endif
        }
        else
        {
            sipRes =
        #if PY_MAJOR_VERSION >= 3
                PyUnicode_FromFormat
        #else
                PyString_FromFormat
        #endif
                    ("PyQt5.QtCore.QDate(%i, %i, %i)", sipCpp->year(),
                    sipCpp->month(), sipCpp->day());
        }
#line 146940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDate(void *, int);}
static void release_QDate(void *sipCppV, int)
{
    delete reinterpret_cast< ::QDate *>(sipCppV);
}


extern "C" {static PyObject *pickle_QDate(void *);}
static PyObject *pickle_QDate(void *sipCppV)
{
     ::QDate *sipCpp = reinterpret_cast< ::QDate *>(sipCppV);
    PyObject *sipRes;

#line 57 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
    sipRes = Py_BuildValue((char *)"iii", sipCpp->year(), sipCpp->month(), sipCpp->day());
#line 146966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QDate(void *, SIP_SSIZE_T, const void *);}
static void assign_QDate(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QDate *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QDate *>(sipSrc);
}


extern "C" {static void *array_QDate(SIP_SSIZE_T);}
static void *array_QDate(SIP_SSIZE_T sipNrElem)
{
    return new  ::QDate[sipNrElem];
}


extern "C" {static void *copy_QDate(const void *, SIP_SSIZE_T);}
static void *copy_QDate(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QDate(reinterpret_cast<const  ::QDate *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDate(sipSimpleWrapper *);}
static void dealloc_QDate(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDate(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QDate(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDate(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QDate *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QDate();

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iii", &a0, &a1, &a2))
        {
            sipCpp = new  ::QDate(a0,a1,a2);

            return sipCpp;
        }
    }

    {
        const  ::QDate* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDate, &a0, &a0State))
        {
            sipCpp = new  ::QDate(*a0);
            sipReleaseType(const_cast< ::QDate *>(a0),sipType_QDate,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QDate(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDate(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QDate **sipCppPtr = reinterpret_cast< ::QDate **>(sipCppPtrV);

#line 34 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
// Allow a Python date object whenever a QDate is expected.

if (sipIsErr == NULL)
    return (sipGetDate(sipPy, 0) ||
            sipCanConvertToType(sipPy, sipType_QDate, SIP_NO_CONVERTORS));

sipDateDef py_date;

if (sipGetDate(sipPy, &py_date))
{
    *sipCppPtr = new QDate(py_date.pd_year,
                           py_date.pd_month,
                           py_date.pd_day);

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDate *>(sipConvertToType(sipPy, sipType_QDate, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 147073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDate[] = {
    {(void *)slot_QDate___ge__, ge_slot},
    {(void *)slot_QDate___gt__, gt_slot},
    {(void *)slot_QDate___le__, le_slot},
    {(void *)slot_QDate___lt__, lt_slot},
    {(void *)slot_QDate___ne__, ne_slot},
    {(void *)slot_QDate___eq__, eq_slot},
    {(void *)slot_QDate___bool__, bool_slot},
    {(void *)slot_QDate___hash__, hash_slot},
    {(void *)slot_QDate___repr__, repr_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDate[] = {
    {SIP_MLNAME_CAST(sipName_addDays), meth_QDate_addDays, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_addDays)},
    {SIP_MLNAME_CAST(sipName_addMonths), meth_QDate_addMonths, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_addMonths)},
    {SIP_MLNAME_CAST(sipName_addYears), meth_QDate_addYears, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_addYears)},
    {SIP_MLNAME_CAST(sipName_currentDate), meth_QDate_currentDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_currentDate)},
    {SIP_MLNAME_CAST(sipName_day), meth_QDate_day, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_day)},
    {SIP_MLNAME_CAST(sipName_dayOfWeek), meth_QDate_dayOfWeek, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_dayOfWeek)},
    {SIP_MLNAME_CAST(sipName_dayOfYear), meth_QDate_dayOfYear, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_dayOfYear)},
    {SIP_MLNAME_CAST(sipName_daysInMonth), meth_QDate_daysInMonth, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_daysInMonth)},
    {SIP_MLNAME_CAST(sipName_daysInYear), meth_QDate_daysInYear, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_daysInYear)},
    {SIP_MLNAME_CAST(sipName_daysTo), meth_QDate_daysTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_daysTo)},
    {SIP_MLNAME_CAST(sipName_fromJulianDay), meth_QDate_fromJulianDay, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_fromJulianDay)},
    {SIP_MLNAME_CAST(sipName_fromString), (PyCFunction)meth_QDate_fromString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDate_fromString)},
    {SIP_MLNAME_CAST(sipName_getDate), meth_QDate_getDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_getDate)},
    {SIP_MLNAME_CAST(sipName_isLeapYear), meth_QDate_isLeapYear, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_isLeapYear)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QDate_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_isNull)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QDate_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_isValid)},
    {SIP_MLNAME_CAST(sipName_longDayName), (PyCFunction)meth_QDate_longDayName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDate_longDayName)},
    {SIP_MLNAME_CAST(sipName_longMonthName), (PyCFunction)meth_QDate_longMonthName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDate_longMonthName)},
    {SIP_MLNAME_CAST(sipName_month), meth_QDate_month, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_month)},
    {SIP_MLNAME_CAST(sipName_setDate), meth_QDate_setDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_setDate)},
    {SIP_MLNAME_CAST(sipName_shortDayName), (PyCFunction)meth_QDate_shortDayName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDate_shortDayName)},
    {SIP_MLNAME_CAST(sipName_shortMonthName), (PyCFunction)meth_QDate_shortMonthName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDate_shortMonthName)},
    {SIP_MLNAME_CAST(sipName_toJulianDay), meth_QDate_toJulianDay, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_toJulianDay)},
    {SIP_MLNAME_CAST(sipName_toPyDate), meth_QDate_toPyDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_toPyDate)},
    {SIP_MLNAME_CAST(sipName_toString), (PyCFunction)meth_QDate_toString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDate_toString)},
    {SIP_MLNAME_CAST(sipName_weekNumber), (PyCFunction)meth_QDate_weekNumber, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDate_weekNumber)},
    {SIP_MLNAME_CAST(sipName_year), meth_QDate_year, METH_VARARGS, SIP_MLDOC_CAST(doc_QDate_year)}
};

static sipEnumMemberDef enummembers_QDate[] = {
    {sipName_DateFormat, static_cast<int>( ::QDate::DateFormat), 42},
    {sipName_StandaloneFormat, static_cast<int>( ::QDate::StandaloneFormat), 42},
};

PyDoc_STRVAR(doc_QDate, "\1QDate()\n"
    "QDate(int, int, int)\n"
    "QDate(QDate)");


static pyqt5ClassPluginDef plugin_QDate = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QDate = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDate,
        {0},
        &plugin_QDate
    },
    {
        sipNameNr_QDate,
        {0, 0, 1},
        27, methods_QDate,
        2, enummembers_QDate,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDate,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDate,
    init_type_QDate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDate,
    assign_QDate,
    array_QDate,
    copy_QDate,
    release_QDate,
    0,
    convertTo_QDate,
    0,
    0,
    pickle_QDate,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 147192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 147196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 147199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 147202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 147205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 147208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 147211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 147214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeasingcurve.sip"
#include <qeasingcurve.h>
#line 147217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
#include <qline.h>
#line 147220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qline.sip"
#include <qline.h>
#line 147223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 147226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 147229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 147232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 147235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 147238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 147241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 147244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 147247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 147250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 147253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 97 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 147256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtimezone.sip"
#include <qtimezone.h>
#line 147259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qurl.sip"
#include <qurl.h>
#line 147262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/quuid.sip"
#include <quuid.h>
#line 147265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 147268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qversionnumber.sip"
#include <qversionnumber.h>
#line 147271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 147274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 147277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 147280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 147283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 147286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QDataStream_device, "device(self) -> QIODevice");

extern "C" {static PyObject *meth_QDataStream_device(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_device(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::QIODevice*sipRes;

            sipRes = sipCpp->device();

            return sipConvertFromType(sipRes,sipType_QIODevice,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_device, doc_QDataStream_device);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_setDevice, "setDevice(self, QIODevice)");

extern "C" {static PyObject *meth_QDataStream_setDevice(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_setDevice(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice* a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDataStream, &sipCpp, sipType_QIODevice, &a0))
        {
            sipCpp->setDevice(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_setDevice, doc_QDataStream_setDevice);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_atEnd, "atEnd(self) -> bool");

extern "C" {static PyObject *meth_QDataStream_atEnd(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_atEnd(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->atEnd();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_atEnd, doc_QDataStream_atEnd);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_status, "status(self) -> QDataStream.Status");

extern "C" {static PyObject *meth_QDataStream_status(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_status(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::QDataStream::Status sipRes;

            sipRes = sipCpp->status();

            return sipConvertFromEnum(sipRes,sipType_QDataStream_Status);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_status, doc_QDataStream_status);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_setStatus, "setStatus(self, QDataStream.Status)");

extern "C" {static PyObject *meth_QDataStream_setStatus(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_setStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream::Status a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDataStream, &sipCpp, sipType_QDataStream_Status, &a0))
        {
            sipCpp->setStatus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_setStatus, doc_QDataStream_setStatus);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_resetStatus, "resetStatus(self)");

extern "C" {static PyObject *meth_QDataStream_resetStatus(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_resetStatus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            sipCpp->resetStatus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_resetStatus, doc_QDataStream_resetStatus);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_byteOrder, "byteOrder(self) -> QDataStream.ByteOrder");

extern "C" {static PyObject *meth_QDataStream_byteOrder(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_byteOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::QDataStream::ByteOrder sipRes;

            sipRes = sipCpp->byteOrder();

            return sipConvertFromEnum(sipRes,sipType_QDataStream_ByteOrder);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_byteOrder, doc_QDataStream_byteOrder);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_setByteOrder, "setByteOrder(self, QDataStream.ByteOrder)");

extern "C" {static PyObject *meth_QDataStream_setByteOrder(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_setByteOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream::ByteOrder a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDataStream, &sipCpp, sipType_QDataStream_ByteOrder, &a0))
        {
            sipCpp->setByteOrder(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_setByteOrder, doc_QDataStream_setByteOrder);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_version, "version(self) -> int");

extern "C" {static PyObject *meth_QDataStream_version(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_version(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->version();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_version, doc_QDataStream_version);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_setVersion, "setVersion(self, int)");

extern "C" {static PyObject *meth_QDataStream_setVersion(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_setVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
            sipCpp->setVersion(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_setVersion, doc_QDataStream_setVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_skipRawData, "skipRawData(self, int) -> int");

extern "C" {static PyObject *meth_QDataStream_skipRawData(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_skipRawData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->skipRawData(a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_skipRawData, doc_QDataStream_skipRawData);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readInt, "readInt(self) -> int");

extern "C" {static PyObject *meth_QDataStream_readInt(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readInt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readInt, doc_QDataStream_readInt);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readInt8, "readInt8(self) -> int");

extern "C" {static PyObject *meth_QDataStream_readInt8(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readInt8(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::qint8 sipRes = 0;

#line 118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readInt8, doc_QDataStream_readInt8);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readUInt8, "readUInt8(self) -> int");

extern "C" {static PyObject *meth_QDataStream_readUInt8(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readUInt8(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::quint8 sipRes = 0;

#line 125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#if PY_MAJOR_VERSION >= 3
            return PyLong_FromUnsignedLong(sipRes);
#else
            return PyInt_FromLong(sipRes);
#endif
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readUInt8, doc_QDataStream_readUInt8);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readInt16, "readInt16(self) -> int");

extern "C" {static PyObject *meth_QDataStream_readInt16(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readInt16(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::qint16 sipRes = 0;

#line 132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readInt16, doc_QDataStream_readInt16);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readUInt16, "readUInt16(self) -> int");

extern "C" {static PyObject *meth_QDataStream_readUInt16(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readUInt16(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::quint16 sipRes = 0;

#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#if PY_MAJOR_VERSION >= 3
            return PyLong_FromUnsignedLong(sipRes);
#else
            return PyInt_FromLong(sipRes);
#endif
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readUInt16, doc_QDataStream_readUInt16);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readInt32, "readInt32(self) -> int");

extern "C" {static PyObject *meth_QDataStream_readInt32(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readInt32(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::qint32 sipRes = 0;

#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readInt32, doc_QDataStream_readInt32);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readUInt32, "readUInt32(self) -> int");

extern "C" {static PyObject *meth_QDataStream_readUInt32(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readUInt32(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::quint32 sipRes = 0;

#line 153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readUInt32, doc_QDataStream_readUInt32);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readInt64, "readInt64(self) -> int");

extern "C" {static PyObject *meth_QDataStream_readInt64(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readInt64(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::qint64 sipRes = 0;

#line 160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readInt64, doc_QDataStream_readInt64);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readUInt64, "readUInt64(self) -> int");

extern "C" {static PyObject *meth_QDataStream_readUInt64(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readUInt64(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::quint64 sipRes = 0;

#line 167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return PyLong_FromUnsignedLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readUInt64, doc_QDataStream_readUInt64);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readBool, "readBool(self) -> bool");

extern "C" {static PyObject *meth_QDataStream_readBool(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readBool(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            bool sipRes = 0;

#line 174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readBool, doc_QDataStream_readBool);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readFloat, "readFloat(self) -> float");

extern "C" {static PyObject *meth_QDataStream_readFloat(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readFloat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            float sipRes = 0;

#line 181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return PyFloat_FromDouble((double)sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readFloat, doc_QDataStream_readFloat);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readDouble, "readDouble(self) -> float");

extern "C" {static PyObject *meth_QDataStream_readDouble(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readDouble(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            double sipRes = 0;

#line 188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> sipRes;
    Py_END_ALLOW_THREADS
#line 147978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readDouble, doc_QDataStream_readDouble);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readString, "readString(self) -> bytes");

extern "C" {static PyObject *meth_QDataStream_readString(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    char *s;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> s;
    Py_END_ALLOW_THREADS

    if (s)
    {
        sipRes = SIPBytes_FromString(s);
        delete[] s;
    }
    else
    {
        sipRes = Py_None;
        Py_INCREF(Py_None);
    }
#line 148023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readString, doc_QDataStream_readString);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeInt, "writeInt(self, int)");

extern "C" {static PyObject *meth_QDataStream_writeInt(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeInt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeInt, doc_QDataStream_writeInt);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeInt8, "writeInt8(self, int)");

extern "C" {static PyObject *meth_QDataStream_writeInt8(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeInt8(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint8 a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BL", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeInt8, doc_QDataStream_writeInt8);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeUInt8, "writeUInt8(self, int)");

extern "C" {static PyObject *meth_QDataStream_writeUInt8(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeUInt8(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::quint8 a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BM", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeUInt8, doc_QDataStream_writeUInt8);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeInt16, "writeInt16(self, int)");

extern "C" {static PyObject *meth_QDataStream_writeInt16(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeInt16(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint16 a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bh", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeInt16, doc_QDataStream_writeInt16);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeUInt16, "writeUInt16(self, int)");

extern "C" {static PyObject *meth_QDataStream_writeUInt16(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeUInt16(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::quint16 a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bt", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeUInt16, doc_QDataStream_writeUInt16);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeInt32, "writeInt32(self, int)");

extern "C" {static PyObject *meth_QDataStream_writeInt32(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeInt32(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint32 a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeInt32, doc_QDataStream_writeInt32);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeUInt32, "writeUInt32(self, int)");

extern "C" {static PyObject *meth_QDataStream_writeUInt32(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeUInt32(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::quint32 a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeUInt32, doc_QDataStream_writeUInt32);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeInt64, "writeInt64(self, int)");

extern "C" {static PyObject *meth_QDataStream_writeInt64(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeInt64(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeInt64, doc_QDataStream_writeInt64);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeUInt64, "writeUInt64(self, int)");

extern "C" {static PyObject *meth_QDataStream_writeUInt64(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeUInt64(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::quint64 a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bo", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeUInt64, doc_QDataStream_writeUInt64);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeBool, "writeBool(self, bool)");

extern "C" {static PyObject *meth_QDataStream_writeBool(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeBool(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeBool, doc_QDataStream_writeBool);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeFloat, "writeFloat(self, float)");

extern "C" {static PyObject *meth_QDataStream_writeFloat(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeFloat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        float a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bf", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeFloat, doc_QDataStream_writeFloat);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeDouble, "writeDouble(self, float)");

extern "C" {static PyObject *meth_QDataStream_writeDouble(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeDouble(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeDouble, doc_QDataStream_writeDouble);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeString, "writeString(self, str)");

extern "C" {static PyObject *meth_QDataStream_writeString(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bs", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
#line 299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << a0;
    Py_END_ALLOW_THREADS
#line 148438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeString, doc_QDataStream_writeString);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readQString, "readQString(self) -> str");

extern "C" {static PyObject *meth_QDataStream_readQString(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readQString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::QString*sipRes = 0;

#line 306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    sipRes = new QString;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 148473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readQString, doc_QDataStream_readQString);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeQString, "writeQString(self, str)");

extern "C" {static PyObject *meth_QDataStream_writeQString(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeQString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDataStream, &sipCpp, sipType_QString,&a0, &a0State))
        {
#line 315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 148505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            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_QDataStream, sipName_writeQString, doc_QDataStream_writeQString);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readQStringList, "readQStringList(self) -> List[str]");

extern "C" {static PyObject *meth_QDataStream_readQStringList(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readQStringList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::QStringList*sipRes = 0;

#line 322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    sipRes = new QStringList;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 148541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readQStringList, doc_QDataStream_readQStringList);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeQStringList, "writeQStringList(self, Iterable[str])");

extern "C" {static PyObject *meth_QDataStream_writeQStringList(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeQStringList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDataStream, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
#line 331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 148573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeQStringList, doc_QDataStream_writeQStringList);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readQVariant, "readQVariant(self) -> Any");

extern "C" {static PyObject *meth_QDataStream_readQVariant(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readQVariant(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::QVariant*sipRes = 0;

#line 338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    sipRes = new QVariant;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 148609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readQVariant, doc_QDataStream_readQVariant);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeQVariant, "writeQVariant(self, Any)");

extern "C" {static PyObject *meth_QDataStream_writeQVariant(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeQVariant(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariant* a0;
        int a0State = 0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDataStream, &sipCpp, sipType_QVariant, &a0, &a0State))
        {
#line 347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 148641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            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_QDataStream, sipName_writeQVariant, doc_QDataStream_writeQVariant);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readQVariantList, "readQVariantList(self) -> List[Any]");

extern "C" {static PyObject *meth_QDataStream_readQVariantList(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readQVariantList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::QVariantList*sipRes = 0;

#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    sipRes = new QVariantList;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 148677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QList_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readQVariantList, doc_QDataStream_readQVariantList);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeQVariantList, "writeQVariantList(self, List[Any])");

extern "C" {static PyObject *meth_QDataStream_writeQVariantList(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeQVariantList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantList* a0;
        int a0State = 0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDataStream, &sipCpp, sipType_QList_0100QVariant,&a0, &a0State))
        {
#line 363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 148709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QVariantList *>(a0),sipType_QList_0100QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeQVariantList, doc_QDataStream_writeQVariantList);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readQVariantMap, "readQVariantMap(self) -> Dict[str, Any]");

extern "C" {static PyObject *meth_QDataStream_readQVariantMap(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readQVariantMap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::QVariantMap*sipRes = 0;

#line 370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    sipRes = new QVariantMap;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 148745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QString_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readQVariantMap, doc_QDataStream_readQVariantMap);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeQVariantMap, "writeQVariantMap(self, Dict[str, Any])");

extern "C" {static PyObject *meth_QDataStream_writeQVariantMap(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeQVariantMap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantMap* a0;
        int a0State = 0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDataStream, &sipCpp, sipType_QMap_0100QString_0100QVariant,&a0, &a0State))
        {
#line 379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 148777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QVariantMap *>(a0),sipType_QMap_0100QString_0100QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeQVariantMap, doc_QDataStream_writeQVariantMap);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readQVariantHash, "readQVariantHash(self) -> Dict[str, Any]");

extern "C" {static PyObject *meth_QDataStream_readQVariantHash(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readQVariantHash(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::QVariantHash*sipRes = 0;

#line 386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    sipRes = new QVariantHash;

    Py_BEGIN_ALLOW_THREADS
    *sipCpp >> *sipRes;
    Py_END_ALLOW_THREADS
#line 148813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QHash_0100QString_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readQVariantHash, doc_QDataStream_readQVariantHash);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeQVariantHash, "writeQVariantHash(self, Dict[str, Any])");

extern "C" {static PyObject *meth_QDataStream_writeQVariantHash(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeQVariantHash(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QVariantHash* a0;
        int a0State = 0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDataStream, &sipCpp, sipType_QHash_0100QString_0100QVariant,&a0, &a0State))
        {
#line 395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
    Py_BEGIN_ALLOW_THREADS
    *sipCpp << *a0;
    Py_END_ALLOW_THREADS
#line 148845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QVariantHash *>(a0),sipType_QHash_0100QString_0100QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeQVariantHash, doc_QDataStream_writeQVariantHash);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readBytes, "readBytes(self) -> bytes");

extern "C" {static PyObject *meth_QDataStream_readBytes(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readBytes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
        char *s;
        uint l;
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->readBytes(s, l);
        Py_END_ALLOW_THREADS
        
        if ((sipRes = SIPBytes_FromStringAndSize(s, l)) == NULL)
            sipIsErr = 1;
        
        if (s)
            delete[] s;
#line 148889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readBytes, doc_QDataStream_readBytes);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_readRawData, "readRawData(self, int) -> bytes");

extern "C" {static PyObject *meth_QDataStream_readRawData(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_readRawData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDataStream, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
        char *s = new char[a0];
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->readRawData(s, a0);
        Py_END_ALLOW_THREADS
        
        sipRes = SIPBytes_FromStringAndSize(s, a0);
        
        if (!sipRes)
            sipIsErr = 1;
        
        delete[] s;
#line 148935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_readRawData, doc_QDataStream_readRawData);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeBytes, "writeBytes(self, bytes) -> QDataStream");

extern "C" {static PyObject *meth_QDataStream_writeBytes(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeBytes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        SIP_SSIZE_T a1;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bk", &sipSelf, sipType_QDataStream, &sipCpp, &a0, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->writeBytes(a0,(uint)a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeBytes, doc_QDataStream_writeBytes);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_writeRawData, "writeRawData(self, bytes) -> int");

extern "C" {static PyObject *meth_QDataStream_writeRawData(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_writeRawData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        SIP_SSIZE_T a1;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bk", &sipSelf, sipType_QDataStream, &sipCpp, &a0, &a1))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->writeRawData(a0,(int)a1);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_writeRawData, doc_QDataStream_writeRawData);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_floatingPointPrecision, "floatingPointPrecision(self) -> QDataStream.FloatingPointPrecision");

extern "C" {static PyObject *meth_QDataStream_floatingPointPrecision(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_floatingPointPrecision(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
             ::QDataStream::FloatingPointPrecision sipRes;

            sipRes = sipCpp->floatingPointPrecision();

            return sipConvertFromEnum(sipRes,sipType_QDataStream_FloatingPointPrecision);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_floatingPointPrecision, doc_QDataStream_floatingPointPrecision);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_setFloatingPointPrecision, "setFloatingPointPrecision(self, QDataStream.FloatingPointPrecision)");

extern "C" {static PyObject *meth_QDataStream_setFloatingPointPrecision(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_setFloatingPointPrecision(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream::FloatingPointPrecision a0;
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDataStream, &sipCpp, sipType_QDataStream_FloatingPointPrecision, &a0))
        {
            sipCpp->setFloatingPointPrecision(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_setFloatingPointPrecision, doc_QDataStream_setFloatingPointPrecision);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_startTransaction, "startTransaction(self)");

extern "C" {static PyObject *meth_QDataStream_startTransaction(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_startTransaction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            sipCpp->startTransaction();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_startTransaction, doc_QDataStream_startTransaction);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_commitTransaction, "commitTransaction(self) -> bool");

extern "C" {static PyObject *meth_QDataStream_commitTransaction(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_commitTransaction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->commitTransaction();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_commitTransaction, doc_QDataStream_commitTransaction);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_rollbackTransaction, "rollbackTransaction(self)");

extern "C" {static PyObject *meth_QDataStream_rollbackTransaction(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_rollbackTransaction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            sipCpp->rollbackTransaction();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_rollbackTransaction, doc_QDataStream_rollbackTransaction);

    return NULL;
}


PyDoc_STRVAR(doc_QDataStream_abortTransaction, "abortTransaction(self)");

extern "C" {static PyObject *meth_QDataStream_abortTransaction(PyObject *, PyObject *);}
static PyObject *meth_QDataStream_abortTransaction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
        {
            sipCpp->abortTransaction();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataStream, sipName_abortTransaction, doc_QDataStream_abortTransaction);

    return NULL;
}


extern "C" {static PyObject *slot_QDataStream___lshift__(PyObject *,PyObject *);}
static PyObject *slot_QDataStream___lshift__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream* a0;
        const  ::QBitArray* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QBitArray, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QByteArray* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QByteArray, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QDate* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QDate, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QTime* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QTime, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QDateTime* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QDateTime, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QEasingCurve* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QEasingCurve, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QLine* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QLine, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QLineF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QLineF, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QLocale* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QLocale, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QMargins* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QMargins, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QMarginsF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QMarginsF, &a1))
        {
             ::QDataStream*sipRes;

            sipRes = &(*a0 << *a1);

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QPoint* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QPoint, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QPointF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QPointF, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QRect* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QRect, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QRectF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QRectF, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QRegExp* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QRegExp, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QRegularExpression* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QRegularExpression, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QSize* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QSize, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QSizeF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QSizeF, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QTimeZone* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QTimeZone, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QUrl* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QUrl, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QUuid* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QUuid, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QVariant* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QVariant, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QVariant::Type a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9XE", sipType_QDataStream, &a0, sipType_QVariant_Type, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
        const  ::QVersionNumber* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QVersionNumber, &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;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lshift_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QDataStream___rshift__(PyObject *,PyObject *);}
static PyObject *slot_QDataStream___rshift__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QDataStream* a0;
         ::QBitArray* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QBitArray, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QByteArray* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QByteArray, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QDate* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QDate, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QTime* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QTime, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QDateTime* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QDateTime, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QEasingCurve* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QEasingCurve, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QLine* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QLine, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QLineF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QLineF, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QLocale* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QLocale, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QMargins* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QMargins, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QMarginsF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QMarginsF, &a1))
        {
             ::QDataStream*sipRes;

            sipRes = &(*a0 >> *a1);

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QPoint* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QPoint, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QPointF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QPointF, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QRect* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QRect, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QRectF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QRectF, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QRegExp* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QRegExp, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QRegularExpression* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QRegularExpression, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QSize* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QSize, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QSizeF* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QSizeF, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QTimeZone* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QTimeZone, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QUrl* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QUrl, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QUuid* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QUuid, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QVariant* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QVariant, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QVariant::Type a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9XE", sipType_QDataStream, &a0, sipType_QVariant_Type, &a1))
        {
             ::QDataStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 >> a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QDataStream,NULL);
        }
    }

    {
         ::QDataStream* a0;
         ::QVersionNumber* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QVersionNumber, &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;

    return sipPySlotExtend(&sipModuleAPI_QtCore, rshift_slot, NULL, sipArg0, sipArg1);
}


/* Call the instance's destructor. */
extern "C" {static void release_QDataStream(void *, int);}
static void release_QDataStream(void *sipCppV, int)
{
    delete reinterpret_cast< ::QDataStream *>(sipCppV);
}


extern "C" {static void dealloc_QDataStream(sipSimpleWrapper *);}
static void dealloc_QDataStream(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDataStream(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QDataStream(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDataStream(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QDataStream *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QDataStream();

            return sipCpp;
        }
    }

    {
         ::QIODevice* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            sipCpp = new  ::QDataStream(a0);

            return sipCpp;
        }
    }

    {
         ::QByteArray* a0;
         ::QIODevice::OpenMode* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J1", sipType_QByteArray, &a0, sipType_QIODevice_OpenMode, &a1, &a1State))
        {
            sipCpp = new  ::QDataStream(a0,*a1);
            sipReleaseType(a1,sipType_QIODevice_OpenMode,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QByteArray* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QByteArray, &a0))
        {
            sipCpp = new  ::QDataStream(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDataStream[] = {
    {(void *)slot_QDataStream___lshift__, lshift_slot},
    {(void *)slot_QDataStream___rshift__, rshift_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDataStream[] = {
    {SIP_MLNAME_CAST(sipName_abortTransaction), meth_QDataStream_abortTransaction, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_abortTransaction)},
    {SIP_MLNAME_CAST(sipName_atEnd), meth_QDataStream_atEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_atEnd)},
    {SIP_MLNAME_CAST(sipName_byteOrder), meth_QDataStream_byteOrder, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_byteOrder)},
    {SIP_MLNAME_CAST(sipName_commitTransaction), meth_QDataStream_commitTransaction, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_commitTransaction)},
    {SIP_MLNAME_CAST(sipName_device), meth_QDataStream_device, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_device)},
    {SIP_MLNAME_CAST(sipName_floatingPointPrecision), meth_QDataStream_floatingPointPrecision, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_floatingPointPrecision)},
    {SIP_MLNAME_CAST(sipName_readBool), meth_QDataStream_readBool, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readBool)},
    {SIP_MLNAME_CAST(sipName_readBytes), meth_QDataStream_readBytes, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readBytes)},
    {SIP_MLNAME_CAST(sipName_readDouble), meth_QDataStream_readDouble, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readDouble)},
    {SIP_MLNAME_CAST(sipName_readFloat), meth_QDataStream_readFloat, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readFloat)},
    {SIP_MLNAME_CAST(sipName_readInt), meth_QDataStream_readInt, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readInt)},
    {SIP_MLNAME_CAST(sipName_readInt16), meth_QDataStream_readInt16, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readInt16)},
    {SIP_MLNAME_CAST(sipName_readInt32), meth_QDataStream_readInt32, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readInt32)},
    {SIP_MLNAME_CAST(sipName_readInt64), meth_QDataStream_readInt64, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readInt64)},
    {SIP_MLNAME_CAST(sipName_readInt8), meth_QDataStream_readInt8, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readInt8)},
    {SIP_MLNAME_CAST(sipName_readQString), meth_QDataStream_readQString, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readQString)},
    {SIP_MLNAME_CAST(sipName_readQStringList), meth_QDataStream_readQStringList, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readQStringList)},
    {SIP_MLNAME_CAST(sipName_readQVariant), meth_QDataStream_readQVariant, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readQVariant)},
    {SIP_MLNAME_CAST(sipName_readQVariantHash), meth_QDataStream_readQVariantHash, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readQVariantHash)},
    {SIP_MLNAME_CAST(sipName_readQVariantList), meth_QDataStream_readQVariantList, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readQVariantList)},
    {SIP_MLNAME_CAST(sipName_readQVariantMap), meth_QDataStream_readQVariantMap, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readQVariantMap)},
    {SIP_MLNAME_CAST(sipName_readRawData), meth_QDataStream_readRawData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readRawData)},
    {SIP_MLNAME_CAST(sipName_readString), meth_QDataStream_readString, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readString)},
    {SIP_MLNAME_CAST(sipName_readUInt16), meth_QDataStream_readUInt16, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readUInt16)},
    {SIP_MLNAME_CAST(sipName_readUInt32), meth_QDataStream_readUInt32, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readUInt32)},
    {SIP_MLNAME_CAST(sipName_readUInt64), meth_QDataStream_readUInt64, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readUInt64)},
    {SIP_MLNAME_CAST(sipName_readUInt8), meth_QDataStream_readUInt8, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_readUInt8)},
    {SIP_MLNAME_CAST(sipName_resetStatus), meth_QDataStream_resetStatus, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_resetStatus)},
    {SIP_MLNAME_CAST(sipName_rollbackTransaction), meth_QDataStream_rollbackTransaction, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_rollbackTransaction)},
    {SIP_MLNAME_CAST(sipName_setByteOrder), meth_QDataStream_setByteOrder, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_setByteOrder)},
    {SIP_MLNAME_CAST(sipName_setDevice), meth_QDataStream_setDevice, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_setDevice)},
    {SIP_MLNAME_CAST(sipName_setFloatingPointPrecision), meth_QDataStream_setFloatingPointPrecision, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_setFloatingPointPrecision)},
    {SIP_MLNAME_CAST(sipName_setStatus), meth_QDataStream_setStatus, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_setStatus)},
    {SIP_MLNAME_CAST(sipName_setVersion), meth_QDataStream_setVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_setVersion)},
    {SIP_MLNAME_CAST(sipName_skipRawData), meth_QDataStream_skipRawData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_skipRawData)},
    {SIP_MLNAME_CAST(sipName_startTransaction), meth_QDataStream_startTransaction, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_startTransaction)},
    {SIP_MLNAME_CAST(sipName_status), meth_QDataStream_status, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_status)},
    {SIP_MLNAME_CAST(sipName_version), meth_QDataStream_version, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_version)},
    {SIP_MLNAME_CAST(sipName_writeBool), meth_QDataStream_writeBool, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeBool)},
    {SIP_MLNAME_CAST(sipName_writeBytes), meth_QDataStream_writeBytes, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeBytes)},
    {SIP_MLNAME_CAST(sipName_writeDouble), meth_QDataStream_writeDouble, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeDouble)},
    {SIP_MLNAME_CAST(sipName_writeFloat), meth_QDataStream_writeFloat, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeFloat)},
    {SIP_MLNAME_CAST(sipName_writeInt), meth_QDataStream_writeInt, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeInt)},
    {SIP_MLNAME_CAST(sipName_writeInt16), meth_QDataStream_writeInt16, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeInt16)},
    {SIP_MLNAME_CAST(sipName_writeInt32), meth_QDataStream_writeInt32, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeInt32)},
    {SIP_MLNAME_CAST(sipName_writeInt64), meth_QDataStream_writeInt64, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeInt64)},
    {SIP_MLNAME_CAST(sipName_writeInt8), meth_QDataStream_writeInt8, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeInt8)},
    {SIP_MLNAME_CAST(sipName_writeQString), meth_QDataStream_writeQString, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeQString)},
    {SIP_MLNAME_CAST(sipName_writeQStringList), meth_QDataStream_writeQStringList, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeQStringList)},
    {SIP_MLNAME_CAST(sipName_writeQVariant), meth_QDataStream_writeQVariant, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeQVariant)},
    {SIP_MLNAME_CAST(sipName_writeQVariantHash), meth_QDataStream_writeQVariantHash, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeQVariantHash)},
    {SIP_MLNAME_CAST(sipName_writeQVariantList), meth_QDataStream_writeQVariantList, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeQVariantList)},
    {SIP_MLNAME_CAST(sipName_writeQVariantMap), meth_QDataStream_writeQVariantMap, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeQVariantMap)},
    {SIP_MLNAME_CAST(sipName_writeRawData), meth_QDataStream_writeRawData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeRawData)},
    {SIP_MLNAME_CAST(sipName_writeString), meth_QDataStream_writeString, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeString)},
    {SIP_MLNAME_CAST(sipName_writeUInt16), meth_QDataStream_writeUInt16, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeUInt16)},
    {SIP_MLNAME_CAST(sipName_writeUInt32), meth_QDataStream_writeUInt32, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeUInt32)},
    {SIP_MLNAME_CAST(sipName_writeUInt64), meth_QDataStream_writeUInt64, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeUInt64)},
    {SIP_MLNAME_CAST(sipName_writeUInt8), meth_QDataStream_writeUInt8, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataStream_writeUInt8)}
};

static sipEnumMemberDef enummembers_QDataStream[] = {
    {sipName_BigEndian, static_cast<int>( ::QDataStream::BigEndian), 37},
    {sipName_DoublePrecision, static_cast<int>( ::QDataStream::DoublePrecision), 38},
    {sipName_LittleEndian, static_cast<int>( ::QDataStream::LittleEndian), 37},
    {sipName_Ok, static_cast<int>( ::QDataStream::Ok), 39},
    {sipName_Qt_1_0, static_cast<int>( ::QDataStream::Qt_1_0), 40},
    {sipName_Qt_2_0, static_cast<int>( ::QDataStream::Qt_2_0), 40},
    {sipName_Qt_2_1, static_cast<int>( ::QDataStream::Qt_2_1), 40},
    {sipName_Qt_3_0, static_cast<int>( ::QDataStream::Qt_3_0), 40},
    {sipName_Qt_3_1, static_cast<int>( ::QDataStream::Qt_3_1), 40},
    {sipName_Qt_3_3, static_cast<int>( ::QDataStream::Qt_3_3), 40},
    {sipName_Qt_4_0, static_cast<int>( ::QDataStream::Qt_4_0), 40},
    {sipName_Qt_4_1, static_cast<int>( ::QDataStream::Qt_4_1), 40},
    {sipName_Qt_4_2, static_cast<int>( ::QDataStream::Qt_4_2), 40},
    {sipName_Qt_4_3, static_cast<int>( ::QDataStream::Qt_4_3), 40},
    {sipName_Qt_4_4, static_cast<int>( ::QDataStream::Qt_4_4), 40},
    {sipName_Qt_4_5, static_cast<int>( ::QDataStream::Qt_4_5), 40},
    {sipName_Qt_4_6, static_cast<int>( ::QDataStream::Qt_4_6), 40},
    {sipName_Qt_4_7, static_cast<int>( ::QDataStream::Qt_4_7), 40},
    {sipName_Qt_4_8, static_cast<int>( ::QDataStream::Qt_4_8), 40},
    {sipName_Qt_4_9, static_cast<int>( ::QDataStream::Qt_4_9), 40},
    {sipName_Qt_5_0, static_cast<int>( ::QDataStream::Qt_5_0), 40},
    {sipName_Qt_5_1, static_cast<int>( ::QDataStream::Qt_5_1), 40},
    {sipName_Qt_5_2, static_cast<int>( ::QDataStream::Qt_5_2), 40},
    {sipName_Qt_5_3, static_cast<int>( ::QDataStream::Qt_5_3), 40},
    {sipName_Qt_5_4, static_cast<int>( ::QDataStream::Qt_5_4), 40},
    {sipName_Qt_5_5, static_cast<int>( ::QDataStream::Qt_5_5), 40},
    {sipName_Qt_5_6, static_cast<int>( ::QDataStream::Qt_5_6), 40},
    {sipName_Qt_5_7, static_cast<int>( ::QDataStream::Qt_5_7), 40},
    {sipName_Qt_5_8, static_cast<int>( ::QDataStream::Qt_5_8), 40},
    {sipName_Qt_5_9, static_cast<int>( ::QDataStream::Qt_5_9), 40},
    {sipName_ReadCorruptData, static_cast<int>( ::QDataStream::ReadCorruptData), 39},
    {sipName_ReadPastEnd, static_cast<int>( ::QDataStream::ReadPastEnd), 39},
    {sipName_SinglePrecision, static_cast<int>( ::QDataStream::SinglePrecision), 38},
    {sipName_WriteFailed, static_cast<int>( ::QDataStream::WriteFailed), 39},
};

PyDoc_STRVAR(doc_QDataStream, "\1QDataStream()\n"
    "QDataStream(QIODevice)\n"
    "QDataStream(QByteArray, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag])\n"
    "QDataStream(QByteArray)");


static pyqt5ClassPluginDef plugin_QDataStream = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QDataStream = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDataStream,
        {0},
        &plugin_QDataStream
    },
    {
        sipNameNr_QDataStream,
        {0, 0, 1},
        59, methods_QDataStream,
        34, enummembers_QDataStream,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDataStream,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDataStream,
    init_type_QDataStream,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDataStream,
    0,
    0,
    0,
    release_QDataStream,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcryptographichash.sip"
#include <qcryptographichash.h>
#line 150249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 150253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 150256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QCryptographicHash_reset, "reset(self)");

extern "C" {static PyObject *meth_QCryptographicHash_reset(PyObject *, PyObject *);}
static PyObject *meth_QCryptographicHash_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCryptographicHash *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCryptographicHash, &sipCpp))
        {
            sipCpp->reset();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCryptographicHash, sipName_reset, doc_QCryptographicHash_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QCryptographicHash_addData, "addData(self, bytes)\n"
    "addData(self, Union[QByteArray, bytes, bytearray])\n"
    "addData(self, QIODevice) -> bool");

extern "C" {static PyObject *meth_QCryptographicHash_addData(PyObject *, PyObject *);}
static PyObject *meth_QCryptographicHash_addData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        SIP_SSIZE_T a1;
         ::QCryptographicHash *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bk", &sipSelf, sipType_QCryptographicHash, &sipCpp, &a0, &a1))
        {
            sipCpp->addData(a0,(int)a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QCryptographicHash *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCryptographicHash, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->addData(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QIODevice* a0;
         ::QCryptographicHash *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCryptographicHash, &sipCpp, sipType_QIODevice, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->addData(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCryptographicHash, sipName_addData, doc_QCryptographicHash_addData);

    return NULL;
}


PyDoc_STRVAR(doc_QCryptographicHash_result, "result(self) -> QByteArray");

extern "C" {static PyObject *meth_QCryptographicHash_result(PyObject *, PyObject *);}
static PyObject *meth_QCryptographicHash_result(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCryptographicHash *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCryptographicHash, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->result());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCryptographicHash, sipName_result, doc_QCryptographicHash_result);

    return NULL;
}


PyDoc_STRVAR(doc_QCryptographicHash_hash, "hash(Union[QByteArray, bytes, bytearray], QCryptographicHash.Algorithm) -> QByteArray");

extern "C" {static PyObject *meth_QCryptographicHash_hash(PyObject *, PyObject *);}
static PyObject *meth_QCryptographicHash_hash(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QCryptographicHash::Algorithm a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1E", sipType_QByteArray, &a0, &a0State, sipType_QCryptographicHash_Algorithm, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QCryptographicHash::hash(*a0,a1));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCryptographicHash, sipName_hash, doc_QCryptographicHash_hash);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCryptographicHash(void *, int);}
static void release_QCryptographicHash(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCryptographicHash *>(sipCppV);
}


extern "C" {static void dealloc_QCryptographicHash(sipSimpleWrapper *);}
static void dealloc_QCryptographicHash(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCryptographicHash(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCryptographicHash(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCryptographicHash(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCryptographicHash *sipCpp = 0;

    {
         ::QCryptographicHash::Algorithm a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E", sipType_QCryptographicHash_Algorithm, &a0))
        {
            sipCpp = new  ::QCryptographicHash(a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QCryptographicHash[] = {
    {SIP_MLNAME_CAST(sipName_addData), meth_QCryptographicHash_addData, METH_VARARGS, SIP_MLDOC_CAST(doc_QCryptographicHash_addData)},
    {SIP_MLNAME_CAST(sipName_hash), meth_QCryptographicHash_hash, METH_VARARGS, SIP_MLDOC_CAST(doc_QCryptographicHash_hash)},
    {SIP_MLNAME_CAST(sipName_reset), meth_QCryptographicHash_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QCryptographicHash_reset)},
    {SIP_MLNAME_CAST(sipName_result), meth_QCryptographicHash_result, METH_VARARGS, SIP_MLDOC_CAST(doc_QCryptographicHash_result)}
};

static sipEnumMemberDef enummembers_QCryptographicHash[] = {
    {sipName_Md4, static_cast<int>( ::QCryptographicHash::Md4), 35},
    {sipName_Md5, static_cast<int>( ::QCryptographicHash::Md5), 35},
    {sipName_Sha1, static_cast<int>( ::QCryptographicHash::Sha1), 35},
    {sipName_Sha224, static_cast<int>( ::QCryptographicHash::Sha224), 35},
    {sipName_Sha256, static_cast<int>( ::QCryptographicHash::Sha256), 35},
    {sipName_Sha384, static_cast<int>( ::QCryptographicHash::Sha384), 35},
    {sipName_Sha3_224, static_cast<int>( ::QCryptographicHash::Sha3_224), 35},
    {sipName_Sha3_256, static_cast<int>( ::QCryptographicHash::Sha3_256), 35},
    {sipName_Sha3_384, static_cast<int>( ::QCryptographicHash::Sha3_384), 35},
    {sipName_Sha3_512, static_cast<int>( ::QCryptographicHash::Sha3_512), 35},
    {sipName_Sha512, static_cast<int>( ::QCryptographicHash::Sha512), 35},
};

PyDoc_STRVAR(doc_QCryptographicHash, "\1QCryptographicHash(QCryptographicHash.Algorithm)");


static pyqt5ClassPluginDef plugin_QCryptographicHash = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QCryptographicHash = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCryptographicHash,
        {0},
        &plugin_QCryptographicHash
    },
    {
        sipNameNr_QCryptographicHash,
        {0, 0, 1},
        4, methods_QCryptographicHash,
        11, enummembers_QCryptographicHash,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCryptographicHash,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QCryptographicHash,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCryptographicHash,
    0,
    0,
    0,
    release_QCryptographicHash,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 150529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 150533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 150536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQDynamicPropertyChangeEvent : public  ::QDynamicPropertyChangeEvent
{
public:
    sipQDynamicPropertyChangeEvent(const  ::QByteArray&);
    sipQDynamicPropertyChangeEvent(const  ::QDynamicPropertyChangeEvent&);
    ~sipQDynamicPropertyChangeEvent();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDynamicPropertyChangeEvent(const sipQDynamicPropertyChangeEvent &);
    sipQDynamicPropertyChangeEvent &operator = (const sipQDynamicPropertyChangeEvent &);
};

sipQDynamicPropertyChangeEvent::sipQDynamicPropertyChangeEvent(const  ::QByteArray& a0):  ::QDynamicPropertyChangeEvent(a0), sipPySelf(0)
{
}

sipQDynamicPropertyChangeEvent::sipQDynamicPropertyChangeEvent(const  ::QDynamicPropertyChangeEvent& a0):  ::QDynamicPropertyChangeEvent(a0), sipPySelf(0)
{
}

sipQDynamicPropertyChangeEvent::~sipQDynamicPropertyChangeEvent()
{
    sipInstanceDestroyed(sipPySelf);
}


PyDoc_STRVAR(doc_QDynamicPropertyChangeEvent_propertyName, "propertyName(self) -> QByteArray");

extern "C" {static PyObject *meth_QDynamicPropertyChangeEvent_propertyName(PyObject *, PyObject *);}
static PyObject *meth_QDynamicPropertyChangeEvent_propertyName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QDynamicPropertyChangeEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDynamicPropertyChangeEvent, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->propertyName());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDynamicPropertyChangeEvent, sipName_propertyName, doc_QDynamicPropertyChangeEvent_propertyName);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QDynamicPropertyChangeEvent(void *, const sipTypeDef *);}
static void *cast_QDynamicPropertyChangeEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QDynamicPropertyChangeEvent *sipCpp = reinterpret_cast< ::QDynamicPropertyChangeEvent *>(sipCppV);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDynamicPropertyChangeEvent(void *, int);}
static void release_QDynamicPropertyChangeEvent(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQDynamicPropertyChangeEvent *>(sipCppV);
    else
        delete reinterpret_cast< ::QDynamicPropertyChangeEvent *>(sipCppV);
}


extern "C" {static void dealloc_QDynamicPropertyChangeEvent(sipSimpleWrapper *);}
static void dealloc_QDynamicPropertyChangeEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQDynamicPropertyChangeEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QDynamicPropertyChangeEvent(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QDynamicPropertyChangeEvent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDynamicPropertyChangeEvent(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQDynamicPropertyChangeEvent *sipCpp = 0;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QByteArray, &a0, &a0State))
        {
            sipCpp = new sipQDynamicPropertyChangeEvent(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QDynamicPropertyChangeEvent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDynamicPropertyChangeEvent, &a0))
        {
            sipCpp = new sipQDynamicPropertyChangeEvent(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDynamicPropertyChangeEvent[] = {{59, 255, 1}};


static PyMethodDef methods_QDynamicPropertyChangeEvent[] = {
    {SIP_MLNAME_CAST(sipName_propertyName), meth_QDynamicPropertyChangeEvent_propertyName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDynamicPropertyChangeEvent_propertyName)}
};

PyDoc_STRVAR(doc_QDynamicPropertyChangeEvent, "\1QDynamicPropertyChangeEvent(Union[QByteArray, bytes, bytearray])\n"
    "QDynamicPropertyChangeEvent(QDynamicPropertyChangeEvent)");


static pyqt5ClassPluginDef plugin_QDynamicPropertyChangeEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QDynamicPropertyChangeEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QDynamicPropertyChangeEvent,
        {0},
        &plugin_QDynamicPropertyChangeEvent
    },
    {
        sipNameNr_QDynamicPropertyChangeEvent,
        {0, 0, 1},
        1, methods_QDynamicPropertyChangeEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDynamicPropertyChangeEvent,
    -1,
    -1,
    supers_QDynamicPropertyChangeEvent,
    0,
    init_type_QDynamicPropertyChangeEvent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDynamicPropertyChangeEvent,
    0,
    0,
    0,
    release_QDynamicPropertyChangeEvent,
    cast_QDynamicPropertyChangeEvent,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 150742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 150746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 150749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQChildEvent : public  ::QChildEvent
{
public:
    sipQChildEvent( ::QEvent::Type, ::QObject*);
    sipQChildEvent(const  ::QChildEvent&);
    ~sipQChildEvent();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQChildEvent(const sipQChildEvent &);
    sipQChildEvent &operator = (const sipQChildEvent &);
};

sipQChildEvent::sipQChildEvent( ::QEvent::Type a0, ::QObject*a1):  ::QChildEvent(a0,a1), sipPySelf(0)
{
}

sipQChildEvent::sipQChildEvent(const  ::QChildEvent& a0):  ::QChildEvent(a0), sipPySelf(0)
{
}

sipQChildEvent::~sipQChildEvent()
{
    sipInstanceDestroyed(sipPySelf);
}


PyDoc_STRVAR(doc_QChildEvent_child, "child(self) -> QObject");

extern "C" {static PyObject *meth_QChildEvent_child(PyObject *, PyObject *);}
static PyObject *meth_QChildEvent_child(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QChildEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChildEvent, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->child();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChildEvent, sipName_child, doc_QChildEvent_child);

    return NULL;
}


PyDoc_STRVAR(doc_QChildEvent_added, "added(self) -> bool");

extern "C" {static PyObject *meth_QChildEvent_added(PyObject *, PyObject *);}
static PyObject *meth_QChildEvent_added(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QChildEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChildEvent, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->added();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChildEvent, sipName_added, doc_QChildEvent_added);

    return NULL;
}


PyDoc_STRVAR(doc_QChildEvent_polished, "polished(self) -> bool");

extern "C" {static PyObject *meth_QChildEvent_polished(PyObject *, PyObject *);}
static PyObject *meth_QChildEvent_polished(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QChildEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChildEvent, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->polished();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChildEvent, sipName_polished, doc_QChildEvent_polished);

    return NULL;
}


PyDoc_STRVAR(doc_QChildEvent_removed, "removed(self) -> bool");

extern "C" {static PyObject *meth_QChildEvent_removed(PyObject *, PyObject *);}
static PyObject *meth_QChildEvent_removed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QChildEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QChildEvent, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->removed();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QChildEvent, sipName_removed, doc_QChildEvent_removed);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QChildEvent(void *, const sipTypeDef *);}
static void *cast_QChildEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QChildEvent *sipCpp = reinterpret_cast< ::QChildEvent *>(sipCppV);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QChildEvent(void *, int);}
static void release_QChildEvent(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQChildEvent *>(sipCppV);
    else
        delete reinterpret_cast< ::QChildEvent *>(sipCppV);
}


extern "C" {static void dealloc_QChildEvent(sipSimpleWrapper *);}
static void dealloc_QChildEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQChildEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QChildEvent(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QChildEvent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QChildEvent(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQChildEvent *sipCpp = 0;

    {
         ::QEvent::Type a0;
         ::QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "EJ8", sipType_QEvent_Type, &a0, sipType_QObject, &a1))
        {
            sipCpp = new sipQChildEvent(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QChildEvent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QChildEvent, &a0))
        {
            sipCpp = new sipQChildEvent(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QChildEvent[] = {{59, 255, 1}};


static PyMethodDef methods_QChildEvent[] = {
    {SIP_MLNAME_CAST(sipName_added), meth_QChildEvent_added, METH_VARARGS, SIP_MLDOC_CAST(doc_QChildEvent_added)},
    {SIP_MLNAME_CAST(sipName_child), meth_QChildEvent_child, METH_VARARGS, SIP_MLDOC_CAST(doc_QChildEvent_child)},
    {SIP_MLNAME_CAST(sipName_polished), meth_QChildEvent_polished, METH_VARARGS, SIP_MLDOC_CAST(doc_QChildEvent_polished)},
    {SIP_MLNAME_CAST(sipName_removed), meth_QChildEvent_removed, METH_VARARGS, SIP_MLDOC_CAST(doc_QChildEvent_removed)}
};

PyDoc_STRVAR(doc_QChildEvent, "\1QChildEvent(QEvent.Type, QObject)\n"
    "QChildEvent(QChildEvent)");


static pyqt5ClassPluginDef plugin_QChildEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QChildEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QChildEvent,
        {0},
        &plugin_QChildEvent
    },
    {
        sipNameNr_QChildEvent,
        {0, 0, 1},
        4, methods_QChildEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QChildEvent,
    -1,
    -1,
    supers_QChildEvent,
    0,
    init_type_QChildEvent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QChildEvent,
    0,
    0,
    0,
    release_QChildEvent,
    cast_QChildEvent,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 151041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 151045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQTimerEvent : public  ::QTimerEvent
{
public:
    sipQTimerEvent(int);
    sipQTimerEvent(const  ::QTimerEvent&);
    ~sipQTimerEvent();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTimerEvent(const sipQTimerEvent &);
    sipQTimerEvent &operator = (const sipQTimerEvent &);
};

sipQTimerEvent::sipQTimerEvent(int a0):  ::QTimerEvent(a0), sipPySelf(0)
{
}

sipQTimerEvent::sipQTimerEvent(const  ::QTimerEvent& a0):  ::QTimerEvent(a0), sipPySelf(0)
{
}

sipQTimerEvent::~sipQTimerEvent()
{
    sipInstanceDestroyed(sipPySelf);
}


PyDoc_STRVAR(doc_QTimerEvent_timerId, "timerId(self) -> int");

extern "C" {static PyObject *meth_QTimerEvent_timerId(PyObject *, PyObject *);}
static PyObject *meth_QTimerEvent_timerId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QTimerEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTimerEvent, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->timerId();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimerEvent, sipName_timerId, doc_QTimerEvent_timerId);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QTimerEvent(void *, const sipTypeDef *);}
static void *cast_QTimerEvent(void *sipCppV, const sipTypeDef *targetType)
{
     ::QTimerEvent *sipCpp = reinterpret_cast< ::QTimerEvent *>(sipCppV);

    if (targetType == sipType_QEvent)
        return static_cast< ::QEvent *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTimerEvent(void *, int);}
static void release_QTimerEvent(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQTimerEvent *>(sipCppV);
    else
        delete reinterpret_cast< ::QTimerEvent *>(sipCppV);
}


extern "C" {static void dealloc_QTimerEvent(sipSimpleWrapper *);}
static void dealloc_QTimerEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQTimerEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QTimerEvent(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QTimerEvent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTimerEvent(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQTimerEvent *sipCpp = 0;

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new sipQTimerEvent(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QTimerEvent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTimerEvent, &a0))
        {
            sipCpp = new sipQTimerEvent(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTimerEvent[] = {{59, 255, 1}};


static PyMethodDef methods_QTimerEvent[] = {
    {SIP_MLNAME_CAST(sipName_timerId), meth_QTimerEvent_timerId, METH_VARARGS, SIP_MLDOC_CAST(doc_QTimerEvent_timerId)}
};

PyDoc_STRVAR(doc_QTimerEvent, "\1QTimerEvent(int)\n"
    "QTimerEvent(QTimerEvent)");


static pyqt5ClassPluginDef plugin_QTimerEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QTimerEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QTimerEvent,
        {0},
        &plugin_QTimerEvent
    },
    {
        sipNameNr_QTimerEvent,
        {0, 0, 1},
        1, methods_QTimerEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTimerEvent,
    -1,
    -1,
    supers_QTimerEvent,
    0,
    init_type_QTimerEvent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTimerEvent,
    0,
    0,
    0,
    release_QTimerEvent,
    cast_QTimerEvent,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 151249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



class sipQEvent : public  ::QEvent
{
public:
    sipQEvent( ::QEvent::Type);
    sipQEvent(const  ::QEvent&);
    ~sipQEvent();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQEvent(const sipQEvent &);
    sipQEvent &operator = (const sipQEvent &);
};

sipQEvent::sipQEvent( ::QEvent::Type a0):  ::QEvent(a0), sipPySelf(0)
{
}

sipQEvent::sipQEvent(const  ::QEvent& a0):  ::QEvent(a0), sipPySelf(0)
{
}

sipQEvent::~sipQEvent()
{
    sipInstanceDestroyed(sipPySelf);
}


PyDoc_STRVAR(doc_QEvent_type, "type(self) -> QEvent.Type");

extern "C" {static PyObject *meth_QEvent_type(PyObject *, PyObject *);}
static PyObject *meth_QEvent_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEvent, &sipCpp))
        {
             ::QEvent::Type sipRes;

            sipRes = sipCpp->type();

            return sipConvertFromEnum(sipRes,sipType_QEvent_Type);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEvent, sipName_type, doc_QEvent_type);

    return NULL;
}


PyDoc_STRVAR(doc_QEvent_spontaneous, "spontaneous(self) -> bool");

extern "C" {static PyObject *meth_QEvent_spontaneous(PyObject *, PyObject *);}
static PyObject *meth_QEvent_spontaneous(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEvent, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->spontaneous();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEvent, sipName_spontaneous, doc_QEvent_spontaneous);

    return NULL;
}


PyDoc_STRVAR(doc_QEvent_setAccepted, "setAccepted(self, bool)");

extern "C" {static PyObject *meth_QEvent_setAccepted(PyObject *, PyObject *);}
static PyObject *meth_QEvent_setAccepted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QEvent, &sipCpp, &a0))
        {
            sipCpp->setAccepted(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEvent, sipName_setAccepted, doc_QEvent_setAccepted);

    return NULL;
}


PyDoc_STRVAR(doc_QEvent_isAccepted, "isAccepted(self) -> bool");

extern "C" {static PyObject *meth_QEvent_isAccepted(PyObject *, PyObject *);}
static PyObject *meth_QEvent_isAccepted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEvent, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAccepted();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEvent, sipName_isAccepted, doc_QEvent_isAccepted);

    return NULL;
}


PyDoc_STRVAR(doc_QEvent_accept, "accept(self)");

extern "C" {static PyObject *meth_QEvent_accept(PyObject *, PyObject *);}
static PyObject *meth_QEvent_accept(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEvent, &sipCpp))
        {
            sipCpp->accept();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEvent, sipName_accept, doc_QEvent_accept);

    return NULL;
}


PyDoc_STRVAR(doc_QEvent_ignore, "ignore(self)");

extern "C" {static PyObject *meth_QEvent_ignore(PyObject *, PyObject *);}
static PyObject *meth_QEvent_ignore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QEvent, &sipCpp))
        {
            sipCpp->ignore();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEvent, sipName_ignore, doc_QEvent_ignore);

    return NULL;
}


PyDoc_STRVAR(doc_QEvent_registerEventType, "registerEventType(hint: int = -1) -> int");

extern "C" {static PyObject *meth_QEvent_registerEventType(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QEvent_registerEventType(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = -1;

        static const char *sipKwdList[] = {
            sipName_hint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|i", &a0))
        {
            int sipRes;

            sipRes =  ::QEvent::registerEventType(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QEvent, sipName_registerEventType, doc_QEvent_registerEventType);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QEvent(void *, int);}
static void release_QEvent(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQEvent *>(sipCppV);
    else
        delete reinterpret_cast< ::QEvent *>(sipCppV);
}


extern "C" {static void dealloc_QEvent(sipSimpleWrapper *);}
static void dealloc_QEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QEvent(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QEvent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QEvent(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQEvent *sipCpp = 0;

    {
         ::QEvent::Type a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "E", sipType_QEvent_Type, &a0))
        {
            sipCpp = new sipQEvent(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QEvent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QEvent, &a0))
        {
            sipCpp = new sipQEvent(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QEvent[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_QEvent_accept, METH_VARARGS, SIP_MLDOC_CAST(doc_QEvent_accept)},
    {SIP_MLNAME_CAST(sipName_ignore), meth_QEvent_ignore, METH_VARARGS, SIP_MLDOC_CAST(doc_QEvent_ignore)},
    {SIP_MLNAME_CAST(sipName_isAccepted), meth_QEvent_isAccepted, METH_VARARGS, SIP_MLDOC_CAST(doc_QEvent_isAccepted)},
    {SIP_MLNAME_CAST(sipName_registerEventType), (PyCFunction)meth_QEvent_registerEventType, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QEvent_registerEventType)},
    {SIP_MLNAME_CAST(sipName_setAccepted), meth_QEvent_setAccepted, METH_VARARGS, SIP_MLDOC_CAST(doc_QEvent_setAccepted)},
    {SIP_MLNAME_CAST(sipName_spontaneous), meth_QEvent_spontaneous, METH_VARARGS, SIP_MLDOC_CAST(doc_QEvent_spontaneous)},
    {SIP_MLNAME_CAST(sipName_type), meth_QEvent_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QEvent_type)}
};

static sipEnumMemberDef enummembers_QEvent[] = {
    {sipName_ActionAdded, static_cast<int>( ::QEvent::ActionAdded), 60},
    {sipName_ActionChanged, static_cast<int>( ::QEvent::ActionChanged), 60},
    {sipName_ActionRemoved, static_cast<int>( ::QEvent::ActionRemoved), 60},
    {sipName_ActivationChange, static_cast<int>( ::QEvent::ActivationChange), 60},
    {sipName_ApplicationActivate, static_cast<int>( ::QEvent::ApplicationActivate), 60},
    {sipName_ApplicationActivated, static_cast<int>( ::QEvent::ApplicationActivated), 60},
    {sipName_ApplicationDeactivate, static_cast<int>( ::QEvent::ApplicationDeactivate), 60},
    {sipName_ApplicationDeactivated, static_cast<int>( ::QEvent::ApplicationDeactivated), 60},
    {sipName_ApplicationFontChange, static_cast<int>( ::QEvent::ApplicationFontChange), 60},
    {sipName_ApplicationLayoutDirectionChange, static_cast<int>( ::QEvent::ApplicationLayoutDirectionChange), 60},
    {sipName_ApplicationPaletteChange, static_cast<int>( ::QEvent::ApplicationPaletteChange), 60},
    {sipName_ApplicationStateChange, static_cast<int>( ::QEvent::ApplicationStateChange), 60},
    {sipName_ApplicationWindowIconChange, static_cast<int>( ::QEvent::ApplicationWindowIconChange), 60},
    {sipName_ChildAdded, static_cast<int>( ::QEvent::ChildAdded), 60},
    {sipName_ChildPolished, static_cast<int>( ::QEvent::ChildPolished), 60},
    {sipName_ChildRemoved, static_cast<int>( ::QEvent::ChildRemoved), 60},
    {sipName_Clipboard, static_cast<int>( ::QEvent::Clipboard), 60},
    {sipName_Close, static_cast<int>( ::QEvent::Close), 60},
    {sipName_CloseSoftwareInputPanel, static_cast<int>( ::QEvent::CloseSoftwareInputPanel), 60},
    {sipName_ContentsRectChange, static_cast<int>( ::QEvent::ContentsRectChange), 60},
    {sipName_ContextMenu, static_cast<int>( ::QEvent::ContextMenu), 60},
    {sipName_CursorChange, static_cast<int>( ::QEvent::CursorChange), 60},
    {sipName_DeferredDelete, static_cast<int>( ::QEvent::DeferredDelete), 60},
    {sipName_DragEnter, static_cast<int>( ::QEvent::DragEnter), 60},
    {sipName_DragLeave, static_cast<int>( ::QEvent::DragLeave), 60},
    {sipName_DragMove, static_cast<int>( ::QEvent::DragMove), 60},
    {sipName_Drop, static_cast<int>( ::QEvent::Drop), 60},
    {sipName_DynamicPropertyChange, static_cast<int>( ::QEvent::DynamicPropertyChange), 60},
    {sipName_EnabledChange, static_cast<int>( ::QEvent::EnabledChange), 60},
    {sipName_Enter, static_cast<int>( ::QEvent::Enter), 60},
    {sipName_EnterWhatsThisMode, static_cast<int>( ::QEvent::EnterWhatsThisMode), 60},
    {sipName_Expose, static_cast<int>( ::QEvent::Expose), 60},
    {sipName_FileOpen, static_cast<int>( ::QEvent::FileOpen), 60},
    {sipName_FocusAboutToChange, static_cast<int>( ::QEvent::FocusAboutToChange), 60},
    {sipName_FocusIn, static_cast<int>( ::QEvent::FocusIn), 60},
    {sipName_FocusOut, static_cast<int>( ::QEvent::FocusOut), 60},
    {sipName_FontChange, static_cast<int>( ::QEvent::FontChange), 60},
    {sipName_Gesture, static_cast<int>( ::QEvent::Gesture), 60},
    {sipName_GestureOverride, static_cast<int>( ::QEvent::GestureOverride), 60},
    {sipName_GrabKeyboard, static_cast<int>( ::QEvent::GrabKeyboard), 60},
    {sipName_GrabMouse, static_cast<int>( ::QEvent::GrabMouse), 60},
    {sipName_GraphicsSceneContextMenu, static_cast<int>( ::QEvent::GraphicsSceneContextMenu), 60},
    {sipName_GraphicsSceneDragEnter, static_cast<int>( ::QEvent::GraphicsSceneDragEnter), 60},
    {sipName_GraphicsSceneDragLeave, static_cast<int>( ::QEvent::GraphicsSceneDragLeave), 60},
    {sipName_GraphicsSceneDragMove, static_cast<int>( ::QEvent::GraphicsSceneDragMove), 60},
    {sipName_GraphicsSceneDrop, static_cast<int>( ::QEvent::GraphicsSceneDrop), 60},
    {sipName_GraphicsSceneHelp, static_cast<int>( ::QEvent::GraphicsSceneHelp), 60},
    {sipName_GraphicsSceneHoverEnter, static_cast<int>( ::QEvent::GraphicsSceneHoverEnter), 60},
    {sipName_GraphicsSceneHoverLeave, static_cast<int>( ::QEvent::GraphicsSceneHoverLeave), 60},
    {sipName_GraphicsSceneHoverMove, static_cast<int>( ::QEvent::GraphicsSceneHoverMove), 60},
    {sipName_GraphicsSceneMouseDoubleClick, static_cast<int>( ::QEvent::GraphicsSceneMouseDoubleClick), 60},
    {sipName_GraphicsSceneMouseMove, static_cast<int>( ::QEvent::GraphicsSceneMouseMove), 60},
    {sipName_GraphicsSceneMousePress, static_cast<int>( ::QEvent::GraphicsSceneMousePress), 60},
    {sipName_GraphicsSceneMouseRelease, static_cast<int>( ::QEvent::GraphicsSceneMouseRelease), 60},
    {sipName_GraphicsSceneMove, static_cast<int>( ::QEvent::GraphicsSceneMove), 60},
    {sipName_GraphicsSceneResize, static_cast<int>( ::QEvent::GraphicsSceneResize), 60},
    {sipName_GraphicsSceneWheel, static_cast<int>( ::QEvent::GraphicsSceneWheel), 60},
    {sipName_Hide, static_cast<int>( ::QEvent::Hide), 60},
    {sipName_HideToParent, static_cast<int>( ::QEvent::HideToParent), 60},
    {sipName_HoverEnter, static_cast<int>( ::QEvent::HoverEnter), 60},
    {sipName_HoverLeave, static_cast<int>( ::QEvent::HoverLeave), 60},
    {sipName_HoverMove, static_cast<int>( ::QEvent::HoverMove), 60},
    {sipName_IconDrag, static_cast<int>( ::QEvent::IconDrag), 60},
    {sipName_IconTextChange, static_cast<int>( ::QEvent::IconTextChange), 60},
    {sipName_InputMethod, static_cast<int>( ::QEvent::InputMethod), 60},
    {sipName_InputMethodQuery, static_cast<int>( ::QEvent::InputMethodQuery), 60},
    {sipName_KeyPress, static_cast<int>( ::QEvent::KeyPress), 60},
    {sipName_KeyRelease, static_cast<int>( ::QEvent::KeyRelease), 60},
    {sipName_KeyboardLayoutChange, static_cast<int>( ::QEvent::KeyboardLayoutChange), 60},
    {sipName_LanguageChange, static_cast<int>( ::QEvent::LanguageChange), 60},
    {sipName_LayoutDirectionChange, static_cast<int>( ::QEvent::LayoutDirectionChange), 60},
    {sipName_LayoutRequest, static_cast<int>( ::QEvent::LayoutRequest), 60},
    {sipName_Leave, static_cast<int>( ::QEvent::Leave), 60},
    {sipName_LeaveWhatsThisMode, static_cast<int>( ::QEvent::LeaveWhatsThisMode), 60},
    {sipName_LocaleChange, static_cast<int>( ::QEvent::LocaleChange), 60},
    {sipName_MacSizeChange, static_cast<int>( ::QEvent::MacSizeChange), 60},
    {sipName_MaxUser, static_cast<int>( ::QEvent::MaxUser), 60},
    {sipName_MetaCall, static_cast<int>( ::QEvent::MetaCall), 60},
    {sipName_ModifiedChange, static_cast<int>( ::QEvent::ModifiedChange), 60},
    {sipName_MouseButtonDblClick, static_cast<int>( ::QEvent::MouseButtonDblClick), 60},
    {sipName_MouseButtonPress, static_cast<int>( ::QEvent::MouseButtonPress), 60},
    {sipName_MouseButtonRelease, static_cast<int>( ::QEvent::MouseButtonRelease), 60},
    {sipName_MouseMove, static_cast<int>( ::QEvent::MouseMove), 60},
    {sipName_MouseTrackingChange, static_cast<int>( ::QEvent::MouseTrackingChange), 60},
    {sipName_Move, static_cast<int>( ::QEvent::Move), 60},
    {sipName_NonClientAreaMouseButtonDblClick, static_cast<int>( ::QEvent::NonClientAreaMouseButtonDblClick), 60},
    {sipName_NonClientAreaMouseButtonPress, static_cast<int>( ::QEvent::NonClientAreaMouseButtonPress), 60},
    {sipName_NonClientAreaMouseButtonRelease, static_cast<int>( ::QEvent::NonClientAreaMouseButtonRelease), 60},
    {sipName_NonClientAreaMouseMove, static_cast<int>( ::QEvent::NonClientAreaMouseMove), 60},
    {sipName_None_, static_cast<int>( ::QEvent::None), 60},
    {sipName_OkRequest, static_cast<int>( ::QEvent::OkRequest), 60},
    {sipName_OrientationChange, static_cast<int>( ::QEvent::OrientationChange), 60},
    {sipName_Paint, static_cast<int>( ::QEvent::Paint), 60},
    {sipName_PaletteChange, static_cast<int>( ::QEvent::PaletteChange), 60},
    {sipName_ParentAboutToChange, static_cast<int>( ::QEvent::ParentAboutToChange), 60},
    {sipName_ParentChange, static_cast<int>( ::QEvent::ParentChange), 60},
    {sipName_PlatformPanel, static_cast<int>( ::QEvent::PlatformPanel), 60},
    {sipName_PlatformSurface, static_cast<int>( ::QEvent::PlatformSurface), 60},
    {sipName_Polish, static_cast<int>( ::QEvent::Polish), 60},
    {sipName_PolishRequest, static_cast<int>( ::QEvent::PolishRequest), 60},
    {sipName_QueryWhatsThis, static_cast<int>( ::QEvent::QueryWhatsThis), 60},
    {sipName_ReadOnlyChange, static_cast<int>( ::QEvent::ReadOnlyChange), 60},
    {sipName_RequestSoftwareInputPanel, static_cast<int>( ::QEvent::RequestSoftwareInputPanel), 60},
    {sipName_Resize, static_cast<int>( ::QEvent::Resize), 60},
    {sipName_Scroll, static_cast<int>( ::QEvent::Scroll), 60},
    {sipName_ScrollPrepare, static_cast<int>( ::QEvent::ScrollPrepare), 60},
    {sipName_Shortcut, static_cast<int>( ::QEvent::Shortcut), 60},
    {sipName_ShortcutOverride, static_cast<int>( ::QEvent::ShortcutOverride), 60},
    {sipName_Show, static_cast<int>( ::QEvent::Show), 60},
    {sipName_ShowToParent, static_cast<int>( ::QEvent::ShowToParent), 60},
    {sipName_SockAct, static_cast<int>( ::QEvent::SockAct), 60},
    {sipName_StateMachineSignal, static_cast<int>( ::QEvent::StateMachineSignal), 60},
    {sipName_StateMachineWrapped, static_cast<int>( ::QEvent::StateMachineWrapped), 60},
    {sipName_StatusTip, static_cast<int>( ::QEvent::StatusTip), 60},
    {sipName_StyleChange, static_cast<int>( ::QEvent::StyleChange), 60},
    {sipName_TabletEnterProximity, static_cast<int>( ::QEvent::TabletEnterProximity), 60},
    {sipName_TabletLeaveProximity, static_cast<int>( ::QEvent::TabletLeaveProximity), 60},
    {sipName_TabletMove, static_cast<int>( ::QEvent::TabletMove), 60},
    {sipName_TabletPress, static_cast<int>( ::QEvent::TabletPress), 60},
    {sipName_TabletRelease, static_cast<int>( ::QEvent::TabletRelease), 60},
    {sipName_TabletTrackingChange, static_cast<int>( ::QEvent::TabletTrackingChange), 60},
    {sipName_ThreadChange, static_cast<int>( ::QEvent::ThreadChange), 60},
    {sipName_Timer, static_cast<int>( ::QEvent::Timer), 60},
    {sipName_ToolBarChange, static_cast<int>( ::QEvent::ToolBarChange), 60},
    {sipName_ToolTip, static_cast<int>( ::QEvent::ToolTip), 60},
    {sipName_ToolTipChange, static_cast<int>( ::QEvent::ToolTipChange), 60},
    {sipName_TouchBegin, static_cast<int>( ::QEvent::TouchBegin), 60},
    {sipName_TouchCancel, static_cast<int>( ::QEvent::TouchCancel), 60},
    {sipName_TouchEnd, static_cast<int>( ::QEvent::TouchEnd), 60},
    {sipName_TouchUpdate, static_cast<int>( ::QEvent::TouchUpdate), 60},
    {sipName_UngrabKeyboard, static_cast<int>( ::QEvent::UngrabKeyboard), 60},
    {sipName_UngrabMouse, static_cast<int>( ::QEvent::UngrabMouse), 60},
    {sipName_UpdateLater, static_cast<int>( ::QEvent::UpdateLater), 60},
    {sipName_UpdateRequest, static_cast<int>( ::QEvent::UpdateRequest), 60},
    {sipName_User, static_cast<int>( ::QEvent::User), 60},
    {sipName_WhatsThis, static_cast<int>( ::QEvent::WhatsThis), 60},
    {sipName_WhatsThisClicked, static_cast<int>( ::QEvent::WhatsThisClicked), 60},
    {sipName_Wheel, static_cast<int>( ::QEvent::Wheel), 60},
    {sipName_WinEventAct, static_cast<int>( ::QEvent::WinEventAct), 60},
    {sipName_WinIdChange, static_cast<int>( ::QEvent::WinIdChange), 60},
    {sipName_WindowActivate, static_cast<int>( ::QEvent::WindowActivate), 60},
    {sipName_WindowBlocked, static_cast<int>( ::QEvent::WindowBlocked), 60},
    {sipName_WindowDeactivate, static_cast<int>( ::QEvent::WindowDeactivate), 60},
    {sipName_WindowIconChange, static_cast<int>( ::QEvent::WindowIconChange), 60},
    {sipName_WindowStateChange, static_cast<int>( ::QEvent::WindowStateChange), 60},
    {sipName_WindowTitleChange, static_cast<int>( ::QEvent::WindowTitleChange), 60},
    {sipName_WindowUnblocked, static_cast<int>( ::QEvent::WindowUnblocked), 60},
    {sipName_ZOrderChange, static_cast<int>( ::QEvent::ZOrderChange), 60},
};

PyDoc_STRVAR(doc_QEvent, "\1QEvent(QEvent.Type)\n"
    "QEvent(QEvent)");


static pyqt5ClassPluginDef plugin_QEvent = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QEvent = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QEvent,
        {0},
        &plugin_QEvent
    },
    {
        sipNameNr_QEvent,
        {0, 0, 1},
        7, methods_QEvent,
        148, enummembers_QEvent,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QEvent,
    -1,
    -1,
    0,
    0,
    init_type_QEvent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QEvent,
    0,
    0,
    0,
    release_QEvent,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 151764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractnativeeventfilter.sip"
#include <qabstractnativeeventfilter.h>
#line 151768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 151771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 151774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 151777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 151780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qtranslator.sip"
#include <qtranslator.h>
#line 151783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 151786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 151789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 151792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 151795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 151798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 151801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 151804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 151807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 151810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 151813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 151816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 151819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 151822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 151825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQCoreApplication : public  ::QCoreApplication
{
public:
    sipQCoreApplication(int&,char**);
    virtual ~sipQCoreApplication();

    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;
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool notify( ::QObject*, ::QEvent*);
    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:
    sipQCoreApplication(const sipQCoreApplication &);
    sipQCoreApplication &operator = (const sipQCoreApplication &);

    char sipPyMethods[8];
};

sipQCoreApplication::sipQCoreApplication(int& a0,char**a1):  ::QCoreApplication(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCoreApplication::~sipQCoreApplication()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQCoreApplication::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QCoreApplication);

    return  ::QCoreApplication::metaObject();
}

int sipQCoreApplication::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QCoreApplication::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QCoreApplication,_c,_id,_a);

    return _id;
}

void *sipQCoreApplication::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QCoreApplication, _clname, &sipCpp) ? sipCpp :  ::QCoreApplication::qt_metacast(_clname));
}

bool sipQCoreApplication::notify( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_notify);

    if (!sipMeth)
        return  ::QCoreApplication::notify(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQCoreApplication::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QCoreApplication::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQCoreApplication::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QCoreApplication::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQCoreApplication::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QCoreApplication::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQCoreApplication::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QCoreApplication::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQCoreApplication::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QCoreApplication::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQCoreApplication::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QCoreApplication::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQCoreApplication::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QCoreApplication::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQCoreApplication::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQCoreApplication::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQCoreApplication::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQCoreApplication::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQCoreApplication::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQCoreApplication::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQCoreApplication::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQCoreApplication::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQCoreApplication::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQCoreApplication::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QCoreApplication::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QCoreApplication_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QCoreApplication_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCoreApplication, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 152144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_sender, doc_QCoreApplication_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QCoreApplication_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QCoreApplication, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 152204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QCoreApplication, sipName_receivers, doc_QCoreApplication_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QCoreApplication_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCoreApplication, &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_QCoreApplication, sipName_timerEvent, doc_QCoreApplication_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QCoreApplication_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCoreApplication, &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_QCoreApplication, sipName_childEvent, doc_QCoreApplication_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QCoreApplication_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCoreApplication, &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_QCoreApplication, sipName_customEvent, doc_QCoreApplication_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QCoreApplication_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCoreApplication, &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_QCoreApplication, sipName_connectNotify, doc_QCoreApplication_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QCoreApplication_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCoreApplication, &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_QCoreApplication, sipName_disconnectNotify, doc_QCoreApplication_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QCoreApplication_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCoreApplication, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_senderSignalIndex, doc_QCoreApplication_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QCoreApplication_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCoreApplication, &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_QCoreApplication, sipName_isSignalConnected, doc_QCoreApplication_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_setOrganizationDomain, "setOrganizationDomain(str)");

extern "C" {static PyObject *meth_QCoreApplication_setOrganizationDomain(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_setOrganizationDomain(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QCoreApplication::setOrganizationDomain(*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_QCoreApplication, sipName_setOrganizationDomain, doc_QCoreApplication_setOrganizationDomain);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_organizationDomain, "organizationDomain() -> str");

extern "C" {static PyObject *meth_QCoreApplication_organizationDomain(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_organizationDomain(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QCoreApplication::organizationDomain());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_organizationDomain, doc_QCoreApplication_organizationDomain);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_setOrganizationName, "setOrganizationName(str)");

extern "C" {static PyObject *meth_QCoreApplication_setOrganizationName(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_setOrganizationName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QCoreApplication::setOrganizationName(*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_QCoreApplication, sipName_setOrganizationName, doc_QCoreApplication_setOrganizationName);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_organizationName, "organizationName() -> str");

extern "C" {static PyObject *meth_QCoreApplication_organizationName(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_organizationName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QCoreApplication::organizationName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_organizationName, doc_QCoreApplication_organizationName);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_setApplicationName, "setApplicationName(str)");

extern "C" {static PyObject *meth_QCoreApplication_setApplicationName(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_setApplicationName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QCoreApplication::setApplicationName(*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_QCoreApplication, sipName_setApplicationName, doc_QCoreApplication_setApplicationName);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_applicationName, "applicationName() -> str");

extern "C" {static PyObject *meth_QCoreApplication_applicationName(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_applicationName(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QCoreApplication::applicationName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_applicationName, doc_QCoreApplication_applicationName);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_arguments, "arguments() -> List[str]");

extern "C" {static PyObject *meth_QCoreApplication_arguments(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_arguments(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QCoreApplication::arguments());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_arguments, doc_QCoreApplication_arguments);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_instance, "instance() -> QCoreApplication");

extern "C" {static PyObject *meth_QCoreApplication_instance(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_instance(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QCoreApplication*sipRes;

            sipRes =  ::QCoreApplication::instance();

            return sipConvertFromType(sipRes,sipType_QCoreApplication,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_instance, doc_QCoreApplication_instance);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_exec_, "exec_() -> int");

extern "C" {static PyObject *meth_QCoreApplication_exec_(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_exec_(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipCallHook("__pyQtPreEventLoopHook__");

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QCoreApplication::exec();
            Py_END_ALLOW_THREADS


            sipCallHook("__pyQtPostEventLoopHook__");
            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_exec_, doc_QCoreApplication_exec_);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_exec, "exec() -> int");

extern "C" {static PyObject *meth_QCoreApplication_exec(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_exec(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipCallHook("__pyQtPreEventLoopHook__");

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QCoreApplication::exec();
            Py_END_ALLOW_THREADS


            sipCallHook("__pyQtPostEventLoopHook__");
            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_exec, doc_QCoreApplication_exec);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_processEvents, "processEvents(flags: Union[QEventLoop.ProcessEventsFlags, QEventLoop.ProcessEventsFlag] = QEventLoop.AllEvents)\n"
    "processEvents(Union[QEventLoop.ProcessEventsFlags, QEventLoop.ProcessEventsFlag], int)");

extern "C" {static PyObject *meth_QCoreApplication_processEvents(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_processEvents(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QEventLoop::ProcessEventsFlags a0def = QEventLoop::AllEvents;
         ::QEventLoop::ProcessEventsFlags* a0 = &a0def;
        int a0State = 0;

        static const char *sipKwdList[] = {
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J1", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
             ::QCoreApplication::processEvents(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "J1i", sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
             ::QCoreApplication::processEvents(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_processEvents, doc_QCoreApplication_processEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_exit, "exit(returnCode: int = 0)");

extern "C" {static PyObject *meth_QCoreApplication_exit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_exit(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;

        static const char *sipKwdList[] = {
            sipName_returnCode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|i", &a0))
        {
             ::QCoreApplication::exit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_exit, doc_QCoreApplication_exit);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_sendEvent, "sendEvent(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QCoreApplication_sendEvent(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_sendEvent(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::QEvent* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J8", sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes =  ::QCoreApplication::sendEvent(a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_sendEvent, doc_QCoreApplication_sendEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_postEvent, "postEvent(QObject, QEvent, priority: int = Qt.NormalEventPriority)");

extern "C" {static PyObject *meth_QCoreApplication_postEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_postEvent(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::QEvent* a1;
        int a2 = Qt::NormalEventPriority;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_priority,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J:|i", sipType_QObject, &a0, sipType_QEvent, &a1, &a2))
        {
             ::QCoreApplication::postEvent(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_postEvent, doc_QCoreApplication_postEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_sendPostedEvents, "sendPostedEvents(receiver: QObject = None, eventType: int = 0)");

extern "C" {static PyObject *meth_QCoreApplication_sendPostedEvents(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_sendPostedEvents(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0 = 0;
        int a1 = 0;

        static const char *sipKwdList[] = {
            sipName_receiver,
            sipName_eventType,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8i", sipType_QObject, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
             ::QCoreApplication::sendPostedEvents(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_sendPostedEvents, doc_QCoreApplication_sendPostedEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_removePostedEvents, "removePostedEvents(QObject, eventType: int = 0)");

extern "C" {static PyObject *meth_QCoreApplication_removePostedEvents(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_removePostedEvents(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        int a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_eventType,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8|i", sipType_QObject, &a0, &a1))
        {
             ::QCoreApplication::removePostedEvents(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_removePostedEvents, doc_QCoreApplication_removePostedEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_hasPendingEvents, "hasPendingEvents() -> bool");

extern "C" {static PyObject *meth_QCoreApplication_hasPendingEvents(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_hasPendingEvents(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes =  ::QCoreApplication::hasPendingEvents();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_hasPendingEvents, doc_QCoreApplication_hasPendingEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_notify, "notify(self, QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QCoreApplication_notify(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_notify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::QCoreApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QCoreApplication, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QCoreApplication::notify(a0,a1) : sipCpp->notify(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_notify, doc_QCoreApplication_notify);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_startingUp, "startingUp() -> bool");

extern "C" {static PyObject *meth_QCoreApplication_startingUp(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_startingUp(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes =  ::QCoreApplication::startingUp();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_startingUp, doc_QCoreApplication_startingUp);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_closingDown, "closingDown() -> bool");

extern "C" {static PyObject *meth_QCoreApplication_closingDown(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_closingDown(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes =  ::QCoreApplication::closingDown();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_closingDown, doc_QCoreApplication_closingDown);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_applicationDirPath, "applicationDirPath() -> str");

extern "C" {static PyObject *meth_QCoreApplication_applicationDirPath(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_applicationDirPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QCoreApplication::applicationDirPath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_applicationDirPath, doc_QCoreApplication_applicationDirPath);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_applicationFilePath, "applicationFilePath() -> str");

extern "C" {static PyObject *meth_QCoreApplication_applicationFilePath(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_applicationFilePath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QCoreApplication::applicationFilePath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_applicationFilePath, doc_QCoreApplication_applicationFilePath);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_setLibraryPaths, "setLibraryPaths(Iterable[str])");

extern "C" {static PyObject *meth_QCoreApplication_setLibraryPaths(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_setLibraryPaths(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QStringList,&a0, &a0State))
        {
             ::QCoreApplication::setLibraryPaths(*a0);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_setLibraryPaths, doc_QCoreApplication_setLibraryPaths);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_libraryPaths, "libraryPaths() -> List[str]");

extern "C" {static PyObject *meth_QCoreApplication_libraryPaths(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_libraryPaths(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QCoreApplication::libraryPaths());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_libraryPaths, doc_QCoreApplication_libraryPaths);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_addLibraryPath, "addLibraryPath(str)");

extern "C" {static PyObject *meth_QCoreApplication_addLibraryPath(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_addLibraryPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QCoreApplication::addLibraryPath(*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_QCoreApplication, sipName_addLibraryPath, doc_QCoreApplication_addLibraryPath);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_removeLibraryPath, "removeLibraryPath(str)");

extern "C" {static PyObject *meth_QCoreApplication_removeLibraryPath(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_removeLibraryPath(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QCoreApplication::removeLibraryPath(*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_QCoreApplication, sipName_removeLibraryPath, doc_QCoreApplication_removeLibraryPath);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_installTranslator, "installTranslator(QTranslator) -> bool");

extern "C" {static PyObject *meth_QCoreApplication_installTranslator(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_installTranslator(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTranslator* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QTranslator, &a0))
        {
            bool sipRes;

            sipRes =  ::QCoreApplication::installTranslator(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_installTranslator, doc_QCoreApplication_installTranslator);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_removeTranslator, "removeTranslator(QTranslator) -> bool");

extern "C" {static PyObject *meth_QCoreApplication_removeTranslator(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_removeTranslator(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QTranslator* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QTranslator, &a0))
        {
            bool sipRes;

            sipRes =  ::QCoreApplication::removeTranslator(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_removeTranslator, doc_QCoreApplication_removeTranslator);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_translate, "translate(str, str, disambiguation: str = None, n: int = -1) -> str");

extern "C" {static PyObject *meth_QCoreApplication_translate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_translate(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1;
        PyObject *a1Keep;
        const char* a2 = 0;
        PyObject *a2Keep = 0;
        int a3 = -1;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_disambiguation,
            sipName_n,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "AAA8|AAi", &a0Keep, &a0, &a1Keep, &a1, &a2Keep, &a2, &a3))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QCoreApplication::translate(a0,a1,a2,a3));
            Py_DECREF(a0Keep);
            Py_DECREF(a1Keep);
            Py_XDECREF(a2Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_translate, doc_QCoreApplication_translate);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_flush, "flush()");

extern "C" {static PyObject *meth_QCoreApplication_flush(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_flush(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            Py_BEGIN_ALLOW_THREADS
             ::QCoreApplication::flush();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_flush, doc_QCoreApplication_flush);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_setAttribute, "setAttribute(Qt.ApplicationAttribute, on: bool = True)");

extern "C" {static PyObject *meth_QCoreApplication_setAttribute(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_setAttribute(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ApplicationAttribute a0;
        bool a1 = 1;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "E|b", sipType_Qt_ApplicationAttribute, &a0, &a1))
        {
             ::QCoreApplication::setAttribute(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_setAttribute, doc_QCoreApplication_setAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_testAttribute, "testAttribute(Qt.ApplicationAttribute) -> bool");

extern "C" {static PyObject *meth_QCoreApplication_testAttribute(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_testAttribute(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ApplicationAttribute a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_Qt_ApplicationAttribute, &a0))
        {
            bool sipRes;

            sipRes =  ::QCoreApplication::testAttribute(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_testAttribute, doc_QCoreApplication_testAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_quit, "quit()");

extern "C" {static PyObject *meth_QCoreApplication_quit(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_quit(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QCoreApplication::quit();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_quit, doc_QCoreApplication_quit);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QCoreApplication_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQCoreApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCoreApplication, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_event, doc_QCoreApplication_event);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_setApplicationVersion, "setApplicationVersion(str)");

extern "C" {static PyObject *meth_QCoreApplication_setApplicationVersion(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_setApplicationVersion(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QCoreApplication::setApplicationVersion(*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_QCoreApplication, sipName_setApplicationVersion, doc_QCoreApplication_setApplicationVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_applicationVersion, "applicationVersion() -> str");

extern "C" {static PyObject *meth_QCoreApplication_applicationVersion(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_applicationVersion(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QString*sipRes;

            sipRes = new  ::QString( ::QCoreApplication::applicationVersion());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_applicationVersion, doc_QCoreApplication_applicationVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_applicationPid, "applicationPid() -> int");

extern "C" {static PyObject *meth_QCoreApplication_applicationPid(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_applicationPid(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::qint64 sipRes;

            sipRes =  ::QCoreApplication::applicationPid();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_applicationPid, doc_QCoreApplication_applicationPid);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_eventDispatcher, "eventDispatcher() -> QAbstractEventDispatcher");

extern "C" {static PyObject *meth_QCoreApplication_eventDispatcher(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_eventDispatcher(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QAbstractEventDispatcher*sipRes;

            sipRes =  ::QCoreApplication::eventDispatcher();

            return sipConvertFromType(sipRes,sipType_QAbstractEventDispatcher,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_eventDispatcher, doc_QCoreApplication_eventDispatcher);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_setEventDispatcher, "setEventDispatcher(QAbstractEventDispatcher)");

extern "C" {static PyObject *meth_QCoreApplication_setEventDispatcher(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_setEventDispatcher(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractEventDispatcher* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QAbstractEventDispatcher, &a0))
        {
             ::QCoreApplication::setEventDispatcher(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_setEventDispatcher, doc_QCoreApplication_setEventDispatcher);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_isQuitLockEnabled, "isQuitLockEnabled() -> bool");

extern "C" {static PyObject *meth_QCoreApplication_isQuitLockEnabled(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_isQuitLockEnabled(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes =  ::QCoreApplication::isQuitLockEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_isQuitLockEnabled, doc_QCoreApplication_isQuitLockEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_setQuitLockEnabled, "setQuitLockEnabled(bool)");

extern "C" {static PyObject *meth_QCoreApplication_setQuitLockEnabled(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_setQuitLockEnabled(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "b", &a0))
        {
             ::QCoreApplication::setQuitLockEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_setQuitLockEnabled, doc_QCoreApplication_setQuitLockEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_installNativeEventFilter, "installNativeEventFilter(self, QAbstractNativeEventFilter)");

extern "C" {static PyObject *meth_QCoreApplication_installNativeEventFilter(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_installNativeEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractNativeEventFilter* a0;
         ::QCoreApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCoreApplication, &sipCpp, sipType_QAbstractNativeEventFilter, &a0))
        {
            sipCpp->installNativeEventFilter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_installNativeEventFilter, doc_QCoreApplication_installNativeEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_removeNativeEventFilter, "removeNativeEventFilter(self, QAbstractNativeEventFilter)");

extern "C" {static PyObject *meth_QCoreApplication_removeNativeEventFilter(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_removeNativeEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractNativeEventFilter* a0;
         ::QCoreApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCoreApplication, &sipCpp, sipType_QAbstractNativeEventFilter, &a0))
        {
            sipCpp->removeNativeEventFilter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_removeNativeEventFilter, doc_QCoreApplication_removeNativeEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_setSetuidAllowed, "setSetuidAllowed(bool)");

extern "C" {static PyObject *meth_QCoreApplication_setSetuidAllowed(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_setSetuidAllowed(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "b", &a0))
        {
             ::QCoreApplication::setSetuidAllowed(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_setSetuidAllowed, doc_QCoreApplication_setSetuidAllowed);

    return NULL;
}


PyDoc_STRVAR(doc_QCoreApplication_isSetuidAllowed, "isSetuidAllowed() -> bool");

extern "C" {static PyObject *meth_QCoreApplication_isSetuidAllowed(PyObject *, PyObject *);}
static PyObject *meth_QCoreApplication_isSetuidAllowed(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes =  ::QCoreApplication::isSetuidAllowed();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCoreApplication, sipName_isSetuidAllowed, doc_QCoreApplication_isSetuidAllowed);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QCoreApplication(void *, const sipTypeDef *);}
static void *cast_QCoreApplication(void *sipCppV, const sipTypeDef *targetType)
{
     ::QCoreApplication *sipCpp = reinterpret_cast< ::QCoreApplication *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCoreApplication(void *, int);}
static void release_QCoreApplication(void *sipCppV, int)
{
     ::QCoreApplication *sipCpp = reinterpret_cast< ::QCoreApplication *>(sipCppV);

    Py_BEGIN_ALLOW_THREADS

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QCoreApplication(sipSimpleWrapper *);}
static void dealloc_QCoreApplication(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQCoreApplication *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCoreApplication(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QCoreApplication(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCoreApplication(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQCoreApplication *sipCpp = 0;

    {
        PyObject * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "T", &PyList_Type, &a0))
        {
            int sipIsErr = 0;

#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
        // The Python interface is a list of argument strings that is modified.
        
        int argc;
        char **argv;
        
        // Convert the list.
        if ((argv = pyqt5_from_argv_list(a0, argc)) == NULL)
            sipIsErr = 1;
        else
        {
            // Create it now the arguments are right.
            static int nargc;
            nargc = argc;
        
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQCoreApplication(nargc, argv);
            Py_END_ALLOW_THREADS
        
            // Now modify the original list.
            pyqt5_update_argv_list(a0, argc, argv);
        }
#line 153820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
            {
                if (sipUnused)
                {
                    Py_XDECREF(*sipUnused);
                }

                sipAddException(sipErrorFail, sipParseErr);
                return NULL;
            }

            sipCpp->sipPySelf = sipSelf;

            sipCallHook("__pyQtQAppHook__");

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCoreApplication[] = {{169, 255, 1}};


static PyMethodDef methods_QCoreApplication[] = {
    {SIP_MLNAME_CAST(sipName_addLibraryPath), meth_QCoreApplication_addLibraryPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_addLibraryPath)},
    {SIP_MLNAME_CAST(sipName_applicationDirPath), meth_QCoreApplication_applicationDirPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_applicationDirPath)},
    {SIP_MLNAME_CAST(sipName_applicationFilePath), meth_QCoreApplication_applicationFilePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_applicationFilePath)},
    {SIP_MLNAME_CAST(sipName_applicationName), meth_QCoreApplication_applicationName, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_applicationName)},
    {SIP_MLNAME_CAST(sipName_applicationPid), meth_QCoreApplication_applicationPid, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_applicationPid)},
    {SIP_MLNAME_CAST(sipName_applicationVersion), meth_QCoreApplication_applicationVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_applicationVersion)},
    {SIP_MLNAME_CAST(sipName_arguments), meth_QCoreApplication_arguments, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_arguments)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QCoreApplication_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closingDown), meth_QCoreApplication_closingDown, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_closingDown)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QCoreApplication_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QCoreApplication_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QCoreApplication_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QCoreApplication_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCoreApplication_event)},
    {SIP_MLNAME_CAST(sipName_eventDispatcher), meth_QCoreApplication_eventDispatcher, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_eventDispatcher)},
    {SIP_MLNAME_CAST(sipName_exec), meth_QCoreApplication_exec, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_exec)},
    {SIP_MLNAME_CAST(sipName_exec_), meth_QCoreApplication_exec_, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_exec_)},
    {SIP_MLNAME_CAST(sipName_exit), (PyCFunction)meth_QCoreApplication_exit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCoreApplication_exit)},
    {SIP_MLNAME_CAST(sipName_flush), meth_QCoreApplication_flush, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_flush)},
    {SIP_MLNAME_CAST(sipName_hasPendingEvents), meth_QCoreApplication_hasPendingEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_hasPendingEvents)},
    {SIP_MLNAME_CAST(sipName_installNativeEventFilter), meth_QCoreApplication_installNativeEventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_installNativeEventFilter)},
    {SIP_MLNAME_CAST(sipName_installTranslator), meth_QCoreApplication_installTranslator, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_installTranslator)},
    {SIP_MLNAME_CAST(sipName_instance), meth_QCoreApplication_instance, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_instance)},
    {SIP_MLNAME_CAST(sipName_isQuitLockEnabled), meth_QCoreApplication_isQuitLockEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_isQuitLockEnabled)},
    {SIP_MLNAME_CAST(sipName_isSetuidAllowed), meth_QCoreApplication_isSetuidAllowed, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_isSetuidAllowed)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QCoreApplication_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_libraryPaths), meth_QCoreApplication_libraryPaths, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_libraryPaths)},
    {SIP_MLNAME_CAST(sipName_notify), meth_QCoreApplication_notify, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_notify)},
    {SIP_MLNAME_CAST(sipName_organizationDomain), meth_QCoreApplication_organizationDomain, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_organizationDomain)},
    {SIP_MLNAME_CAST(sipName_organizationName), meth_QCoreApplication_organizationName, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_organizationName)},
    {SIP_MLNAME_CAST(sipName_postEvent), (PyCFunction)meth_QCoreApplication_postEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCoreApplication_postEvent)},
    {SIP_MLNAME_CAST(sipName_processEvents), (PyCFunction)meth_QCoreApplication_processEvents, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCoreApplication_processEvents)},
    {SIP_MLNAME_CAST(sipName_quit), meth_QCoreApplication_quit, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_quit)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QCoreApplication_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeLibraryPath), meth_QCoreApplication_removeLibraryPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_removeLibraryPath)},
    {SIP_MLNAME_CAST(sipName_removeNativeEventFilter), meth_QCoreApplication_removeNativeEventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_removeNativeEventFilter)},
    {SIP_MLNAME_CAST(sipName_removePostedEvents), (PyCFunction)meth_QCoreApplication_removePostedEvents, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCoreApplication_removePostedEvents)},
    {SIP_MLNAME_CAST(sipName_removeTranslator), meth_QCoreApplication_removeTranslator, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_removeTranslator)},
    {SIP_MLNAME_CAST(sipName_sendEvent), meth_QCoreApplication_sendEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_sendEvent)},
    {SIP_MLNAME_CAST(sipName_sendPostedEvents), (PyCFunction)meth_QCoreApplication_sendPostedEvents, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCoreApplication_sendPostedEvents)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QCoreApplication_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QCoreApplication_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setApplicationName), meth_QCoreApplication_setApplicationName, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_setApplicationName)},
    {SIP_MLNAME_CAST(sipName_setApplicationVersion), meth_QCoreApplication_setApplicationVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_setApplicationVersion)},
    {SIP_MLNAME_CAST(sipName_setAttribute), (PyCFunction)meth_QCoreApplication_setAttribute, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCoreApplication_setAttribute)},
    {SIP_MLNAME_CAST(sipName_setEventDispatcher), meth_QCoreApplication_setEventDispatcher, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_setEventDispatcher)},
    {SIP_MLNAME_CAST(sipName_setLibraryPaths), meth_QCoreApplication_setLibraryPaths, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_setLibraryPaths)},
    {SIP_MLNAME_CAST(sipName_setOrganizationDomain), meth_QCoreApplication_setOrganizationDomain, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_setOrganizationDomain)},
    {SIP_MLNAME_CAST(sipName_setOrganizationName), meth_QCoreApplication_setOrganizationName, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_setOrganizationName)},
    {SIP_MLNAME_CAST(sipName_setQuitLockEnabled), meth_QCoreApplication_setQuitLockEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_setQuitLockEnabled)},
    {SIP_MLNAME_CAST(sipName_setSetuidAllowed), meth_QCoreApplication_setSetuidAllowed, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_setSetuidAllowed)},
    {SIP_MLNAME_CAST(sipName_startingUp), meth_QCoreApplication_startingUp, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_startingUp)},
    {SIP_MLNAME_CAST(sipName_testAttribute), meth_QCoreApplication_testAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QCoreApplication_testAttribute)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QCoreApplication_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_translate), (PyCFunction)meth_QCoreApplication_translate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCoreApplication_translate)}
};

PyDoc_STRVAR(doc_QCoreApplication, "\1QCoreApplication(List[str])");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCoreApplication[] = {
    {"aboutToQuit()", "\1aboutToQuit(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QCoreApplication = {
    & ::QCoreApplication::staticMetaObject,
    0,
    signals_QCoreApplication,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QCoreApplication = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCoreApplication,
        {0},
        &plugin_QCoreApplication
    },
    {
        sipNameNr_QCoreApplication,
        {0, 0, 1},
        54, methods_QCoreApplication,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCoreApplication,
    -1,
    -1,
    supers_QCoreApplication,
    0,
    init_type_QCoreApplication,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCoreApplication,
    0,
    0,
    0,
    release_QCoreApplication,
    cast_QCoreApplication,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcommandlineparser.sip"
#include <qcommandlineparser.h>
#line 153976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 153980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 153983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 153986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 153989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 153992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QCommandLineParser_setSingleDashWordOptionMode, "setSingleDashWordOptionMode(self, QCommandLineParser.SingleDashWordOptionMode)");

extern "C" {static PyObject *meth_QCommandLineParser_setSingleDashWordOptionMode(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_setSingleDashWordOptionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineParser::SingleDashWordOptionMode a0;
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QCommandLineParser_SingleDashWordOptionMode, &a0))
        {
            sipCpp->setSingleDashWordOptionMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_setSingleDashWordOptionMode, doc_QCommandLineParser_setSingleDashWordOptionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_addOption, "addOption(self, QCommandLineOption) -> bool");

extern "C" {static PyObject *meth_QCommandLineParser_addOption(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_addOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineOption* a0;
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QCommandLineOption, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->addOption(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_addOption, doc_QCommandLineParser_addOption);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_addVersionOption, "addVersionOption(self) -> QCommandLineOption");

extern "C" {static PyObject *meth_QCommandLineParser_addVersionOption(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_addVersionOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineParser, &sipCpp))
        {
             ::QCommandLineOption*sipRes;

            sipRes = new  ::QCommandLineOption(sipCpp->addVersionOption());

            return sipConvertFromNewType(sipRes,sipType_QCommandLineOption,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_addVersionOption, doc_QCommandLineParser_addVersionOption);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_addHelpOption, "addHelpOption(self) -> QCommandLineOption");

extern "C" {static PyObject *meth_QCommandLineParser_addHelpOption(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_addHelpOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineParser, &sipCpp))
        {
             ::QCommandLineOption*sipRes;

            sipRes = new  ::QCommandLineOption(sipCpp->addHelpOption());

            return sipConvertFromNewType(sipRes,sipType_QCommandLineOption,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_addHelpOption, doc_QCommandLineParser_addHelpOption);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_setApplicationDescription, "setApplicationDescription(self, str)");

extern "C" {static PyObject *meth_QCommandLineParser_setApplicationDescription(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_setApplicationDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setApplicationDescription(*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_QCommandLineParser, sipName_setApplicationDescription, doc_QCommandLineParser_setApplicationDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_applicationDescription, "applicationDescription(self) -> str");

extern "C" {static PyObject *meth_QCommandLineParser_applicationDescription(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_applicationDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineParser, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->applicationDescription());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_applicationDescription, doc_QCommandLineParser_applicationDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_addPositionalArgument, "addPositionalArgument(self, str, str, syntax: str = '')");

extern "C" {static PyObject *meth_QCommandLineParser_addPositionalArgument(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_addPositionalArgument(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;
         ::QCommandLineParser *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_syntax,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J1|J1", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            sipCpp->addPositionalArgument(*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_QCommandLineParser, sipName_addPositionalArgument, doc_QCommandLineParser_addPositionalArgument);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_clearPositionalArguments, "clearPositionalArguments(self)");

extern "C" {static PyObject *meth_QCommandLineParser_clearPositionalArguments(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_clearPositionalArguments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineParser, &sipCpp))
        {
            sipCpp->clearPositionalArguments();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_clearPositionalArguments, doc_QCommandLineParser_clearPositionalArguments);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_process, "process(self, Iterable[str])\n"
    "process(self, QCoreApplication)");

extern "C" {static PyObject *meth_QCommandLineParser_process(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_process(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->process(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QCoreApplication* a0;
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QCoreApplication, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->process(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_process, doc_QCommandLineParser_process);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_parse, "parse(self, Iterable[str]) -> bool");

extern "C" {static PyObject *meth_QCommandLineParser_parse(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->parse(*a0);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_parse, doc_QCommandLineParser_parse);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_errorText, "errorText(self) -> str");

extern "C" {static PyObject *meth_QCommandLineParser_errorText(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_errorText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineParser, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_errorText, doc_QCommandLineParser_errorText);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_isSet, "isSet(self, str) -> bool\n"
    "isSet(self, QCommandLineOption) -> bool");

extern "C" {static PyObject *meth_QCommandLineParser_isSet(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_isSet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->isSet(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QCommandLineOption* a0;
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QCommandLineOption, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isSet(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_isSet, doc_QCommandLineParser_isSet);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_value, "value(self, str) -> str\n"
    "value(self, QCommandLineOption) -> str");

extern "C" {static PyObject *meth_QCommandLineParser_value(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->value(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    {
        const  ::QCommandLineOption* a0;
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QCommandLineOption, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->value(*a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_value, doc_QCommandLineParser_value);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_values, "values(self, str) -> List[str]\n"
    "values(self, QCommandLineOption) -> List[str]");

extern "C" {static PyObject *meth_QCommandLineParser_values(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_values(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->values(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    {
        const  ::QCommandLineOption* a0;
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QCommandLineOption, &a0))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->values(*a0));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_values, doc_QCommandLineParser_values);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_positionalArguments, "positionalArguments(self) -> List[str]");

extern "C" {static PyObject *meth_QCommandLineParser_positionalArguments(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_positionalArguments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineParser, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->positionalArguments());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_positionalArguments, doc_QCommandLineParser_positionalArguments);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_optionNames, "optionNames(self) -> List[str]");

extern "C" {static PyObject *meth_QCommandLineParser_optionNames(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_optionNames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineParser, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->optionNames());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_optionNames, doc_QCommandLineParser_optionNames);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_unknownOptionNames, "unknownOptionNames(self) -> List[str]");

extern "C" {static PyObject *meth_QCommandLineParser_unknownOptionNames(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_unknownOptionNames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineParser, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->unknownOptionNames());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_unknownOptionNames, doc_QCommandLineParser_unknownOptionNames);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_showHelp, "showHelp(self, exitCode: int = 0)");

extern "C" {static PyObject *meth_QCommandLineParser_showHelp(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_showHelp(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
         ::QCommandLineParser *sipCpp;

        static const char *sipKwdList[] = {
            sipName_exitCode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QCommandLineParser, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showHelp(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_showHelp, doc_QCommandLineParser_showHelp);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_helpText, "helpText(self) -> str");

extern "C" {static PyObject *meth_QCommandLineParser_helpText(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_helpText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineParser, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->helpText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_helpText, doc_QCommandLineParser_helpText);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_addOptions, "addOptions(self, object) -> bool");

extern "C" {static PyObject *meth_QCommandLineParser_addOptions(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_addOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList< ::QCommandLineOption>* a0;
        int a0State = 0;
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QList_0100QCommandLineOption,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->addOptions(*a0);
            sipReleaseType(const_cast<QList< ::QCommandLineOption> *>(a0),sipType_QList_0100QCommandLineOption,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_addOptions, doc_QCommandLineParser_addOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_showVersion, "showVersion(self)");

extern "C" {static PyObject *meth_QCommandLineParser_showVersion(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_showVersion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineParser, &sipCpp))
        {
            sipCpp->showVersion();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_showVersion, doc_QCommandLineParser_showVersion);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineParser_setOptionsAfterPositionalArgumentsMode, "setOptionsAfterPositionalArgumentsMode(self, QCommandLineParser.OptionsAfterPositionalArgumentsMode)");

extern "C" {static PyObject *meth_QCommandLineParser_setOptionsAfterPositionalArgumentsMode(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineParser_setOptionsAfterPositionalArgumentsMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineParser::OptionsAfterPositionalArgumentsMode a0;
         ::QCommandLineParser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCommandLineParser, &sipCpp, sipType_QCommandLineParser_OptionsAfterPositionalArgumentsMode, &a0))
        {
            sipCpp->setOptionsAfterPositionalArgumentsMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineParser, sipName_setOptionsAfterPositionalArgumentsMode, doc_QCommandLineParser_setOptionsAfterPositionalArgumentsMode);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCommandLineParser(void *, int);}
static void release_QCommandLineParser(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCommandLineParser *>(sipCppV);
}


extern "C" {static void dealloc_QCommandLineParser(sipSimpleWrapper *);}
static void dealloc_QCommandLineParser(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCommandLineParser(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCommandLineParser(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCommandLineParser(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCommandLineParser *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QCommandLineParser();

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QCommandLineParser[] = {
    {SIP_MLNAME_CAST(sipName_addHelpOption), meth_QCommandLineParser_addHelpOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_addHelpOption)},
    {SIP_MLNAME_CAST(sipName_addOption), meth_QCommandLineParser_addOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_addOption)},
    {SIP_MLNAME_CAST(sipName_addOptions), meth_QCommandLineParser_addOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_addOptions)},
    {SIP_MLNAME_CAST(sipName_addPositionalArgument), (PyCFunction)meth_QCommandLineParser_addPositionalArgument, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommandLineParser_addPositionalArgument)},
    {SIP_MLNAME_CAST(sipName_addVersionOption), meth_QCommandLineParser_addVersionOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_addVersionOption)},
    {SIP_MLNAME_CAST(sipName_applicationDescription), meth_QCommandLineParser_applicationDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_applicationDescription)},
    {SIP_MLNAME_CAST(sipName_clearPositionalArguments), meth_QCommandLineParser_clearPositionalArguments, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_clearPositionalArguments)},
    {SIP_MLNAME_CAST(sipName_errorText), meth_QCommandLineParser_errorText, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_errorText)},
    {SIP_MLNAME_CAST(sipName_helpText), meth_QCommandLineParser_helpText, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_helpText)},
    {SIP_MLNAME_CAST(sipName_isSet), meth_QCommandLineParser_isSet, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_isSet)},
    {SIP_MLNAME_CAST(sipName_optionNames), meth_QCommandLineParser_optionNames, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_optionNames)},
    {SIP_MLNAME_CAST(sipName_parse), meth_QCommandLineParser_parse, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_parse)},
    {SIP_MLNAME_CAST(sipName_positionalArguments), meth_QCommandLineParser_positionalArguments, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_positionalArguments)},
    {SIP_MLNAME_CAST(sipName_process), meth_QCommandLineParser_process, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_process)},
    {SIP_MLNAME_CAST(sipName_setApplicationDescription), meth_QCommandLineParser_setApplicationDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_setApplicationDescription)},
    {SIP_MLNAME_CAST(sipName_setOptionsAfterPositionalArgumentsMode), meth_QCommandLineParser_setOptionsAfterPositionalArgumentsMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_setOptionsAfterPositionalArgumentsMode)},
    {SIP_MLNAME_CAST(sipName_setSingleDashWordOptionMode), meth_QCommandLineParser_setSingleDashWordOptionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_setSingleDashWordOptionMode)},
    {SIP_MLNAME_CAST(sipName_showHelp), (PyCFunction)meth_QCommandLineParser_showHelp, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommandLineParser_showHelp)},
    {SIP_MLNAME_CAST(sipName_showVersion), meth_QCommandLineParser_showVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_showVersion)},
    {SIP_MLNAME_CAST(sipName_unknownOptionNames), meth_QCommandLineParser_unknownOptionNames, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_unknownOptionNames)},
    {SIP_MLNAME_CAST(sipName_value), meth_QCommandLineParser_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_value)},
    {SIP_MLNAME_CAST(sipName_values), meth_QCommandLineParser_values, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineParser_values)}
};

static sipEnumMemberDef enummembers_QCommandLineParser[] = {
    {sipName_ParseAsCompactedShortOptions, static_cast<int>( ::QCommandLineParser::ParseAsCompactedShortOptions), 32},
    {sipName_ParseAsLongOptions, static_cast<int>( ::QCommandLineParser::ParseAsLongOptions), 32},
    {sipName_ParseAsOptions, static_cast<int>( ::QCommandLineParser::ParseAsOptions), 31},
    {sipName_ParseAsPositionalArguments, static_cast<int>( ::QCommandLineParser::ParseAsPositionalArguments), 31},
};

PyDoc_STRVAR(doc_QCommandLineParser, "\1QCommandLineParser()");


static pyqt5ClassPluginDef plugin_QCommandLineParser = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QCommandLineParser = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCommandLineParser,
        {0},
        &plugin_QCommandLineParser
    },
    {
        sipNameNr_QCommandLineParser,
        {0, 0, 1},
        22, methods_QCommandLineParser,
        4, enummembers_QCommandLineParser,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCommandLineParser,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QCommandLineParser,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCommandLineParser,
    0,
    0,
    0,
    release_QCommandLineParser,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 154848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 154852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QCommandLineOption_Flags___hash__(PyObject *);}
static long slot_QCommandLineOption_Flags___hash__(PyObject *sipSelf)
{
     ::QCommandLineOption::Flags *sipCpp = reinterpret_cast< ::QCommandLineOption::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCommandLineOption_Flags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QCommandLineOption::Flags::Int();
#line 154870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QCommandLineOption_Flags___bool__(PyObject *);}
static int slot_QCommandLineOption_Flags___bool__(PyObject *sipSelf)
{
     ::QCommandLineOption::Flags *sipCpp = reinterpret_cast< ::QCommandLineOption::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCommandLineOption_Flags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCommandLineOption::Flags::Int() != 0);
#line 154895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCommandLineOption_Flags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QCommandLineOption_Flags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCommandLineOption::Flags *sipCpp = reinterpret_cast< ::QCommandLineOption::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCommandLineOption_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineOption::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCommandLineOption_Flags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCommandLineOption::Flags::Int() != a0->operator QCommandLineOption::Flags::Int());
#line 154925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QCommandLineOption::Flags *>(a0),sipType_QCommandLineOption_Flags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QCommandLineOption_Flags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCommandLineOption_Flags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QCommandLineOption_Flags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCommandLineOption::Flags *sipCpp = reinterpret_cast< ::QCommandLineOption::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCommandLineOption_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineOption::Flags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QCommandLineOption_Flags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QCommandLineOption::Flags::Int() == a0->operator QCommandLineOption::Flags::Int());
#line 154961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QCommandLineOption::Flags *>(a0),sipType_QCommandLineOption_Flags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QCommandLineOption_Flags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCommandLineOption_Flags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QCommandLineOption_Flags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCommandLineOption_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCommandLineOption::Flags *sipCpp = reinterpret_cast< ::QCommandLineOption::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCommandLineOption_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QCommandLineOption::Flags(*sipCpp ^ a0);
#line 155000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCommandLineOption_Flags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QCommandLineOption_Flags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineOption::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCommandLineOption_Flags, &a0, &a0State, &a1))
        {
             ::QCommandLineOption::Flags*sipRes;

            sipRes = new  ::QCommandLineOption::Flags((*a0 ^ a1));
            sipReleaseType(a0,sipType_QCommandLineOption_Flags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCommandLineOption_Flags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCommandLineOption_Flags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QCommandLineOption_Flags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCommandLineOption_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCommandLineOption::Flags *sipCpp = reinterpret_cast< ::QCommandLineOption::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCommandLineOption_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QCommandLineOption::Flags(*sipCpp | a0);
#line 155072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCommandLineOption_Flags___or__(PyObject *,PyObject *);}
static PyObject *slot_QCommandLineOption_Flags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineOption::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCommandLineOption_Flags, &a0, &a0State, &a1))
        {
             ::QCommandLineOption::Flags*sipRes;

            sipRes = new  ::QCommandLineOption::Flags((*a0 | a1));
            sipReleaseType(a0,sipType_QCommandLineOption_Flags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCommandLineOption_Flags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCommandLineOption_Flags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QCommandLineOption_Flags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QCommandLineOption_Flags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QCommandLineOption::Flags *sipCpp = reinterpret_cast< ::QCommandLineOption::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCommandLineOption_Flags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QCommandLineOption::Flags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QCommandLineOption_Flags___and__(PyObject *,PyObject *);}
static PyObject *slot_QCommandLineOption_Flags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineOption::Flags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QCommandLineOption_Flags, &a0, &a0State, &a1))
        {
             ::QCommandLineOption::Flags*sipRes;

            sipRes = new  ::QCommandLineOption::Flags((*a0 & a1));
            sipReleaseType(a0,sipType_QCommandLineOption_Flags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCommandLineOption_Flags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QCommandLineOption_Flags___invert__(PyObject *);}
static PyObject *slot_QCommandLineOption_Flags___invert__(PyObject *sipSelf)
{
     ::QCommandLineOption::Flags *sipCpp = reinterpret_cast< ::QCommandLineOption::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCommandLineOption_Flags));

    if (!sipCpp)
        return 0;


    {
        {
             ::QCommandLineOption::Flags*sipRes;

            sipRes = new  ::QCommandLineOption::Flags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QCommandLineOption_Flags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QCommandLineOption_Flags___int__(PyObject *);}
static PyObject *slot_QCommandLineOption_Flags___int__(PyObject *sipSelf)
{
     ::QCommandLineOption::Flags *sipCpp = reinterpret_cast< ::QCommandLineOption::Flags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCommandLineOption_Flags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCommandLineOption_Flags(void *, int);}
static void release_QCommandLineOption_Flags(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCommandLineOption::Flags *>(sipCppV);
}


extern "C" {static void assign_QCommandLineOption_Flags(void *, SIP_SSIZE_T, const void *);}
static void assign_QCommandLineOption_Flags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QCommandLineOption::Flags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QCommandLineOption::Flags *>(sipSrc);
}


extern "C" {static void *array_QCommandLineOption_Flags(SIP_SSIZE_T);}
static void *array_QCommandLineOption_Flags(SIP_SSIZE_T sipNrElem)
{
    return new  ::QCommandLineOption::Flags[sipNrElem];
}


extern "C" {static void *copy_QCommandLineOption_Flags(const void *, SIP_SSIZE_T);}
static void *copy_QCommandLineOption_Flags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QCommandLineOption::Flags(reinterpret_cast<const  ::QCommandLineOption::Flags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QCommandLineOption_Flags(sipSimpleWrapper *);}
static void dealloc_QCommandLineOption_Flags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCommandLineOption_Flags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCommandLineOption_Flags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCommandLineOption_Flags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCommandLineOption::Flags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QCommandLineOption::Flags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QCommandLineOption::Flags(a0);

            return sipCpp;
        }
    }

    {
        const  ::QCommandLineOption::Flags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QCommandLineOption_Flags, &a0, &a0State))
        {
            sipCpp = new  ::QCommandLineOption::Flags(*a0);
            sipReleaseType(const_cast< ::QCommandLineOption::Flags *>(a0),sipType_QCommandLineOption_Flags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QCommandLineOption_Flags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QCommandLineOption_Flags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QCommandLineOption::Flags **sipCppPtr = reinterpret_cast< ::QCommandLineOption::Flags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QCommandLineOption::Flags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCommandLineOption_Flag)) ||
            sipCanConvertToType(sipPy, sipType_QCommandLineOption_Flags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QCommandLineOption_Flag)))
{
    *sipCppPtr = new QCommandLineOption::Flags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QCommandLineOption::Flags *>(sipConvertToType(sipPy, sipType_QCommandLineOption_Flags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 155340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCommandLineOption_Flags[] = {
    {(void *)slot_QCommandLineOption_Flags___hash__, hash_slot},
    {(void *)slot_QCommandLineOption_Flags___bool__, bool_slot},
    {(void *)slot_QCommandLineOption_Flags___ne__, ne_slot},
    {(void *)slot_QCommandLineOption_Flags___eq__, eq_slot},
    {(void *)slot_QCommandLineOption_Flags___ixor__, ixor_slot},
    {(void *)slot_QCommandLineOption_Flags___xor__, xor_slot},
    {(void *)slot_QCommandLineOption_Flags___ior__, ior_slot},
    {(void *)slot_QCommandLineOption_Flags___or__, or_slot},
    {(void *)slot_QCommandLineOption_Flags___iand__, iand_slot},
    {(void *)slot_QCommandLineOption_Flags___and__, and_slot},
    {(void *)slot_QCommandLineOption_Flags___invert__, invert_slot},
    {(void *)slot_QCommandLineOption_Flags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QCommandLineOption_Flags, "\1QCommandLineOption.Flags()\n"
    "QCommandLineOption.Flags(Union[QCommandLineOption.Flags, QCommandLineOption.Flag])\n"
    "QCommandLineOption.Flags(QCommandLineOption.Flags)");


static pyqt5ClassPluginDef plugin_QCommandLineOption_Flags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QCommandLineOption_Flags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCommandLineOption__Flags,
        {0},
        &plugin_QCommandLineOption_Flags
    },
    {
        sipNameNr_Flags,
        {27, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCommandLineOption_Flags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCommandLineOption_Flags,
    init_type_QCommandLineOption_Flags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCommandLineOption_Flags,
    assign_QCommandLineOption_Flags,
    array_QCommandLineOption_Flags,
    copy_QCommandLineOption_Flags,
    release_QCommandLineOption_Flags,
    0,
    convertTo_QCommandLineOption_Flags,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 155426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 155430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 155433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcommandlineoption.sip"
#include <qcommandlineoption.h>
#line 155436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QCommandLineOption_swap, "swap(self, QCommandLineOption)");

extern "C" {static PyObject *meth_QCommandLineOption_swap(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineOption* a0;
         ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCommandLineOption, &sipCpp, sipType_QCommandLineOption, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineOption, sipName_swap, doc_QCommandLineOption_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_names, "names(self) -> List[str]");

extern "C" {static PyObject *meth_QCommandLineOption_names(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_names(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineOption, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->names());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineOption, sipName_names, doc_QCommandLineOption_names);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_setValueName, "setValueName(self, str)");

extern "C" {static PyObject *meth_QCommandLineOption_setValueName(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_setValueName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineOption, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setValueName(*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_QCommandLineOption, sipName_setValueName, doc_QCommandLineOption_setValueName);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_valueName, "valueName(self) -> str");

extern "C" {static PyObject *meth_QCommandLineOption_valueName(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_valueName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineOption, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->valueName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineOption, sipName_valueName, doc_QCommandLineOption_valueName);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_setDescription, "setDescription(self, str)");

extern "C" {static PyObject *meth_QCommandLineOption_setDescription(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_setDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineOption, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDescription(*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_QCommandLineOption, sipName_setDescription, doc_QCommandLineOption_setDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_description, "description(self) -> str");

extern "C" {static PyObject *meth_QCommandLineOption_description(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineOption, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->description());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineOption, sipName_description, doc_QCommandLineOption_description);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_setDefaultValue, "setDefaultValue(self, str)");

extern "C" {static PyObject *meth_QCommandLineOption_setDefaultValue(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_setDefaultValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineOption, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDefaultValue(*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_QCommandLineOption, sipName_setDefaultValue, doc_QCommandLineOption_setDefaultValue);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_setDefaultValues, "setDefaultValues(self, Iterable[str])");

extern "C" {static PyObject *meth_QCommandLineOption_setDefaultValues(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_setDefaultValues(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineOption, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setDefaultValues(*a0);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineOption, sipName_setDefaultValues, doc_QCommandLineOption_setDefaultValues);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_defaultValues, "defaultValues(self) -> List[str]");

extern "C" {static PyObject *meth_QCommandLineOption_defaultValues(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_defaultValues(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineOption, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->defaultValues());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineOption, sipName_defaultValues, doc_QCommandLineOption_defaultValues);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_setHidden, "setHidden(self, bool)");

extern "C" {static PyObject *meth_QCommandLineOption_setHidden(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_setHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QCommandLineOption, &sipCpp, &a0))
        {
            sipCpp->setHidden(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineOption, sipName_setHidden, doc_QCommandLineOption_setHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_isHidden, "isHidden(self) -> bool");

extern "C" {static PyObject *meth_QCommandLineOption_isHidden(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_isHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineOption, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isHidden();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineOption, sipName_isHidden, doc_QCommandLineOption_isHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_flags, "flags(self) -> QCommandLineOption.Flags");

extern "C" {static PyObject *meth_QCommandLineOption_flags(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLineOption, &sipCpp))
        {
             ::QCommandLineOption::Flags*sipRes;

            sipRes = new  ::QCommandLineOption::Flags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_QCommandLineOption_Flags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineOption, sipName_flags, doc_QCommandLineOption_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLineOption_setFlags, "setFlags(self, Union[QCommandLineOption.Flags, QCommandLineOption.Flag])");

extern "C" {static PyObject *meth_QCommandLineOption_setFlags(PyObject *, PyObject *);}
static PyObject *meth_QCommandLineOption_setFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCommandLineOption::Flags* a0;
        int a0State = 0;
         ::QCommandLineOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLineOption, &sipCpp, sipType_QCommandLineOption_Flags, &a0, &a0State))
        {
            sipCpp->setFlags(*a0);
            sipReleaseType(a0,sipType_QCommandLineOption_Flags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLineOption, sipName_setFlags, doc_QCommandLineOption_setFlags);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCommandLineOption(void *, int);}
static void release_QCommandLineOption(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCommandLineOption *>(sipCppV);
}


extern "C" {static void dealloc_QCommandLineOption(sipSimpleWrapper *);}
static void dealloc_QCommandLineOption(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCommandLineOption(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCommandLineOption(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCommandLineOption(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCommandLineOption *sipCpp = 0;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            sipCpp = new  ::QCommandLineOption(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QStringList* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStringList,&a0, &a0State))
        {
            sipCpp = new  ::QCommandLineOption(*a0);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_valueName,
            sipName_defaultValue,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1|J1J1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            sipCpp = new  ::QCommandLineOption(*a0,*a1,*a2,*a3);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            return sipCpp;
        }
    }

    {
        const  ::QStringList* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
        const  ::QString& a3def = QString();
        const  ::QString* a3 = &a3def;
        int a3State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_valueName,
            sipName_defaultValue,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1|J1J1", sipType_QStringList,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            sipCpp = new  ::QCommandLineOption(*a0,*a1,*a2,*a3);
            sipReleaseType(const_cast< ::QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast< ::QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast< ::QString *>(a3),sipType_QString,a3State);

            return sipCpp;
        }
    }

    {
        const  ::QCommandLineOption* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QCommandLineOption, &a0))
        {
            sipCpp = new  ::QCommandLineOption(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QCommandLineOption[] = {
    {SIP_MLNAME_CAST(sipName_defaultValues), meth_QCommandLineOption_defaultValues, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_defaultValues)},
    {SIP_MLNAME_CAST(sipName_description), meth_QCommandLineOption_description, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_description)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QCommandLineOption_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_flags)},
    {SIP_MLNAME_CAST(sipName_isHidden), meth_QCommandLineOption_isHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_isHidden)},
    {SIP_MLNAME_CAST(sipName_names), meth_QCommandLineOption_names, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_names)},
    {SIP_MLNAME_CAST(sipName_setDefaultValue), meth_QCommandLineOption_setDefaultValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_setDefaultValue)},
    {SIP_MLNAME_CAST(sipName_setDefaultValues), meth_QCommandLineOption_setDefaultValues, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_setDefaultValues)},
    {SIP_MLNAME_CAST(sipName_setDescription), meth_QCommandLineOption_setDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_setDescription)},
    {SIP_MLNAME_CAST(sipName_setFlags), meth_QCommandLineOption_setFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_setFlags)},
    {SIP_MLNAME_CAST(sipName_setHidden), meth_QCommandLineOption_setHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_setHidden)},
    {SIP_MLNAME_CAST(sipName_setValueName), meth_QCommandLineOption_setValueName, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_setValueName)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QCommandLineOption_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_swap)},
    {SIP_MLNAME_CAST(sipName_valueName), meth_QCommandLineOption_valueName, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLineOption_valueName)}
};

static sipEnumMemberDef enummembers_QCommandLineOption[] = {
    {sipName_HiddenFromHelp, static_cast<int>( ::QCommandLineOption::HiddenFromHelp), 28},
    {sipName_ShortOptionStyle, static_cast<int>( ::QCommandLineOption::ShortOptionStyle), 28},
};

PyDoc_STRVAR(doc_QCommandLineOption, "\1QCommandLineOption(str)\n"
    "QCommandLineOption(Iterable[str])\n"
    "QCommandLineOption(str, str, valueName: str = '', defaultValue: str = '')\n"
    "QCommandLineOption(Iterable[str], str, valueName: str = '', defaultValue: str = '')\n"
    "QCommandLineOption(QCommandLineOption)");


static pyqt5ClassPluginDef plugin_QCommandLineOption = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QCommandLineOption = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCommandLineOption,
        {0},
        &plugin_QCommandLineOption
    },
    {
        sipNameNr_QCommandLineOption,
        {0, 0, 1},
        13, methods_QCommandLineOption,
        2, enummembers_QCommandLineOption,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCommandLineOption,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QCommandLineOption,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCommandLineOption,
    0,
    0,
    0,
    release_QCommandLineOption,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcollator.sip"
#include <qcollator.h>
#line 156027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 156031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcollator.sip"
#include <qcollator.h>
#line 156034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 156037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QCollator_swap, "swap(self, QCollator)");

extern "C" {static PyObject *meth_QCollator_swap(PyObject *, PyObject *);}
static PyObject *meth_QCollator_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCollator* a0;
         ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCollator, &sipCpp, sipType_QCollator, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_swap, doc_QCollator_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QCollator_setLocale, "setLocale(self, QLocale)");

extern "C" {static PyObject *meth_QCollator_setLocale(PyObject *, PyObject *);}
static PyObject *meth_QCollator_setLocale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QLocale* a0;
         ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCollator, &sipCpp, sipType_QLocale, &a0))
        {
            sipCpp->setLocale(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_setLocale, doc_QCollator_setLocale);

    return NULL;
}


PyDoc_STRVAR(doc_QCollator_locale, "locale(self) -> QLocale");

extern "C" {static PyObject *meth_QCollator_locale(PyObject *, PyObject *);}
static PyObject *meth_QCollator_locale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCollator, &sipCpp))
        {
             ::QLocale*sipRes;

            sipRes = new  ::QLocale(sipCpp->locale());

            return sipConvertFromNewType(sipRes,sipType_QLocale,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_locale, doc_QCollator_locale);

    return NULL;
}


PyDoc_STRVAR(doc_QCollator_caseSensitivity, "caseSensitivity(self) -> Qt.CaseSensitivity");

extern "C" {static PyObject *meth_QCollator_caseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QCollator_caseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCollator, &sipCpp))
        {
             ::Qt::CaseSensitivity sipRes;

            sipRes = sipCpp->caseSensitivity();

            return sipConvertFromEnum(sipRes,sipType_Qt_CaseSensitivity);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_caseSensitivity, doc_QCollator_caseSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QCollator_setCaseSensitivity, "setCaseSensitivity(self, Qt.CaseSensitivity)");

extern "C" {static PyObject *meth_QCollator_setCaseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QCollator_setCaseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::CaseSensitivity a0;
         ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCollator, &sipCpp, sipType_Qt_CaseSensitivity, &a0))
        {
            sipCpp->setCaseSensitivity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_setCaseSensitivity, doc_QCollator_setCaseSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QCollator_setNumericMode, "setNumericMode(self, bool)");

extern "C" {static PyObject *meth_QCollator_setNumericMode(PyObject *, PyObject *);}
static PyObject *meth_QCollator_setNumericMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QCollator, &sipCpp, &a0))
        {
            sipCpp->setNumericMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_setNumericMode, doc_QCollator_setNumericMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCollator_numericMode, "numericMode(self) -> bool");

extern "C" {static PyObject *meth_QCollator_numericMode(PyObject *, PyObject *);}
static PyObject *meth_QCollator_numericMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCollator, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->numericMode();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_numericMode, doc_QCollator_numericMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCollator_setIgnorePunctuation, "setIgnorePunctuation(self, bool)");

extern "C" {static PyObject *meth_QCollator_setIgnorePunctuation(PyObject *, PyObject *);}
static PyObject *meth_QCollator_setIgnorePunctuation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QCollator, &sipCpp, &a0))
        {
            sipCpp->setIgnorePunctuation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_setIgnorePunctuation, doc_QCollator_setIgnorePunctuation);

    return NULL;
}


PyDoc_STRVAR(doc_QCollator_ignorePunctuation, "ignorePunctuation(self) -> bool");

extern "C" {static PyObject *meth_QCollator_ignorePunctuation(PyObject *, PyObject *);}
static PyObject *meth_QCollator_ignorePunctuation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCollator, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->ignorePunctuation();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_ignorePunctuation, doc_QCollator_ignorePunctuation);

    return NULL;
}


PyDoc_STRVAR(doc_QCollator_compare, "compare(self, str, str) -> int");

extern "C" {static PyObject *meth_QCollator_compare(PyObject *, PyObject *);}
static PyObject *meth_QCollator_compare(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
        const  ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QCollator, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            int sipRes;

            sipRes = sipCpp->compare(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_compare, doc_QCollator_compare);

    return NULL;
}


PyDoc_STRVAR(doc_QCollator_sortKey, "sortKey(self, str) -> QCollatorSortKey");

extern "C" {static PyObject *meth_QCollator_sortKey(PyObject *, PyObject *);}
static PyObject *meth_QCollator_sortKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QCollator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCollator, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QCollatorSortKey*sipRes;

            sipRes = new  ::QCollatorSortKey(sipCpp->sortKey(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QCollatorSortKey,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollator, sipName_sortKey, doc_QCollator_sortKey);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCollator(void *, int);}
static void release_QCollator(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCollator *>(sipCppV);
}


extern "C" {static void assign_QCollator(void *, SIP_SSIZE_T, const void *);}
static void assign_QCollator(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QCollator *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QCollator *>(sipSrc);
}


extern "C" {static void *array_QCollator(SIP_SSIZE_T);}
static void *array_QCollator(SIP_SSIZE_T sipNrElem)
{
    return new  ::QCollator[sipNrElem];
}


extern "C" {static void *copy_QCollator(const void *, SIP_SSIZE_T);}
static void *copy_QCollator(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QCollator(reinterpret_cast<const  ::QCollator *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QCollator(sipSimpleWrapper *);}
static void dealloc_QCollator(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCollator(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCollator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCollator(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCollator *sipCpp = 0;

    {
        const  ::QLocale& a0def = QLocale();
        const  ::QLocale* a0 = &a0def;

        static const char *sipKwdList[] = {
            sipName_locale,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J9", sipType_QLocale, &a0))
        {
            sipCpp = new  ::QCollator(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QCollator* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QCollator, &a0))
        {
            sipCpp = new  ::QCollator(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QCollator[] = {
    {SIP_MLNAME_CAST(sipName_caseSensitivity), meth_QCollator_caseSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_caseSensitivity)},
    {SIP_MLNAME_CAST(sipName_compare), meth_QCollator_compare, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_compare)},
    {SIP_MLNAME_CAST(sipName_ignorePunctuation), meth_QCollator_ignorePunctuation, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_ignorePunctuation)},
    {SIP_MLNAME_CAST(sipName_locale), meth_QCollator_locale, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_locale)},
    {SIP_MLNAME_CAST(sipName_numericMode), meth_QCollator_numericMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_numericMode)},
    {SIP_MLNAME_CAST(sipName_setCaseSensitivity), meth_QCollator_setCaseSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_setCaseSensitivity)},
    {SIP_MLNAME_CAST(sipName_setIgnorePunctuation), meth_QCollator_setIgnorePunctuation, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_setIgnorePunctuation)},
    {SIP_MLNAME_CAST(sipName_setLocale), meth_QCollator_setLocale, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_setLocale)},
    {SIP_MLNAME_CAST(sipName_setNumericMode), meth_QCollator_setNumericMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_setNumericMode)},
    {SIP_MLNAME_CAST(sipName_sortKey), meth_QCollator_sortKey, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_sortKey)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QCollator_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollator_swap)}
};

PyDoc_STRVAR(doc_QCollator, "\1QCollator(locale: QLocale = QLocale())\n"
    "QCollator(QCollator)");


static pyqt5ClassPluginDef plugin_QCollator = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QCollator = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCollator,
        {0},
        &plugin_QCollator
    },
    {
        sipNameNr_QCollator,
        {0, 0, 1},
        11, methods_QCollator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCollator,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QCollator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCollator,
    assign_QCollator,
    array_QCollator,
    copy_QCollator,
    release_QCollator,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcollator.sip"
#include <qcollator.h>
#line 156513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



PyDoc_STRVAR(doc_QCollatorSortKey_swap, "swap(self, QCollatorSortKey)");

extern "C" {static PyObject *meth_QCollatorSortKey_swap(PyObject *, PyObject *);}
static PyObject *meth_QCollatorSortKey_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QCollatorSortKey* a0;
         ::QCollatorSortKey *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCollatorSortKey, &sipCpp, sipType_QCollatorSortKey, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollatorSortKey, sipName_swap, doc_QCollatorSortKey_swap);

    return NULL;
}


PyDoc_STRVAR(doc_QCollatorSortKey_compare, "compare(self, QCollatorSortKey) -> int");

extern "C" {static PyObject *meth_QCollatorSortKey_compare(PyObject *, PyObject *);}
static PyObject *meth_QCollatorSortKey_compare(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QCollatorSortKey* a0;
        const  ::QCollatorSortKey *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCollatorSortKey, &sipCpp, sipType_QCollatorSortKey, &a0))
        {
            int sipRes;

            sipRes = sipCpp->compare(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCollatorSortKey, sipName_compare, doc_QCollatorSortKey_compare);

    return NULL;
}


extern "C" {static PyObject *slot_QCollatorSortKey___ge__(PyObject *,PyObject *);}
static PyObject *slot_QCollatorSortKey___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCollatorSortKey *sipCpp = reinterpret_cast< ::QCollatorSortKey *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCollatorSortKey));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCollatorSortKey* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QCollatorSortKey, &a0))
        {
            bool sipRes;

            sipRes = !operator<((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QCollatorSortKey, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QCollatorSortKey___lt__(PyObject *,PyObject *);}
static PyObject *slot_QCollatorSortKey___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QCollatorSortKey *sipCpp = reinterpret_cast< ::QCollatorSortKey *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QCollatorSortKey));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QCollatorSortKey* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QCollatorSortKey, &a0))
        {
            bool sipRes;

            sipRes = operator<((*sipCpp), *a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QCollatorSortKey, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QCollatorSortKey(void *, int);}
static void release_QCollatorSortKey(void *sipCppV, int)
{
    delete reinterpret_cast< ::QCollatorSortKey *>(sipCppV);
}


extern "C" {static void dealloc_QCollatorSortKey(sipSimpleWrapper *);}
static void dealloc_QCollatorSortKey(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QCollatorSortKey(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QCollatorSortKey(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCollatorSortKey(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QCollatorSortKey *sipCpp = 0;

    {
        const  ::QCollatorSortKey* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QCollatorSortKey, &a0))
        {
            sipCpp = new  ::QCollatorSortKey(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QCollatorSortKey[] = {
    {(void *)slot_QCollatorSortKey___ge__, ge_slot},
    {(void *)slot_QCollatorSortKey___lt__, lt_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QCollatorSortKey[] = {
    {SIP_MLNAME_CAST(sipName_compare), meth_QCollatorSortKey_compare, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollatorSortKey_compare)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QCollatorSortKey_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QCollatorSortKey_swap)}
};

PyDoc_STRVAR(doc_QCollatorSortKey, "\1QCollatorSortKey(QCollatorSortKey)");


static pyqt5ClassPluginDef plugin_QCollatorSortKey = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QCollatorSortKey = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QCollatorSortKey,
        {0},
        &plugin_QCollatorSortKey
    },
    {
        sipNameNr_QCollatorSortKey,
        {0, 0, 1},
        2, methods_QCollatorSortKey,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCollatorSortKey,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QCollatorSortKey,
    init_type_QCollatorSortKey,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCollatorSortKey,
    0,
    0,
    0,
    release_QCollatorSortKey,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 156752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_QChar(void *, SIP_SSIZE_T, const void *);}
static void assign_QChar(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QChar *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QChar *>(sipSrc);
}


extern "C" {static void *array_QChar(SIP_SSIZE_T);}
static void *array_QChar(SIP_SSIZE_T sipNrElem)
{
    return new  ::QChar[sipNrElem];
}


extern "C" {static void *copy_QChar(const void *, SIP_SSIZE_T);}
static void *copy_QChar(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QChar(reinterpret_cast<const  ::QChar *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QChar(void *, int);}
static void release_QChar(void *ptr, int)
{
    delete reinterpret_cast< ::QChar *>(ptr);
}



extern "C" {static int convertTo_QChar(PyObject *, void **, int *, PyObject *);}
static int convertTo_QChar(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QChar **sipCppPtr = reinterpret_cast< ::QChar **>(sipCppPtrV);

#line 31 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qchar.sip"
if (sipIsErr == NULL)
#if PY_MAJOR_VERSION < 3
    return (PyString_Check(sipPy) || PyUnicode_Check(sipPy));
#else
    return PyUnicode_Check(sipPy);
#endif

#if PY_MAJOR_VERSION < 3
if (PyString_Check(sipPy))
{
    if (PyString_Size(sipPy) != 1)
    {
        PyErr_SetString(PyExc_ValueError, "string of length 1 expected");
        *sipIsErr = 1;
        return 0;
    }

    *sipCppPtr = new QChar(*PyString_AsString(sipPy));

    return sipGetState(sipTransferObj);
}
#endif

QString qs = qpycore_PyObject_AsQString(sipPy);

if (qs.size() != 1)
{
    PyErr_SetString(PyExc_ValueError, "string of length 1 expected");
    *sipIsErr = 1;
    return 0;
}

*sipCppPtr = new QChar(qs.at(0));

return sipGetState(sipTransferObj);
#line 156827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_QChar(void *, PyObject *);}
static PyObject *convertFrom_QChar(void *sipCppV, PyObject *)
{
    ::QChar *sipCpp = reinterpret_cast< ::QChar *>(sipCppV);

#line 69 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qchar.sip"
    return qpycore_PyObject_FromQString(QString(*sipCpp));
#line 156838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_QChar = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_QChar,     /* QChar */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QChar,
    array_QChar,
    copy_QChar,
    release_QChar,
    convertTo_QChar,
    convertFrom_QChar
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearraymatcher.sip"
#include <qbytearraymatcher.h>
#line 156870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 156874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QByteArrayMatcher_setPattern, "setPattern(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QByteArrayMatcher_setPattern(PyObject *, PyObject *);}
static PyObject *meth_QByteArrayMatcher_setPattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QByteArrayMatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArrayMatcher, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->setPattern(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArrayMatcher, sipName_setPattern, doc_QByteArrayMatcher_setPattern);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArrayMatcher_indexIn, "indexIn(self, Union[QByteArray, bytes, bytearray], from_: int = 0) -> int");

extern "C" {static PyObject *meth_QByteArrayMatcher_indexIn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArrayMatcher_indexIn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        int a1 = 0;
        const  ::QByteArrayMatcher *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_from,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QByteArrayMatcher, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            int sipRes;

            sipRes = sipCpp->indexIn(*a0,a1);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArrayMatcher, sipName_indexIn, doc_QByteArrayMatcher_indexIn);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArrayMatcher_pattern, "pattern(self) -> QByteArray");

extern "C" {static PyObject *meth_QByteArrayMatcher_pattern(PyObject *, PyObject *);}
static PyObject *meth_QByteArrayMatcher_pattern(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArrayMatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArrayMatcher, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->pattern());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArrayMatcher, sipName_pattern, doc_QByteArrayMatcher_pattern);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QByteArrayMatcher(void *, int);}
static void release_QByteArrayMatcher(void *sipCppV, int)
{
    delete reinterpret_cast< ::QByteArrayMatcher *>(sipCppV);
}


extern "C" {static void assign_QByteArrayMatcher(void *, SIP_SSIZE_T, const void *);}
static void assign_QByteArrayMatcher(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QByteArrayMatcher *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QByteArrayMatcher *>(sipSrc);
}


extern "C" {static void *array_QByteArrayMatcher(SIP_SSIZE_T);}
static void *array_QByteArrayMatcher(SIP_SSIZE_T sipNrElem)
{
    return new  ::QByteArrayMatcher[sipNrElem];
}


extern "C" {static void *copy_QByteArrayMatcher(const void *, SIP_SSIZE_T);}
static void *copy_QByteArrayMatcher(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QByteArrayMatcher(reinterpret_cast<const  ::QByteArrayMatcher *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QByteArrayMatcher(sipSimpleWrapper *);}
static void dealloc_QByteArrayMatcher(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QByteArrayMatcher(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QByteArrayMatcher(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QByteArrayMatcher(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QByteArrayMatcher *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QByteArrayMatcher();

            return sipCpp;
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QByteArray, &a0, &a0State))
        {
            sipCpp = new  ::QByteArrayMatcher(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    {
        const  ::QByteArrayMatcher* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QByteArrayMatcher, &a0))
        {
            sipCpp = new  ::QByteArrayMatcher(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QByteArrayMatcher[] = {
    {SIP_MLNAME_CAST(sipName_indexIn), (PyCFunction)meth_QByteArrayMatcher_indexIn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArrayMatcher_indexIn)},
    {SIP_MLNAME_CAST(sipName_pattern), meth_QByteArrayMatcher_pattern, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArrayMatcher_pattern)},
    {SIP_MLNAME_CAST(sipName_setPattern), meth_QByteArrayMatcher_setPattern, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArrayMatcher_setPattern)}
};

PyDoc_STRVAR(doc_QByteArrayMatcher, "\1QByteArrayMatcher()\n"
    "QByteArrayMatcher(Union[QByteArray, bytes, bytearray])\n"
    "QByteArrayMatcher(QByteArrayMatcher)");


static pyqt5ClassPluginDef plugin_QByteArrayMatcher = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QByteArrayMatcher = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QByteArrayMatcher,
        {0},
        &plugin_QByteArrayMatcher
    },
    {
        sipNameNr_QByteArrayMatcher,
        {0, 0, 1},
        3, methods_QByteArrayMatcher,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QByteArrayMatcher,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QByteArrayMatcher,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QByteArrayMatcher,
    assign_QByteArrayMatcher,
    array_QByteArrayMatcher,
    copy_QByteArrayMatcher,
    release_QByteArrayMatcher,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 157124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 157128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_QByteArray_Base64Options___hash__(PyObject *);}
static long slot_QByteArray_Base64Options___hash__(PyObject *sipSelf)
{
     ::QByteArray::Base64Options *sipCpp = reinterpret_cast< ::QByteArray::Base64Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray_Base64Options));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator QByteArray::Base64Options::Int();
#line 157146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QByteArray_Base64Options___bool__(PyObject *);}
static int slot_QByteArray_Base64Options___bool__(PyObject *sipSelf)
{
     ::QByteArray::Base64Options *sipCpp = reinterpret_cast< ::QByteArray::Base64Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray_Base64Options));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QByteArray::Base64Options::Int() != 0);
#line 157171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QByteArray_Base64Options___ne__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray_Base64Options___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray::Base64Options *sipCpp = reinterpret_cast< ::QByteArray::Base64Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray_Base64Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray::Base64Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray_Base64Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QByteArray::Base64Options::Int() != a0->operator QByteArray::Base64Options::Int());
#line 157201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QByteArray::Base64Options *>(a0),sipType_QByteArray_Base64Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QByteArray_Base64Options, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QByteArray_Base64Options___eq__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray_Base64Options___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray::Base64Options *sipCpp = reinterpret_cast< ::QByteArray::Base64Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray_Base64Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray::Base64Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray_Base64Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QByteArray::Base64Options::Int() == a0->operator QByteArray::Base64Options::Int());
#line 157237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QByteArray::Base64Options *>(a0),sipType_QByteArray_Base64Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QByteArray_Base64Options, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QByteArray_Base64Options___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray_Base64Options___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QByteArray_Base64Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QByteArray::Base64Options *sipCpp = reinterpret_cast< ::QByteArray::Base64Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray_Base64Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QByteArray::Base64Options(*sipCpp ^ a0);
#line 157276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QByteArray_Base64Options___xor__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray_Base64Options___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QByteArray::Base64Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QByteArray_Base64Options, &a0, &a0State, &a1))
        {
             ::QByteArray::Base64Options*sipRes;

            sipRes = new  ::QByteArray::Base64Options((*a0 ^ a1));
            sipReleaseType(a0,sipType_QByteArray_Base64Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray_Base64Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QByteArray_Base64Options___ior__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray_Base64Options___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QByteArray_Base64Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QByteArray::Base64Options *sipCpp = reinterpret_cast< ::QByteArray::Base64Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray_Base64Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = QByteArray::Base64Options(*sipCpp | a0);
#line 157348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QByteArray_Base64Options___or__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray_Base64Options___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QByteArray::Base64Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QByteArray_Base64Options, &a0, &a0State, &a1))
        {
             ::QByteArray::Base64Options*sipRes;

            sipRes = new  ::QByteArray::Base64Options((*a0 | a1));
            sipReleaseType(a0,sipType_QByteArray_Base64Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray_Base64Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QByteArray_Base64Options___iand__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray_Base64Options___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QByteArray_Base64Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QByteArray::Base64Options *sipCpp = reinterpret_cast< ::QByteArray::Base64Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray_Base64Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::QByteArray::Base64Options::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QByteArray_Base64Options___and__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray_Base64Options___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::QByteArray::Base64Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QByteArray_Base64Options, &a0, &a0State, &a1))
        {
             ::QByteArray::Base64Options*sipRes;

            sipRes = new  ::QByteArray::Base64Options((*a0 & a1));
            sipReleaseType(a0,sipType_QByteArray_Base64Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray_Base64Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QByteArray_Base64Options___invert__(PyObject *);}
static PyObject *slot_QByteArray_Base64Options___invert__(PyObject *sipSelf)
{
     ::QByteArray::Base64Options *sipCpp = reinterpret_cast< ::QByteArray::Base64Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray_Base64Options));

    if (!sipCpp)
        return 0;


    {
        {
             ::QByteArray::Base64Options*sipRes;

            sipRes = new  ::QByteArray::Base64Options(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QByteArray_Base64Options,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QByteArray_Base64Options___int__(PyObject *);}
static PyObject *slot_QByteArray_Base64Options___int__(PyObject *sipSelf)
{
     ::QByteArray::Base64Options *sipCpp = reinterpret_cast< ::QByteArray::Base64Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray_Base64Options));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QByteArray_Base64Options(void *, int);}
static void release_QByteArray_Base64Options(void *sipCppV, int)
{
    delete reinterpret_cast< ::QByteArray::Base64Options *>(sipCppV);
}


extern "C" {static void assign_QByteArray_Base64Options(void *, SIP_SSIZE_T, const void *);}
static void assign_QByteArray_Base64Options(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QByteArray::Base64Options *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QByteArray::Base64Options *>(sipSrc);
}


extern "C" {static void *array_QByteArray_Base64Options(SIP_SSIZE_T);}
static void *array_QByteArray_Base64Options(SIP_SSIZE_T sipNrElem)
{
    return new  ::QByteArray::Base64Options[sipNrElem];
}


extern "C" {static void *copy_QByteArray_Base64Options(const void *, SIP_SSIZE_T);}
static void *copy_QByteArray_Base64Options(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QByteArray::Base64Options(reinterpret_cast<const  ::QByteArray::Base64Options *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QByteArray_Base64Options(sipSimpleWrapper *);}
static void dealloc_QByteArray_Base64Options(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QByteArray_Base64Options(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QByteArray_Base64Options(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QByteArray_Base64Options(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QByteArray::Base64Options *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QByteArray::Base64Options();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::QByteArray::Base64Options(a0);

            return sipCpp;
        }
    }

    {
        const  ::QByteArray::Base64Options* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QByteArray_Base64Options, &a0, &a0State))
        {
            sipCpp = new  ::QByteArray::Base64Options(*a0);
            sipReleaseType(const_cast< ::QByteArray::Base64Options *>(a0),sipType_QByteArray_Base64Options,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QByteArray_Base64Options(PyObject *, void **, int *, PyObject *);}
static int convertTo_QByteArray_Base64Options(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QByteArray::Base64Options **sipCppPtr = reinterpret_cast< ::QByteArray::Base64Options **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QByteArray::Base64Options is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QByteArray_Base64Option)) ||
            sipCanConvertToType(sipPy, sipType_QByteArray_Base64Options, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QByteArray_Base64Option)))
{
    *sipCppPtr = new QByteArray::Base64Options(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QByteArray::Base64Options *>(sipConvertToType(sipPy, sipType_QByteArray_Base64Options, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 157616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QByteArray_Base64Options[] = {
    {(void *)slot_QByteArray_Base64Options___hash__, hash_slot},
    {(void *)slot_QByteArray_Base64Options___bool__, bool_slot},
    {(void *)slot_QByteArray_Base64Options___ne__, ne_slot},
    {(void *)slot_QByteArray_Base64Options___eq__, eq_slot},
    {(void *)slot_QByteArray_Base64Options___ixor__, ixor_slot},
    {(void *)slot_QByteArray_Base64Options___xor__, xor_slot},
    {(void *)slot_QByteArray_Base64Options___ior__, ior_slot},
    {(void *)slot_QByteArray_Base64Options___or__, or_slot},
    {(void *)slot_QByteArray_Base64Options___iand__, iand_slot},
    {(void *)slot_QByteArray_Base64Options___and__, and_slot},
    {(void *)slot_QByteArray_Base64Options___invert__, invert_slot},
    {(void *)slot_QByteArray_Base64Options___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QByteArray_Base64Options, "\1QByteArray.Base64Options()\n"
    "QByteArray.Base64Options(Union[QByteArray.Base64Options, QByteArray.Base64Option])\n"
    "QByteArray.Base64Options(QByteArray.Base64Options)");


static pyqt5ClassPluginDef plugin_QByteArray_Base64Options = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QByteArray_Base64Options = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QByteArray__Base64Options,
        {0},
        &plugin_QByteArray_Base64Options
    },
    {
        sipNameNr_Base64Options,
        {19, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QByteArray_Base64Options,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QByteArray_Base64Options,
    init_type_QByteArray_Base64Options,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QByteArray_Base64Options,
    assign_QByteArray_Base64Options,
    array_QByteArray_Base64Options,
    copy_QByteArray_Base64Options,
    release_QByteArray_Base64Options,
    0,
    convertTo_QByteArray_Base64Options,
    0,
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 157702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 157706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 157709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 157712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 34 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
// This is needed by __hash__().
#include <qhash.h>


// Convenience function for converting a QByteArray to a Python str object.
static PyObject *QByteArrayToPyStr(QByteArray *ba)
{
    char *data = ba->data();

    if (data)
        // QByteArrays may have embedded '\0's so set the size explicitly.    
        return SIPBytes_FromStringAndSize(data, ba->size());

    return SIPBytes_FromString("");
}
#line 157729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QByteArray_resize, "resize(self, int)");

extern "C" {static PyObject *meth_QByteArray_resize(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_resize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QByteArray, &sipCpp, &a0))
        {
            sipCpp->resize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_resize, doc_QByteArray_resize);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_fill, "fill(self, str, size: int = -1) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_fill(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_fill(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        char a0;
        int a1 = -1;
         ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_size,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BaA|i", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->fill(a0,a1);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_fill, doc_QByteArray_fill);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_clear, "clear(self)");

extern "C" {static PyObject *meth_QByteArray_clear(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_clear, doc_QByteArray_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_indexOf, "indexOf(self, Union[QByteArray, bytes, bytearray], from_: int = 0) -> int\n"
    "indexOf(self, str, from_: int = 0) -> int");

extern "C" {static PyObject *meth_QByteArray_indexOf(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_indexOf(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        int a1 = 0;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_from,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            int sipRes;

            sipRes = sipCpp->indexOf(*a0,a1);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1 = 0;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_from,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            int sipRes;

            sipRes = sipCpp->indexOf(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_indexOf, doc_QByteArray_indexOf);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_lastIndexOf, "lastIndexOf(self, Union[QByteArray, bytes, bytearray], from_: int = -1) -> int\n"
    "lastIndexOf(self, str, from_: int = -1) -> int");

extern "C" {static PyObject *meth_QByteArray_lastIndexOf(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_lastIndexOf(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        int a1 = -1;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_from,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            int sipRes;

            sipRes = sipCpp->lastIndexOf(*a0,a1);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        int a1 = -1;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_from,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            int sipRes;

            sipRes = sipCpp->lastIndexOf(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_lastIndexOf, doc_QByteArray_lastIndexOf);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_count, "count(self, Union[QByteArray, bytes, bytearray]) -> int\n"
    "count(self) -> int");

extern "C" {static PyObject *meth_QByteArray_count(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->count(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_count, doc_QByteArray_count);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_left, "left(self, int) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_left(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_left(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QByteArray, &sipCpp, &a0))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->left(a0));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_left, doc_QByteArray_left);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_right, "right(self, int) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_right(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_right(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QByteArray, &sipCpp, &a0))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->right(a0));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_right, doc_QByteArray_right);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_mid, "mid(self, int, length: int = -1) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_mid(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_mid(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = -1;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_length,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|i", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->mid(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_mid, doc_QByteArray_mid);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_startsWith, "startsWith(self, Union[QByteArray, bytes, bytearray]) -> bool");

extern "C" {static PyObject *meth_QByteArray_startsWith(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_startsWith(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->startsWith(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_startsWith, doc_QByteArray_startsWith);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_endsWith, "endsWith(self, Union[QByteArray, bytes, bytearray]) -> bool");

extern "C" {static PyObject *meth_QByteArray_endsWith(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_endsWith(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->endsWith(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_endsWith, doc_QByteArray_endsWith);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_truncate, "truncate(self, int)");

extern "C" {static PyObject *meth_QByteArray_truncate(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_truncate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QByteArray, &sipCpp, &a0))
        {
            sipCpp->truncate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_truncate, doc_QByteArray_truncate);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_chop, "chop(self, int)");

extern "C" {static PyObject *meth_QByteArray_chop(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_chop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QByteArray, &sipCpp, &a0))
        {
            sipCpp->chop(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_chop, doc_QByteArray_chop);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toLower, "toLower(self) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_toLower(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toLower(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toLower());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toLower, doc_QByteArray_toLower);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toUpper, "toUpper(self) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_toUpper(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toUpper(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toUpper());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toUpper, doc_QByteArray_toUpper);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_trimmed, "trimmed(self) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_trimmed(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_trimmed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->trimmed());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_trimmed, doc_QByteArray_trimmed);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_simplified, "simplified(self) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_simplified(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_simplified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->simplified());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_simplified, doc_QByteArray_simplified);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_leftJustified, "leftJustified(self, int, fill: str = ' ', truncate: bool = False) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_leftJustified(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_leftJustified(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        char a1 = ' ';
        bool a2 = 0;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_fill,
            sipName_truncate,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|aAb", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1, &a2))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->leftJustified(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_leftJustified, doc_QByteArray_leftJustified);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_rightJustified, "rightJustified(self, int, fill: str = ' ', truncate: bool = False) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_rightJustified(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_rightJustified(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        char a1 = ' ';
        bool a2 = 0;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_fill,
            sipName_truncate,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|aAb", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1, &a2))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->rightJustified(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_rightJustified, doc_QByteArray_rightJustified);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_prepend, "prepend(self, Union[QByteArray, bytes, bytearray]) -> QByteArray\n"
    "prepend(self, int, str) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_prepend(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_prepend(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->prepend(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        int a0;
        char a1;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bic", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->prepend(a0,a1);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_prepend, doc_QByteArray_prepend);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_append, "append(self, Union[QByteArray, bytes, bytearray]) -> QByteArray\n"
    "append(self, str) -> QByteArray\n"
    "append(self, int, str) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_append(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_append(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->append(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->append(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        int a0;
        char a1;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bic", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->append(a0,a1);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_append, doc_QByteArray_append);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_insert, "insert(self, int, Union[QByteArray, bytes, bytearray]) -> QByteArray\n"
    "insert(self, int, str) -> QByteArray\n"
    "insert(self, int, int, str) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_insert(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_insert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QByteArray* a1;
        int a1State = 0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QByteArray, &sipCpp, &a0, sipType_QByteArray, &a1, &a1State))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->insert(a0,*a1);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        int a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QByteArray, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->insert(a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        int a0;
        int a1;
        char a2;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biic", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1, &a2))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->insert(a0,a1,a2);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_insert, doc_QByteArray_insert);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_remove, "remove(self, int, int) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_remove(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->remove(a0,a1);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_remove, doc_QByteArray_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_replace, "replace(self, int, int, Union[QByteArray, bytes, bytearray]) -> QByteArray\n"
    "replace(self, Union[QByteArray, bytes, bytearray], Union[QByteArray, bytes, bytearray]) -> QByteArray\n"
    "replace(self, str, Union[QByteArray, bytes, bytearray]) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_replace(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_replace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QByteArray* a2;
        int a2State = 0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ1", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1, sipType_QByteArray, &a2, &a2State))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->replace(a0,a1,*a2);
            sipReleaseType(const_cast< ::QByteArray *>(a2),sipType_QByteArray,a2State);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QByteArray* a1;
        int a1State = 0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->replace(*a0,*a1);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QByteArray* a1;
        int a1State = 0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QString,&a0, &a0State, sipType_QByteArray, &a1, &a1State))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->replace(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_replace, doc_QByteArray_replace);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_split, "split(self, str) -> List[QByteArray]");

extern "C" {static PyObject *meth_QByteArray_split(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_split(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char a0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BaA", &sipSelf, sipType_QByteArray, &sipCpp, &a0))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>(sipCpp->split(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_split, doc_QByteArray_split);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toShort, "toShort(self, base: int = 10) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QByteArray_toShort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toShort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QByteArray, &sipCpp, &a1))
        {
            short sipRes;

            sipRes = sipCpp->toShort(&a0,a1);

            return sipBuildResult(0,"(hb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toShort, doc_QByteArray_toShort);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toUShort, "toUShort(self, base: int = 10) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QByteArray_toUShort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toUShort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QByteArray, &sipCpp, &a1))
        {
             ::ushort sipRes;

            sipRes = sipCpp->toUShort(&a0,a1);

            return sipBuildResult(0,"(tb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toUShort, doc_QByteArray_toUShort);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toInt, "toInt(self, base: int = 10) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QByteArray_toInt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toInt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QByteArray, &sipCpp, &a1))
        {
            int sipRes;

            sipRes = sipCpp->toInt(&a0,a1);

            return sipBuildResult(0,"(ib)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toInt, doc_QByteArray_toInt);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toUInt, "toUInt(self, base: int = 10) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QByteArray_toUInt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toUInt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QByteArray, &sipCpp, &a1))
        {
             ::uint sipRes;

            sipRes = sipCpp->toUInt(&a0,a1);

            return sipBuildResult(0,"(ub)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toUInt, doc_QByteArray_toUInt);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toLong, "toLong(self, base: int = 10) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QByteArray_toLong(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toLong(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QByteArray, &sipCpp, &a1))
        {
            long sipRes;

            sipRes = sipCpp->toLong(&a0,a1);

            return sipBuildResult(0,"(lb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toLong, doc_QByteArray_toLong);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toULong, "toULong(self, base: int = 10) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QByteArray_toULong(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toULong(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QByteArray, &sipCpp, &a1))
        {
             ::ulong sipRes;

            sipRes = sipCpp->toULong(&a0,a1);

            return sipBuildResult(0,"(mb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toULong, doc_QByteArray_toULong);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toLongLong, "toLongLong(self, base: int = 10) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QByteArray_toLongLong(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toLongLong(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QByteArray, &sipCpp, &a1))
        {
             ::qlonglong sipRes;

            sipRes = sipCpp->toLongLong(&a0,a1);

            return sipBuildResult(0,"(nb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toLongLong, doc_QByteArray_toLongLong);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toULongLong, "toULongLong(self, base: int = 10) -> Tuple[int, bool]");

extern "C" {static PyObject *meth_QByteArray_toULongLong(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toULongLong(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 10;
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QByteArray, &sipCpp, &a1))
        {
             ::qulonglong sipRes;

            sipRes = sipCpp->toULongLong(&a0,a1);

            return sipBuildResult(0,"(ob)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toULongLong, doc_QByteArray_toULongLong);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toFloat, "toFloat(self) -> Tuple[float, bool]");

extern "C" {static PyObject *meth_QByteArray_toFloat(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toFloat(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const  ::QByteArray *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            float sipRes;

            sipRes = sipCpp->toFloat(&a0);

            return sipBuildResult(0,"(fb)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toFloat, doc_QByteArray_toFloat);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toDouble, "toDouble(self) -> Tuple[float, bool]");

extern "C" {static PyObject *meth_QByteArray_toDouble(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toDouble(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const  ::QByteArray *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            double sipRes;

            sipRes = sipCpp->toDouble(&a0);

            return sipBuildResult(0,"(db)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toDouble, doc_QByteArray_toDouble);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toBase64, "toBase64(self) -> QByteArray\n"
    "toBase64(self, Union[QByteArray.Base64Options, QByteArray.Base64Option]) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_toBase64(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toBase64(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toBase64());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
         ::QByteArray::Base64Options* a0;
        int a0State = 0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray_Base64Options, &a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toBase64(*a0));
            sipReleaseType(a0,sipType_QByteArray_Base64Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toBase64, doc_QByteArray_toBase64);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_setNum, "setNum(self, int, base: int = 10) -> QByteArray\n"
    "setNum(self, float, format: str = 'g', precision: int = 6) -> QByteArray\n"
    "setNum(self, int, base: int = 10) -> QByteArray\n"
    "setNum(self, int, base: int = 10) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_setNum(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_setNum(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = 10;
         ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BXi|i", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->setNum(a0,a1);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        double a0;
        char a1 = 'g';
        int a2 = 6;
         ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
            sipName_precision,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BXd|aAi", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1, &a2))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->setNum(a0,a1,a2);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
         ::qlonglong a0;
        int a1 = 10;
         ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bn|i", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->setNum(a0,a1);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
         ::qulonglong a0;
        int a1 = 10;
         ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bo|i", &sipSelf, sipType_QByteArray, &sipCpp, &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->setNum(a0,a1);

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_setNum, doc_QByteArray_setNum);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_number, "number(int, base: int = 10) -> QByteArray\n"
    "number(float, format: str = 'g', precision: int = 6) -> QByteArray\n"
    "number(int, base: int = 10) -> QByteArray\n"
    "number(int, base: int = 10) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_number(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_number(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = 10;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Xi|i", &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QByteArray::number(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        double a0;
        char a1 = 'g';
        int a2 = 6;

        static const char *sipKwdList[] = {
            NULL,
            sipName_format,
            sipName_precision,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Xd|aAi", &a0, &a1, &a2))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QByteArray::number(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
         ::qlonglong a0;
        int a1 = 10;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "n|i", &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QByteArray::number(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
         ::qulonglong a0;
        int a1 = 10;

        static const char *sipKwdList[] = {
            NULL,
            sipName_base,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "o|i", &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QByteArray::number(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_number, doc_QByteArray_number);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_fromBase64, "fromBase64(Union[QByteArray, bytes, bytearray]) -> QByteArray\n"
    "fromBase64(Union[QByteArray, bytes, bytearray], Union[QByteArray.Base64Options, QByteArray.Base64Option]) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_fromBase64(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_fromBase64(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QByteArray::fromBase64(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QByteArray::Base64Options* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J1", sipType_QByteArray, &a0, &a0State, sipType_QByteArray_Base64Options, &a1, &a1State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QByteArray::fromBase64(*a0,*a1));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(a1,sipType_QByteArray_Base64Options,a1State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_fromBase64, doc_QByteArray_fromBase64);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_fromRawData, "fromRawData(bytes) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_fromRawData(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_fromRawData(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        SIP_SSIZE_T a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "k", &a0, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QByteArray::fromRawData(a0,(int)a1));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_fromRawData, doc_QByteArray_fromRawData);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_fromHex, "fromHex(Union[QByteArray, bytes, bytearray]) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_fromHex(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_fromHex(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QByteArray, &a0, &a0State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QByteArray::fromHex(*a0));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_fromHex, doc_QByteArray_fromHex);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_length, "length(self) -> int");

extern "C" {static PyObject *meth_QByteArray_length(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_length(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->length();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_length, doc_QByteArray_length);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QByteArray_isNull(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_isNull, doc_QByteArray_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_size, "size(self) -> int");

extern "C" {static PyObject *meth_QByteArray_size(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->size();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_size, doc_QByteArray_size);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_at, "at(self, int) -> str");

extern "C" {static PyObject *meth_QByteArray_at(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_at(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QByteArray, &sipCpp, &a0))
        {
            char sipRes;

            sipRes = sipCpp->at(a0);

            return PyUnicode_DecodeASCII(&sipRes, 1, NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_at, doc_QByteArray_at);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QByteArray_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_isEmpty, doc_QByteArray_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_data, "data(self) -> bytes");

extern "C" {static PyObject *meth_QByteArray_data(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
        // QByteArrays may contain embedded '\0's so set the size explicitly.
        
        char *res = sipCpp->data();
        int len = sipCpp->size();
        
        if (res)
        {
            if ((sipRes = SIPBytes_FromStringAndSize(res, len)) == NULL)
                sipIsErr = 1;
        }
        else
        {
            Py_INCREF(Py_None);
            sipRes = Py_None;
        }
#line 159564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_data, doc_QByteArray_data);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_capacity, "capacity(self) -> int");

extern "C" {static PyObject *meth_QByteArray_capacity(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_capacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->capacity();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_capacity, doc_QByteArray_capacity);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_reserve, "reserve(self, int)");

extern "C" {static PyObject *meth_QByteArray_reserve(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_reserve(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QByteArray, &sipCpp, &a0))
        {
            sipCpp->reserve(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_reserve, doc_QByteArray_reserve);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_squeeze, "squeeze(self)");

extern "C" {static PyObject *meth_QByteArray_squeeze(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_squeeze(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
            sipCpp->squeeze();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_squeeze, doc_QByteArray_squeeze);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_push_back, "push_back(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QByteArray_push_back(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_push_back(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->push_back(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_push_back, doc_QByteArray_push_back);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_push_front, "push_front(self, Union[QByteArray, bytes, bytearray])");

extern "C" {static PyObject *meth_QByteArray_push_front(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_push_front(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->push_front(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_push_front, doc_QByteArray_push_front);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_contains, "contains(self, Union[QByteArray, bytes, bytearray]) -> bool");

extern "C" {static PyObject *meth_QByteArray_contains(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->contains(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_contains, doc_QByteArray_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toHex, "toHex(self) -> QByteArray\n"
    "toHex(self, str) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_toHex(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toHex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QByteArray, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toHex());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    {
        char a0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BaA", &sipSelf, sipType_QByteArray, &sipCpp, &a0))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toHex(a0));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toHex, doc_QByteArray_toHex);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_toPercentEncoding, "toPercentEncoding(self, exclude: Union[QByteArray, bytes, bytearray] = QByteArray(), include: Union[QByteArray, bytes, bytearray] = QByteArray(), percent: str = '%') -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_toPercentEncoding(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_toPercentEncoding(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray& a0def = QByteArray();
        const  ::QByteArray* a0 = &a0def;
        int a0State = 0;
        const  ::QByteArray& a1def = QByteArray();
        const  ::QByteArray* a1 = &a1def;
        int a1State = 0;
        char a2 = '%';
        const  ::QByteArray *sipCpp;

        static const char *sipKwdList[] = {
            sipName_exclude,
            sipName_include,
            sipName_percent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1J1aA", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State, &a2))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->toPercentEncoding(*a0,*a1,a2));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_toPercentEncoding, doc_QByteArray_toPercentEncoding);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_fromPercentEncoding, "fromPercentEncoding(Union[QByteArray, bytes, bytearray], percent: str = '%') -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_fromPercentEncoding(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QByteArray_fromPercentEncoding(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        char a1 = '%';

        static const char *sipKwdList[] = {
            NULL,
            sipName_percent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1|aA", sipType_QByteArray, &a0, &a0State, &a1))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray( ::QByteArray::fromPercentEncoding(*a0,a1));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_fromPercentEncoding, doc_QByteArray_fromPercentEncoding);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_repeated, "repeated(self, int) -> QByteArray");

extern "C" {static PyObject *meth_QByteArray_repeated(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_repeated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QByteArray, &sipCpp, &a0))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->repeated(a0));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_repeated, doc_QByteArray_repeated);

    return NULL;
}


PyDoc_STRVAR(doc_QByteArray_swap, "swap(self, QByteArray)");

extern "C" {static PyObject *meth_QByteArray_swap(PyObject *, PyObject *);}
static PyObject *meth_QByteArray_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QByteArray* a0;
         ::QByteArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QByteArray, &sipCpp, sipType_QByteArray, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName_swap, doc_QByteArray_swap);

    return NULL;
}


extern "C" {static PyObject *slot_QByteArray___add__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray___add__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        const  ::QByteArray* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray((*a0 + *a1));
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast< ::QByteArray *>(a1),sipType_QByteArray,a1State);

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, add_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QByteArray___imul__(PyObject *,int);}
static PyObject *slot_QByteArray___imul__(PyObject *sipSelf,int a0)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;


    {
        {
#line 329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
        QByteArray orig(*sipCpp);
        
        sipCpp->clear();
        
        while (a0-- > 0)
            *sipCpp += orig;
#line 159984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QByteArray___mul__(PyObject *,int);}
static PyObject *slot_QByteArray___mul__(PyObject *sipSelf,int a0)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;


    {
        {
             ::QByteArray*sipRes = 0;

#line 321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
        sipRes = new QByteArray();
        
        while (a0-- > 0)
            *sipRes += *sipCpp;
#line 160013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QByteArray___repr__(PyObject *);}
static PyObject *slot_QByteArray___repr__(PyObject *sipSelf)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
        if (sipCpp->isNull())
        {
        #if PY_MAJOR_VERSION >= 3
            sipRes = PyUnicode_FromString("PyQt5.QtCore.QByteArray()");
        #else
            sipRes = PyString_FromString("PyQt5.QtCore.QByteArray()");
        #endif
        }
        else
        {
            PyObject *str = QByteArrayToPyStr(sipCpp);
        
            if (str)
            {
        #if PY_MAJOR_VERSION >= 3
                sipRes = PyUnicode_FromFormat("PyQt5.QtCore.QByteArray(%R)", str);
        #else
                sipRes = PyString_FromString("PyQt5.QtCore.QByteArray(");
                PyString_ConcatAndDel(&sipRes, PyObject_Repr(str));
                PyString_ConcatAndDel(&sipRes, PyString_FromString(")"));
        #endif
        
                Py_DECREF(str);
            }
        }
#line 160062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QByteArray___str__(PyObject *);}
static PyObject *slot_QByteArray___str__(PyObject *sipSelf)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;


    {
        {
            PyObject * sipRes = 0;

#line 277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
        sipRes = QByteArrayToPyStr(sipCpp);
        
        #if PY_MAJOR_VERSION >= 3
        PyObject *repr = PyObject_Repr(sipRes);
        
        if (repr)
        {
            Py_DECREF(sipRes);
            sipRes = repr;
        }
        #endif
#line 160097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static long slot_QByteArray___hash__(PyObject *);}
static long slot_QByteArray___hash__(PyObject *sipSelf)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
        sipRes = qHash(*sipCpp);
#line 160122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_QByteArray___contains__(PyObject *,PyObject *);}
static int slot_QByteArray___contains__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return -1;

    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            int sipRes = 0;

#line 266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
        // It looks like you can't assign QBool to int.
        sipRes = bool(sipCpp->contains(*a0));
#line 160153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName___contains__, NULL);

    return -1;
}


extern "C" {static PyObject *slot_QByteArray___getitem__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            char sipRes = 0;
            int sipIsErr = 0;

#line 232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
        Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = sipCpp->operator[]((int)idx);
#line 160192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return PyUnicode_DecodeASCII(&sipRes, 1, NULL);
        }
    }

    {
        PyObject * a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1T", &PySlice_Type, &a0))
        {
             ::QByteArray*sipRes = 0;
            int sipIsErr = 0;

#line 242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
        Py_ssize_t len, start, stop, step, slicelength, i;
        
        len = sipCpp->length();
        
        #if PY_VERSION_HEX >= 0x03020000
        if (PySlice_GetIndicesEx(a0, len, &start, &stop, &step, &slicelength) < 0)
        #else
        if (PySlice_GetIndicesEx((PySliceObject *)a0, len, &start, &stop, &step, &slicelength) < 0)
        #endif
            sipIsErr = 1;
        else
        {
            sipRes = new QByteArray();
        
            for (i = 0; i < slicelength; ++i)
            {
                sipRes -> append(sipCpp->at(start));
                start += step;
            }
        }
#line 160230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QByteArray, sipName___getitem__, NULL);

    return 0;
}


extern "C" {static SIP_SSIZE_T slot_QByteArray___len__(PyObject *);}
static SIP_SSIZE_T slot_QByteArray___len__(PyObject *sipSelf)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 160261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QByteArray___ge__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QByteArray::operator>=(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = operator>=((*sipCpp), *a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QByteArray, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QByteArray___le__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray___le__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QByteArray::operator<=(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = operator<=((*sipCpp), *a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, le_slot, sipType_QByteArray, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QByteArray___gt__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray___gt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QByteArray::operator>(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = operator>((*sipCpp), *a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, gt_slot, sipType_QByteArray, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QByteArray___lt__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QByteArray::operator<(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = operator<((*sipCpp), *a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QByteArray, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QByteArray___ne__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QByteArray::operator!=(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = operator!=((*sipCpp), *a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QByteArray, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QByteArray___eq__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QByteArray::operator==(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = operator==((*sipCpp), *a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QByteArray, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QByteArray___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QByteArray___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QByteArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QByteArray, &a0, &a0State))
        {
            sipCpp-> ::QByteArray::operator+=(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QString,&a0, &a0State))
        {
            sipCpp-> ::QByteArray::operator+=(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    /* Raise an exception if the argument couldn't be parsed. */
    sipBadOperatorArg(sipSelf,sipArg,iconcat_slot);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QByteArray(void *, int);}
static void release_QByteArray(void *sipCppV, int)
{
    delete reinterpret_cast< ::QByteArray *>(sipCppV);
}


#if PY_MAJOR_VERSION >= 3
extern "C" {static int getbuffer_QByteArray(PyObject *, void *, sipBufferDef *);}
static int getbuffer_QByteArray(PyObject *sipSelf, void *sipCppV, sipBufferDef *sipBuffer)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipCppV);
    int sipRes;

#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
    #if defined(Py_LIMITED_API)
        Q_UNUSED(sipSelf);
    
        sipBuffer->bd_buffer = sipCpp->data();
        sipBuffer->bd_length = sipCpp->size();
        sipBuffer->bd_readonly = 0;
        sipRes = 0;
    #else
        sipRes = PyBuffer_FillInfo(sipBuffer, sipSelf, sipCpp->data(),
                sipCpp->size(), 0, sipFlags);
    #endif
#line 160637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}
#endif


#if PY_MAJOR_VERSION < 3
extern "C" {static SIP_SSIZE_T getreadbuffer_QByteArray(PyObject *, void *, SIP_SSIZE_T, void **);}
static SIP_SSIZE_T getreadbuffer_QByteArray(PyObject *, void *sipCppV, SIP_SSIZE_T sipSegment, void **sipPtrPtr)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipCppV);
    SIP_SSIZE_T sipRes;

#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
    if (sipSegment != 0)
    {
        PyErr_SetString(PyExc_SystemError, "accessing non-existent QByteArray segment");
        sipRes = -1;
    }
    else
    {
        *sipPtrPtr = (void *)sipCpp->data();
        sipRes = sipCpp->size();
    }
#line 160662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}
#endif


#if PY_MAJOR_VERSION < 3
extern "C" {static SIP_SSIZE_T getsegcount_QByteArray(PyObject *, void *, SIP_SSIZE_T *);}
static SIP_SSIZE_T getsegcount_QByteArray(PyObject *, void *sipCppV, SIP_SSIZE_T *sipLenPtr)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipCppV);
    SIP_SSIZE_T sipRes;

#line 132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
    if (sipLenPtr)
        *sipLenPtr = sipCpp->size();
    
    sipRes = 1;
#line 160681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}
#endif


#if PY_MAJOR_VERSION < 3
extern "C" {static SIP_SSIZE_T getcharbuffer_QByteArray(PyObject *, void *, SIP_SSIZE_T, void **);}
static SIP_SSIZE_T getcharbuffer_QByteArray(PyObject *, void *sipCppV, SIP_SSIZE_T sipSegment, void **sipPtrPtr)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipCppV);
    SIP_SSIZE_T sipRes;

#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
    if (sipSegment != 0)
    {
        PyErr_SetString(PyExc_SystemError, "accessing non-existent QByteArray segment");
        sipRes = -1;
    }
    else
    {
        *sipPtrPtr = (void *)sipCpp->data();
        sipRes = sipCpp->size();
    }
#line 160706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}
#endif


extern "C" {static PyObject *pickle_QByteArray(void *);}
static PyObject *pickle_QByteArray(void *sipCppV)
{
     ::QByteArray *sipCpp = reinterpret_cast< ::QByteArray *>(sipCppV);
    PyObject *sipRes;

#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
    #if PY_MAJOR_VERSION >= 3
    sipRes = Py_BuildValue((char *)"(y#)", sipCpp->data(), sipCpp->size());
    #else
    sipRes = Py_BuildValue((char *)"(s#)", sipCpp->data(), sipCpp->size());
    #endif
#line 160725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static void assign_QByteArray(void *, SIP_SSIZE_T, const void *);}
static void assign_QByteArray(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QByteArray *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QByteArray *>(sipSrc);
}


extern "C" {static void *array_QByteArray(SIP_SSIZE_T);}
static void *array_QByteArray(SIP_SSIZE_T sipNrElem)
{
    return new  ::QByteArray[sipNrElem];
}


extern "C" {static void *copy_QByteArray(const void *, SIP_SSIZE_T);}
static void *copy_QByteArray(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QByteArray(reinterpret_cast<const  ::QByteArray *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QByteArray(sipSimpleWrapper *);}
static void dealloc_QByteArray(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QByteArray(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QByteArray(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QByteArray(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QByteArray *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QByteArray();

            return sipCpp;
        }
    }

    {
        int a0;
        char a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iaA", &a0, &a1))
        {
            sipCpp = new  ::QByteArray(a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QByteArray* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QByteArray, &a0, &a0State))
        {
            sipCpp = new  ::QByteArray(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QByteArray(PyObject *, void **, int *, PyObject *);}
static int convertTo_QByteArray(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::QByteArray **sipCppPtr = reinterpret_cast< ::QByteArray **>(sipCppPtrV);

#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
// We have to be very careful about what we allow to be converted to a
// QByteArray and to a QString as we need to take into account the v1 and v2
// APIs and Python v2.x and v3.x.
//
// QSvgRenderer() is a good example of what needs to work "naturally".  This
// has a ctor that takes a QString argument that is the name of the SVG file.
// It has another ctor that takes a QByteArray argument that is the SVG data.
//
// In Python v2.x we want a str object to be interpreted as the name of the
// file (as that is the historical behaviour).  This has the following
// implications.
//
// - The QString version of the ctor must appear before the QByteArray version
//   in the .sip file.  This rule should be applied wherever a similar
//   situation arises.
// - A QString must not automatically convert a QByteArray.
// - QByteArray must also exist in the v2 API.
//
// In Python v3.x we want a bytes object to be used wherever a QByteArray is
// expected.  This means that a QString must not automatically convert a bytes
// object.
//
// In PyQt v5.4 and earlier a QByteArray could be created from a Latin-1
// encoded string.  This was a mistaken attempt to ease the porting of Python2
// code to Python3.

if (sipIsErr == NULL)
    return (PyByteArray_Check(sipPy) || SIPBytes_Check(sipPy) ||
            sipCanConvertToType(sipPy, sipType_QByteArray, SIP_NO_CONVERTORS));

if (PyByteArray_Check(sipPy))
{
    *sipCppPtr = new QByteArray(PyByteArray_AsString(sipPy),
            PyByteArray_Size(sipPy));

    return sipGetState(sipTransferObj);
}

if (SIPBytes_Check(sipPy))
{
    *sipCppPtr = new QByteArray(SIPBytes_AsString(sipPy),
            SIPBytes_Size(sipPy));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QByteArray *>(sipConvertToType(sipPy,
        sipType_QByteArray, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 160861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QByteArray[] = {
    {(void *)slot_QByteArray___add__, add_slot},
    {(void *)slot_QByteArray___imul__, irepeat_slot},
    {(void *)slot_QByteArray___mul__, repeat_slot},
    {(void *)slot_QByteArray___repr__, repr_slot},
    {(void *)slot_QByteArray___str__, str_slot},
    {(void *)slot_QByteArray___hash__, hash_slot},
    {(void *)slot_QByteArray___contains__, contains_slot},
    {(void *)slot_QByteArray___getitem__, getitem_slot},
    {(void *)slot_QByteArray___len__, len_slot},
    {(void *)slot_QByteArray___ge__, ge_slot},
    {(void *)slot_QByteArray___le__, le_slot},
    {(void *)slot_QByteArray___gt__, gt_slot},
    {(void *)slot_QByteArray___lt__, lt_slot},
    {(void *)slot_QByteArray___ne__, ne_slot},
    {(void *)slot_QByteArray___eq__, eq_slot},
    {(void *)slot_QByteArray___iadd__, iconcat_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QByteArray[] = {
    {SIP_MLNAME_CAST(sipName_append), meth_QByteArray_append, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_append)},
    {SIP_MLNAME_CAST(sipName_at), meth_QByteArray_at, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_at)},
    {SIP_MLNAME_CAST(sipName_capacity), meth_QByteArray_capacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_capacity)},
    {SIP_MLNAME_CAST(sipName_chop), meth_QByteArray_chop, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_chop)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QByteArray_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_clear)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QByteArray_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_contains)},
    {SIP_MLNAME_CAST(sipName_count), meth_QByteArray_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_count)},
    {SIP_MLNAME_CAST(sipName_data), meth_QByteArray_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_data)},
    {SIP_MLNAME_CAST(sipName_endsWith), meth_QByteArray_endsWith, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_endsWith)},
    {SIP_MLNAME_CAST(sipName_fill), (PyCFunction)meth_QByteArray_fill, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_fill)},
    {SIP_MLNAME_CAST(sipName_fromBase64), meth_QByteArray_fromBase64, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_fromBase64)},
    {SIP_MLNAME_CAST(sipName_fromHex), meth_QByteArray_fromHex, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_fromHex)},
    {SIP_MLNAME_CAST(sipName_fromPercentEncoding), (PyCFunction)meth_QByteArray_fromPercentEncoding, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_fromPercentEncoding)},
    {SIP_MLNAME_CAST(sipName_fromRawData), meth_QByteArray_fromRawData, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_fromRawData)},
    {SIP_MLNAME_CAST(sipName_indexOf), (PyCFunction)meth_QByteArray_indexOf, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_indexOf)},
    {SIP_MLNAME_CAST(sipName_insert), meth_QByteArray_insert, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_insert)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QByteArray_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QByteArray_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_isNull)},
    {SIP_MLNAME_CAST(sipName_lastIndexOf), (PyCFunction)meth_QByteArray_lastIndexOf, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_lastIndexOf)},
    {SIP_MLNAME_CAST(sipName_left), meth_QByteArray_left, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_left)},
    {SIP_MLNAME_CAST(sipName_leftJustified), (PyCFunction)meth_QByteArray_leftJustified, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_leftJustified)},
    {SIP_MLNAME_CAST(sipName_length), meth_QByteArray_length, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_length)},
    {SIP_MLNAME_CAST(sipName_mid), (PyCFunction)meth_QByteArray_mid, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_mid)},
    {SIP_MLNAME_CAST(sipName_number), (PyCFunction)meth_QByteArray_number, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_number)},
    {SIP_MLNAME_CAST(sipName_prepend), meth_QByteArray_prepend, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_prepend)},
    {SIP_MLNAME_CAST(sipName_push_back), meth_QByteArray_push_back, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_push_back)},
    {SIP_MLNAME_CAST(sipName_push_front), meth_QByteArray_push_front, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_push_front)},
    {SIP_MLNAME_CAST(sipName_remove), meth_QByteArray_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_remove)},
    {SIP_MLNAME_CAST(sipName_repeated), meth_QByteArray_repeated, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_repeated)},
    {SIP_MLNAME_CAST(sipName_replace), meth_QByteArray_replace, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_replace)},
    {SIP_MLNAME_CAST(sipName_reserve), meth_QByteArray_reserve, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_reserve)},
    {SIP_MLNAME_CAST(sipName_resize), meth_QByteArray_resize, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_resize)},
    {SIP_MLNAME_CAST(sipName_right), meth_QByteArray_right, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_right)},
    {SIP_MLNAME_CAST(sipName_rightJustified), (PyCFunction)meth_QByteArray_rightJustified, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_rightJustified)},
    {SIP_MLNAME_CAST(sipName_setNum), (PyCFunction)meth_QByteArray_setNum, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_setNum)},
    {SIP_MLNAME_CAST(sipName_simplified), meth_QByteArray_simplified, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_simplified)},
    {SIP_MLNAME_CAST(sipName_size), meth_QByteArray_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_size)},
    {SIP_MLNAME_CAST(sipName_split), meth_QByteArray_split, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_split)},
    {SIP_MLNAME_CAST(sipName_squeeze), meth_QByteArray_squeeze, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_squeeze)},
    {SIP_MLNAME_CAST(sipName_startsWith), meth_QByteArray_startsWith, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_startsWith)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QByteArray_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_swap)},
    {SIP_MLNAME_CAST(sipName_toBase64), meth_QByteArray_toBase64, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_toBase64)},
    {SIP_MLNAME_CAST(sipName_toDouble), (PyCFunction)meth_QByteArray_toDouble, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toDouble)},
    {SIP_MLNAME_CAST(sipName_toFloat), (PyCFunction)meth_QByteArray_toFloat, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toFloat)},
    {SIP_MLNAME_CAST(sipName_toHex), meth_QByteArray_toHex, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_toHex)},
    {SIP_MLNAME_CAST(sipName_toInt), (PyCFunction)meth_QByteArray_toInt, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toInt)},
    {SIP_MLNAME_CAST(sipName_toLong), (PyCFunction)meth_QByteArray_toLong, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toLong)},
    {SIP_MLNAME_CAST(sipName_toLongLong), (PyCFunction)meth_QByteArray_toLongLong, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toLongLong)},
    {SIP_MLNAME_CAST(sipName_toLower), meth_QByteArray_toLower, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_toLower)},
    {SIP_MLNAME_CAST(sipName_toPercentEncoding), (PyCFunction)meth_QByteArray_toPercentEncoding, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toPercentEncoding)},
    {SIP_MLNAME_CAST(sipName_toShort), (PyCFunction)meth_QByteArray_toShort, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toShort)},
    {SIP_MLNAME_CAST(sipName_toUInt), (PyCFunction)meth_QByteArray_toUInt, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toUInt)},
    {SIP_MLNAME_CAST(sipName_toULong), (PyCFunction)meth_QByteArray_toULong, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toULong)},
    {SIP_MLNAME_CAST(sipName_toULongLong), (PyCFunction)meth_QByteArray_toULongLong, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toULongLong)},
    {SIP_MLNAME_CAST(sipName_toUShort), (PyCFunction)meth_QByteArray_toUShort, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QByteArray_toUShort)},
    {SIP_MLNAME_CAST(sipName_toUpper), meth_QByteArray_toUpper, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_toUpper)},
    {SIP_MLNAME_CAST(sipName_trimmed), meth_QByteArray_trimmed, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_trimmed)},
    {SIP_MLNAME_CAST(sipName_truncate), meth_QByteArray_truncate, METH_VARARGS, SIP_MLDOC_CAST(doc_QByteArray_truncate)}
};

static sipEnumMemberDef enummembers_QByteArray[] = {
    {sipName_Base64Encoding, static_cast<int>( ::QByteArray::Base64Encoding), 20},
    {sipName_Base64UrlEncoding, static_cast<int>( ::QByteArray::Base64UrlEncoding), 20},
    {sipName_KeepTrailingEquals, static_cast<int>( ::QByteArray::KeepTrailingEquals), 20},
    {sipName_OmitTrailingEquals, static_cast<int>( ::QByteArray::OmitTrailingEquals), 20},
};

PyDoc_STRVAR(doc_QByteArray, "\1QByteArray()\n"
    "QByteArray(int, str)\n"
    "QByteArray(Union[QByteArray, bytes, bytearray])");


static pyqt5ClassPluginDef plugin_QByteArray = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QByteArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QByteArray,
        {0},
        &plugin_QByteArray
    },
    {
        sipNameNr_QByteArray,
        {0, 0, 1},
        58, methods_QByteArray,
        4, enummembers_QByteArray,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QByteArray,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QByteArray,
    init_type_QByteArray,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    getbuffer_QByteArray,
    0,
#else
    getreadbuffer_QByteArray,
    0,
    getsegcount_QByteArray,
    getcharbuffer_QByteArray,
#endif
    dealloc_QByteArray,
    assign_QByteArray,
    array_QByteArray,
    copy_QByteArray,
    release_QByteArray,
    0,
    convertTo_QByteArray,
    0,
    0,
    pickle_QByteArray,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbuffer.sip"
#include <qbuffer.h>
#line 161020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 161024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 161027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 161030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 161033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 161036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 161039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 161042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 161045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 161048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 161051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 161054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 161057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 161060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 161063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 161066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 161069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 161072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQBuffer : public  ::QBuffer
{
public:
    sipQBuffer( ::QObject*);
    sipQBuffer( ::QByteArray*, ::QObject*);
    virtual ~sipQBuffer();

    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*);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
     ::qint64 sipProtectVirt_readLineData(bool,char*, ::qint64);
    void sipProtect_setOpenMode( ::QIODevice::OpenMode);
    void sipProtect_setErrorString(const  ::QString&);
     ::qint64 sipProtectVirt_readData(bool,char*, ::qint64);
     ::qint64 sipProtectVirt_writeData(bool,const char*,PY_LONG_LONG);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    bool isSequential() const;
    bool open( ::QIODevice::OpenMode);
    void close();
     ::qint64 pos() const;
     ::qint64 size() const;
    bool seek( ::qint64);
    bool atEnd() const;
    bool reset();
     ::qint64 bytesAvailable() const;
     ::qint64 bytesToWrite() const;
    bool canReadLine() const;
    bool waitForReadyRead(int);
    bool waitForBytesWritten(int);
     ::qint64 readData(char*, ::qint64);
     ::qint64 readLineData(char*, ::qint64);
     ::qint64 writeData(const char*,PY_LONG_LONG);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQBuffer(const sipQBuffer &);
    sipQBuffer &operator = (const sipQBuffer &);

    char sipPyMethods[23];
};

sipQBuffer::sipQBuffer( ::QObject*a0):  ::QBuffer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQBuffer::sipQBuffer( ::QByteArray*a0, ::QObject*a1):  ::QBuffer(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQBuffer::~sipQBuffer()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQBuffer::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QBuffer);

    return  ::QBuffer::metaObject();
}

int sipQBuffer::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QBuffer::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QBuffer,_c,_id,_a);

    return _id;
}

void *sipQBuffer::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QBuffer, _clname, &sipCpp) ? sipCpp :  ::QBuffer::qt_metacast(_clname));
}

void sipQBuffer::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QBuffer::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQBuffer::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QBuffer::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQBuffer::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QBuffer::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQBuffer::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QBuffer::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQBuffer::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QBuffer::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQBuffer::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QBuffer::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQBuffer::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QBuffer::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQBuffer::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return  ::QBuffer::isSequential();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQBuffer::open( ::QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return  ::QBuffer::open(a0);

    extern bool sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QIODevice::OpenMode);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQBuffer::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
    {
         ::QBuffer::close();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQBuffer::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return  ::QBuffer::pos();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQBuffer::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return  ::QBuffer::size();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQBuffer::seek( ::qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return  ::QBuffer::seek(a0);

    extern bool sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qint64);

    return sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQBuffer::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_atEnd);

    if (!sipMeth)
        return  ::QBuffer::atEnd();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQBuffer::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
        return  ::QBuffer::reset();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQBuffer::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!sipMeth)
        return  ::QBuffer::bytesAvailable();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQBuffer::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!sipMeth)
        return  ::QBuffer::bytesToWrite();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQBuffer::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_canReadLine);

    if (!sipMeth)
        return  ::QBuffer::canReadLine();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQBuffer::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!sipMeth)
        return  ::QBuffer::waitForReadyRead(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQBuffer::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!sipMeth)
        return  ::QBuffer::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::qint64 sipQBuffer::readData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_readData);

    if (!sipMeth)
        return  ::QBuffer::readData(a0,a1);

    extern  ::qint64 sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQBuffer::readLineData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_readLineData);

    if (!sipMeth)
        return  ::QBuffer::readLineData(a0,a1);

    extern  ::qint64 sipVH_QtCore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_48(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQBuffer::writeData(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_writeData);

    if (!sipMeth)
        return  ::QBuffer::writeData(a0,a1);

    extern  ::qint64 sipVH_QtCore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_49(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::QObject* sipQBuffer::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQBuffer::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQBuffer::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQBuffer::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQBuffer::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

int sipQBuffer::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQBuffer::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

 ::qint64 sipQBuffer::sipProtectVirt_readLineData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QIODevice::readLineData(a0,a1) : readLineData(a0,a1));
}

void sipQBuffer::sipProtect_setOpenMode( ::QIODevice::OpenMode a0)
{
     ::QIODevice::setOpenMode(a0);
}

void sipQBuffer::sipProtect_setErrorString(const  ::QString& a0)
{
     ::QIODevice::setErrorString(a0);
}

 ::qint64 sipQBuffer::sipProtectVirt_readData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QBuffer::readData(a0,a1) : readData(a0,a1));
}

 ::qint64 sipQBuffer::sipProtectVirt_writeData(bool sipSelfWasArg,const char*a0,PY_LONG_LONG a1)
{
    return (sipSelfWasArg ?  ::QBuffer::writeData(a0,a1) : writeData(a0,a1));
}

void sipQBuffer::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QBuffer::connectNotify(a0) : connectNotify(a0));
}

void sipQBuffer::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QBuffer::disconnectNotify(a0) : disconnectNotify(a0));
}


PyDoc_STRVAR(doc_QBuffer_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QBuffer_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QBuffer, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 161661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_sender, doc_QBuffer_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QBuffer_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QBuffer, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 161721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QBuffer, sipName_receivers, doc_QBuffer_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QBuffer_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QBuffer, &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_QBuffer, sipName_timerEvent, doc_QBuffer_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QBuffer_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QBuffer, &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_QBuffer, sipName_childEvent, doc_QBuffer_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QBuffer_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QBuffer, &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_QBuffer, sipName_customEvent, doc_QBuffer_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QBuffer_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QBuffer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_senderSignalIndex, doc_QBuffer_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QBuffer_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QBuffer, &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_QBuffer, sipName_isSignalConnected, doc_QBuffer_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_readLineData, "readLineData(self, int) -> bytes");

extern "C" {static PyObject *meth_QBuffer_readLineData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_readLineData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QBuffer, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QIODevice::readLineData(s, a0) : sipCpp->readLineData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 161939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_readLineData, doc_QBuffer_readLineData);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_setOpenMode, "setOpenMode(self, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag])");

extern "C" {static PyObject *meth_QBuffer_setOpenMode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_setOpenMode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QBuffer, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            sipCpp->sipProtect_setOpenMode(*a0);
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_setOpenMode, doc_QBuffer_setOpenMode);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_setErrorString, "setErrorString(self, str)");

extern "C" {static PyObject *meth_QBuffer_setErrorString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_setErrorString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QBuffer, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->sipProtect_setErrorString(*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_QBuffer, sipName_setErrorString, doc_QBuffer_setErrorString);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_buffer, "buffer(self) -> QByteArray");

extern "C" {static PyObject *meth_QBuffer_buffer(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_buffer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBuffer, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = &sipCpp->buffer();

            return sipConvertFromType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_buffer, doc_QBuffer_buffer);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_data, "data(self) -> QByteArray");

extern "C" {static PyObject *meth_QBuffer_data(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBuffer, &sipCpp))
        {
             ::QByteArray*sipRes;

            sipRes = new  ::QByteArray(sipCpp->data());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_data, doc_QBuffer_data);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_setBuffer, "setBuffer(self, QByteArray)");

extern "C" {static PyObject *meth_QBuffer_setBuffer(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_setBuffer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QByteArray* a0;
         ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QBuffer, &sipCpp, sipType_QByteArray, &a0))
        {
            sipCpp->setBuffer(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_setBuffer, doc_QBuffer_setBuffer);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_setData, "setData(self, Union[QByteArray, bytes, bytearray])\n"
    "setData(self, bytes)");

extern "C" {static PyObject *meth_QBuffer_setData(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QBuffer, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            sipCpp->setData(*a0);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const char* a0;
        SIP_SSIZE_T a1;
         ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bk", &sipSelf, sipType_QBuffer, &sipCpp, &a0, &a1))
        {
            sipCpp->setData(a0,(int)a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_setData, doc_QBuffer_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_open, "open(self, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag]) -> bool");

extern "C" {static PyObject *meth_QBuffer_open(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
         ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QBuffer, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QBuffer::open(*a0) : sipCpp->open(*a0));
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_open, doc_QBuffer_open);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_close, "close(self)");

extern "C" {static PyObject *meth_QBuffer_close(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBuffer, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QBuffer::close() : sipCpp->close());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_close, doc_QBuffer_close);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_size, "size(self) -> int");

extern "C" {static PyObject *meth_QBuffer_size(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBuffer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QBuffer::size() : sipCpp->size());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_size, doc_QBuffer_size);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_pos, "pos(self) -> int");

extern "C" {static PyObject *meth_QBuffer_pos(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBuffer, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QBuffer::pos() : sipCpp->pos());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_pos, doc_QBuffer_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_seek, "seek(self, int) -> bool");

extern "C" {static PyObject *meth_QBuffer_seek(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_seek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
         ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QBuffer, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QBuffer::seek(a0) : sipCpp->seek(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_seek, doc_QBuffer_seek);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_atEnd, "atEnd(self) -> bool");

extern "C" {static PyObject *meth_QBuffer_atEnd(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_atEnd(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBuffer, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QBuffer::atEnd() : sipCpp->atEnd());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_atEnd, doc_QBuffer_atEnd);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_canReadLine, "canReadLine(self) -> bool");

extern "C" {static PyObject *meth_QBuffer_canReadLine(PyObject *, PyObject *);}
static PyObject *meth_QBuffer_canReadLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QBuffer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBuffer, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QBuffer::canReadLine() : sipCpp->canReadLine());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_canReadLine, doc_QBuffer_canReadLine);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_readData, "readData(self, int) -> bytes");

extern "C" {static PyObject *meth_QBuffer_readData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_readData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QBuffer, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 49 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbuffer.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QBuffer::readData(s, a0) : sipCpp->readData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 162404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_readData, doc_QBuffer_readData);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_writeData, "writeData(self, bytes) -> int");

extern "C" {static PyObject *meth_QBuffer_writeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_writeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const char* a0;
        SIP_SSIZE_T a1;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bk", &sipSelf, sipType_QBuffer, &sipCpp, &a0, &a1))
        {
             ::qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_writeData(sipSelfWasArg,a0,(PY_LONG_LONG)a1);
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBuffer, sipName_writeData, doc_QBuffer_writeData);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QBuffer_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QBuffer, &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_QBuffer, sipName_connectNotify, doc_QBuffer_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QBuffer_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QBuffer_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBuffer_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQBuffer *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QBuffer, &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_QBuffer, sipName_disconnectNotify, doc_QBuffer_disconnectNotify);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QBuffer(void *, const sipTypeDef *);}
static void *cast_QBuffer(void *sipCppV, const sipTypeDef *targetType)
{
     ::QBuffer *sipCpp = reinterpret_cast< ::QBuffer *>(sipCppV);

    if (targetType == sipType_QIODevice)
        return static_cast< ::QIODevice *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QBuffer(void *, int);}
static void release_QBuffer(void *sipCppV, int)
{
     ::QBuffer *sipCpp = reinterpret_cast< ::QBuffer *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QBuffer(sipSimpleWrapper *);}
static void dealloc_QBuffer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQBuffer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QBuffer(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QBuffer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QBuffer(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQBuffer *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 sipQBuffer(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QByteArray* a0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QByteArray, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQBuffer(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QBuffer[] = {{84, 255, 1}};


static PyMethodDef methods_QBuffer[] = {
    {SIP_MLNAME_CAST(sipName_atEnd), meth_QBuffer_atEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_atEnd)},
    {SIP_MLNAME_CAST(sipName_buffer), meth_QBuffer_buffer, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_buffer)},
    {SIP_MLNAME_CAST(sipName_canReadLine), meth_QBuffer_canReadLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_canReadLine)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QBuffer_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_QBuffer_close, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_close)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QBuffer_connectNotify, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBuffer_connectNotify)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QBuffer_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_QBuffer_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_data)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QBuffer_disconnectNotify, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBuffer_disconnectNotify)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QBuffer_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_QBuffer_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_open)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QBuffer_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_pos)},
    {SIP_MLNAME_CAST(sipName_readData), (PyCFunction)meth_QBuffer_readData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBuffer_readData)},
    {SIP_MLNAME_CAST(sipName_readLineData), (PyCFunction)meth_QBuffer_readLineData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QBuffer_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_seek), meth_QBuffer_seek, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_seek)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QBuffer_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QBuffer_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBuffer), meth_QBuffer_setBuffer, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_setBuffer)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QBuffer_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_setData)},
    {SIP_MLNAME_CAST(sipName_setErrorString), (PyCFunction)meth_QBuffer_setErrorString, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setOpenMode), (PyCFunction)meth_QBuffer_setOpenMode, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_QBuffer_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QBuffer_size)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QBuffer_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_writeData), (PyCFunction)meth_QBuffer_writeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBuffer_writeData)}
};

PyDoc_STRVAR(doc_QBuffer, "\1QBuffer(parent: QObject = None)\n"
    "QBuffer(QByteArray, parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QBuffer = {
    & ::QBuffer::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QBuffer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QBuffer,
        {0},
        &plugin_QBuffer
    },
    {
        sipNameNr_QBuffer,
        {0, 0, 1},
        25, methods_QBuffer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QBuffer,
    -1,
    -1,
    supers_QBuffer,
    0,
    init_type_QBuffer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QBuffer,
    0,
    0,
    0,
    release_QBuffer,
    cast_QBuffer,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 162694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 162698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 162701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 162704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 162707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 162710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 162713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 162716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 162719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 162722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 162725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 162728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 162731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 162734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 162737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 162740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 162743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 162746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQIODevice : public  ::QIODevice
{
public:
    sipQIODevice();
    sipQIODevice( ::QObject*);
    virtual ~sipQIODevice();

    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;
     ::qint64 sipProtect_readData(char*, ::qint64);
     ::qint64 sipProtectVirt_readLineData(bool,char*, ::qint64);
     ::qint64 sipProtect_writeData(const char*,PY_LONG_LONG);
    void sipProtect_setOpenMode( ::QIODevice::OpenMode);
    void sipProtect_setErrorString(const  ::QString&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::qint64 writeData(const char*,PY_LONG_LONG);
     ::qint64 readLineData(char*, ::qint64);
     ::qint64 readData(char*, ::qint64);
    bool waitForBytesWritten(int);
    bool waitForReadyRead(int);
    bool canReadLine() const;
     ::qint64 bytesToWrite() const;
     ::qint64 bytesAvailable() const;
    bool reset();
    bool atEnd() const;
    bool seek( ::qint64);
     ::qint64 size() const;
     ::qint64 pos() const;
    void close();
    bool open( ::QIODevice::OpenMode);
    bool isSequential() 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:
    sipQIODevice(const sipQIODevice &);
    sipQIODevice &operator = (const sipQIODevice &);

    char sipPyMethods[23];
};

sipQIODevice::sipQIODevice():  ::QIODevice(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQIODevice::sipQIODevice( ::QObject*a0):  ::QIODevice(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQIODevice::~sipQIODevice()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQIODevice::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QIODevice);

    return  ::QIODevice::metaObject();
}

int sipQIODevice::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QIODevice::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QIODevice,_c,_id,_a);

    return _id;
}

void *sipQIODevice::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QIODevice, _clname, &sipCpp) ? sipCpp :  ::QIODevice::qt_metacast(_clname));
}

 ::qint64 sipQIODevice::writeData(const char*a0,PY_LONG_LONG a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QIODevice,sipName_writeData);

    if (!sipMeth)
        return 0;

    extern  ::qint64 sipVH_QtCore_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const char*,PY_LONG_LONG);

    return sipVH_QtCore_49(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQIODevice::readLineData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_readLineData);

    if (!sipMeth)
        return  ::QIODevice::readLineData(a0,a1);

    extern  ::qint64 sipVH_QtCore_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_48(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::qint64 sipQIODevice::readData(char*a0, ::qint64 a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_QIODevice,sipName_readData);

    if (!sipMeth)
        return 0;

    extern  ::qint64 sipVH_QtCore_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, char*, ::qint64);

    return sipVH_QtCore_47(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQIODevice::waitForBytesWritten(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_waitForBytesWritten);

    if (!sipMeth)
        return  ::QIODevice::waitForBytesWritten(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIODevice::waitForReadyRead(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_waitForReadyRead);

    if (!sipMeth)
        return  ::QIODevice::waitForReadyRead(a0);

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIODevice::canReadLine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_canReadLine);

    if (!sipMeth)
        return  ::QIODevice::canReadLine();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQIODevice::bytesToWrite() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_bytesToWrite);

    if (!sipMeth)
        return  ::QIODevice::bytesToWrite();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQIODevice::bytesAvailable() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_bytesAvailable);

    if (!sipMeth)
        return  ::QIODevice::bytesAvailable();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIODevice::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
        return  ::QIODevice::reset();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIODevice::atEnd() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_atEnd);

    if (!sipMeth)
        return  ::QIODevice::atEnd();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIODevice::seek( ::qint64 a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_seek);

    if (!sipMeth)
        return  ::QIODevice::seek(a0);

    extern bool sipVH_QtCore_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::qint64);

    return sipVH_QtCore_46(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::qint64 sipQIODevice::size() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_size);

    if (!sipMeth)
        return  ::QIODevice::size();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::qint64 sipQIODevice::pos() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_pos);

    if (!sipMeth)
        return  ::QIODevice::pos();

    extern  ::qint64 sipVH_QtCore_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_45(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQIODevice::close()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_close);

    if (!sipMeth)
    {
         ::QIODevice::close();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIODevice::open( ::QIODevice::OpenMode a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
        return  ::QIODevice::open(a0);

    extern bool sipVH_QtCore_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QIODevice::OpenMode);

    return sipVH_QtCore_44(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIODevice::isSequential() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_isSequential);

    if (!sipMeth)
        return  ::QIODevice::isSequential();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQIODevice::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QIODevice::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQIODevice::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QIODevice::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQIODevice::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QIODevice::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIODevice::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QIODevice::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIODevice::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QIODevice::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIODevice::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QIODevice::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQIODevice::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QIODevice::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQIODevice::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQIODevice::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQIODevice::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQIODevice::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQIODevice::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQIODevice::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQIODevice::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQIODevice::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQIODevice::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

 ::qint64 sipQIODevice::sipProtect_readData(char*a0, ::qint64 a1)
{
    return readData(a0,a1);
}

 ::qint64 sipQIODevice::sipProtectVirt_readLineData(bool sipSelfWasArg,char*a0, ::qint64 a1)
{
    return (sipSelfWasArg ?  ::QIODevice::readLineData(a0,a1) : readLineData(a0,a1));
}

 ::qint64 sipQIODevice::sipProtect_writeData(const char*a0,PY_LONG_LONG a1)
{
    return writeData(a0,a1);
}

void sipQIODevice::sipProtect_setOpenMode( ::QIODevice::OpenMode a0)
{
     ::QIODevice::setOpenMode(a0);
}

void sipQIODevice::sipProtect_setErrorString(const  ::QString& a0)
{
     ::QIODevice::setErrorString(a0);
}


PyDoc_STRVAR(doc_QIODevice_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QIODevice_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 163335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_sender, doc_QIODevice_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QIODevice_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 163395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QIODevice, sipName_receivers, doc_QIODevice_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QIODevice_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QIODevice, &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_QIODevice, sipName_timerEvent, doc_QIODevice_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QIODevice_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QIODevice, &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_QIODevice, sipName_childEvent, doc_QIODevice_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QIODevice_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QIODevice, &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_QIODevice, sipName_customEvent, doc_QIODevice_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QIODevice_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QIODevice, &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_QIODevice, sipName_connectNotify, doc_QIODevice_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QIODevice_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QIODevice, &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_QIODevice, sipName_disconnectNotify, doc_QIODevice_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QIODevice_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_senderSignalIndex, doc_QIODevice_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QIODevice_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QIODevice, &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_QIODevice, sipName_isSignalConnected, doc_QIODevice_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_openMode, "openMode(self) -> QIODevice.OpenMode");

extern "C" {static PyObject *meth_QIODevice_openMode(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_openMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
             ::QIODevice::OpenMode*sipRes;

            sipRes = new  ::QIODevice::OpenMode(sipCpp->openMode());

            return sipConvertFromNewType(sipRes,sipType_QIODevice_OpenMode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_openMode, doc_QIODevice_openMode);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_setTextModeEnabled, "setTextModeEnabled(self, bool)");

extern "C" {static PyObject *meth_QIODevice_setTextModeEnabled(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_setTextModeEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            sipCpp->setTextModeEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_setTextModeEnabled, doc_QIODevice_setTextModeEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_isTextModeEnabled, "isTextModeEnabled(self) -> bool");

extern "C" {static PyObject *meth_QIODevice_isTextModeEnabled(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_isTextModeEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isTextModeEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_isTextModeEnabled, doc_QIODevice_isTextModeEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_isOpen, "isOpen(self) -> bool");

extern "C" {static PyObject *meth_QIODevice_isOpen(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_isOpen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isOpen();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_isOpen, doc_QIODevice_isOpen);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_isReadable, "isReadable(self) -> bool");

extern "C" {static PyObject *meth_QIODevice_isReadable(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_isReadable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_isReadable, doc_QIODevice_isReadable);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_isWritable, "isWritable(self) -> bool");

extern "C" {static PyObject *meth_QIODevice_isWritable(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_isWritable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWritable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_isWritable, doc_QIODevice_isWritable);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_isSequential, "isSequential(self) -> bool");

extern "C" {static PyObject *meth_QIODevice_isSequential(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_isSequential(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::isSequential() : sipCpp->isSequential());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_isSequential, doc_QIODevice_isSequential);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_open, "open(self, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag]) -> bool");

extern "C" {static PyObject *meth_QIODevice_open(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QIODevice, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::open(*a0) : sipCpp->open(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_open, doc_QIODevice_open);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_close, "close(self)");

extern "C" {static PyObject *meth_QIODevice_close(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp-> ::QIODevice::close() : sipCpp->close());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_close, doc_QIODevice_close);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_pos, "pos(self) -> int");

extern "C" {static PyObject *meth_QIODevice_pos(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::pos() : sipCpp->pos());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_pos, doc_QIODevice_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_size, "size(self) -> int");

extern "C" {static PyObject *meth_QIODevice_size(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::size() : sipCpp->size());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_size, doc_QIODevice_size);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_seek, "seek(self, int) -> bool");

extern "C" {static PyObject *meth_QIODevice_seek(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_seek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::seek(a0) : sipCpp->seek(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_seek, doc_QIODevice_seek);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_atEnd, "atEnd(self) -> bool");

extern "C" {static PyObject *meth_QIODevice_atEnd(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_atEnd(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::atEnd() : sipCpp->atEnd());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_atEnd, doc_QIODevice_atEnd);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_reset, "reset(self) -> bool");

extern "C" {static PyObject *meth_QIODevice_reset(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::reset() : sipCpp->reset());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_reset, doc_QIODevice_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_bytesAvailable, "bytesAvailable(self) -> int");

extern "C" {static PyObject *meth_QIODevice_bytesAvailable(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_bytesAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::bytesAvailable() : sipCpp->bytesAvailable());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_bytesAvailable, doc_QIODevice_bytesAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_bytesToWrite, "bytesToWrite(self) -> int");

extern "C" {static PyObject *meth_QIODevice_bytesToWrite(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_bytesToWrite(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::bytesToWrite() : sipCpp->bytesToWrite());

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_bytesToWrite, doc_QIODevice_bytesToWrite);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_read, "read(self, int) -> bytes");

extern "C" {static PyObject *meth_QIODevice_read(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 64 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
            len = sipCpp->read(s, a0);
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 164133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_read, doc_QIODevice_read);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_readAll, "readAll(self) -> QByteArray");

extern "C" {static PyObject *meth_QIODevice_readAll(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_readAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
             ::QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QByteArray(sipCpp->readAll());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_readAll, doc_QIODevice_readAll);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_readLine, "readLine(self, maxlen: int = 0) -> bytes");

extern "C" {static PyObject *meth_QIODevice_readLine(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_readLine(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0 = 0;
         ::QIODevice *sipCpp;

        static const char *sipKwdList[] = {
            sipName_maxlen,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|n", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 99 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
        // The two C++ overloads would have the same Python signature so we get most of
        // the combined functionality by treating an argument of 0 (the default) as
        // meaning return a QByteArray of any length.  Otherwise it is treated as a
        // maximum buffer size and a Python string is returned.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else if (a0 == 0)
        {
            QByteArray *ba;
        
            Py_BEGIN_ALLOW_THREADS
            ba = new QByteArray(sipCpp->readLine(a0));
            Py_END_ALLOW_THREADS
        
            sipRes = sipBuildResult(&sipIsErr, "N", ba, sipType_QByteArray, 0);
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
            len = sipCpp->readLine(s, a0);
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 164244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_readLine, doc_QIODevice_readLine);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_canReadLine, "canReadLine(self) -> bool");

extern "C" {static PyObject *meth_QIODevice_canReadLine(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_canReadLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::canReadLine() : sipCpp->canReadLine());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_canReadLine, doc_QIODevice_canReadLine);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_peek, "peek(self, int) -> QByteArray");

extern "C" {static PyObject *meth_QIODevice_peek(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_peek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::qint64 a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
             ::QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QByteArray(sipCpp->peek(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_peek, doc_QIODevice_peek);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_write, "write(self, Union[QByteArray, bytes, bytearray]) -> int");

extern "C" {static PyObject *meth_QIODevice_write(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QIODevice, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
             ::qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->write(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_write, doc_QIODevice_write);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_waitForReadyRead, "waitForReadyRead(self, int) -> bool");

extern "C" {static PyObject *meth_QIODevice_waitForReadyRead(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_waitForReadyRead(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::waitForReadyRead(a0) : sipCpp->waitForReadyRead(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_waitForReadyRead, doc_QIODevice_waitForReadyRead);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_waitForBytesWritten, "waitForBytesWritten(self, int) -> bool");

extern "C" {static PyObject *meth_QIODevice_waitForBytesWritten(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_waitForBytesWritten(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp-> ::QIODevice::waitForBytesWritten(a0) : sipCpp->waitForBytesWritten(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_waitForBytesWritten, doc_QIODevice_waitForBytesWritten);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_ungetChar, "ungetChar(self, str)");

extern "C" {static PyObject *meth_QIODevice_ungetChar(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_ungetChar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BaA", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            sipCpp->ungetChar(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_ungetChar, doc_QIODevice_ungetChar);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_putChar, "putChar(self, str) -> bool");

extern "C" {static PyObject *meth_QIODevice_putChar(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_putChar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BaA", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->putChar(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_putChar, doc_QIODevice_putChar);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_getChar, "getChar(self) -> Tuple[bool, str]");

extern "C" {static PyObject *meth_QIODevice_getChar(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_getChar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->getChar(&a0);

            return sipBuildResult(0,"(bc)",sipRes,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_getChar, doc_QIODevice_getChar);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_errorString, "errorString(self) -> str");

extern "C" {static PyObject *meth_QIODevice_errorString(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->errorString());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_errorString, doc_QIODevice_errorString);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_readData, "readData(self, int) -> bytes");

extern "C" {static PyObject *meth_QIODevice_readData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_readData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::qint64 a0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QIODevice, sipName_readData);
                return NULL;
            }

#line 163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipCpp->readData(s, a0);
        #else
            len = sipCpp->sipProtect_readData(s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 164590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_readData, doc_QIODevice_readData);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_readLineData, "readLineData(self, int) -> bytes");

extern "C" {static PyObject *meth_QIODevice_readLineData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_readLineData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::qint64 a0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bn", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qiodevice.sip"
        // Return the data read or None if there was an error.
        if (a0 < 0)
        {
            PyErr_SetString(PyExc_ValueError, "maximum length of data to be read cannot be negative");
            sipIsErr = 1;
        }
        else
        {
            char *s = new char[a0];
            qint64 len;
        
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            len = sipSelfWasArg ? sipCpp->QIODevice::readLineData(s, a0) : sipCpp->readLineData(s, a0);
        #else
            len = sipCpp->sipProtectVirt_readLineData(sipSelfWasArg, s, a0);
        #endif
            Py_END_ALLOW_THREADS
        
            if (len < 0)
            {
                Py_INCREF(Py_None);
                sipRes = Py_None;
            }
            else
            {
                sipRes = SIPBytes_FromStringAndSize(s, len);
        
                if (!sipRes)
                    sipIsErr = 1;
            }
        
            delete[] s;
        }
#line 164659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_readLineData, doc_QIODevice_readLineData);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_writeData, "writeData(self, bytes) -> int");

extern "C" {static PyObject *meth_QIODevice_writeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_writeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const char* a0;
        SIP_SSIZE_T a1;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bk", &sipSelf, sipType_QIODevice, &sipCpp, &a0, &a1))
        {
             ::qint64 sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QIODevice, sipName_writeData);
                return NULL;
            }

            sipRes = sipCpp->sipProtect_writeData(a0,(PY_LONG_LONG)a1);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_writeData, doc_QIODevice_writeData);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_setOpenMode, "setOpenMode(self, Union[QIODevice.OpenMode, QIODevice.OpenModeFlag])");

extern "C" {static PyObject *meth_QIODevice_setOpenMode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_setOpenMode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice::OpenMode* a0;
        int a0State = 0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QIODevice, &sipCpp, sipType_QIODevice_OpenMode, &a0, &a0State))
        {
            sipCpp->sipProtect_setOpenMode(*a0);
            sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_setOpenMode, doc_QIODevice_setOpenMode);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_setErrorString, "setErrorString(self, str)");

extern "C" {static PyObject *meth_QIODevice_setErrorString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QIODevice_setErrorString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
        sipQIODevice *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QIODevice, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->sipProtect_setErrorString(*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_QIODevice, sipName_setErrorString, doc_QIODevice_setErrorString);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_readChannelCount, "readChannelCount(self) -> int");

extern "C" {static PyObject *meth_QIODevice_readChannelCount(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_readChannelCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->readChannelCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_readChannelCount, doc_QIODevice_readChannelCount);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_writeChannelCount, "writeChannelCount(self) -> int");

extern "C" {static PyObject *meth_QIODevice_writeChannelCount(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_writeChannelCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->writeChannelCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_writeChannelCount, doc_QIODevice_writeChannelCount);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_currentReadChannel, "currentReadChannel(self) -> int");

extern "C" {static PyObject *meth_QIODevice_currentReadChannel(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_currentReadChannel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentReadChannel();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_currentReadChannel, doc_QIODevice_currentReadChannel);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_setCurrentReadChannel, "setCurrentReadChannel(self, int)");

extern "C" {static PyObject *meth_QIODevice_setCurrentReadChannel(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_setCurrentReadChannel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            sipCpp->setCurrentReadChannel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_setCurrentReadChannel, doc_QIODevice_setCurrentReadChannel);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_currentWriteChannel, "currentWriteChannel(self) -> int");

extern "C" {static PyObject *meth_QIODevice_currentWriteChannel(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_currentWriteChannel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentWriteChannel();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_currentWriteChannel, doc_QIODevice_currentWriteChannel);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_setCurrentWriteChannel, "setCurrentWriteChannel(self, int)");

extern "C" {static PyObject *meth_QIODevice_setCurrentWriteChannel(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_setCurrentWriteChannel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QIODevice, &sipCpp, &a0))
        {
            sipCpp->setCurrentWriteChannel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_setCurrentWriteChannel, doc_QIODevice_setCurrentWriteChannel);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_startTransaction, "startTransaction(self)");

extern "C" {static PyObject *meth_QIODevice_startTransaction(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_startTransaction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            sipCpp->startTransaction();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_startTransaction, doc_QIODevice_startTransaction);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_commitTransaction, "commitTransaction(self)");

extern "C" {static PyObject *meth_QIODevice_commitTransaction(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_commitTransaction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            sipCpp->commitTransaction();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_commitTransaction, doc_QIODevice_commitTransaction);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_rollbackTransaction, "rollbackTransaction(self)");

extern "C" {static PyObject *meth_QIODevice_rollbackTransaction(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_rollbackTransaction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            sipCpp->rollbackTransaction();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_rollbackTransaction, doc_QIODevice_rollbackTransaction);

    return NULL;
}


PyDoc_STRVAR(doc_QIODevice_isTransactionStarted, "isTransactionStarted(self) -> bool");

extern "C" {static PyObject *meth_QIODevice_isTransactionStarted(PyObject *, PyObject *);}
static PyObject *meth_QIODevice_isTransactionStarted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QIODevice *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QIODevice, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isTransactionStarted();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QIODevice, sipName_isTransactionStarted, doc_QIODevice_isTransactionStarted);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QIODevice(void *, const sipTypeDef *);}
static void *cast_QIODevice(void *sipCppV, const sipTypeDef *targetType)
{
     ::QIODevice *sipCpp = reinterpret_cast< ::QIODevice *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QIODevice(void *, int);}
static void release_QIODevice(void *sipCppV, int)
{
     ::QIODevice *sipCpp = reinterpret_cast< ::QIODevice *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QIODevice(sipSimpleWrapper *);}
static void dealloc_QIODevice(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQIODevice *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QIODevice(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QIODevice(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QIODevice(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQIODevice *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQIODevice();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQIODevice(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QIODevice[] = {{169, 255, 1}};


static PyMethodDef methods_QIODevice[] = {
    {SIP_MLNAME_CAST(sipName_atEnd), meth_QIODevice_atEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_atEnd)},
    {SIP_MLNAME_CAST(sipName_bytesAvailable), meth_QIODevice_bytesAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_bytesAvailable)},
    {SIP_MLNAME_CAST(sipName_bytesToWrite), meth_QIODevice_bytesToWrite, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_bytesToWrite)},
    {SIP_MLNAME_CAST(sipName_canReadLine), meth_QIODevice_canReadLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_canReadLine)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QIODevice_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_QIODevice_close, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_close)},
    {SIP_MLNAME_CAST(sipName_commitTransaction), meth_QIODevice_commitTransaction, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_commitTransaction)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QIODevice_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentReadChannel), meth_QIODevice_currentReadChannel, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_currentReadChannel)},
    {SIP_MLNAME_CAST(sipName_currentWriteChannel), meth_QIODevice_currentWriteChannel, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_currentWriteChannel)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QIODevice_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QIODevice_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QIODevice_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_errorString)},
    {SIP_MLNAME_CAST(sipName_getChar), meth_QIODevice_getChar, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_getChar)},
    {SIP_MLNAME_CAST(sipName_isOpen), meth_QIODevice_isOpen, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_isOpen)},
    {SIP_MLNAME_CAST(sipName_isReadable), meth_QIODevice_isReadable, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_isReadable)},
    {SIP_MLNAME_CAST(sipName_isSequential), meth_QIODevice_isSequential, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_isSequential)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QIODevice_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isTextModeEnabled), meth_QIODevice_isTextModeEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_isTextModeEnabled)},
    {SIP_MLNAME_CAST(sipName_isTransactionStarted), meth_QIODevice_isTransactionStarted, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_isTransactionStarted)},
    {SIP_MLNAME_CAST(sipName_isWritable), meth_QIODevice_isWritable, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_isWritable)},
    {SIP_MLNAME_CAST(sipName_open), meth_QIODevice_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_open)},
    {SIP_MLNAME_CAST(sipName_openMode), meth_QIODevice_openMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_openMode)},
    {SIP_MLNAME_CAST(sipName_peek), meth_QIODevice_peek, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_peek)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QIODevice_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_pos)},
    {SIP_MLNAME_CAST(sipName_putChar), meth_QIODevice_putChar, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_putChar)},
    {SIP_MLNAME_CAST(sipName_read), meth_QIODevice_read, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_read)},
    {SIP_MLNAME_CAST(sipName_readAll), meth_QIODevice_readAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_readAll)},
    {SIP_MLNAME_CAST(sipName_readChannelCount), meth_QIODevice_readChannelCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_readChannelCount)},
    {SIP_MLNAME_CAST(sipName_readData), (PyCFunction)meth_QIODevice_readData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIODevice_readData)},
    {SIP_MLNAME_CAST(sipName_readLine), (PyCFunction)meth_QIODevice_readLine, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIODevice_readLine)},
    {SIP_MLNAME_CAST(sipName_readLineData), (PyCFunction)meth_QIODevice_readLineData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIODevice_readLineData)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QIODevice_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_QIODevice_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_reset)},
    {SIP_MLNAME_CAST(sipName_rollbackTransaction), meth_QIODevice_rollbackTransaction, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_rollbackTransaction)},
    {SIP_MLNAME_CAST(sipName_seek), meth_QIODevice_seek, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_seek)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QIODevice_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QIODevice_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentReadChannel), meth_QIODevice_setCurrentReadChannel, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_setCurrentReadChannel)},
    {SIP_MLNAME_CAST(sipName_setCurrentWriteChannel), meth_QIODevice_setCurrentWriteChannel, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_setCurrentWriteChannel)},
    {SIP_MLNAME_CAST(sipName_setErrorString), (PyCFunction)meth_QIODevice_setErrorString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIODevice_setErrorString)},
    {SIP_MLNAME_CAST(sipName_setOpenMode), (PyCFunction)meth_QIODevice_setOpenMode, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIODevice_setOpenMode)},
    {SIP_MLNAME_CAST(sipName_setTextModeEnabled), meth_QIODevice_setTextModeEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_setTextModeEnabled)},
    {SIP_MLNAME_CAST(sipName_size), meth_QIODevice_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_size)},
    {SIP_MLNAME_CAST(sipName_startTransaction), meth_QIODevice_startTransaction, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_startTransaction)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QIODevice_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_ungetChar), meth_QIODevice_ungetChar, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_ungetChar)},
    {SIP_MLNAME_CAST(sipName_waitForBytesWritten), meth_QIODevice_waitForBytesWritten, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_waitForBytesWritten)},
    {SIP_MLNAME_CAST(sipName_waitForReadyRead), meth_QIODevice_waitForReadyRead, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_waitForReadyRead)},
    {SIP_MLNAME_CAST(sipName_write), meth_QIODevice_write, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_write)},
    {SIP_MLNAME_CAST(sipName_writeChannelCount), meth_QIODevice_writeChannelCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QIODevice_writeChannelCount)},
    {SIP_MLNAME_CAST(sipName_writeData), (PyCFunction)meth_QIODevice_writeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QIODevice_writeData)}
};

static sipEnumMemberDef enummembers_QIODevice[] = {
    {sipName_Append, static_cast<int>( ::QIODevice::Append), 86},
    {sipName_NotOpen, static_cast<int>( ::QIODevice::NotOpen), 86},
    {sipName_ReadOnly, static_cast<int>( ::QIODevice::ReadOnly), 86},
    {sipName_ReadWrite, static_cast<int>( ::QIODevice::ReadWrite), 86},
    {sipName_Text, static_cast<int>( ::QIODevice::Text), 86},
    {sipName_Truncate, static_cast<int>( ::QIODevice::Truncate), 86},
    {sipName_Unbuffered, static_cast<int>( ::QIODevice::Unbuffered), 86},
    {sipName_WriteOnly, static_cast<int>( ::QIODevice::WriteOnly), 86},
};

PyDoc_STRVAR(doc_QIODevice, "\1QIODevice()\n"
    "QIODevice(QObject)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QIODevice[] = {
    {"channelBytesWritten(int,qint64)", "\1channelBytesWritten(self, int, int)", 0, 0},
    {"channelReadyRead(int)", "\1channelReadyRead(self, int)", 0, 0},
    {"readChannelFinished()", "\1readChannelFinished(self)", 0, 0},
    {"aboutToClose()", "\1aboutToClose(self)", 0, 0},
    {"bytesWritten(qint64)", "\1bytesWritten(self, int)", 0, 0},
    {"readyRead()", "\1readyRead(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QIODevice = {
    & ::QIODevice::staticMetaObject,
    0,
    signals_QIODevice,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QIODevice = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QIODevice,
        {0},
        &plugin_QIODevice
    },
    {
        sipNameNr_QIODevice,
        {0, 0, 1},
        52, methods_QIODevice,
        8, enummembers_QIODevice,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QIODevice,
    -1,
    -1,
    supers_QIODevice,
    0,
    init_type_QIODevice,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QIODevice,
    0,
    0,
    0,
    release_QIODevice,
    cast_QIODevice,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbitarray.sip"
#include <qbitarray.h>
#line 165267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbitarray.sip"
// This is needed by __hash__().
#include <qhash.h>
#line 165272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QBitArray_size, "size(self) -> int");

extern "C" {static PyObject *meth_QBitArray_size(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBitArray, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->size();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_size, doc_QBitArray_size);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_count, "count(self) -> int\n"
    "count(self, bool) -> int");

extern "C" {static PyObject *meth_QBitArray_count(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBitArray, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        bool a0;
        const  ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QBitArray, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->count(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_count, doc_QBitArray_count);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_isEmpty, "isEmpty(self) -> bool");

extern "C" {static PyObject *meth_QBitArray_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBitArray, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_isEmpty, doc_QBitArray_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_isNull, "isNull(self) -> bool");

extern "C" {static PyObject *meth_QBitArray_isNull(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_isNull(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBitArray, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_isNull, doc_QBitArray_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_resize, "resize(self, int)");

extern "C" {static PyObject *meth_QBitArray_resize(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_resize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBitArray, &sipCpp, &a0))
        {
            sipCpp->resize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_resize, doc_QBitArray_resize);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_detach, "detach(self)");

extern "C" {static PyObject *meth_QBitArray_detach(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_detach(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBitArray, &sipCpp))
        {
            sipCpp->detach();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_detach, doc_QBitArray_detach);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_isDetached, "isDetached(self) -> bool");

extern "C" {static PyObject *meth_QBitArray_isDetached(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_isDetached(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBitArray, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDetached();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_isDetached, doc_QBitArray_isDetached);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_clear, "clear(self)");

extern "C" {static PyObject *meth_QBitArray_clear(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBitArray, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_clear, doc_QBitArray_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_fill, "fill(self, bool, int, int)\n"
    "fill(self, bool, size: int = -1) -> bool");

extern "C" {static PyObject *meth_QBitArray_fill(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBitArray_fill(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1;
        int a2;
         ::QBitArray *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bbii", &sipSelf, sipType_QBitArray, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->fill(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        bool a0;
        int a1 = -1;
         ::QBitArray *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_size,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bb|i", &sipSelf, sipType_QBitArray, &sipCpp, &a0, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->fill(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_fill, doc_QBitArray_fill);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_truncate, "truncate(self, int)");

extern "C" {static PyObject *meth_QBitArray_truncate(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_truncate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBitArray, &sipCpp, &a0))
        {
            sipCpp->truncate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_truncate, doc_QBitArray_truncate);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_testBit, "testBit(self, int) -> bool");

extern "C" {static PyObject *meth_QBitArray_testBit(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_testBit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBitArray, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testBit(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_testBit, doc_QBitArray_testBit);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_setBit, "setBit(self, int)\n"
    "setBit(self, int, bool)");

extern "C" {static PyObject *meth_QBitArray_setBit(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_setBit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBitArray, &sipCpp, &a0))
        {
            sipCpp->setBit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        bool a1;
         ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QBitArray, &sipCpp, &a0, &a1))
        {
            sipCpp->setBit(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_setBit, doc_QBitArray_setBit);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_clearBit, "clearBit(self, int)");

extern "C" {static PyObject *meth_QBitArray_clearBit(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_clearBit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBitArray, &sipCpp, &a0))
        {
            sipCpp->clearBit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_clearBit, doc_QBitArray_clearBit);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_toggleBit, "toggleBit(self, int) -> bool");

extern "C" {static PyObject *meth_QBitArray_toggleBit(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_toggleBit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBitArray, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->toggleBit(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_toggleBit, doc_QBitArray_toggleBit);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_at, "at(self, int) -> bool");

extern "C" {static PyObject *meth_QBitArray_at(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_at(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBitArray, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->at(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_at, doc_QBitArray_at);

    return NULL;
}


PyDoc_STRVAR(doc_QBitArray_swap, "swap(self, QBitArray)");

extern "C" {static PyObject *meth_QBitArray_swap(PyObject *, PyObject *);}
static PyObject *meth_QBitArray_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QBitArray* a0;
         ::QBitArray *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QBitArray, &sipCpp, sipType_QBitArray, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName_swap, doc_QBitArray_swap);

    return NULL;
}


extern "C" {static PyObject *slot_QBitArray___or__(PyObject *,PyObject *);}
static PyObject *slot_QBitArray___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray* a0;
        const  ::QBitArray* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QBitArray, &a0, sipType_QBitArray, &a1))
        {
             ::QBitArray*sipRes;

            sipRes = new  ::QBitArray((*a0 | *a1));

            return sipConvertFromNewType(sipRes,sipType_QBitArray,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QBitArray___and__(PyObject *,PyObject *);}
static PyObject *slot_QBitArray___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray* a0;
        const  ::QBitArray* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QBitArray, &a0, sipType_QBitArray, &a1))
        {
             ::QBitArray*sipRes;

            sipRes = new  ::QBitArray((*a0 & *a1));

            return sipConvertFromNewType(sipRes,sipType_QBitArray,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_QBitArray___xor__(PyObject *,PyObject *);}
static PyObject *slot_QBitArray___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray* a0;
        const  ::QBitArray* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QBitArray, &a0, sipType_QBitArray, &a1))
        {
             ::QBitArray*sipRes;

            sipRes = new  ::QBitArray((*a0 ^ *a1));

            return sipConvertFromNewType(sipRes,sipType_QBitArray,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static long slot_QBitArray___hash__(PyObject *);}
static long slot_QBitArray___hash__(PyObject *sipSelf)
{
     ::QBitArray *sipCpp = reinterpret_cast< ::QBitArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBitArray));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbitarray.sip"
        sipRes = qHash(*sipCpp);
#line 165879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QBitArray___getitem__(PyObject *,PyObject *);}
static PyObject *slot_QBitArray___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QBitArray *sipCpp = reinterpret_cast< ::QBitArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBitArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            bool sipRes = 0;
            int sipIsErr = 0;

#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbitarray.sip"
        Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = sipCpp->operator[]((int)idx);
#line 165914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            if (sipIsErr)
                return 0;

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBitArray, sipName___getitem__, NULL);

    return 0;
}


extern "C" {static PyObject *slot_QBitArray___ne__(PyObject *,PyObject *);}
static PyObject *slot_QBitArray___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QBitArray *sipCpp = reinterpret_cast< ::QBitArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBitArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QBitArray, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QBitArray::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QBitArray, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QBitArray___eq__(PyObject *,PyObject *);}
static PyObject *slot_QBitArray___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QBitArray *sipCpp = reinterpret_cast< ::QBitArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBitArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QBitArray, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QBitArray::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QBitArray, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QBitArray___invert__(PyObject *);}
static PyObject *slot_QBitArray___invert__(PyObject *sipSelf)
{
     ::QBitArray *sipCpp = reinterpret_cast< ::QBitArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBitArray));

    if (!sipCpp)
        return 0;


    {
        {
             ::QBitArray*sipRes;

            sipRes = new  ::QBitArray(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QBitArray,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QBitArray___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QBitArray___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QBitArray)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QBitArray *sipCpp = reinterpret_cast< ::QBitArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBitArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QBitArray, &a0))
        {
            sipCpp-> ::QBitArray::operator^=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QBitArray___ior__(PyObject *,PyObject *);}
static PyObject *slot_QBitArray___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QBitArray)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QBitArray *sipCpp = reinterpret_cast< ::QBitArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBitArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QBitArray, &a0))
        {
            sipCpp-> ::QBitArray::operator|=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QBitArray___iand__(PyObject *,PyObject *);}
static PyObject *slot_QBitArray___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QBitArray)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::QBitArray *sipCpp = reinterpret_cast< ::QBitArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBitArray));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QBitArray* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QBitArray, &a0))
        {
            sipCpp-> ::QBitArray::operator&=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static SIP_SSIZE_T slot_QBitArray___len__(PyObject *);}
static SIP_SSIZE_T slot_QBitArray___len__(PyObject *sipSelf)
{
     ::QBitArray *sipCpp = reinterpret_cast< ::QBitArray *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBitArray));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 166152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_QBitArray(void *, int);}
static void release_QBitArray(void *sipCppV, int)
{
    delete reinterpret_cast< ::QBitArray *>(sipCppV);
}


extern "C" {static void assign_QBitArray(void *, SIP_SSIZE_T, const void *);}
static void assign_QBitArray(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QBitArray *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QBitArray *>(sipSrc);
}


extern "C" {static void *array_QBitArray(SIP_SSIZE_T);}
static void *array_QBitArray(SIP_SSIZE_T sipNrElem)
{
    return new  ::QBitArray[sipNrElem];
}


extern "C" {static void *copy_QBitArray(const void *, SIP_SSIZE_T);}
static void *copy_QBitArray(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QBitArray(reinterpret_cast<const  ::QBitArray *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QBitArray(sipSimpleWrapper *);}
static void dealloc_QBitArray(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QBitArray(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QBitArray(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QBitArray(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QBitArray *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QBitArray();

            return sipCpp;
        }
    }

    {
        int a0;
        bool a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_value,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "i|b", &a0, &a1))
        {
            sipCpp = new  ::QBitArray(a0,a1);

            return sipCpp;
        }
    }

    {
        const  ::QBitArray* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QBitArray, &a0))
        {
            sipCpp = new  ::QBitArray(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QBitArray[] = {
    {(void *)slot_QBitArray___or__, or_slot},
    {(void *)slot_QBitArray___and__, and_slot},
    {(void *)slot_QBitArray___xor__, xor_slot},
    {(void *)slot_QBitArray___hash__, hash_slot},
    {(void *)slot_QBitArray___getitem__, getitem_slot},
    {(void *)slot_QBitArray___ne__, ne_slot},
    {(void *)slot_QBitArray___eq__, eq_slot},
    {(void *)slot_QBitArray___invert__, invert_slot},
    {(void *)slot_QBitArray___ixor__, ixor_slot},
    {(void *)slot_QBitArray___ior__, ior_slot},
    {(void *)slot_QBitArray___iand__, iand_slot},
    {(void *)slot_QBitArray___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QBitArray[] = {
    {SIP_MLNAME_CAST(sipName_at), meth_QBitArray_at, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_at)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QBitArray_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_clear)},
    {SIP_MLNAME_CAST(sipName_clearBit), meth_QBitArray_clearBit, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_clearBit)},
    {SIP_MLNAME_CAST(sipName_count), meth_QBitArray_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_count)},
    {SIP_MLNAME_CAST(sipName_detach), meth_QBitArray_detach, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_detach)},
    {SIP_MLNAME_CAST(sipName_fill), (PyCFunction)meth_QBitArray_fill, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBitArray_fill)},
    {SIP_MLNAME_CAST(sipName_isDetached), meth_QBitArray_isDetached, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_isDetached)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QBitArray_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QBitArray_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_isNull)},
    {SIP_MLNAME_CAST(sipName_resize), meth_QBitArray_resize, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_resize)},
    {SIP_MLNAME_CAST(sipName_setBit), meth_QBitArray_setBit, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_setBit)},
    {SIP_MLNAME_CAST(sipName_size), meth_QBitArray_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_size)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QBitArray_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_swap)},
    {SIP_MLNAME_CAST(sipName_testBit), meth_QBitArray_testBit, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_testBit)},
    {SIP_MLNAME_CAST(sipName_toggleBit), meth_QBitArray_toggleBit, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_toggleBit)},
    {SIP_MLNAME_CAST(sipName_truncate), meth_QBitArray_truncate, METH_VARARGS, SIP_MLDOC_CAST(doc_QBitArray_truncate)}
};

PyDoc_STRVAR(doc_QBitArray, "\1QBitArray()\n"
    "QBitArray(int, value: bool = False)\n"
    "QBitArray(QBitArray)");


static pyqt5ClassPluginDef plugin_QBitArray = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QBitArray = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QBitArray,
        {0},
        &plugin_QBitArray
    },
    {
        sipNameNr_QBitArray,
        {0, 0, 1},
        16, methods_QBitArray,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QBitArray,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QBitArray,
    init_type_QBitArray,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QBitArray,
    assign_QBitArray,
    array_QBitArray,
    copy_QBitArray,
    release_QBitArray,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbasictimer.sip"
#include <qbasictimer.h>
#line 166349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 166356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QBasicTimer_isActive, "isActive(self) -> bool");

extern "C" {static PyObject *meth_QBasicTimer_isActive(PyObject *, PyObject *);}
static PyObject *meth_QBasicTimer_isActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBasicTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBasicTimer, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBasicTimer, sipName_isActive, doc_QBasicTimer_isActive);

    return NULL;
}


PyDoc_STRVAR(doc_QBasicTimer_timerId, "timerId(self) -> int");

extern "C" {static PyObject *meth_QBasicTimer_timerId(PyObject *, PyObject *);}
static PyObject *meth_QBasicTimer_timerId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QBasicTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBasicTimer, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->timerId();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBasicTimer, sipName_timerId, doc_QBasicTimer_timerId);

    return NULL;
}


PyDoc_STRVAR(doc_QBasicTimer_start, "start(self, int, Qt.TimerType, QObject)\n"
    "start(self, int, QObject)");

extern "C" {static PyObject *meth_QBasicTimer_start(PyObject *, PyObject *);}
static PyObject *meth_QBasicTimer_start(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::Qt::TimerType a1;
         ::QObject* a2;
         ::QBasicTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiEJ8", &sipSelf, sipType_QBasicTimer, &sipCpp, &a0, sipType_Qt_TimerType, &a1, sipType_QObject, &a2))
        {
            sipCpp->start(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
         ::QObject* a1;
         ::QBasicTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ8", &sipSelf, sipType_QBasicTimer, &sipCpp, &a0, sipType_QObject, &a1))
        {
            sipCpp->start(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBasicTimer, sipName_start, doc_QBasicTimer_start);

    return NULL;
}


PyDoc_STRVAR(doc_QBasicTimer_stop, "stop(self)");

extern "C" {static PyObject *meth_QBasicTimer_stop(PyObject *, PyObject *);}
static PyObject *meth_QBasicTimer_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QBasicTimer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBasicTimer, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBasicTimer, sipName_stop, doc_QBasicTimer_stop);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QBasicTimer(void *, int);}
static void release_QBasicTimer(void *sipCppV, int)
{
    delete reinterpret_cast< ::QBasicTimer *>(sipCppV);
}


extern "C" {static void assign_QBasicTimer(void *, SIP_SSIZE_T, const void *);}
static void assign_QBasicTimer(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QBasicTimer *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QBasicTimer *>(sipSrc);
}


extern "C" {static void *array_QBasicTimer(SIP_SSIZE_T);}
static void *array_QBasicTimer(SIP_SSIZE_T sipNrElem)
{
    return new  ::QBasicTimer[sipNrElem];
}


extern "C" {static void *copy_QBasicTimer(const void *, SIP_SSIZE_T);}
static void *copy_QBasicTimer(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QBasicTimer(reinterpret_cast<const  ::QBasicTimer *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QBasicTimer(sipSimpleWrapper *);}
static void dealloc_QBasicTimer(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QBasicTimer(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QBasicTimer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QBasicTimer(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QBasicTimer *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QBasicTimer();

            return sipCpp;
        }
    }

    {
        const  ::QBasicTimer* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QBasicTimer, &a0))
        {
            sipCpp = new  ::QBasicTimer(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QBasicTimer[] = {
    {SIP_MLNAME_CAST(sipName_isActive), meth_QBasicTimer_isActive, METH_VARARGS, SIP_MLDOC_CAST(doc_QBasicTimer_isActive)},
    {SIP_MLNAME_CAST(sipName_start), meth_QBasicTimer_start, METH_VARARGS, SIP_MLDOC_CAST(doc_QBasicTimer_start)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QBasicTimer_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QBasicTimer_stop)},
    {SIP_MLNAME_CAST(sipName_timerId), meth_QBasicTimer_timerId, METH_VARARGS, SIP_MLDOC_CAST(doc_QBasicTimer_timerId)}
};

PyDoc_STRVAR(doc_QBasicTimer, "\1QBasicTimer()\n"
    "QBasicTimer(QBasicTimer)");


static pyqt5ClassPluginDef plugin_QBasicTimer = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QBasicTimer = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QBasicTimer,
        {0},
        &plugin_QBasicTimer
    },
    {
        sipNameNr_QBasicTimer,
        {0, 0, 1},
        4, methods_QBasicTimer,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QBasicTimer,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QBasicTimer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QBasicTimer,
    assign_QBasicTimer,
    array_QBasicTimer,
    copy_QBasicTimer,
    release_QBasicTimer,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 166627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 166631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 166634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 166637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 166640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 166643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 166646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 166649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 166652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 166655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 166658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 166661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 166667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 166673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 166676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 166679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQAnimationGroup : public  ::QAnimationGroup
{
public:
    sipQAnimationGroup( ::QObject*);
    virtual ~sipQAnimationGroup();

    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;
    void sipProtect_updateCurrentTime(int);
    void sipProtectVirt_updateState(bool, ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void sipProtectVirt_updateDirection(bool, ::QAbstractAnimation::Direction);
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int duration() const;
    void updateCurrentTime(int);
    void updateState( ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void updateDirection( ::QAbstractAnimation::Direction);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAnimationGroup(const sipQAnimationGroup &);
    sipQAnimationGroup &operator = (const sipQAnimationGroup &);

    char sipPyMethods[11];
};

sipQAnimationGroup::sipQAnimationGroup( ::QObject*a0):  ::QAnimationGroup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAnimationGroup::~sipQAnimationGroup()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAnimationGroup::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAnimationGroup);

    return  ::QAnimationGroup::metaObject();
}

int sipQAnimationGroup::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAnimationGroup::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QAnimationGroup,_c,_id,_a);

    return _id;
}

void *sipQAnimationGroup::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAnimationGroup, _clname, &sipCpp) ? sipCpp :  ::QAnimationGroup::qt_metacast(_clname));
}

void sipQAnimationGroup::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAnimationGroup::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAnimationGroup::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAnimationGroup::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAnimationGroup::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAnimationGroup::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAnimationGroup::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAnimationGroup::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAnimationGroup::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAnimationGroup::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAnimationGroup::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAnimationGroup::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAnimationGroup::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAnimationGroup::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAnimationGroup::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,sipName_QAnimationGroup,sipName_duration);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAnimationGroup::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QAnimationGroup,sipName_updateCurrentTime);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAnimationGroup::updateState( ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
         ::QAnimationGroup::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::State, ::QAbstractAnimation::State);

    sipVH_QtCore_8(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAnimationGroup::updateDirection( ::QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
         ::QAnimationGroup::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::Direction);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAnimationGroup::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAnimationGroup::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAnimationGroup::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAnimationGroup::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAnimationGroup::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAnimationGroup::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAnimationGroup::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAnimationGroup::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAnimationGroup::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQAnimationGroup::sipProtect_updateCurrentTime(int a0)
{
    updateCurrentTime(a0);
}

void sipQAnimationGroup::sipProtectVirt_updateState(bool sipSelfWasArg, ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    (sipSelfWasArg ?  ::QAbstractAnimation::updateState(a0,a1) : updateState(a0,a1));
}

void sipQAnimationGroup::sipProtectVirt_updateDirection(bool sipSelfWasArg, ::QAbstractAnimation::Direction a0)
{
    (sipSelfWasArg ?  ::QAbstractAnimation::updateDirection(a0) : updateDirection(a0));
}

bool sipQAnimationGroup::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QAnimationGroup::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QAnimationGroup_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAnimationGroup_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAnimationGroup, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 167067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_sender, doc_QAnimationGroup_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAnimationGroup_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAnimationGroup, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 167127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QAnimationGroup, sipName_receivers, doc_QAnimationGroup_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAnimationGroup_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAnimationGroup, &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_QAnimationGroup, sipName_timerEvent, doc_QAnimationGroup_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAnimationGroup_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAnimationGroup, &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_QAnimationGroup, sipName_childEvent, doc_QAnimationGroup_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAnimationGroup_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAnimationGroup, &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_QAnimationGroup, sipName_customEvent, doc_QAnimationGroup_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAnimationGroup_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAnimationGroup, &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_QAnimationGroup, sipName_connectNotify, doc_QAnimationGroup_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAnimationGroup_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAnimationGroup, &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_QAnimationGroup, sipName_disconnectNotify, doc_QAnimationGroup_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAnimationGroup_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAnimationGroup, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_senderSignalIndex, doc_QAnimationGroup_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAnimationGroup_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAnimationGroup, &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_QAnimationGroup, sipName_isSignalConnected, doc_QAnimationGroup_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_updateCurrentTime, "updateCurrentTime(self, int)");

extern "C" {static PyObject *meth_QAnimationGroup_updateCurrentTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_updateCurrentTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QAnimationGroup, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAnimationGroup, sipName_updateCurrentTime);
                return NULL;
            }

            sipCpp->sipProtect_updateCurrentTime(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_updateCurrentTime, doc_QAnimationGroup_updateCurrentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_updateState, "updateState(self, QAbstractAnimation.State, QAbstractAnimation.State)");

extern "C" {static PyObject *meth_QAnimationGroup_updateState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_updateState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::State a0;
         ::QAbstractAnimation::State a1;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEE", &sipSelf, sipType_QAnimationGroup, &sipCpp, sipType_QAbstractAnimation_State, &a0, sipType_QAbstractAnimation_State, &a1))
        {
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_updateState, doc_QAnimationGroup_updateState);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_updateDirection, "updateDirection(self, QAbstractAnimation.Direction)");

extern "C" {static PyObject *meth_QAnimationGroup_updateDirection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_updateDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::Direction a0;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAnimationGroup, &sipCpp, sipType_QAbstractAnimation_Direction, &a0))
        {
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_updateDirection, doc_QAnimationGroup_updateDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_animationAt, "animationAt(self, int) -> QAbstractAnimation");

extern "C" {static PyObject *meth_QAnimationGroup_animationAt(PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_animationAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAnimationGroup, &sipCpp, &a0))
        {
             ::QAbstractAnimation*sipRes;

            sipRes = sipCpp->animationAt(a0);

            return sipConvertFromType(sipRes,sipType_QAbstractAnimation,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_animationAt, doc_QAnimationGroup_animationAt);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_animationCount, "animationCount(self) -> int");

extern "C" {static PyObject *meth_QAnimationGroup_animationCount(PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_animationCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAnimationGroup, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->animationCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_animationCount, doc_QAnimationGroup_animationCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_indexOfAnimation, "indexOfAnimation(self, QAbstractAnimation) -> int");

extern "C" {static PyObject *meth_QAnimationGroup_indexOfAnimation(PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_indexOfAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation* a0;
        const  ::QAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAnimationGroup, &sipCpp, sipType_QAbstractAnimation, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOfAnimation(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_indexOfAnimation, doc_QAnimationGroup_indexOfAnimation);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_addAnimation, "addAnimation(self, QAbstractAnimation)");

extern "C" {static PyObject *meth_QAnimationGroup_addAnimation(PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_addAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation* a0;
         ::QAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QAnimationGroup, &sipCpp, sipType_QAbstractAnimation, &a0))
        {
            sipCpp->addAnimation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_addAnimation, doc_QAnimationGroup_addAnimation);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_insertAnimation, "insertAnimation(self, int, QAbstractAnimation)");

extern "C" {static PyObject *meth_QAnimationGroup_insertAnimation(PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_insertAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAbstractAnimation* a1;
         ::QAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QAnimationGroup, &sipCpp, &a0, sipType_QAbstractAnimation, &a1))
        {
            sipCpp->insertAnimation(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_insertAnimation, doc_QAnimationGroup_insertAnimation);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_removeAnimation, "removeAnimation(self, QAbstractAnimation)");

extern "C" {static PyObject *meth_QAnimationGroup_removeAnimation(PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_removeAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation* a0;
         ::QAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QAnimationGroup, &sipCpp, sipType_QAbstractAnimation, &a0))
        {
            sipCpp->removeAnimation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_removeAnimation, doc_QAnimationGroup_removeAnimation);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_takeAnimation, "takeAnimation(self, int) -> QAbstractAnimation");

extern "C" {static PyObject *meth_QAnimationGroup_takeAnimation(PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_takeAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAnimationGroup, &sipCpp, &a0))
        {
             ::QAbstractAnimation*sipRes;

            sipRes = sipCpp->takeAnimation(a0);

            return sipConvertFromType(sipRes,sipType_QAbstractAnimation,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_takeAnimation, doc_QAnimationGroup_takeAnimation);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_clear, "clear(self)");

extern "C" {static PyObject *meth_QAnimationGroup_clear(PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAnimationGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAnimationGroup, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_clear, doc_QAnimationGroup_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QAnimationGroup_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QAnimationGroup_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAnimationGroup_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAnimationGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAnimationGroup, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAnimationGroup, sipName_event, doc_QAnimationGroup_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAnimationGroup(void *, const sipTypeDef *);}
static void *cast_QAnimationGroup(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAnimationGroup *sipCpp = reinterpret_cast< ::QAnimationGroup *>(sipCppV);

    if (targetType == sipType_QAbstractAnimation)
        return static_cast< ::QAbstractAnimation *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAnimationGroup(void *, int);}
static void release_QAnimationGroup(void *sipCppV, int)
{
     ::QAnimationGroup *sipCpp = reinterpret_cast< ::QAnimationGroup *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAnimationGroup(sipSimpleWrapper *);}
static void dealloc_QAnimationGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAnimationGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAnimationGroup(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAnimationGroup(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAnimationGroup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAnimationGroup *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 sipQAnimationGroup(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAnimationGroup[] = {{0, 255, 1}};


static PyMethodDef methods_QAnimationGroup[] = {
    {SIP_MLNAME_CAST(sipName_addAnimation), meth_QAnimationGroup_addAnimation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAnimationGroup_addAnimation)},
    {SIP_MLNAME_CAST(sipName_animationAt), meth_QAnimationGroup_animationAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QAnimationGroup_animationAt)},
    {SIP_MLNAME_CAST(sipName_animationCount), meth_QAnimationGroup_animationCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QAnimationGroup_animationCount)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAnimationGroup_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QAnimationGroup_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QAnimationGroup_clear)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAnimationGroup_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAnimationGroup_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAnimationGroup_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QAnimationGroup_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAnimationGroup_event)},
    {SIP_MLNAME_CAST(sipName_indexOfAnimation), meth_QAnimationGroup_indexOfAnimation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAnimationGroup_indexOfAnimation)},
    {SIP_MLNAME_CAST(sipName_insertAnimation), meth_QAnimationGroup_insertAnimation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAnimationGroup_insertAnimation)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAnimationGroup_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAnimationGroup_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAnimation), meth_QAnimationGroup_removeAnimation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAnimationGroup_removeAnimation)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAnimationGroup_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAnimationGroup_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_takeAnimation), meth_QAnimationGroup_takeAnimation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAnimationGroup_takeAnimation)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAnimationGroup_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCurrentTime), (PyCFunction)meth_QAnimationGroup_updateCurrentTime, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateDirection), (PyCFunction)meth_QAnimationGroup_updateDirection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateState), (PyCFunction)meth_QAnimationGroup_updateState, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAnimationGroup, "\1QAnimationGroup(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QAnimationGroup = {
    & ::QAnimationGroup::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAnimationGroup = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAnimationGroup,
        {0},
        &plugin_QAnimationGroup
    },
    {
        sipNameNr_QAnimationGroup,
        {0, 0, 1},
        21, methods_QAnimationGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAnimationGroup,
    -1,
    -1,
    supers_QAnimationGroup,
    0,
    init_type_QAnimationGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAnimationGroup,
    0,
    0,
    0,
    release_QAnimationGroup,
    cast_QAnimationGroup,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracttransition.sip"
#include <qabstracttransition.h>
#line 167860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 167864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 167867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 167870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 167873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 167876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 167879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 167882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 167885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 167888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 167891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 167894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 167897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 167900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 167903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 167906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 167909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 167915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 167918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 167921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 167924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 167927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQAbstractTransition : public  ::QAbstractTransition
{
public:
    sipQAbstractTransition( ::QState*);
    virtual ~sipQAbstractTransition();

    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;
    bool sipProtect_eventTest( ::QEvent*);
    void sipProtect_onTransition( ::QEvent*);
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void onTransition( ::QEvent*);
    bool eventTest( ::QEvent*);
    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:
    sipQAbstractTransition(const sipQAbstractTransition &);
    sipQAbstractTransition &operator = (const sipQAbstractTransition &);

    char sipPyMethods[9];
};

sipQAbstractTransition::sipQAbstractTransition( ::QState*a0):  ::QAbstractTransition(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractTransition::~sipQAbstractTransition()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractTransition::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractTransition);

    return  ::QAbstractTransition::metaObject();
}

int sipQAbstractTransition::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAbstractTransition::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QAbstractTransition,_c,_id,_a);

    return _id;
}

void *sipQAbstractTransition::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractTransition, _clname, &sipCpp) ? sipCpp :  ::QAbstractTransition::qt_metacast(_clname));
}

void sipQAbstractTransition::onTransition( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QAbstractTransition,sipName_onTransition);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTransition::eventTest( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QAbstractTransition,sipName_eventTest);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTransition::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractTransition::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTransition::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractTransition::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractTransition::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractTransition::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTransition::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractTransition::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTransition::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractTransition::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTransition::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractTransition::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTransition::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractTransition::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAbstractTransition::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAbstractTransition::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAbstractTransition::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractTransition::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractTransition::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractTransition::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractTransition::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractTransition::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAbstractTransition::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQAbstractTransition::sipProtect_eventTest( ::QEvent*a0)
{
    return eventTest(a0);
}

void sipQAbstractTransition::sipProtect_onTransition( ::QEvent*a0)
{
    onTransition(a0);
}

bool sipQAbstractTransition::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QAbstractTransition::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QAbstractTransition_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractTransition_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTransition, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 168271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_sender, doc_QAbstractTransition_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAbstractTransition_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractTransition, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 168331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QAbstractTransition, sipName_receivers, doc_QAbstractTransition_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractTransition_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractTransition, &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_QAbstractTransition, sipName_timerEvent, doc_QAbstractTransition_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAbstractTransition_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractTransition, &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_QAbstractTransition, sipName_childEvent, doc_QAbstractTransition_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractTransition_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractTransition, &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_QAbstractTransition, sipName_customEvent, doc_QAbstractTransition_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractTransition_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractTransition, &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_QAbstractTransition, sipName_connectNotify, doc_QAbstractTransition_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractTransition_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractTransition, &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_QAbstractTransition, sipName_disconnectNotify, doc_QAbstractTransition_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAbstractTransition_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTransition, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_senderSignalIndex, doc_QAbstractTransition_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractTransition_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractTransition, &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_QAbstractTransition, sipName_isSignalConnected, doc_QAbstractTransition_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_sourceState, "sourceState(self) -> QState");

extern "C" {static PyObject *meth_QAbstractTransition_sourceState(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_sourceState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractTransition, &sipCpp))
        {
             ::QState*sipRes;

            sipRes = sipCpp->sourceState();

            return sipConvertFromType(sipRes,sipType_QState,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_sourceState, doc_QAbstractTransition_sourceState);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_targetState, "targetState(self) -> QAbstractState");

extern "C" {static PyObject *meth_QAbstractTransition_targetState(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_targetState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractTransition, &sipCpp))
        {
             ::QAbstractState*sipRes;

            sipRes = sipCpp->targetState();

            return sipConvertFromType(sipRes,sipType_QAbstractState,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_targetState, doc_QAbstractTransition_targetState);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_setTargetState, "setTargetState(self, QAbstractState)");

extern "C" {static PyObject *meth_QAbstractTransition_setTargetState(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_setTargetState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractState* a0;
        PyObject *a0Keep;
         ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QAbstractTransition, &sipCpp, &a0Keep, sipType_QAbstractState, &a0))
        {
            sipCpp->setTargetState(a0);

            sipKeepReference(sipSelf, 0, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_setTargetState, doc_QAbstractTransition_setTargetState);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_targetStates, "targetStates(self) -> object");

extern "C" {static PyObject *meth_QAbstractTransition_targetStates(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_targetStates(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractTransition, &sipCpp))
        {
            QList< ::QAbstractState*>*sipRes;

            sipRes = new QList< ::QAbstractState*>(sipCpp->targetStates());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAbstractState,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_targetStates, doc_QAbstractTransition_targetStates);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_setTargetStates, "setTargetStates(self, Iterable[QAbstractState])");

extern "C" {static PyObject *meth_QAbstractTransition_setTargetStates(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_setTargetStates(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList< ::QAbstractState*>* a0;
        PyObject *a0Keep;
        int a0State = 0;
         ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J1", &sipSelf, sipType_QAbstractTransition, &sipCpp, &a0Keep, sipType_QList_0101QAbstractState,&a0, &a0State))
        {
            sipCpp->setTargetStates(*a0);

            sipKeepReference(sipSelf, 0, a0Keep);
            sipReleaseType(const_cast<QList< ::QAbstractState*> *>(a0),sipType_QList_0101QAbstractState,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_setTargetStates, doc_QAbstractTransition_setTargetStates);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_machine, "machine(self) -> QStateMachine");

extern "C" {static PyObject *meth_QAbstractTransition_machine(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_machine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractTransition, &sipCpp))
        {
             ::QStateMachine*sipRes;

            sipRes = sipCpp->machine();

            return sipConvertFromType(sipRes,sipType_QStateMachine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_machine, doc_QAbstractTransition_machine);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_addAnimation, "addAnimation(self, QAbstractAnimation)");

extern "C" {static PyObject *meth_QAbstractTransition_addAnimation(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_addAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation* a0;
        PyObject *a0Wrapper;
         ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QAbstractTransition, &sipCpp, &a0Wrapper, sipType_QAbstractAnimation, &a0))
        {
#line 40 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracttransition.sip"
        // We want to keep a reference to the animation but this is in addition to the
        // existing ones and does not replace them - so we can't use /KeepReference/.
        sipCpp->addAnimation(a0);
        
        // Use the user object as a list of the references.
        PyObject *user = sipGetUserObject((sipSimpleWrapper *)sipSelf);
        
        if (!user)
        {
            user = PyList_New(0);
            sipSetUserObject((sipSimpleWrapper *)sipSelf, user);
        }
        
        if (user)
            PyList_Append(user, a0Wrapper);
#line 168761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_addAnimation, doc_QAbstractTransition_addAnimation);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_removeAnimation, "removeAnimation(self, QAbstractAnimation)");

extern "C" {static PyObject *meth_QAbstractTransition_removeAnimation(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_removeAnimation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation* a0;
        PyObject *a0Wrapper;
         ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QAbstractTransition, &sipCpp, &a0Wrapper, sipType_QAbstractAnimation, &a0))
        {
#line 59 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracttransition.sip"
        // Discard the extra animation reference that we took in addAnimation().
        sipCpp->removeAnimation(a0);
        
        // Use the user object as a list of the references.
        PyObject *user = sipGetUserObject((sipSimpleWrapper *)sipSelf);
        
        if (user)
        {
            Py_ssize_t i = 0;
            
            // Note that we deal with an object appearing in the list more than once.
            while (i < PyList_Size(user))
                if (PyList_GetItem(user, i) == a0Wrapper)
                    PyList_SetSlice(user, i, i + 1, NULL);
                else
                    ++i;
        }
#line 168808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_removeAnimation, doc_QAbstractTransition_removeAnimation);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_animations, "animations(self) -> object");

extern "C" {static PyObject *meth_QAbstractTransition_animations(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_animations(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractTransition, &sipCpp))
        {
            QList< ::QAbstractAnimation*>*sipRes;

            sipRes = new QList< ::QAbstractAnimation*>(sipCpp->animations());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAbstractAnimation,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_animations, doc_QAbstractTransition_animations);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_eventTest, "eventTest(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractTransition_eventTest(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_eventTest(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QEvent* a0;
        sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractTransition, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractTransition, sipName_eventTest);
                return NULL;
            }

            sipRes = sipCpp->sipProtect_eventTest(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_eventTest, doc_QAbstractTransition_eventTest);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_onTransition, "onTransition(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractTransition_onTransition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_onTransition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QEvent* a0;
        sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractTransition, &sipCpp, sipType_QEvent, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractTransition, sipName_onTransition);
                return NULL;
            }

            sipCpp->sipProtect_onTransition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_onTransition, doc_QAbstractTransition_onTransition);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractTransition_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractTransition, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_event, doc_QAbstractTransition_event);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_transitionType, "transitionType(self) -> QAbstractTransition.TransitionType");

extern "C" {static PyObject *meth_QAbstractTransition_transitionType(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_transitionType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractTransition, &sipCpp))
        {
             ::QAbstractTransition::TransitionType sipRes;

            sipRes = sipCpp->transitionType();

            return sipConvertFromEnum(sipRes,sipType_QAbstractTransition_TransitionType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_transitionType, doc_QAbstractTransition_transitionType);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTransition_setTransitionType, "setTransitionType(self, QAbstractTransition.TransitionType)");

extern "C" {static PyObject *meth_QAbstractTransition_setTransitionType(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTransition_setTransitionType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractTransition::TransitionType a0;
         ::QAbstractTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractTransition, &sipCpp, sipType_QAbstractTransition_TransitionType, &a0))
        {
            sipCpp->setTransitionType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTransition, sipName_setTransitionType, doc_QAbstractTransition_setTransitionType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractTransition(void *, const sipTypeDef *);}
static void *cast_QAbstractTransition(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractTransition *sipCpp = reinterpret_cast< ::QAbstractTransition *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractTransition(void *, int);}
static void release_QAbstractTransition(void *sipCppV, int)
{
     ::QAbstractTransition *sipCpp = reinterpret_cast< ::QAbstractTransition *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractTransition(sipSimpleWrapper *);}
static void dealloc_QAbstractTransition(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractTransition *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractTransition(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractTransition(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractTransition(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractTransition *sipCpp = 0;

    {
         ::QState* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_sourceState,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QState, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractTransition(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractTransition[] = {{169, 255, 1}};


static PyMethodDef methods_QAbstractTransition[] = {
    {SIP_MLNAME_CAST(sipName_addAnimation), meth_QAbstractTransition_addAnimation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_addAnimation)},
    {SIP_MLNAME_CAST(sipName_animations), meth_QAbstractTransition_animations, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_animations)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractTransition_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractTransition_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractTransition_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractTransition_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QAbstractTransition_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractTransition_event)},
    {SIP_MLNAME_CAST(sipName_eventTest), (PyCFunction)meth_QAbstractTransition_eventTest, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractTransition_eventTest)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractTransition_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_machine), meth_QAbstractTransition_machine, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_machine)},
    {SIP_MLNAME_CAST(sipName_onTransition), (PyCFunction)meth_QAbstractTransition_onTransition, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractTransition_onTransition)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractTransition_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAnimation), meth_QAbstractTransition_removeAnimation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_removeAnimation)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractTransition_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractTransition_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setTargetState), meth_QAbstractTransition_setTargetState, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_setTargetState)},
    {SIP_MLNAME_CAST(sipName_setTargetStates), meth_QAbstractTransition_setTargetStates, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_setTargetStates)},
    {SIP_MLNAME_CAST(sipName_setTransitionType), meth_QAbstractTransition_setTransitionType, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_setTransitionType)},
    {SIP_MLNAME_CAST(sipName_sourceState), meth_QAbstractTransition_sourceState, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_sourceState)},
    {SIP_MLNAME_CAST(sipName_targetState), meth_QAbstractTransition_targetState, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_targetState)},
    {SIP_MLNAME_CAST(sipName_targetStates), meth_QAbstractTransition_targetStates, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_targetStates)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractTransition_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_transitionType), meth_QAbstractTransition_transitionType, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTransition_transitionType)}
};

static sipEnumMemberDef enummembers_QAbstractTransition[] = {
    {sipName_ExternalTransition, static_cast<int>( ::QAbstractTransition::ExternalTransition), 14},
    {sipName_InternalTransition, static_cast<int>( ::QAbstractTransition::InternalTransition), 14},
};

PyDoc_STRVAR(doc_QAbstractTransition, "\1QAbstractTransition(sourceState: QState = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractTransition[] = {
    {"targetStatesChanged()", "\1targetStatesChanged(self)", 0, 0},
    {"targetStateChanged()", "\1targetStateChanged(self)", 0, 0},
    {"triggered()", "\1triggered(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractTransition = {
    & ::QAbstractTransition::staticMetaObject,
    0,
    signals_QAbstractTransition,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAbstractTransition = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractTransition,
        {0},
        &plugin_QAbstractTransition
    },
    {
        sipNameNr_QAbstractTransition,
        {0, 0, 1},
        23, methods_QAbstractTransition,
        2, enummembers_QAbstractTransition,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractTransition,
    -1,
    -1,
    supers_QAbstractTransition,
    0,
    init_type_QAbstractTransition,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractTransition,
    0,
    0,
    0,
    release_QAbstractTransition,
    cast_QAbstractTransition,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 169179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstate.sip"
#include <qstate.h>
#line 169183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 169186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 169189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 169192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 169195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 169198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 169201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 169204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 169207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 169210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 169213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 169216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 169219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 169222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 169225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 169228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 169231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 169234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQAbstractState : public  ::QAbstractState
{
public:
    sipQAbstractState( ::QState*);
    virtual ~sipQAbstractState();

    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;
    void sipProtect_onEntry( ::QEvent*);
    void sipProtect_onExit( ::QEvent*);
    bool sipProtectVirt_event(bool, ::QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void onExit( ::QEvent*);
    void onEntry( ::QEvent*);
    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:
    sipQAbstractState(const sipQAbstractState &);
    sipQAbstractState &operator = (const sipQAbstractState &);

    char sipPyMethods[9];
};

sipQAbstractState::sipQAbstractState( ::QState*a0):  ::QAbstractState(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractState::~sipQAbstractState()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractState::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractState);

    return  ::QAbstractState::metaObject();
}

int sipQAbstractState::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAbstractState::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QAbstractState,_c,_id,_a);

    return _id;
}

void *sipQAbstractState::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractState, _clname, &sipCpp) ? sipCpp :  ::QAbstractState::qt_metacast(_clname));
}

void sipQAbstractState::onExit( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QAbstractState,sipName_onExit);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::onEntry( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QAbstractState,sipName_onEntry);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractState::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractState::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractState::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractState::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractState::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractState::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractState::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractState::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractState::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractState::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractState::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAbstractState::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAbstractState::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAbstractState::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractState::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractState::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractState::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractState::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractState::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAbstractState::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQAbstractState::sipProtect_onEntry( ::QEvent*a0)
{
    onEntry(a0);
}

void sipQAbstractState::sipProtect_onExit( ::QEvent*a0)
{
    onExit(a0);
}

bool sipQAbstractState::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QAbstractState::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QAbstractState_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractState_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractState, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 169578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractState, sipName_sender, doc_QAbstractState_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAbstractState_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractState, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 169638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QAbstractState, sipName_receivers, doc_QAbstractState_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractState_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractState, &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_QAbstractState, sipName_timerEvent, doc_QAbstractState_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAbstractState_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractState, &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_QAbstractState, sipName_childEvent, doc_QAbstractState_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractState_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractState, &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_QAbstractState, sipName_customEvent, doc_QAbstractState_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractState_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractState, &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_QAbstractState, sipName_connectNotify, doc_QAbstractState_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractState_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractState, &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_QAbstractState, sipName_disconnectNotify, doc_QAbstractState_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAbstractState_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractState, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractState, sipName_senderSignalIndex, doc_QAbstractState_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractState_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractState, &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_QAbstractState, sipName_isSignalConnected, doc_QAbstractState_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_parentState, "parentState(self) -> QState");

extern "C" {static PyObject *meth_QAbstractState_parentState(PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_parentState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractState, &sipCpp))
        {
             ::QState*sipRes;

            sipRes = sipCpp->parentState();

            return sipConvertFromType(sipRes,sipType_QState,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractState, sipName_parentState, doc_QAbstractState_parentState);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_machine, "machine(self) -> QStateMachine");

extern "C" {static PyObject *meth_QAbstractState_machine(PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_machine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractState, &sipCpp))
        {
             ::QStateMachine*sipRes;

            sipRes = sipCpp->machine();

            return sipConvertFromType(sipRes,sipType_QStateMachine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractState, sipName_machine, doc_QAbstractState_machine);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_active, "active(self) -> bool");

extern "C" {static PyObject *meth_QAbstractState_active(PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_active(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractState *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractState, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->active();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractState, sipName_active, doc_QAbstractState_active);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_onEntry, "onEntry(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractState_onEntry(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_onEntry(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QEvent* a0;
        sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractState, &sipCpp, sipType_QEvent, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractState, sipName_onEntry);
                return NULL;
            }

            sipCpp->sipProtect_onEntry(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractState, sipName_onEntry, doc_QAbstractState_onEntry);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_onExit, "onExit(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractState_onExit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_onExit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QEvent* a0;
        sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractState, &sipCpp, sipType_QEvent, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractState, sipName_onExit);
                return NULL;
            }

            sipCpp->sipProtect_onExit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractState, sipName_onExit, doc_QAbstractState_onExit);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractState_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractState_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractState_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractState *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractState, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractState, sipName_event, doc_QAbstractState_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractState(void *, const sipTypeDef *);}
static void *cast_QAbstractState(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractState *sipCpp = reinterpret_cast< ::QAbstractState *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractState(void *, int);}
static void release_QAbstractState(void *sipCppV, int)
{
     ::QAbstractState *sipCpp = reinterpret_cast< ::QAbstractState *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractState(sipSimpleWrapper *);}
static void dealloc_QAbstractState(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractState *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractState(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractState(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractState(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractState *sipCpp = 0;

    {
         ::QState* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QState, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractState(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractState[] = {{169, 255, 1}};


static PyMethodDef methods_QAbstractState[] = {
    {SIP_MLNAME_CAST(sipName_active), meth_QAbstractState_active, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractState_active)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractState_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractState_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractState_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractState_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QAbstractState_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractState_event)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractState_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_machine), meth_QAbstractState_machine, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractState_machine)},
    {SIP_MLNAME_CAST(sipName_onEntry), (PyCFunction)meth_QAbstractState_onEntry, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractState_onEntry)},
    {SIP_MLNAME_CAST(sipName_onExit), (PyCFunction)meth_QAbstractState_onExit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractState_onExit)},
    {SIP_MLNAME_CAST(sipName_parentState), meth_QAbstractState_parentState, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractState_parentState)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractState_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractState_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractState_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractState_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAbstractState, "\1QAbstractState(parent: QState = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractState[] = {
    {"exited()", "\1exited(self)", 0, 0},
    {"entered()", "\1entered(self)", 0, 0},
    {"activeChanged(bool)", "\1activeChanged(self, bool)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractState = {
    & ::QAbstractState::staticMetaObject,
    0,
    signals_QAbstractState,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAbstractState = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractState,
        {0},
        &plugin_QAbstractState
    },
    {
        sipNameNr_QAbstractState,
        {0, 0, 1},
        15, methods_QAbstractState,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractState,
    -1,
    -1,
    supers_QAbstractState,
    0,
    init_type_QAbstractState,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractState,
    0,
    0,
    0,
    release_QAbstractState,
    cast_QAbstractState,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractproxymodel.sip"
#include <qabstractproxymodel.h>
#line 170204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 170208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 170214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 170220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 170223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 170226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 170229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 170232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 170235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 170241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 170244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 170247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 170250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 170253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 170256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 170259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 170262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 170268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 170280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 170283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 170286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 170289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 170295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 170298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 170301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQAbstractProxyModel : public  ::QAbstractProxyModel
{
public:
    sipQAbstractProxyModel( ::QObject*);
    virtual ~sipQAbstractProxyModel();

    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;
    void sipProtect_encodeData(const  ::QModelIndexList&, ::QDataStream&) const;
    bool sipProtect_decodeData(int,int,const  ::QModelIndex&, ::QDataStream&);
    void sipProtect_beginInsertRows(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
     ::QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_changePersistentIndex(const  ::QModelIndex&,const  ::QModelIndex&);
    void sipProtect_changePersistentIndexList(const  ::QModelIndexList&,const  ::QModelIndexList&);
     ::QModelIndex sipProtect_createIndex(int,int,void*) const;
    bool sipProtect_beginMoveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_resetInternalData();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QItemSelection mapSelectionFromSource(const  ::QItemSelection&) const;
     ::QItemSelection mapSelectionToSource(const  ::QItemSelection&) const;
     ::QModelIndex mapFromSource(const  ::QModelIndex&) const;
     ::QModelIndex mapToSource(const  ::QModelIndex&) const;
    void setSourceModel( ::QAbstractItemModel*);
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::QModelIndex index(int,int,const  ::QModelIndex&) const;
     ::QModelIndex parent(const  ::QModelIndex&) const;
     ::QModelIndex sibling(int,int,const  ::QModelIndex&) const;
    int rowCount(const  ::QModelIndex&) const;
    int columnCount(const  ::QModelIndex&) const;
    bool hasChildren(const  ::QModelIndex&) const;
     ::QVariant data(const  ::QModelIndex&,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
     ::QStringList mimeTypes() const;
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool insertRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    void fetchMore(const  ::QModelIndex&);
    bool canFetchMore(const  ::QModelIndex&) const;
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::QModelIndex buddy(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QSize span(const  ::QModelIndex&) const;
    bool submit();
    void revert();
     ::Qt::DropActions supportedDragActions() const;
    QHash<int, ::QByteArray> roleNames() const;
    bool canDropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&) const;
    bool moveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool moveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractProxyModel(const sipQAbstractProxyModel &);
    sipQAbstractProxyModel &operator = (const sipQAbstractProxyModel &);

    char sipPyMethods[46];
};

sipQAbstractProxyModel::sipQAbstractProxyModel( ::QObject*a0):  ::QAbstractProxyModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractProxyModel::~sipQAbstractProxyModel()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractProxyModel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractProxyModel);

    return  ::QAbstractProxyModel::metaObject();
}

int sipQAbstractProxyModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAbstractProxyModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QAbstractProxyModel,_c,_id,_a);

    return _id;
}

void *sipQAbstractProxyModel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractProxyModel, _clname, &sipCpp) ? sipCpp :  ::QAbstractProxyModel::qt_metacast(_clname));
}

 ::QItemSelection sipQAbstractProxyModel::mapSelectionFromSource(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_mapSelectionFromSource);

    if (!sipMeth)
        return  ::QAbstractProxyModel::mapSelectionFromSource(a0);

    extern  ::QItemSelection sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QItemSelection sipQAbstractProxyModel::mapSelectionToSource(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!sipMeth)
        return  ::QAbstractProxyModel::mapSelectionToSource(a0);

    extern  ::QItemSelection sipVH_QtCore_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_QtCore_43(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQAbstractProxyModel::mapFromSource(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_QAbstractProxyModel,sipName_mapFromSource);

    if (!sipMeth)
        return  ::QModelIndex();

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQAbstractProxyModel::mapToSource(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,sipName_QAbstractProxyModel,sipName_mapToSource);

    if (!sipMeth)
        return  ::QModelIndex();

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::setSourceModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setSourceModel);

    if (!sipMeth)
    {
         ::QAbstractProxyModel::setSourceModel(a0);
        return;
    }

    extern void sipVH_QtCore_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_QtCore_42(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractProxyModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractProxyModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractProxyModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractProxyModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractProxyModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractProxyModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractProxyModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractProxyModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractProxyModel::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQAbstractProxyModel::index(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,sipName_QAbstractProxyModel,sipName_index);

    if (!sipMeth)
        return  ::QModelIndex();

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndex sipQAbstractProxyModel::parent(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,sipName_QAbstractProxyModel,sipName_parent);

    if (!sipMeth)
        return  ::QModelIndex();

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQAbstractProxyModel::sibling(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return  ::QAbstractProxyModel::sibling(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQAbstractProxyModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,sipName_QAbstractProxyModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAbstractProxyModel::columnCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,sipName_QAbstractProxyModel,sipName_columnCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractProxyModel::hasChildren(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return  ::QAbstractProxyModel::hasChildren(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQAbstractProxyModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return  ::QAbstractProxyModel::data(a0,a1);

    extern  ::QVariant sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractProxyModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::QAbstractProxyModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QVariant sipQAbstractProxyModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::QAbstractProxyModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractProxyModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return  ::QAbstractProxyModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QMap<int, ::QVariant> sipQAbstractProxyModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return  ::QAbstractProxyModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractProxyModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return  ::QAbstractProxyModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::QStringList sipQAbstractProxyModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QAbstractProxyModel::mimeTypes();

    extern  ::QStringList sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_29(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::QMimeData* sipQAbstractProxyModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QAbstractProxyModel::mimeData(a0);

    extern  ::QMimeData* sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractProxyModel::dropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QAbstractProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::Qt::DropActions sipQAbstractProxyModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QAbstractProxyModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractProxyModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::QAbstractProxyModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractProxyModel::insertColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::QAbstractProxyModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractProxyModel::removeRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::QAbstractProxyModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractProxyModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::QAbstractProxyModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQAbstractProxyModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::QAbstractProxyModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractProxyModel::canFetchMore(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::QAbstractProxyModel::canFetchMore(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::Qt::ItemFlags sipQAbstractProxyModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QAbstractProxyModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractProxyModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::QAbstractProxyModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipQAbstractProxyModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::QAbstractProxyModel::buddy(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQAbstractProxyModel::match(const  ::QModelIndex& a0,int a1,const  ::QVariant& a2,int a3, ::Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::QAbstractProxyModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_QtCore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_QtCore_37(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QSize sipQAbstractProxyModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::QAbstractProxyModel::span(a0);

    extern  ::QSize sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_38(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractProxyModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::QAbstractProxyModel::submit();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractProxyModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::QAbstractProxyModel::revert();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::Qt::DropActions sipQAbstractProxyModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return  ::QAbstractProxyModel::supportedDragActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QHash<int, ::QByteArray> sipQAbstractProxyModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return  ::QAbstractProxyModel::roleNames();

    extern QHash<int, ::QByteArray> sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_39(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractProxyModel::canDropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return  ::QAbstractProxyModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQAbstractProxyModel::moveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return  ::QAbstractProxyModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQAbstractProxyModel::moveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return  ::QAbstractProxyModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QObject* sipQAbstractProxyModel::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAbstractProxyModel::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAbstractProxyModel::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractProxyModel::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractProxyModel::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractProxyModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractProxyModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractProxyModel::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAbstractProxyModel::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQAbstractProxyModel::sipProtect_encodeData(const  ::QModelIndexList& a0, ::QDataStream& a1) const
{
     ::QAbstractItemModel::encodeData(a0,a1);
}

bool sipQAbstractProxyModel::sipProtect_decodeData(int a0,int a1,const  ::QModelIndex& a2, ::QDataStream& a3)
{
    return  ::QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipQAbstractProxyModel::sipProtect_beginInsertRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipQAbstractProxyModel::sipProtect_endInsertRows()
{
     ::QAbstractItemModel::endInsertRows();
}

void sipQAbstractProxyModel::sipProtect_beginRemoveRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipQAbstractProxyModel::sipProtect_endRemoveRows()
{
     ::QAbstractItemModel::endRemoveRows();
}

void sipQAbstractProxyModel::sipProtect_beginInsertColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipQAbstractProxyModel::sipProtect_endInsertColumns()
{
     ::QAbstractItemModel::endInsertColumns();
}

void sipQAbstractProxyModel::sipProtect_beginRemoveColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipQAbstractProxyModel::sipProtect_endRemoveColumns()
{
     ::QAbstractItemModel::endRemoveColumns();
}

 ::QModelIndexList sipQAbstractProxyModel::sipProtect_persistentIndexList() const
{
    return  ::QAbstractItemModel::persistentIndexList();
}

void sipQAbstractProxyModel::sipProtect_changePersistentIndex(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
     ::QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipQAbstractProxyModel::sipProtect_changePersistentIndexList(const  ::QModelIndexList& a0,const  ::QModelIndexList& a1)
{
     ::QAbstractItemModel::changePersistentIndexList(a0,a1);
}

 ::QModelIndex sipQAbstractProxyModel::sipProtect_createIndex(int a0,int a1,void*a2) const
{
    return  ::QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipQAbstractProxyModel::sipProtect_beginMoveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipQAbstractProxyModel::sipProtect_endMoveRows()
{
     ::QAbstractItemModel::endMoveRows();
}

bool sipQAbstractProxyModel::sipProtect_beginMoveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipQAbstractProxyModel::sipProtect_endMoveColumns()
{
     ::QAbstractItemModel::endMoveColumns();
}

void sipQAbstractProxyModel::sipProtect_beginResetModel()
{
     ::QAbstractItemModel::beginResetModel();
}

void sipQAbstractProxyModel::sipProtect_endResetModel()
{
     ::QAbstractItemModel::endResetModel();
}

void sipQAbstractProxyModel::sipProtect_resetInternalData()
{
     ::QAbstractProxyModel::resetInternalData();
}


PyDoc_STRVAR(doc_QAbstractProxyModel_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractProxyModel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 171357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_sender, doc_QAbstractProxyModel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAbstractProxyModel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 171417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QAbstractProxyModel, sipName_receivers, doc_QAbstractProxyModel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractProxyModel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractProxyModel, &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_QAbstractProxyModel, sipName_timerEvent, doc_QAbstractProxyModel_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAbstractProxyModel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractProxyModel, &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_QAbstractProxyModel, sipName_childEvent, doc_QAbstractProxyModel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractProxyModel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractProxyModel, &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_QAbstractProxyModel, sipName_customEvent, doc_QAbstractProxyModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractProxyModel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &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_QAbstractProxyModel, sipName_connectNotify, doc_QAbstractProxyModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractProxyModel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &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_QAbstractProxyModel, sipName_disconnectNotify, doc_QAbstractProxyModel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAbstractProxyModel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_senderSignalIndex, doc_QAbstractProxyModel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &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_QAbstractProxyModel, sipName_isSignalConnected, doc_QAbstractProxyModel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_encodeData, "encodeData(self, object, QDataStream)");

extern "C" {static PyObject *meth_QAbstractProxyModel_encodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_encodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
         ::QDataStream* a1;
        const sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            sipCpp->sipProtect_encodeData(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_encodeData, doc_QAbstractProxyModel_encodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_decodeData, "decodeData(self, int, int, QModelIndex, QDataStream) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_decodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_decodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
         ::QDataStream* a3;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ9J9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_decodeData, doc_QAbstractProxyModel_decodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_beginInsertRows, "beginInsertRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractProxyModel_beginInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_beginInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_beginInsertRows, doc_QAbstractProxyModel_beginInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_endInsertRows, "endInsertRows(self)");

extern "C" {static PyObject *meth_QAbstractProxyModel_endInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_endInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_endInsertRows, doc_QAbstractProxyModel_endInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_beginRemoveRows, "beginRemoveRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractProxyModel_beginRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_beginRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_beginRemoveRows, doc_QAbstractProxyModel_beginRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_endRemoveRows, "endRemoveRows(self)");

extern "C" {static PyObject *meth_QAbstractProxyModel_endRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_endRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_endRemoveRows, doc_QAbstractProxyModel_endRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_beginInsertColumns, "beginInsertColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractProxyModel_beginInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_beginInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_beginInsertColumns, doc_QAbstractProxyModel_beginInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_endInsertColumns, "endInsertColumns(self)");

extern "C" {static PyObject *meth_QAbstractProxyModel_endInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_endInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_endInsertColumns, doc_QAbstractProxyModel_endInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_beginRemoveColumns, "beginRemoveColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractProxyModel_beginRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_beginRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_beginRemoveColumns, doc_QAbstractProxyModel_beginRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_endRemoveColumns, "endRemoveColumns(self)");

extern "C" {static PyObject *meth_QAbstractProxyModel_endRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_endRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_endRemoveColumns, doc_QAbstractProxyModel_endRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_persistentIndexList, "persistentIndexList(self) -> object");

extern "C" {static PyObject *meth_QAbstractProxyModel_persistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_persistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->sipProtect_persistentIndexList());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_persistentIndexList, doc_QAbstractProxyModel_persistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_changePersistentIndex, "changePersistentIndex(self, QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractProxyModel_changePersistentIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_changePersistentIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_changePersistentIndex, doc_QAbstractProxyModel_changePersistentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_changePersistentIndexList, "changePersistentIndexList(self, object, object)");

extern "C" {static PyObject *meth_QAbstractProxyModel_changePersistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_changePersistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::QModelIndexList* a1;
        int a1State = 0;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast< ::QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_changePersistentIndexList, doc_QAbstractProxyModel_changePersistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_createIndex, "createIndex(self, int, int, object: object = 0) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractProxyModel_createIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_createIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        const sipQAbstractProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|P0", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, &a0, &a1, &a2))
        {
             ::QModelIndex*sipRes = 0;

#line 194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        // The Qt API is broken (and won't be fixed as it would break binary
        // compatibility) regarding the internal id of a model index on different
        // architectures (32 vs 64 bits).  We choose to work around the breakage as it
        // is fairly subtle and continues to catch people out.  Instead of letting Qt
        // convert betweed an integer id and a pointer id (the internal format used by
        // Qt) we let Python do it.
        
        void *ptr;
        
        if (a2)
        {
            // Try and convert it to a Python long and fallback to the object's
            // address if it fails.
            ptr = PyLong_AsVoidPtr(a2);
        
            if (PyErr_Occurred())
            {
                PyErr_Clear();
                ptr = a2;
            }
        }
        else
        {
            ptr = 0;
        }
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = new QModelIndex(sipCpp->createIndex(a0, a1, ptr));
        #else
        sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr));
        #endif
#line 172077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_createIndex, doc_QAbstractProxyModel_createIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_beginMoveRows, "beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_beginMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_beginMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_beginMoveRows, doc_QAbstractProxyModel_beginMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_endMoveRows, "endMoveRows(self)");

extern "C" {static PyObject *meth_QAbstractProxyModel_endMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_endMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_endMoveRows, doc_QAbstractProxyModel_endMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_beginMoveColumns, "beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_beginMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_beginMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_beginMoveColumns, doc_QAbstractProxyModel_beginMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_endMoveColumns, "endMoveColumns(self)");

extern "C" {static PyObject *meth_QAbstractProxyModel_endMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_endMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_endMoveColumns, doc_QAbstractProxyModel_endMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_beginResetModel, "beginResetModel(self)");

extern "C" {static PyObject *meth_QAbstractProxyModel_beginResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_beginResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_beginResetModel, doc_QAbstractProxyModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_endResetModel, "endResetModel(self)");

extern "C" {static PyObject *meth_QAbstractProxyModel_endResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_endResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_endResetModel, doc_QAbstractProxyModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_setSourceModel, "setSourceModel(self, QAbstractItemModel)");

extern "C" {static PyObject *meth_QAbstractProxyModel_setSourceModel(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_setSourceModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractItemModel* a0;
        PyObject *a0Keep;
         ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::setSourceModel(a0) : sipCpp->setSourceModel(a0));

            sipKeepReference(sipSelf, -1, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_setSourceModel, doc_QAbstractProxyModel_setSourceModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_sourceModel, "sourceModel(self) -> QAbstractItemModel");

extern "C" {static PyObject *meth_QAbstractProxyModel_sourceModel(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_sourceModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
             ::QAbstractItemModel*sipRes;

            sipRes = sipCpp->sourceModel();

            return sipConvertFromType(sipRes,sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_sourceModel, doc_QAbstractProxyModel_sourceModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_mapToSource, "mapToSource(self, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractProxyModel_mapToSource(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_mapToSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractProxyModel, sipName_mapToSource);
                return NULL;
            }

            sipRes = new  ::QModelIndex(sipCpp->mapToSource(*a0));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_mapToSource, doc_QAbstractProxyModel_mapToSource);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_mapFromSource, "mapFromSource(self, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractProxyModel_mapFromSource(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_mapFromSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractProxyModel, sipName_mapFromSource);
                return NULL;
            }

            sipRes = new  ::QModelIndex(sipCpp->mapFromSource(*a0));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_mapFromSource, doc_QAbstractProxyModel_mapFromSource);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_mapSelectionToSource, "mapSelectionToSource(self, QItemSelection) -> QItemSelection");

extern "C" {static PyObject *meth_QAbstractProxyModel_mapSelectionToSource(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_mapSelectionToSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QItemSelection* a0;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QItemSelection, &a0))
        {
             ::QItemSelection*sipRes;

            sipRes = new  ::QItemSelection((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::mapSelectionToSource(*a0) : sipCpp->mapSelectionToSource(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_mapSelectionToSource, doc_QAbstractProxyModel_mapSelectionToSource);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_mapSelectionFromSource, "mapSelectionFromSource(self, QItemSelection) -> QItemSelection");

extern "C" {static PyObject *meth_QAbstractProxyModel_mapSelectionFromSource(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_mapSelectionFromSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QItemSelection* a0;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QItemSelection, &a0))
        {
             ::QItemSelection*sipRes;

            sipRes = new  ::QItemSelection((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::mapSelectionFromSource(*a0) : sipCpp->mapSelectionFromSource(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QItemSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_mapSelectionFromSource, doc_QAbstractProxyModel_mapSelectionFromSource);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_submit, "submit(self) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_submit(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_submit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::submit() : sipCpp->submit());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_submit, doc_QAbstractProxyModel_submit);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_revert, "revert(self)");

extern "C" {static PyObject *meth_QAbstractProxyModel_revert(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_revert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::revert() : sipCpp->revert());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_revert, doc_QAbstractProxyModel_revert);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_data, "data(self, QModelIndex, role: int = Qt.DisplayRole) -> Any");

extern "C" {static PyObject *meth_QAbstractProxyModel_data(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_data(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1 = Qt::DisplayRole;
        const  ::QAbstractProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::data(*a0,a1) : sipCpp->data(*a0,a1)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_data, doc_QAbstractProxyModel_data);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_setData, "setData(self, QModelIndex, Any, role: int = Qt.EditRole) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_setData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_setData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QVariant* a1;
        int a1State = 0;
        int a2 = Qt::EditRole;
         ::QAbstractProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J1|i", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QVariant, &a1, &a1State, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::setData(*a0,*a1,a2) : sipCpp->setData(*a0,*a1,a2));
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_setData, doc_QAbstractProxyModel_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_headerData, "headerData(self, int, Qt.Orientation, role: int = Qt.DisplayRole) -> Any");

extern "C" {static PyObject *meth_QAbstractProxyModel_headerData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_headerData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        const  ::QAbstractProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiE|i", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_headerData, doc_QAbstractProxyModel_headerData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_setHeaderData, "setHeaderData(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_setHeaderData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_setHeaderData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::Orientation a1;
        const  ::QVariant* a2;
        int a2State = 0;
        int a3 = Qt::EditRole;
         ::QAbstractProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiEJ1|i", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, sipType_QVariant, &a2, &a2State, &a3))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::setHeaderData(a0,a1,*a2,a3) : sipCpp->setHeaderData(a0,a1,*a2,a3));
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_setHeaderData, doc_QAbstractProxyModel_setHeaderData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_itemData, "itemData(self, QModelIndex) -> Dict[int, Any]");

extern "C" {static PyObject *meth_QAbstractProxyModel_itemData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_itemData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QMap<int, ::QVariant>*sipRes;

            sipRes = new QMap<int, ::QVariant>((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::itemData(*a0) : sipCpp->itemData(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QMap_1800_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_itemData, doc_QAbstractProxyModel_itemData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_flags, "flags(self, QModelIndex) -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QAbstractProxyModel_flags(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::flags(*a0) : sipCpp->flags(*a0)));

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_flags, doc_QAbstractProxyModel_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_setItemData, "setItemData(self, QModelIndex, Dict[int, Any]) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_setItemData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_setItemData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const QMap<int, ::QVariant>* a1;
        int a1State = 0;
         ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QMap_1800_0100QVariant,&a1, &a1State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::setItemData(*a0,*a1) : sipCpp->setItemData(*a0,*a1));
            sipReleaseType(const_cast<QMap<int, ::QVariant> *>(a1),sipType_QMap_1800_0100QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_setItemData, doc_QAbstractProxyModel_setItemData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_buddy, "buddy(self, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractProxyModel_buddy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_buddy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::buddy(*a0) : sipCpp->buddy(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_buddy, doc_QAbstractProxyModel_buddy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_canFetchMore, "canFetchMore(self, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_canFetchMore(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_canFetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::canFetchMore(*a0) : sipCpp->canFetchMore(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_canFetchMore, doc_QAbstractProxyModel_canFetchMore);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_fetchMore, "fetchMore(self, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractProxyModel_fetchMore(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_fetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
         ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::fetchMore(*a0) : sipCpp->fetchMore(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_fetchMore, doc_QAbstractProxyModel_fetchMore);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_sort, "sort(self, int, order: Qt.SortOrder = Qt.AscendingOrder)");

extern "C" {static PyObject *meth_QAbstractProxyModel_sort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_sort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::SortOrder a1 = Qt::AscendingOrder;
         ::QAbstractProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::sort(a0,a1) : sipCpp->sort(a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_sort, doc_QAbstractProxyModel_sort);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_span, "span(self, QModelIndex) -> QSize");

extern "C" {static PyObject *meth_QAbstractProxyModel_span(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_span(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::span(*a0) : sipCpp->span(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_span, doc_QAbstractProxyModel_span);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_hasChildren, "hasChildren(self, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_hasChildren(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_hasChildren(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::QAbstractProxyModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_hasChildren, doc_QAbstractProxyModel_hasChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_mimeData, "mimeData(self, object) -> QMimeData");

extern "C" {static PyObject *meth_QAbstractProxyModel_mimeData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State))
        {
             ::QMimeData*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::mimeData(*a0) : sipCpp->mimeData(*a0));
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_mimeData, doc_QAbstractProxyModel_mimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_mimeTypes, "mimeTypes(self) -> List[str]");

extern "C" {static PyObject *meth_QAbstractProxyModel_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_mimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::mimeTypes() : sipCpp->mimeTypes()));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_mimeTypes, doc_QAbstractProxyModel_mimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_supportedDropActions, "supportedDropActions(self) -> Qt.DropActions");

extern "C" {static PyObject *meth_QAbstractProxyModel_supportedDropActions(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::supportedDropActions() : sipCpp->supportedDropActions()));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_supportedDropActions, doc_QAbstractProxyModel_supportedDropActions);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_sibling, "sibling(self, int, int, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractProxyModel_sibling(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_sibling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::sibling(a0,a1,*a2) : sipCpp->sibling(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_sibling, doc_QAbstractProxyModel_sibling);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_resetInternalData, "resetInternalData(self)");

extern "C" {static PyObject *meth_QAbstractProxyModel_resetInternalData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_resetInternalData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractProxyModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
            sipCpp->sipProtect_resetInternalData();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_resetInternalData, doc_QAbstractProxyModel_resetInternalData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_canDropMimeData, "canDropMimeData(self, QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_canDropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_canDropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMimeData* a0;
         ::Qt::DropAction a1;
        int a2;
        int a3;
        const  ::QModelIndex* a4;
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::canDropMimeData(a0,a1,a2,a3,*a4) : sipCpp->canDropMimeData(a0,a1,a2,a3,*a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_canDropMimeData, doc_QAbstractProxyModel_canDropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_dropMimeData, "dropMimeData(self, QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractProxyModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMimeData* a0;
         ::Qt::DropAction a1;
        int a2;
        int a3;
        const  ::QModelIndex* a4;
         ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_QAbstractProxyModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_dropMimeData, doc_QAbstractProxyModel_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractProxyModel_supportedDragActions, "supportedDragActions(self) -> Qt.DropActions");

extern "C" {static PyObject *meth_QAbstractProxyModel_supportedDragActions(PyObject *, PyObject *);}
static PyObject *meth_QAbstractProxyModel_supportedDragActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QAbstractProxyModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractProxyModel, &sipCpp))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((sipSelfWasArg ? sipCpp-> ::QAbstractProxyModel::supportedDragActions() : sipCpp->supportedDragActions()));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractProxyModel, sipName_supportedDragActions, doc_QAbstractProxyModel_supportedDragActions);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractProxyModel(void *, const sipTypeDef *);}
static void *cast_QAbstractProxyModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractProxyModel *sipCpp = reinterpret_cast< ::QAbstractProxyModel *>(sipCppV);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractProxyModel(void *, int);}
static void release_QAbstractProxyModel(void *sipCppV, int)
{
     ::QAbstractProxyModel *sipCpp = reinterpret_cast< ::QAbstractProxyModel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractProxyModel(sipSimpleWrapper *);}
static void dealloc_QAbstractProxyModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractProxyModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractProxyModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractProxyModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractProxyModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractProxyModel *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 sipQAbstractProxyModel(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractProxyModel[] = {{6, 255, 1}};


static PyMethodDef methods_QAbstractProxyModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), (PyCFunction)meth_QAbstractProxyModel_beginInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), (PyCFunction)meth_QAbstractProxyModel_beginInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), (PyCFunction)meth_QAbstractProxyModel_beginMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), (PyCFunction)meth_QAbstractProxyModel_beginMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), (PyCFunction)meth_QAbstractProxyModel_beginRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), (PyCFunction)meth_QAbstractProxyModel_beginRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginResetModel), (PyCFunction)meth_QAbstractProxyModel_beginResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_buddy), meth_QAbstractProxyModel_buddy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_buddy)},
    {SIP_MLNAME_CAST(sipName_canDropMimeData), meth_QAbstractProxyModel_canDropMimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_canDropMimeData)},
    {SIP_MLNAME_CAST(sipName_canFetchMore), meth_QAbstractProxyModel_canFetchMore, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_canFetchMore)},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), (PyCFunction)meth_QAbstractProxyModel_changePersistentIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), (PyCFunction)meth_QAbstractProxyModel_changePersistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractProxyModel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractProxyModel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), (PyCFunction)meth_QAbstractProxyModel_createIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractProxyModel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), (PyCFunction)meth_QAbstractProxyModel_data, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_data)},
    {SIP_MLNAME_CAST(sipName_decodeData), (PyCFunction)meth_QAbstractProxyModel_decodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractProxyModel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_QAbstractProxyModel_dropMimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_encodeData), (PyCFunction)meth_QAbstractProxyModel_encodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), (PyCFunction)meth_QAbstractProxyModel_endInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), (PyCFunction)meth_QAbstractProxyModel_endInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), (PyCFunction)meth_QAbstractProxyModel_endMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveRows), (PyCFunction)meth_QAbstractProxyModel_endMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), (PyCFunction)meth_QAbstractProxyModel_endRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), (PyCFunction)meth_QAbstractProxyModel_endRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endResetModel), (PyCFunction)meth_QAbstractProxyModel_endResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fetchMore), meth_QAbstractProxyModel_fetchMore, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_fetchMore)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QAbstractProxyModel_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_flags)},
    {SIP_MLNAME_CAST(sipName_hasChildren), (PyCFunction)meth_QAbstractProxyModel_hasChildren, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_hasChildren)},
    {SIP_MLNAME_CAST(sipName_headerData), (PyCFunction)meth_QAbstractProxyModel_headerData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_headerData)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractProxyModel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemData), meth_QAbstractProxyModel_itemData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_itemData)},
    {SIP_MLNAME_CAST(sipName_mapFromSource), meth_QAbstractProxyModel_mapFromSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_mapFromSource)},
    {SIP_MLNAME_CAST(sipName_mapSelectionFromSource), meth_QAbstractProxyModel_mapSelectionFromSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_mapSelectionFromSource)},
    {SIP_MLNAME_CAST(sipName_mapSelectionToSource), meth_QAbstractProxyModel_mapSelectionToSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_mapSelectionToSource)},
    {SIP_MLNAME_CAST(sipName_mapToSource), meth_QAbstractProxyModel_mapToSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_mapToSource)},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_QAbstractProxyModel_mimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_mimeData)},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_QAbstractProxyModel_mimeTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_mimeTypes)},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), (PyCFunction)meth_QAbstractProxyModel_persistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractProxyModel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInternalData), (PyCFunction)meth_QAbstractProxyModel_resetInternalData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_resetInternalData)},
    {SIP_MLNAME_CAST(sipName_revert), meth_QAbstractProxyModel_revert, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_revert)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractProxyModel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractProxyModel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), (PyCFunction)meth_QAbstractProxyModel_setData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_setData)},
    {SIP_MLNAME_CAST(sipName_setHeaderData), (PyCFunction)meth_QAbstractProxyModel_setHeaderData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_setHeaderData)},
    {SIP_MLNAME_CAST(sipName_setItemData), meth_QAbstractProxyModel_setItemData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_setItemData)},
    {SIP_MLNAME_CAST(sipName_setSourceModel), meth_QAbstractProxyModel_setSourceModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_setSourceModel)},
    {SIP_MLNAME_CAST(sipName_sibling), meth_QAbstractProxyModel_sibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_sibling)},
    {SIP_MLNAME_CAST(sipName_sort), (PyCFunction)meth_QAbstractProxyModel_sort, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_sort)},
    {SIP_MLNAME_CAST(sipName_sourceModel), meth_QAbstractProxyModel_sourceModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_sourceModel)},
    {SIP_MLNAME_CAST(sipName_span), meth_QAbstractProxyModel_span, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_span)},
    {SIP_MLNAME_CAST(sipName_submit), meth_QAbstractProxyModel_submit, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_submit)},
    {SIP_MLNAME_CAST(sipName_supportedDragActions), meth_QAbstractProxyModel_supportedDragActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_supportedDragActions)},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), meth_QAbstractProxyModel_supportedDropActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractProxyModel_supportedDropActions)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractProxyModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAbstractProxyModel, "\1QAbstractProxyModel(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractProxyModel[] = {
    {"sourceModelChanged()", "\1sourceModelChanged(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractProxyModel = {
    & ::QAbstractProxyModel::staticMetaObject,
    0,
    signals_QAbstractProxyModel,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAbstractProxyModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractProxyModel,
        {0},
        &plugin_QAbstractProxyModel
    },
    {
        sipNameNr_QAbstractProxyModel,
        {0, 0, 1},
        58, methods_QAbstractProxyModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractProxyModel,
    -1,
    -1,
    supers_QAbstractProxyModel,
    0,
    init_type_QAbstractProxyModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractProxyModel,
    0,
    0,
    0,
    release_QAbstractProxyModel,
    cast_QAbstractProxyModel,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractnativeeventfilter.sip"
#include <qabstractnativeeventfilter.h>
#line 173404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 173408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQAbstractNativeEventFilter : public  ::QAbstractNativeEventFilter
{
public:
    sipQAbstractNativeEventFilter();
    virtual ~sipQAbstractNativeEventFilter();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool nativeEventFilter(const  ::QByteArray&,void*,long*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractNativeEventFilter(const sipQAbstractNativeEventFilter &);
    sipQAbstractNativeEventFilter &operator = (const sipQAbstractNativeEventFilter &);

    char sipPyMethods[1];
};

sipQAbstractNativeEventFilter::sipQAbstractNativeEventFilter():  ::QAbstractNativeEventFilter(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractNativeEventFilter::~sipQAbstractNativeEventFilter()
{
    sipInstanceDestroyed(sipPySelf);
}

bool sipQAbstractNativeEventFilter::nativeEventFilter(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QAbstractNativeEventFilter,sipName_nativeEventFilter);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_QtCore_41(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}


PyDoc_STRVAR(doc_QAbstractNativeEventFilter_nativeEventFilter, "nativeEventFilter(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[bool, int]");

extern "C" {static PyObject *meth_QAbstractNativeEventFilter_nativeEventFilter(PyObject *, PyObject *);}
static PyObject *meth_QAbstractNativeEventFilter_nativeEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
         ::QAbstractNativeEventFilter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1v", &sipSelf, sipType_QAbstractNativeEventFilter, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractNativeEventFilter, sipName_nativeEventFilter);
                return NULL;
            }

            sipRes = sipCpp->nativeEventFilter(*a0,a1,&a2);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractNativeEventFilter, sipName_nativeEventFilter, doc_QAbstractNativeEventFilter_nativeEventFilter);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractNativeEventFilter(void *, int);}
static void release_QAbstractNativeEventFilter(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQAbstractNativeEventFilter *>(sipCppV);
    else
        delete reinterpret_cast< ::QAbstractNativeEventFilter *>(sipCppV);
}


extern "C" {static void dealloc_QAbstractNativeEventFilter(sipSimpleWrapper *);}
static void dealloc_QAbstractNativeEventFilter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractNativeEventFilter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractNativeEventFilter(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractNativeEventFilter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractNativeEventFilter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQAbstractNativeEventFilter *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQAbstractNativeEventFilter();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QAbstractNativeEventFilter[] = {
    {SIP_MLNAME_CAST(sipName_nativeEventFilter), meth_QAbstractNativeEventFilter_nativeEventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractNativeEventFilter_nativeEventFilter)}
};

PyDoc_STRVAR(doc_QAbstractNativeEventFilter, "\1QAbstractNativeEventFilter()");


static pyqt5ClassPluginDef plugin_QAbstractNativeEventFilter = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAbstractNativeEventFilter = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractNativeEventFilter,
        {0},
        &plugin_QAbstractNativeEventFilter
    },
    {
        sipNameNr_QAbstractNativeEventFilter,
        {0, 0, 1},
        1, methods_QAbstractNativeEventFilter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractNativeEventFilter,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QAbstractNativeEventFilter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractNativeEventFilter,
    0,
    0,
    0,
    release_QAbstractNativeEventFilter,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 173611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 173615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 173618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 173621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 173624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 173627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 173630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 173633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 173636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 173639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 173642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 173645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 173648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 173651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 173654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 173657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 173660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 173663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 173666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 173669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 173672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 173675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 173678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 173681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 173684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 173687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 173690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 173693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 173696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 173699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 173702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 173705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQAbstractListModel : public  ::QAbstractListModel
{
public:
    sipQAbstractListModel( ::QObject*);
    virtual ~sipQAbstractListModel();

    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;
    void sipProtect_encodeData(const  ::QModelIndexList&, ::QDataStream&) const;
    bool sipProtect_decodeData(int,int,const  ::QModelIndex&, ::QDataStream&);
    void sipProtect_beginInsertRows(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
     ::QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_changePersistentIndex(const  ::QModelIndex&,const  ::QModelIndex&);
    void sipProtect_changePersistentIndexList(const  ::QModelIndexList&,const  ::QModelIndexList&);
     ::QModelIndex sipProtect_createIndex(int,int,void*) const;
    bool sipProtect_beginMoveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_resetInternalData();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::QModelIndex index(int,int,const  ::QModelIndex&) const;
     ::QModelIndex sibling(int,int,const  ::QModelIndex&) const;
    int rowCount(const  ::QModelIndex&) const;
     ::QVariant data(const  ::QModelIndex&,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
     ::QStringList mimeTypes() const;
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool insertRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    void fetchMore(const  ::QModelIndex&);
    bool canFetchMore(const  ::QModelIndex&) const;
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::QModelIndex buddy(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QSize span(const  ::QModelIndex&) const;
    bool submit();
    void revert();
     ::Qt::DropActions supportedDragActions() const;
    QHash<int, ::QByteArray> roleNames() const;
    bool canDropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&) const;
    bool moveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool moveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractListModel(const sipQAbstractListModel &);
    sipQAbstractListModel &operator = (const sipQAbstractListModel &);

    char sipPyMethods[38];
};

sipQAbstractListModel::sipQAbstractListModel( ::QObject*a0):  ::QAbstractListModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractListModel::~sipQAbstractListModel()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractListModel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractListModel);

    return  ::QAbstractListModel::metaObject();
}

int sipQAbstractListModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAbstractListModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QAbstractListModel,_c,_id,_a);

    return _id;
}

void *sipQAbstractListModel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractListModel, _clname, &sipCpp) ? sipCpp :  ::QAbstractListModel::qt_metacast(_clname));
}

void sipQAbstractListModel::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractListModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractListModel::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractListModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractListModel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractListModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractListModel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractListModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractListModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractListModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractListModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractListModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractListModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractListModel::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQAbstractListModel::index(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return  ::QAbstractListModel::index(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndex sipQAbstractListModel::sibling(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return  ::QAbstractListModel::sibling(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQAbstractListModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,sipName_QAbstractListModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQAbstractListModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,sipName_QAbstractListModel,sipName_data);

    if (!sipMeth)
        return  ::QVariant();

    extern  ::QVariant sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractListModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::QAbstractListModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QVariant sipQAbstractListModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::QAbstractListModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractListModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return  ::QAbstractListModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QMap<int, ::QVariant> sipQAbstractListModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return  ::QAbstractListModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractListModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return  ::QAbstractListModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::QStringList sipQAbstractListModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QAbstractListModel::mimeTypes();

    extern  ::QStringList sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_29(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::QMimeData* sipQAbstractListModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QAbstractListModel::mimeData(a0);

    extern  ::QMimeData* sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractListModel::dropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QAbstractListModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::Qt::DropActions sipQAbstractListModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QAbstractListModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractListModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::QAbstractListModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractListModel::insertColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::QAbstractListModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractListModel::removeRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::QAbstractListModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractListModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::QAbstractListModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQAbstractListModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::QAbstractListModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractListModel::canFetchMore(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::QAbstractListModel::canFetchMore(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::Qt::ItemFlags sipQAbstractListModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QAbstractListModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractListModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::QAbstractListModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipQAbstractListModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::QAbstractListModel::buddy(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQAbstractListModel::match(const  ::QModelIndex& a0,int a1,const  ::QVariant& a2,int a3, ::Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::QAbstractListModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_QtCore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_QtCore_37(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QSize sipQAbstractListModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::QAbstractListModel::span(a0);

    extern  ::QSize sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_38(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractListModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::QAbstractListModel::submit();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractListModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::QAbstractListModel::revert();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::Qt::DropActions sipQAbstractListModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return  ::QAbstractListModel::supportedDragActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QHash<int, ::QByteArray> sipQAbstractListModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return  ::QAbstractListModel::roleNames();

    extern QHash<int, ::QByteArray> sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_39(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractListModel::canDropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return  ::QAbstractListModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQAbstractListModel::moveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return  ::QAbstractListModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQAbstractListModel::moveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return  ::QAbstractListModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QObject* sipQAbstractListModel::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAbstractListModel::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAbstractListModel::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractListModel::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractListModel::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractListModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractListModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractListModel::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAbstractListModel::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQAbstractListModel::sipProtect_encodeData(const  ::QModelIndexList& a0, ::QDataStream& a1) const
{
     ::QAbstractItemModel::encodeData(a0,a1);
}

bool sipQAbstractListModel::sipProtect_decodeData(int a0,int a1,const  ::QModelIndex& a2, ::QDataStream& a3)
{
    return  ::QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipQAbstractListModel::sipProtect_beginInsertRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipQAbstractListModel::sipProtect_endInsertRows()
{
     ::QAbstractItemModel::endInsertRows();
}

void sipQAbstractListModel::sipProtect_beginRemoveRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipQAbstractListModel::sipProtect_endRemoveRows()
{
     ::QAbstractItemModel::endRemoveRows();
}

void sipQAbstractListModel::sipProtect_beginInsertColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipQAbstractListModel::sipProtect_endInsertColumns()
{
     ::QAbstractItemModel::endInsertColumns();
}

void sipQAbstractListModel::sipProtect_beginRemoveColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipQAbstractListModel::sipProtect_endRemoveColumns()
{
     ::QAbstractItemModel::endRemoveColumns();
}

 ::QModelIndexList sipQAbstractListModel::sipProtect_persistentIndexList() const
{
    return  ::QAbstractItemModel::persistentIndexList();
}

void sipQAbstractListModel::sipProtect_changePersistentIndex(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
     ::QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipQAbstractListModel::sipProtect_changePersistentIndexList(const  ::QModelIndexList& a0,const  ::QModelIndexList& a1)
{
     ::QAbstractItemModel::changePersistentIndexList(a0,a1);
}

 ::QModelIndex sipQAbstractListModel::sipProtect_createIndex(int a0,int a1,void*a2) const
{
    return  ::QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipQAbstractListModel::sipProtect_beginMoveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipQAbstractListModel::sipProtect_endMoveRows()
{
     ::QAbstractItemModel::endMoveRows();
}

bool sipQAbstractListModel::sipProtect_beginMoveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipQAbstractListModel::sipProtect_endMoveColumns()
{
     ::QAbstractItemModel::endMoveColumns();
}

void sipQAbstractListModel::sipProtect_beginResetModel()
{
     ::QAbstractItemModel::beginResetModel();
}

void sipQAbstractListModel::sipProtect_endResetModel()
{
     ::QAbstractItemModel::endResetModel();
}

void sipQAbstractListModel::sipProtect_resetInternalData()
{
     ::QAbstractItemModel::resetInternalData();
}


PyDoc_STRVAR(doc_QAbstractListModel_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractListModel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 174630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_sender, doc_QAbstractListModel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAbstractListModel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractListModel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 174690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QAbstractListModel, sipName_receivers, doc_QAbstractListModel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractListModel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractListModel, &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_QAbstractListModel, sipName_timerEvent, doc_QAbstractListModel_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAbstractListModel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractListModel, &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_QAbstractListModel, sipName_childEvent, doc_QAbstractListModel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractListModel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractListModel, &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_QAbstractListModel, sipName_customEvent, doc_QAbstractListModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractListModel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractListModel, &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_QAbstractListModel, sipName_connectNotify, doc_QAbstractListModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractListModel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractListModel, &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_QAbstractListModel, sipName_disconnectNotify, doc_QAbstractListModel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAbstractListModel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_senderSignalIndex, doc_QAbstractListModel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractListModel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractListModel, &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_QAbstractListModel, sipName_isSignalConnected, doc_QAbstractListModel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_encodeData, "encodeData(self, object, QDataStream)");

extern "C" {static PyObject *meth_QAbstractListModel_encodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_encodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
         ::QDataStream* a1;
        const sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J9", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            sipCpp->sipProtect_encodeData(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_encodeData, doc_QAbstractListModel_encodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_decodeData, "decodeData(self, int, int, QModelIndex, QDataStream) -> bool");

extern "C" {static PyObject *meth_QAbstractListModel_decodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_decodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
         ::QDataStream* a3;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ9J9", &sipSelf, sipType_QAbstractListModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_decodeData, doc_QAbstractListModel_decodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_beginInsertRows, "beginInsertRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractListModel_beginInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_beginInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_beginInsertRows, doc_QAbstractListModel_beginInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_endInsertRows, "endInsertRows(self)");

extern "C" {static PyObject *meth_QAbstractListModel_endInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_endInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_endInsertRows, doc_QAbstractListModel_endInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_beginRemoveRows, "beginRemoveRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractListModel_beginRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_beginRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_beginRemoveRows, doc_QAbstractListModel_beginRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_endRemoveRows, "endRemoveRows(self)");

extern "C" {static PyObject *meth_QAbstractListModel_endRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_endRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_endRemoveRows, doc_QAbstractListModel_endRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_beginInsertColumns, "beginInsertColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractListModel_beginInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_beginInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_beginInsertColumns, doc_QAbstractListModel_beginInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_endInsertColumns, "endInsertColumns(self)");

extern "C" {static PyObject *meth_QAbstractListModel_endInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_endInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_endInsertColumns, doc_QAbstractListModel_endInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_beginRemoveColumns, "beginRemoveColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractListModel_beginRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_beginRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_beginRemoveColumns, doc_QAbstractListModel_beginRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_endRemoveColumns, "endRemoveColumns(self)");

extern "C" {static PyObject *meth_QAbstractListModel_endRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_endRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_endRemoveColumns, doc_QAbstractListModel_endRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_persistentIndexList, "persistentIndexList(self) -> object");

extern "C" {static PyObject *meth_QAbstractListModel_persistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_persistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->sipProtect_persistentIndexList());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_persistentIndexList, doc_QAbstractListModel_persistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_changePersistentIndex, "changePersistentIndex(self, QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractListModel_changePersistentIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_changePersistentIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_changePersistentIndex, doc_QAbstractListModel_changePersistentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_changePersistentIndexList, "changePersistentIndexList(self, object, object)");

extern "C" {static PyObject *meth_QAbstractListModel_changePersistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_changePersistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::QModelIndexList* a1;
        int a1State = 0;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast< ::QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_changePersistentIndexList, doc_QAbstractListModel_changePersistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_createIndex, "createIndex(self, int, int, object: object = 0) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractListModel_createIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_createIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        const sipQAbstractListModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|P0", &sipSelf, sipType_QAbstractListModel, &sipCpp, &a0, &a1, &a2))
        {
             ::QModelIndex*sipRes = 0;

#line 194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        // The Qt API is broken (and won't be fixed as it would break binary
        // compatibility) regarding the internal id of a model index on different
        // architectures (32 vs 64 bits).  We choose to work around the breakage as it
        // is fairly subtle and continues to catch people out.  Instead of letting Qt
        // convert betweed an integer id and a pointer id (the internal format used by
        // Qt) we let Python do it.
        
        void *ptr;
        
        if (a2)
        {
            // Try and convert it to a Python long and fallback to the object's
            // address if it fails.
            ptr = PyLong_AsVoidPtr(a2);
        
            if (PyErr_Occurred())
            {
                PyErr_Clear();
                ptr = a2;
            }
        }
        else
        {
            ptr = 0;
        }
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = new QModelIndex(sipCpp->createIndex(a0, a1, ptr));
        #else
        sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr));
        #endif
#line 175350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_createIndex, doc_QAbstractListModel_createIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_beginMoveRows, "beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractListModel_beginMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_beginMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_beginMoveRows, doc_QAbstractListModel_beginMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_endMoveRows, "endMoveRows(self)");

extern "C" {static PyObject *meth_QAbstractListModel_endMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_endMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_endMoveRows, doc_QAbstractListModel_endMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_beginMoveColumns, "beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractListModel_beginMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_beginMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_beginMoveColumns, doc_QAbstractListModel_beginMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_endMoveColumns, "endMoveColumns(self)");

extern "C" {static PyObject *meth_QAbstractListModel_endMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_endMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_endMoveColumns, doc_QAbstractListModel_endMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_beginResetModel, "beginResetModel(self)");

extern "C" {static PyObject *meth_QAbstractListModel_beginResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_beginResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_beginResetModel, doc_QAbstractListModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_endResetModel, "endResetModel(self)");

extern "C" {static PyObject *meth_QAbstractListModel_endResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_endResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_endResetModel, doc_QAbstractListModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_resetInternalData, "resetInternalData(self)");

extern "C" {static PyObject *meth_QAbstractListModel_resetInternalData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_resetInternalData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractListModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
            sipCpp->sipProtect_resetInternalData();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_resetInternalData, doc_QAbstractListModel_resetInternalData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_index, "index(self, int, column: int = 0, parent: QModelIndex = QModelIndex()) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractListModel_index(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_index(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1 = 0;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
        const  ::QAbstractListModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_column,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|iJ9", &sipSelf, sipType_QAbstractListModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QAbstractListModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_index, doc_QAbstractListModel_index);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_dropMimeData, "dropMimeData(self, QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractListModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMimeData* a0;
         ::Qt::DropAction a1;
        int a2;
        int a3;
        const  ::QModelIndex* a4;
         ::QAbstractListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractListModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_dropMimeData, doc_QAbstractListModel_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_flags, "flags(self, QModelIndex) -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QAbstractListModel_flags(PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractListModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags((sipSelfWasArg ? sipCpp-> ::QAbstractListModel::flags(*a0) : sipCpp->flags(*a0)));

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_flags, doc_QAbstractListModel_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_parent, "parent(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractListModel_parent(PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractListModel, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->parent();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_parent, doc_QAbstractListModel_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractListModel_sibling, "sibling(self, int, int, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractListModel_sibling(PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_sibling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
        const  ::QAbstractListModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9", &sipSelf, sipType_QAbstractListModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QAbstractListModel::sibling(a0,a1,*a2) : sipCpp->sibling(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractListModel, sipName_sibling, doc_QAbstractListModel_sibling);

    return NULL;
}


extern "C" {static PyObject *meth_QAbstractListModel_columnCount(PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_columnCount(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_QAbstractListModel, sipName_columnCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_QAbstractListModel_hasChildren(PyObject *, PyObject *);}
static PyObject *meth_QAbstractListModel_hasChildren(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_QAbstractListModel, sipName_hasChildren, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractListModel(void *, const sipTypeDef *);}
static void *cast_QAbstractListModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractListModel *sipCpp = reinterpret_cast< ::QAbstractListModel *>(sipCppV);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractListModel(void *, int);}
static void release_QAbstractListModel(void *sipCppV, int)
{
     ::QAbstractListModel *sipCpp = reinterpret_cast< ::QAbstractListModel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractListModel(sipSimpleWrapper *);}
static void dealloc_QAbstractListModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractListModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractListModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractListModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractListModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractListModel *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 sipQAbstractListModel(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractListModel[] = {{6, 255, 1}};


static PyMethodDef methods_QAbstractListModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), (PyCFunction)meth_QAbstractListModel_beginInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), (PyCFunction)meth_QAbstractListModel_beginInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), (PyCFunction)meth_QAbstractListModel_beginMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), (PyCFunction)meth_QAbstractListModel_beginMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), (PyCFunction)meth_QAbstractListModel_beginRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), (PyCFunction)meth_QAbstractListModel_beginRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginResetModel), (PyCFunction)meth_QAbstractListModel_beginResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), (PyCFunction)meth_QAbstractListModel_changePersistentIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), (PyCFunction)meth_QAbstractListModel_changePersistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractListModel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_QAbstractListModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractListModel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), (PyCFunction)meth_QAbstractListModel_createIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractListModel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeData), (PyCFunction)meth_QAbstractListModel_decodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractListModel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_QAbstractListModel_dropMimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractListModel_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_encodeData), (PyCFunction)meth_QAbstractListModel_encodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), (PyCFunction)meth_QAbstractListModel_endInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), (PyCFunction)meth_QAbstractListModel_endInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), (PyCFunction)meth_QAbstractListModel_endMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveRows), (PyCFunction)meth_QAbstractListModel_endMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), (PyCFunction)meth_QAbstractListModel_endRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), (PyCFunction)meth_QAbstractListModel_endRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endResetModel), (PyCFunction)meth_QAbstractListModel_endResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_flags), meth_QAbstractListModel_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractListModel_flags)},
    {SIP_MLNAME_CAST(sipName_hasChildren), meth_QAbstractListModel_hasChildren, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), (PyCFunction)meth_QAbstractListModel_index, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractListModel_index)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractListModel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_QAbstractListModel_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractListModel_parent)},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), (PyCFunction)meth_QAbstractListModel_persistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractListModel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInternalData), (PyCFunction)meth_QAbstractListModel_resetInternalData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractListModel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractListModel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sibling), meth_QAbstractListModel_sibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractListModel_sibling)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractListModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAbstractListModel, "\1QAbstractListModel(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QAbstractListModel = {
    & ::QAbstractListModel::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAbstractListModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractListModel,
        {0},
        &plugin_QAbstractListModel
    },
    {
        sipNameNr_QAbstractListModel,
        {0, 0, 1},
        37, methods_QAbstractListModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractListModel,
    -1,
    -1,
    supers_QAbstractListModel,
    0,
    init_type_QAbstractListModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractListModel,
    0,
    0,
    0,
    release_QAbstractListModel,
    cast_QAbstractListModel,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 175928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 175932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 175935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 175941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 175947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 175950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 175956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 175959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 175962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 175965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 175968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 175971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 175974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 175977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 175983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 175986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 175989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 175992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 175995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 175998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 176001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 176004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 176007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 176010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 176013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 176016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 176019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 176022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQAbstractTableModel : public  ::QAbstractTableModel
{
public:
    sipQAbstractTableModel( ::QObject*);
    virtual ~sipQAbstractTableModel();

    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;
    void sipProtect_encodeData(const  ::QModelIndexList&, ::QDataStream&) const;
    bool sipProtect_decodeData(int,int,const  ::QModelIndex&, ::QDataStream&);
    void sipProtect_beginInsertRows(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
     ::QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_changePersistentIndex(const  ::QModelIndex&,const  ::QModelIndex&);
    void sipProtect_changePersistentIndexList(const  ::QModelIndexList&,const  ::QModelIndexList&);
     ::QModelIndex sipProtect_createIndex(int,int,void*) const;
    bool sipProtect_beginMoveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_resetInternalData();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
     ::QModelIndex index(int,int,const  ::QModelIndex&) const;
     ::QModelIndex sibling(int,int,const  ::QModelIndex&) const;
    int rowCount(const  ::QModelIndex&) const;
    int columnCount(const  ::QModelIndex&) const;
     ::QVariant data(const  ::QModelIndex&,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
     ::QStringList mimeTypes() const;
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool insertRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    void fetchMore(const  ::QModelIndex&);
    bool canFetchMore(const  ::QModelIndex&) const;
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::QModelIndex buddy(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QSize span(const  ::QModelIndex&) const;
    bool submit();
    void revert();
     ::Qt::DropActions supportedDragActions() const;
    QHash<int, ::QByteArray> roleNames() const;
    bool canDropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&) const;
    bool moveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool moveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractTableModel(const sipQAbstractTableModel &);
    sipQAbstractTableModel &operator = (const sipQAbstractTableModel &);

    char sipPyMethods[39];
};

sipQAbstractTableModel::sipQAbstractTableModel( ::QObject*a0):  ::QAbstractTableModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractTableModel::~sipQAbstractTableModel()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractTableModel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractTableModel);

    return  ::QAbstractTableModel::metaObject();
}

int sipQAbstractTableModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAbstractTableModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QAbstractTableModel,_c,_id,_a);

    return _id;
}

void *sipQAbstractTableModel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractTableModel, _clname, &sipCpp) ? sipCpp :  ::QAbstractTableModel::qt_metacast(_clname));
}

void sipQAbstractTableModel::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractTableModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTableModel::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractTableModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTableModel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractTableModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTableModel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractTableModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTableModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractTableModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTableModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractTableModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractTableModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractTableModel::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQAbstractTableModel::index(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return  ::QAbstractTableModel::index(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndex sipQAbstractTableModel::sibling(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return  ::QAbstractTableModel::sibling(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

int sipQAbstractTableModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,sipName_QAbstractTableModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAbstractTableModel::columnCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,sipName_QAbstractTableModel,sipName_columnCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQAbstractTableModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,sipName_QAbstractTableModel,sipName_data);

    if (!sipMeth)
        return  ::QVariant();

    extern  ::QVariant sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractTableModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::QAbstractTableModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QVariant sipQAbstractTableModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::QAbstractTableModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractTableModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return  ::QAbstractTableModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

QMap<int, ::QVariant> sipQAbstractTableModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return  ::QAbstractTableModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTableModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return  ::QAbstractTableModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::QStringList sipQAbstractTableModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QAbstractTableModel::mimeTypes();

    extern  ::QStringList sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_29(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::QMimeData* sipQAbstractTableModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QAbstractTableModel::mimeData(a0);

    extern  ::QMimeData* sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTableModel::dropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QAbstractTableModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::Qt::DropActions sipQAbstractTableModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QAbstractTableModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractTableModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::QAbstractTableModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractTableModel::insertColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::QAbstractTableModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractTableModel::removeRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::QAbstractTableModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractTableModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::QAbstractTableModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

void sipQAbstractTableModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::QAbstractTableModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTableModel::canFetchMore(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::QAbstractTableModel::canFetchMore(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::Qt::ItemFlags sipQAbstractTableModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QAbstractTableModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractTableModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::QAbstractTableModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::QModelIndex sipQAbstractTableModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::QAbstractTableModel::buddy(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQAbstractTableModel::match(const  ::QModelIndex& a0,int a1,const  ::QVariant& a2,int a3, ::Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::QAbstractTableModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_QtCore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_QtCore_37(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QSize sipQAbstractTableModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::QAbstractTableModel::span(a0);

    extern  ::QSize sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_38(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractTableModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::QAbstractTableModel::submit();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractTableModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::QAbstractTableModel::revert();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::Qt::DropActions sipQAbstractTableModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return  ::QAbstractTableModel::supportedDragActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QHash<int, ::QByteArray> sipQAbstractTableModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return  ::QAbstractTableModel::roleNames();

    extern QHash<int, ::QByteArray> sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_39(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractTableModel::canDropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return  ::QAbstractTableModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQAbstractTableModel::moveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return  ::QAbstractTableModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQAbstractTableModel::moveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return  ::QAbstractTableModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QObject* sipQAbstractTableModel::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAbstractTableModel::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAbstractTableModel::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractTableModel::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractTableModel::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractTableModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractTableModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractTableModel::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAbstractTableModel::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQAbstractTableModel::sipProtect_encodeData(const  ::QModelIndexList& a0, ::QDataStream& a1) const
{
     ::QAbstractItemModel::encodeData(a0,a1);
}

bool sipQAbstractTableModel::sipProtect_decodeData(int a0,int a1,const  ::QModelIndex& a2, ::QDataStream& a3)
{
    return  ::QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipQAbstractTableModel::sipProtect_beginInsertRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipQAbstractTableModel::sipProtect_endInsertRows()
{
     ::QAbstractItemModel::endInsertRows();
}

void sipQAbstractTableModel::sipProtect_beginRemoveRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipQAbstractTableModel::sipProtect_endRemoveRows()
{
     ::QAbstractItemModel::endRemoveRows();
}

void sipQAbstractTableModel::sipProtect_beginInsertColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipQAbstractTableModel::sipProtect_endInsertColumns()
{
     ::QAbstractItemModel::endInsertColumns();
}

void sipQAbstractTableModel::sipProtect_beginRemoveColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipQAbstractTableModel::sipProtect_endRemoveColumns()
{
     ::QAbstractItemModel::endRemoveColumns();
}

 ::QModelIndexList sipQAbstractTableModel::sipProtect_persistentIndexList() const
{
    return  ::QAbstractItemModel::persistentIndexList();
}

void sipQAbstractTableModel::sipProtect_changePersistentIndex(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
     ::QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipQAbstractTableModel::sipProtect_changePersistentIndexList(const  ::QModelIndexList& a0,const  ::QModelIndexList& a1)
{
     ::QAbstractItemModel::changePersistentIndexList(a0,a1);
}

 ::QModelIndex sipQAbstractTableModel::sipProtect_createIndex(int a0,int a1,void*a2) const
{
    return  ::QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipQAbstractTableModel::sipProtect_beginMoveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipQAbstractTableModel::sipProtect_endMoveRows()
{
     ::QAbstractItemModel::endMoveRows();
}

bool sipQAbstractTableModel::sipProtect_beginMoveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipQAbstractTableModel::sipProtect_endMoveColumns()
{
     ::QAbstractItemModel::endMoveColumns();
}

void sipQAbstractTableModel::sipProtect_beginResetModel()
{
     ::QAbstractItemModel::beginResetModel();
}

void sipQAbstractTableModel::sipProtect_endResetModel()
{
     ::QAbstractItemModel::endResetModel();
}

void sipQAbstractTableModel::sipProtect_resetInternalData()
{
     ::QAbstractItemModel::resetInternalData();
}


PyDoc_STRVAR(doc_QAbstractTableModel_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractTableModel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 176963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_sender, doc_QAbstractTableModel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAbstractTableModel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractTableModel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 177023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QAbstractTableModel, sipName_receivers, doc_QAbstractTableModel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractTableModel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractTableModel, &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_QAbstractTableModel, sipName_timerEvent, doc_QAbstractTableModel_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAbstractTableModel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractTableModel, &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_QAbstractTableModel, sipName_childEvent, doc_QAbstractTableModel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractTableModel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractTableModel, &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_QAbstractTableModel, sipName_customEvent, doc_QAbstractTableModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractTableModel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractTableModel, &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_QAbstractTableModel, sipName_connectNotify, doc_QAbstractTableModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractTableModel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractTableModel, &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_QAbstractTableModel, sipName_disconnectNotify, doc_QAbstractTableModel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAbstractTableModel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_senderSignalIndex, doc_QAbstractTableModel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractTableModel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractTableModel, &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_QAbstractTableModel, sipName_isSignalConnected, doc_QAbstractTableModel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_encodeData, "encodeData(self, object, QDataStream)");

extern "C" {static PyObject *meth_QAbstractTableModel_encodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_encodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
         ::QDataStream* a1;
        const sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J9", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            sipCpp->sipProtect_encodeData(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_encodeData, doc_QAbstractTableModel_encodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_decodeData, "decodeData(self, int, int, QModelIndex, QDataStream) -> bool");

extern "C" {static PyObject *meth_QAbstractTableModel_decodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_decodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
         ::QDataStream* a3;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ9J9", &sipSelf, sipType_QAbstractTableModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_decodeData, doc_QAbstractTableModel_decodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_beginInsertRows, "beginInsertRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractTableModel_beginInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_beginInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_beginInsertRows, doc_QAbstractTableModel_beginInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_endInsertRows, "endInsertRows(self)");

extern "C" {static PyObject *meth_QAbstractTableModel_endInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_endInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_endInsertRows, doc_QAbstractTableModel_endInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_beginRemoveRows, "beginRemoveRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractTableModel_beginRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_beginRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_beginRemoveRows, doc_QAbstractTableModel_beginRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_endRemoveRows, "endRemoveRows(self)");

extern "C" {static PyObject *meth_QAbstractTableModel_endRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_endRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_endRemoveRows, doc_QAbstractTableModel_endRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_beginInsertColumns, "beginInsertColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractTableModel_beginInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_beginInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_beginInsertColumns, doc_QAbstractTableModel_beginInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_endInsertColumns, "endInsertColumns(self)");

extern "C" {static PyObject *meth_QAbstractTableModel_endInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_endInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_endInsertColumns, doc_QAbstractTableModel_endInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_beginRemoveColumns, "beginRemoveColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractTableModel_beginRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_beginRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_beginRemoveColumns, doc_QAbstractTableModel_beginRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_endRemoveColumns, "endRemoveColumns(self)");

extern "C" {static PyObject *meth_QAbstractTableModel_endRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_endRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_endRemoveColumns, doc_QAbstractTableModel_endRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_persistentIndexList, "persistentIndexList(self) -> object");

extern "C" {static PyObject *meth_QAbstractTableModel_persistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_persistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->sipProtect_persistentIndexList());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_persistentIndexList, doc_QAbstractTableModel_persistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_changePersistentIndex, "changePersistentIndex(self, QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractTableModel_changePersistentIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_changePersistentIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_changePersistentIndex, doc_QAbstractTableModel_changePersistentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_changePersistentIndexList, "changePersistentIndexList(self, object, object)");

extern "C" {static PyObject *meth_QAbstractTableModel_changePersistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_changePersistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::QModelIndexList* a1;
        int a1State = 0;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast< ::QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_changePersistentIndexList, doc_QAbstractTableModel_changePersistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_createIndex, "createIndex(self, int, int, object: object = 0) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractTableModel_createIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_createIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        const sipQAbstractTableModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|P0", &sipSelf, sipType_QAbstractTableModel, &sipCpp, &a0, &a1, &a2))
        {
             ::QModelIndex*sipRes = 0;

#line 194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        // The Qt API is broken (and won't be fixed as it would break binary
        // compatibility) regarding the internal id of a model index on different
        // architectures (32 vs 64 bits).  We choose to work around the breakage as it
        // is fairly subtle and continues to catch people out.  Instead of letting Qt
        // convert betweed an integer id and a pointer id (the internal format used by
        // Qt) we let Python do it.
        
        void *ptr;
        
        if (a2)
        {
            // Try and convert it to a Python long and fallback to the object's
            // address if it fails.
            ptr = PyLong_AsVoidPtr(a2);
        
            if (PyErr_Occurred())
            {
                PyErr_Clear();
                ptr = a2;
            }
        }
        else
        {
            ptr = 0;
        }
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = new QModelIndex(sipCpp->createIndex(a0, a1, ptr));
        #else
        sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr));
        #endif
#line 177683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_createIndex, doc_QAbstractTableModel_createIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_beginMoveRows, "beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractTableModel_beginMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_beginMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_beginMoveRows, doc_QAbstractTableModel_beginMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_endMoveRows, "endMoveRows(self)");

extern "C" {static PyObject *meth_QAbstractTableModel_endMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_endMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_endMoveRows, doc_QAbstractTableModel_endMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_beginMoveColumns, "beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractTableModel_beginMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_beginMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_beginMoveColumns, doc_QAbstractTableModel_beginMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_endMoveColumns, "endMoveColumns(self)");

extern "C" {static PyObject *meth_QAbstractTableModel_endMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_endMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_endMoveColumns, doc_QAbstractTableModel_endMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_beginResetModel, "beginResetModel(self)");

extern "C" {static PyObject *meth_QAbstractTableModel_beginResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_beginResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_beginResetModel, doc_QAbstractTableModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_endResetModel, "endResetModel(self)");

extern "C" {static PyObject *meth_QAbstractTableModel_endResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_endResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_endResetModel, doc_QAbstractTableModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_resetInternalData, "resetInternalData(self)");

extern "C" {static PyObject *meth_QAbstractTableModel_resetInternalData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_resetInternalData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractTableModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
            sipCpp->sipProtect_resetInternalData();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_resetInternalData, doc_QAbstractTableModel_resetInternalData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_index, "index(self, int, int, parent: QModelIndex = QModelIndex()) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractTableModel_index(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_index(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
        const  ::QAbstractTableModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QAbstractTableModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QAbstractTableModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_index, doc_QAbstractTableModel_index);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_dropMimeData, "dropMimeData(self, QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractTableModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMimeData* a0;
         ::Qt::DropAction a1;
        int a2;
        int a3;
        const  ::QModelIndex* a4;
         ::QAbstractTableModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractTableModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_dropMimeData, doc_QAbstractTableModel_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_flags, "flags(self, QModelIndex) -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QAbstractTableModel_flags(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractTableModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractTableModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags((sipSelfWasArg ? sipCpp-> ::QAbstractTableModel::flags(*a0) : sipCpp->flags(*a0)));

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_flags, doc_QAbstractTableModel_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_parent, "parent(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractTableModel_parent(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractTableModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractTableModel, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->parent();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_parent, doc_QAbstractTableModel_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractTableModel_sibling, "sibling(self, int, int, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractTableModel_sibling(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_sibling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
        const  ::QAbstractTableModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9", &sipSelf, sipType_QAbstractTableModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QAbstractTableModel::sibling(a0,a1,*a2) : sipCpp->sibling(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractTableModel, sipName_sibling, doc_QAbstractTableModel_sibling);

    return NULL;
}


extern "C" {static PyObject *meth_QAbstractTableModel_hasChildren(PyObject *, PyObject *);}
static PyObject *meth_QAbstractTableModel_hasChildren(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_QAbstractTableModel, sipName_hasChildren, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractTableModel(void *, const sipTypeDef *);}
static void *cast_QAbstractTableModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractTableModel *sipCpp = reinterpret_cast< ::QAbstractTableModel *>(sipCppV);

    if (targetType == sipType_QAbstractItemModel)
        return static_cast< ::QAbstractItemModel *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractTableModel(void *, int);}
static void release_QAbstractTableModel(void *sipCppV, int)
{
     ::QAbstractTableModel *sipCpp = reinterpret_cast< ::QAbstractTableModel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractTableModel(sipSimpleWrapper *);}
static void dealloc_QAbstractTableModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractTableModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractTableModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractTableModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractTableModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractTableModel *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 sipQAbstractTableModel(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractTableModel[] = {{6, 255, 1}};


static PyMethodDef methods_QAbstractTableModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), (PyCFunction)meth_QAbstractTableModel_beginInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), (PyCFunction)meth_QAbstractTableModel_beginInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), (PyCFunction)meth_QAbstractTableModel_beginMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), (PyCFunction)meth_QAbstractTableModel_beginMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), (PyCFunction)meth_QAbstractTableModel_beginRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), (PyCFunction)meth_QAbstractTableModel_beginRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginResetModel), (PyCFunction)meth_QAbstractTableModel_beginResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), (PyCFunction)meth_QAbstractTableModel_changePersistentIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), (PyCFunction)meth_QAbstractTableModel_changePersistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractTableModel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractTableModel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), (PyCFunction)meth_QAbstractTableModel_createIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractTableModel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeData), (PyCFunction)meth_QAbstractTableModel_decodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractTableModel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_QAbstractTableModel_dropMimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTableModel_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_encodeData), (PyCFunction)meth_QAbstractTableModel_encodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), (PyCFunction)meth_QAbstractTableModel_endInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), (PyCFunction)meth_QAbstractTableModel_endInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), (PyCFunction)meth_QAbstractTableModel_endMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveRows), (PyCFunction)meth_QAbstractTableModel_endMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), (PyCFunction)meth_QAbstractTableModel_endRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), (PyCFunction)meth_QAbstractTableModel_endRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endResetModel), (PyCFunction)meth_QAbstractTableModel_endResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_flags), meth_QAbstractTableModel_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTableModel_flags)},
    {SIP_MLNAME_CAST(sipName_hasChildren), meth_QAbstractTableModel_hasChildren, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_index), (PyCFunction)meth_QAbstractTableModel_index, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractTableModel_index)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractTableModel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_parent), meth_QAbstractTableModel_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTableModel_parent)},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), (PyCFunction)meth_QAbstractTableModel_persistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractTableModel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInternalData), (PyCFunction)meth_QAbstractTableModel_resetInternalData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractTableModel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractTableModel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sibling), meth_QAbstractTableModel_sibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractTableModel_sibling)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractTableModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAbstractTableModel, "\1QAbstractTableModel(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QAbstractTableModel = {
    & ::QAbstractTableModel::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAbstractTableModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractTableModel,
        {0},
        &plugin_QAbstractTableModel
    },
    {
        sipNameNr_QAbstractTableModel,
        {0, 0, 1},
        36, methods_QAbstractTableModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractTableModel,
    -1,
    -1,
    supers_QAbstractTableModel,
    0,
    init_type_QAbstractTableModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractTableModel,
    0,
    0,
    0,
    release_QAbstractTableModel,
    cast_QAbstractTableModel,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 178249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 178253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 178256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 178259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 178262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 178265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 178268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 178271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 178274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 178277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 178280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 178283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 178286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 178289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 178292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 178295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 178298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 178301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 178304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 178307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 178310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 178313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 178316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 178319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 178322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 178325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 178328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 178331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 178334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 178337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 178340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQAbstractItemModel : public  ::QAbstractItemModel
{
public:
    sipQAbstractItemModel( ::QObject*);
    virtual ~sipQAbstractItemModel();

    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;
    void sipProtect_encodeData(const  ::QModelIndexList&, ::QDataStream&) const;
    bool sipProtect_decodeData(int,int,const  ::QModelIndex&, ::QDataStream&);
    void sipProtect_beginInsertRows(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const  ::QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
     ::QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_changePersistentIndex(const  ::QModelIndex&,const  ::QModelIndex&);
    void sipProtect_changePersistentIndexList(const  ::QModelIndexList&,const  ::QModelIndexList&);
     ::QModelIndex sipProtect_createIndex(int,int,void*) const;
    bool sipProtect_beginMoveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_resetInternalData();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool moveColumns(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool moveRows(const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);
    bool canDropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&) const;
    QHash<int, ::QByteArray> roleNames() const;
     ::Qt::DropActions supportedDragActions() const;
    void revert();
    bool submit();
     ::QSize span(const  ::QModelIndex&) const;
     ::QModelIndexList match(const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags) const;
     ::QModelIndex buddy(const  ::QModelIndex&) const;
    void sort(int, ::Qt::SortOrder);
     ::Qt::ItemFlags flags(const  ::QModelIndex&) const;
    bool canFetchMore(const  ::QModelIndex&) const;
    void fetchMore(const  ::QModelIndex&);
    bool removeColumns(int,int,const  ::QModelIndex&);
    bool removeRows(int,int,const  ::QModelIndex&);
    bool insertColumns(int,int,const  ::QModelIndex&);
    bool insertRows(int,int,const  ::QModelIndex&);
     ::Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);
     ::QMimeData* mimeData(const  ::QModelIndexList&) const;
     ::QStringList mimeTypes() const;
    bool setItemData(const  ::QModelIndex&,const QMap<int, ::QVariant>&);
    QMap<int, ::QVariant> itemData(const  ::QModelIndex&) const;
    bool setHeaderData(int, ::Qt::Orientation,const  ::QVariant&,int);
     ::QVariant headerData(int, ::Qt::Orientation,int) const;
    bool setData(const  ::QModelIndex&,const  ::QVariant&,int);
     ::QVariant data(const  ::QModelIndex&,int) const;
    bool hasChildren(const  ::QModelIndex&) const;
    int columnCount(const  ::QModelIndex&) const;
    int rowCount(const  ::QModelIndex&) const;
     ::QModelIndex sibling(int,int,const  ::QModelIndex&) const;
     ::QModelIndex parent(const  ::QModelIndex&) const;
     ::QModelIndex index(int,int,const  ::QModelIndex&) 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:
    sipQAbstractItemModel(const sipQAbstractItemModel &);
    sipQAbstractItemModel &operator = (const sipQAbstractItemModel &);

    char sipPyMethods[41];
};

sipQAbstractItemModel::sipQAbstractItemModel( ::QObject*a0):  ::QAbstractItemModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractItemModel::~sipQAbstractItemModel()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractItemModel::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractItemModel);

    return  ::QAbstractItemModel::metaObject();
}

int sipQAbstractItemModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAbstractItemModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QAbstractItemModel,_c,_id,_a);

    return _id;
}

void *sipQAbstractItemModel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractItemModel, _clname, &sipCpp) ? sipCpp :  ::QAbstractItemModel::qt_metacast(_clname));
}

bool sipQAbstractItemModel::moveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return  ::QAbstractItemModel::moveColumns(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQAbstractItemModel::moveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return  ::QAbstractItemModel::moveRows(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int,const  ::QModelIndex&,int);

    return sipVH_QtCore_40(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQAbstractItemModel::canDropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return  ::QAbstractItemModel::canDropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QHash<int, ::QByteArray> sipQAbstractItemModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return  ::QAbstractItemModel::roleNames();

    extern QHash<int, ::QByteArray> sipVH_QtCore_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_39(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::Qt::DropActions sipQAbstractItemModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return  ::QAbstractItemModel::supportedDragActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractItemModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
         ::QAbstractItemModel::revert();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractItemModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return  ::QAbstractItemModel::submit();

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

 ::QSize sipQAbstractItemModel::span(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return  ::QAbstractItemModel::span(a0);

    extern  ::QSize sipVH_QtCore_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_38(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndexList sipQAbstractItemModel::match(const  ::QModelIndex& a0,int a1,const  ::QVariant& a2,int a3, ::Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return  ::QAbstractItemModel::match(a0,a1,a2,a3,a4);

    extern  ::QModelIndexList sipVH_QtCore_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,const  ::QVariant&,int, ::Qt::MatchFlags);

    return sipVH_QtCore_37(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QModelIndex sipQAbstractItemModel::buddy(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return  ::QAbstractItemModel::buddy(a0);

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::sort(int a0, ::Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
         ::QAbstractItemModel::sort(a0,a1);
        return;
    }

    extern void sipVH_QtCore_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::SortOrder);

    sipVH_QtCore_36(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

 ::Qt::ItemFlags sipQAbstractItemModel::flags(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return  ::QAbstractItemModel::flags(a0);

    extern  ::Qt::ItemFlags sipVH_QtCore_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_35(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemModel::canFetchMore(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return  ::QAbstractItemModel::canFetchMore(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::fetchMore(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
         ::QAbstractItemModel::fetchMore(a0);
        return;
    }

    extern void sipVH_QtCore_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_QtCore_34(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemModel::removeColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return  ::QAbstractItemModel::removeColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractItemModel::removeRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return  ::QAbstractItemModel::removeRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractItemModel::insertColumns(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return  ::QAbstractItemModel::insertColumns(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractItemModel::insertRows(int a0,int a1,const  ::QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return  ::QAbstractItemModel::insertRows(a0,a1,a2);

    extern bool sipVH_QtCore_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_33(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::Qt::DropActions sipQAbstractItemModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return  ::QAbstractItemModel::supportedDropActions();

    extern  ::Qt::DropActions sipVH_QtCore_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_32(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractItemModel::dropMimeData(const  ::QMimeData*a0, ::Qt::DropAction a1,int a2,int a3,const  ::QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return  ::QAbstractItemModel::dropMimeData(a0,a1,a2,a3,a4);

    extern bool sipVH_QtCore_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMimeData*, ::Qt::DropAction,int,int,const  ::QModelIndex&);

    return sipVH_QtCore_31(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

 ::QMimeData* sipQAbstractItemModel::mimeData(const  ::QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return  ::QAbstractItemModel::mimeData(a0);

    extern  ::QMimeData* sipVH_QtCore_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndexList&);

    return sipVH_QtCore_30(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QStringList sipQAbstractItemModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return  ::QAbstractItemModel::mimeTypes();

    extern  ::QStringList sipVH_QtCore_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_29(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractItemModel::setItemData(const  ::QModelIndex& a0,const QMap<int, ::QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return  ::QAbstractItemModel::setItemData(a0,a1);

    extern bool sipVH_QtCore_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const QMap<int, ::QVariant>&);

    return sipVH_QtCore_28(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

QMap<int, ::QVariant> sipQAbstractItemModel::itemData(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return  ::QAbstractItemModel::itemData(a0);

    extern QMap<int, ::QVariant> sipVH_QtCore_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_27(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemModel::setHeaderData(int a0, ::Qt::Orientation a1,const  ::QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return  ::QAbstractItemModel::setHeaderData(a0,a1,a2,a3);

    extern bool sipVH_QtCore_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,const  ::QVariant&,int);

    return sipVH_QtCore_26(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

 ::QVariant sipQAbstractItemModel::headerData(int a0, ::Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return  ::QAbstractItemModel::headerData(a0,a1,a2);

    extern  ::QVariant sipVH_QtCore_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::Orientation,int);

    return sipVH_QtCore_25(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractItemModel::setData(const  ::QModelIndex& a0,const  ::QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return  ::QAbstractItemModel::setData(a0,a1,a2);

    extern bool sipVH_QtCore_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QVariant&,int);

    return sipVH_QtCore_24(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QVariant sipQAbstractItemModel::data(const  ::QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,sipName_QAbstractItemModel,sipName_data);

    if (!sipMeth)
        return  ::QVariant();

    extern  ::QVariant sipVH_QtCore_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int);

    return sipVH_QtCore_23(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractItemModel::hasChildren(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return  ::QAbstractItemModel::hasChildren(a0);

    extern bool sipVH_QtCore_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_22(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAbstractItemModel::columnCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,sipName_QAbstractItemModel,sipName_columnCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAbstractItemModel::rowCount(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,sipName_QAbstractItemModel,sipName_rowCount);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_21(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQAbstractItemModel::sibling(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return  ::QAbstractItemModel::sibling(a0,a1,a2);

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndex sipQAbstractItemModel::parent(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,sipName_QAbstractItemModel,sipName_parent);

    if (!sipMeth)
        return  ::QModelIndex();

    extern  ::QModelIndex sipVH_QtCore_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_QtCore_20(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipQAbstractItemModel::index(int a0,int a1,const  ::QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,sipName_QAbstractItemModel,sipName_index);

    if (!sipMeth)
        return  ::QModelIndex();

    extern  ::QModelIndex sipVH_QtCore_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const  ::QModelIndex&);

    return sipVH_QtCore_19(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractItemModel::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractItemModel::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemModel::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractItemModel::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemModel::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractItemModel::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractItemModel::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractItemModel::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractItemModel::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractItemModel::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractItemModel::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAbstractItemModel::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAbstractItemModel::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAbstractItemModel::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractItemModel::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractItemModel::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractItemModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractItemModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractItemModel::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAbstractItemModel::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipQAbstractItemModel::sipProtect_encodeData(const  ::QModelIndexList& a0, ::QDataStream& a1) const
{
     ::QAbstractItemModel::encodeData(a0,a1);
}

bool sipQAbstractItemModel::sipProtect_decodeData(int a0,int a1,const  ::QModelIndex& a2, ::QDataStream& a3)
{
    return  ::QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipQAbstractItemModel::sipProtect_beginInsertRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipQAbstractItemModel::sipProtect_endInsertRows()
{
     ::QAbstractItemModel::endInsertRows();
}

void sipQAbstractItemModel::sipProtect_beginRemoveRows(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipQAbstractItemModel::sipProtect_endRemoveRows()
{
     ::QAbstractItemModel::endRemoveRows();
}

void sipQAbstractItemModel::sipProtect_beginInsertColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipQAbstractItemModel::sipProtect_endInsertColumns()
{
     ::QAbstractItemModel::endInsertColumns();
}

void sipQAbstractItemModel::sipProtect_beginRemoveColumns(const  ::QModelIndex& a0,int a1,int a2)
{
     ::QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipQAbstractItemModel::sipProtect_endRemoveColumns()
{
     ::QAbstractItemModel::endRemoveColumns();
}

 ::QModelIndexList sipQAbstractItemModel::sipProtect_persistentIndexList() const
{
    return  ::QAbstractItemModel::persistentIndexList();
}

void sipQAbstractItemModel::sipProtect_changePersistentIndex(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
     ::QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipQAbstractItemModel::sipProtect_changePersistentIndexList(const  ::QModelIndexList& a0,const  ::QModelIndexList& a1)
{
     ::QAbstractItemModel::changePersistentIndexList(a0,a1);
}

 ::QModelIndex sipQAbstractItemModel::sipProtect_createIndex(int a0,int a1,void*a2) const
{
    return  ::QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipQAbstractItemModel::sipProtect_beginMoveRows(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipQAbstractItemModel::sipProtect_endMoveRows()
{
     ::QAbstractItemModel::endMoveRows();
}

bool sipQAbstractItemModel::sipProtect_beginMoveColumns(const  ::QModelIndex& a0,int a1,int a2,const  ::QModelIndex& a3,int a4)
{
    return  ::QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipQAbstractItemModel::sipProtect_endMoveColumns()
{
     ::QAbstractItemModel::endMoveColumns();
}

void sipQAbstractItemModel::sipProtect_beginResetModel()
{
     ::QAbstractItemModel::beginResetModel();
}

void sipQAbstractItemModel::sipProtect_endResetModel()
{
     ::QAbstractItemModel::endResetModel();
}

void sipQAbstractItemModel::sipProtect_resetInternalData()
{
     ::QAbstractItemModel::resetInternalData();
}


PyDoc_STRVAR(doc_QAbstractItemModel_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractItemModel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 179313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_sender, doc_QAbstractItemModel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAbstractItemModel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 179373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QAbstractItemModel, sipName_receivers, doc_QAbstractItemModel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractItemModel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemModel, &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_QAbstractItemModel, sipName_timerEvent, doc_QAbstractItemModel_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAbstractItemModel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemModel, &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_QAbstractItemModel, sipName_childEvent, doc_QAbstractItemModel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractItemModel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemModel, &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_QAbstractItemModel, sipName_customEvent, doc_QAbstractItemModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractItemModel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemModel, &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_QAbstractItemModel, sipName_connectNotify, doc_QAbstractItemModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractItemModel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemModel, &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_QAbstractItemModel, sipName_disconnectNotify, doc_QAbstractItemModel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAbstractItemModel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_senderSignalIndex, doc_QAbstractItemModel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemModel, &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_QAbstractItemModel, sipName_isSignalConnected, doc_QAbstractItemModel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_hasIndex, "hasIndex(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_hasIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_hasIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
        const  ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->hasIndex(a0,a1,*a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_hasIndex, doc_QAbstractItemModel_hasIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_index, "index(self, int, int, parent: QModelIndex = QModelIndex()) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractItemModel_index(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_index(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
        const  ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemModel, sipName_index);
                return NULL;
            }

            sipRes = new  ::QModelIndex(sipCpp->index(a0,a1,*a2));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_index, doc_QAbstractItemModel_index);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_parent, "parent(self, QModelIndex) -> QModelIndex\n"
    "parent(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractItemModel_parent(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemModel, sipName_parent);
                return NULL;
            }

            sipRes = new  ::QModelIndex(sipCpp->parent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    {
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->parent();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_parent, doc_QAbstractItemModel_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_sibling, "sibling(self, int, int, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractItemModel_sibling(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_sibling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::sibling(a0,a1,*a2) : sipCpp->sibling(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_sibling, doc_QAbstractItemModel_sibling);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_rowCount, "rowCount(self, parent: QModelIndex = QModelIndex()) -> int");

extern "C" {static PyObject *meth_QAbstractItemModel_rowCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_rowCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemModel, sipName_rowCount);
                return NULL;
            }

            sipRes = sipCpp->rowCount(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_rowCount, doc_QAbstractItemModel_rowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_columnCount, "columnCount(self, parent: QModelIndex = QModelIndex()) -> int");

extern "C" {static PyObject *meth_QAbstractItemModel_columnCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_columnCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemModel, sipName_columnCount);
                return NULL;
            }

            sipRes = sipCpp->columnCount(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_columnCount, doc_QAbstractItemModel_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_hasChildren, "hasChildren(self, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_hasChildren(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_hasChildren(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex& a0def = QModelIndex();
        const  ::QModelIndex* a0 = &a0def;
        const  ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_hasChildren, doc_QAbstractItemModel_hasChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_data, "data(self, QModelIndex, role: int = Qt.DisplayRole) -> Any");

extern "C" {static PyObject *meth_QAbstractItemModel_data(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_data(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QModelIndex* a0;
        int a1 = Qt::DisplayRole;
        const  ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
             ::QVariant*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemModel, sipName_data);
                return NULL;
            }

            sipRes = new  ::QVariant(sipCpp->data(*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_data, doc_QAbstractItemModel_data);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_setData, "setData(self, QModelIndex, Any, role: int = Qt.EditRole) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_setData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_setData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QVariant* a1;
        int a1State = 0;
        int a2 = Qt::EditRole;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J1|i", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QVariant, &a1, &a1State, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::setData(*a0,*a1,a2) : sipCpp->setData(*a0,*a1,a2));
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_setData, doc_QAbstractItemModel_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_headerData, "headerData(self, int, Qt.Orientation, role: int = Qt.DisplayRole) -> Any");

extern "C" {static PyObject *meth_QAbstractItemModel_headerData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_headerData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        const  ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiE|i", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_headerData, doc_QAbstractItemModel_headerData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_setHeaderData, "setHeaderData(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_setHeaderData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_setHeaderData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::Orientation a1;
        const  ::QVariant* a2;
        int a2State = 0;
        int a3 = Qt::EditRole;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiEJ1|i", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, sipType_QVariant, &a2, &a2State, &a3))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::setHeaderData(a0,a1,*a2,a3) : sipCpp->setHeaderData(a0,a1,*a2,a3));
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_setHeaderData, doc_QAbstractItemModel_setHeaderData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_itemData, "itemData(self, QModelIndex) -> object");

extern "C" {static PyObject *meth_QAbstractItemModel_itemData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_itemData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QMap<int, ::QVariant>*sipRes;

            sipRes = new QMap<int, ::QVariant>((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::itemData(*a0) : sipCpp->itemData(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QMap_1800_0100QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_itemData, doc_QAbstractItemModel_itemData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_setItemData, "setItemData(self, QModelIndex, Dict[int, Any]) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_setItemData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_setItemData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const QMap<int, ::QVariant>* a1;
        int a1State = 0;
         ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QMap_1800_0100QVariant,&a1, &a1State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::setItemData(*a0,*a1) : sipCpp->setItemData(*a0,*a1));
            sipReleaseType(const_cast<QMap<int, ::QVariant> *>(a1),sipType_QMap_1800_0100QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_setItemData, doc_QAbstractItemModel_setItemData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_mimeTypes, "mimeTypes(self) -> List[str]");

extern "C" {static PyObject *meth_QAbstractItemModel_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_mimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::mimeTypes() : sipCpp->mimeTypes()));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_mimeTypes, doc_QAbstractItemModel_mimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_mimeData, "mimeData(self, object) -> QMimeData");

extern "C" {static PyObject *meth_QAbstractItemModel_mimeData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State))
        {
             ::QMimeData*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::mimeData(*a0) : sipCpp->mimeData(*a0));
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_mimeData, doc_QAbstractItemModel_mimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_dropMimeData, "dropMimeData(self, QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_dropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMimeData* a0;
         ::Qt::DropAction a1;
        int a2;
        int a3;
        const  ::QModelIndex* a4;
         ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_dropMimeData, doc_QAbstractItemModel_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_supportedDropActions, "supportedDropActions(self) -> Qt.DropActions");

extern "C" {static PyObject *meth_QAbstractItemModel_supportedDropActions(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::supportedDropActions() : sipCpp->supportedDropActions()));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_supportedDropActions, doc_QAbstractItemModel_supportedDropActions);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_insertRows, "insertRows(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_insertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_insertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::insertRows(a0,a1,*a2) : sipCpp->insertRows(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_insertRows, doc_QAbstractItemModel_insertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_insertColumns, "insertColumns(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_insertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_insertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::insertColumns(a0,a1,*a2) : sipCpp->insertColumns(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_insertColumns, doc_QAbstractItemModel_insertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_removeRows, "removeRows(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_removeRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_removeRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::removeRows(a0,a1,*a2) : sipCpp->removeRows(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_removeRows, doc_QAbstractItemModel_removeRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_removeColumns, "removeColumns(self, int, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_removeColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_removeColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const  ::QModelIndex& a2def = QModelIndex();
        const  ::QModelIndex* a2 = &a2def;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::removeColumns(a0,a1,*a2) : sipCpp->removeColumns(a0,a1,*a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_removeColumns, doc_QAbstractItemModel_removeColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_fetchMore, "fetchMore(self, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemModel_fetchMore(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_fetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
         ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::fetchMore(*a0) : sipCpp->fetchMore(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_fetchMore, doc_QAbstractItemModel_fetchMore);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_canFetchMore, "canFetchMore(self, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_canFetchMore(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_canFetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::canFetchMore(*a0) : sipCpp->canFetchMore(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_canFetchMore, doc_QAbstractItemModel_canFetchMore);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_flags, "flags(self, QModelIndex) -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QAbstractItemModel_flags(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::flags(*a0) : sipCpp->flags(*a0)));

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_flags, doc_QAbstractItemModel_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_sort, "sort(self, int, order: Qt.SortOrder = Qt.AscendingOrder)");

extern "C" {static PyObject *meth_QAbstractItemModel_sort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_sort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::SortOrder a1 = Qt::AscendingOrder;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::sort(a0,a1) : sipCpp->sort(a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_sort, doc_QAbstractItemModel_sort);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_buddy, "buddy(self, QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractItemModel_buddy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_buddy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::buddy(*a0) : sipCpp->buddy(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_buddy, doc_QAbstractItemModel_buddy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_match, "match(self, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) -> object");

extern "C" {static PyObject *meth_QAbstractItemModel_match(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_match(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1;
        const  ::QVariant* a2;
        int a2State = 0;
        int a3 = 1;
         ::Qt::MatchFlags a4def = Qt::MatchStartsWith|Qt::MatchWrap;
         ::Qt::MatchFlags* a4 = &a4def;
        int a4State = 0;
        const  ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_hits,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9iJ1|iJ1", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, sipType_QVariant, &a2, &a2State, &a3, sipType_Qt_MatchFlags, &a4, &a4State))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::match(*a0,a1,*a2,a3,*a4) : sipCpp->match(*a0,a1,*a2,a3,*a4)));
            sipReleaseType(const_cast< ::QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(a4,sipType_Qt_MatchFlags,a4State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_match, doc_QAbstractItemModel_match);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_span, "span(self, QModelIndex) -> QSize");

extern "C" {static PyObject *meth_QAbstractItemModel_span(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_span(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::span(*a0) : sipCpp->span(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_span, doc_QAbstractItemModel_span);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_submit, "submit(self) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_submit(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_submit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::submit() : sipCpp->submit());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_submit, doc_QAbstractItemModel_submit);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_revert, "revert(self)");

extern "C" {static PyObject *meth_QAbstractItemModel_revert(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_revert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::revert() : sipCpp->revert());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_revert, doc_QAbstractItemModel_revert);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_encodeData, "encodeData(self, object, QDataStream)");

extern "C" {static PyObject *meth_QAbstractItemModel_encodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_encodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
         ::QDataStream* a1;
        const sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            sipCpp->sipProtect_encodeData(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_encodeData, doc_QAbstractItemModel_encodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_decodeData, "decodeData(self, int, int, QModelIndex, QDataStream) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_decodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_decodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QModelIndex* a2;
         ::QDataStream* a3;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ9J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_decodeData, doc_QAbstractItemModel_decodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_beginInsertRows, "beginInsertRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractItemModel_beginInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_beginInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_beginInsertRows, doc_QAbstractItemModel_beginInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_endInsertRows, "endInsertRows(self)");

extern "C" {static PyObject *meth_QAbstractItemModel_endInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_endInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_endInsertRows, doc_QAbstractItemModel_endInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_beginRemoveRows, "beginRemoveRows(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractItemModel_beginRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_beginRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_beginRemoveRows, doc_QAbstractItemModel_beginRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_endRemoveRows, "endRemoveRows(self)");

extern "C" {static PyObject *meth_QAbstractItemModel_endRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_endRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_endRemoveRows, doc_QAbstractItemModel_endRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_beginInsertColumns, "beginInsertColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractItemModel_beginInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_beginInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_beginInsertColumns, doc_QAbstractItemModel_beginInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_endInsertColumns, "endInsertColumns(self)");

extern "C" {static PyObject *meth_QAbstractItemModel_endInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_endInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_endInsertColumns, doc_QAbstractItemModel_endInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_beginRemoveColumns, "beginRemoveColumns(self, QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractItemModel_beginRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_beginRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_beginRemoveColumns, doc_QAbstractItemModel_beginRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_endRemoveColumns, "endRemoveColumns(self)");

extern "C" {static PyObject *meth_QAbstractItemModel_endRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_endRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_endRemoveColumns, doc_QAbstractItemModel_endRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_persistentIndexList, "persistentIndexList(self) -> object");

extern "C" {static PyObject *meth_QAbstractItemModel_persistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_persistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->sipProtect_persistentIndexList());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_persistentIndexList, doc_QAbstractItemModel_persistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_changePersistentIndex, "changePersistentIndex(self, QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemModel_changePersistentIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_changePersistentIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_changePersistentIndex, doc_QAbstractItemModel_changePersistentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_changePersistentIndexList, "changePersistentIndexList(self, object, object)");

extern "C" {static PyObject *meth_QAbstractItemModel_changePersistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_changePersistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndexList* a0;
        int a0State = 0;
        const  ::QModelIndexList* a1;
        int a1State = 0;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            sipReleaseType(const_cast< ::QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast< ::QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_changePersistentIndexList, doc_QAbstractItemModel_changePersistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_insertRow, "insertRow(self, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_insertRow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_insertRow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QModelIndex& a1def = QModelIndex();
        const  ::QModelIndex* a1 = &a1def;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->insertRow(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_insertRow, doc_QAbstractItemModel_insertRow);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_insertColumn, "insertColumn(self, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_insertColumn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_insertColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QModelIndex& a1def = QModelIndex();
        const  ::QModelIndex* a1 = &a1def;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->insertColumn(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_insertColumn, doc_QAbstractItemModel_insertColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_removeRow, "removeRow(self, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_removeRow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_removeRow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QModelIndex& a1def = QModelIndex();
        const  ::QModelIndex* a1 = &a1def;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->removeRow(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_removeRow, doc_QAbstractItemModel_removeRow);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_removeColumn, "removeColumn(self, int, parent: QModelIndex = QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_removeColumn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_removeColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const  ::QModelIndex& a1def = QModelIndex();
        const  ::QModelIndex* a1 = &a1def;
         ::QAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|J9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->removeColumn(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_removeColumn, doc_QAbstractItemModel_removeColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_supportedDragActions, "supportedDragActions(self) -> Qt.DropActions");

extern "C" {static PyObject *meth_QAbstractItemModel_supportedDragActions(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_supportedDragActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::supportedDragActions() : sipCpp->supportedDragActions()));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_supportedDragActions, doc_QAbstractItemModel_supportedDragActions);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_roleNames, "roleNames(self) -> object");

extern "C" {static PyObject *meth_QAbstractItemModel_roleNames(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_roleNames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            QHash<int, ::QByteArray>*sipRes;

            sipRes = new QHash<int, ::QByteArray>((sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::roleNames() : sipCpp->roleNames()));

            return sipConvertFromNewType(sipRes,sipType_QHash_1800_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_roleNames, doc_QAbstractItemModel_roleNames);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_createIndex, "createIndex(self, int, int, object: object = 0) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractItemModel_createIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_createIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        const sipQAbstractItemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|P0", &sipSelf, sipType_QAbstractItemModel, &sipCpp, &a0, &a1, &a2))
        {
             ::QModelIndex*sipRes = 0;

#line 194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        // The Qt API is broken (and won't be fixed as it would break binary
        // compatibility) regarding the internal id of a model index on different
        // architectures (32 vs 64 bits).  We choose to work around the breakage as it
        // is fairly subtle and continues to catch people out.  Instead of letting Qt
        // convert betweed an integer id and a pointer id (the internal format used by
        // Qt) we let Python do it.
        
        void *ptr;
        
        if (a2)
        {
            // Try and convert it to a Python long and fallback to the object's
            // address if it fails.
            ptr = PyLong_AsVoidPtr(a2);
        
            if (PyErr_Occurred())
            {
                PyErr_Clear();
                ptr = a2;
            }
        }
        else
        {
            ptr = 0;
        }
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = new QModelIndex(sipCpp->createIndex(a0, a1, ptr));
        #else
        sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr));
        #endif
#line 181311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_createIndex, doc_QAbstractItemModel_createIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_beginMoveRows, "beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_beginMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_beginMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_beginMoveRows, doc_QAbstractItemModel_beginMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_endMoveRows, "endMoveRows(self)");

extern "C" {static PyObject *meth_QAbstractItemModel_endMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_endMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_endMoveRows, doc_QAbstractItemModel_endMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_beginMoveColumns, "beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_beginMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_beginMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_beginMoveColumns, doc_QAbstractItemModel_beginMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_endMoveColumns, "endMoveColumns(self)");

extern "C" {static PyObject *meth_QAbstractItemModel_endMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_endMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_endMoveColumns, doc_QAbstractItemModel_endMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_beginResetModel, "beginResetModel(self)");

extern "C" {static PyObject *meth_QAbstractItemModel_beginResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_beginResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_beginResetModel, doc_QAbstractItemModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_endResetModel, "endResetModel(self)");

extern "C" {static PyObject *meth_QAbstractItemModel_endResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_endResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_endResetModel, doc_QAbstractItemModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_resetInternalData, "resetInternalData(self)");

extern "C" {static PyObject *meth_QAbstractItemModel_resetInternalData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_resetInternalData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemModel, &sipCpp))
        {
            sipCpp->sipProtect_resetInternalData();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_resetInternalData, doc_QAbstractItemModel_resetInternalData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_canDropMimeData, "canDropMimeData(self, QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_canDropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_canDropMimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMimeData* a0;
         ::Qt::DropAction a1;
        int a2;
        int a3;
        const  ::QModelIndex* a4;
        const  ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::canDropMimeData(a0,a1,a2,a3,*a4) : sipCpp->canDropMimeData(a0,a1,a2,a3,*a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_canDropMimeData, doc_QAbstractItemModel_canDropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_moveRows, "moveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_moveRows(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_moveRows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
         ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iiJ9i", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::moveRows(*a0,a1,a2,*a3,a4) : sipCpp->moveRows(*a0,a1,a2,*a3,a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_moveRows, doc_QAbstractItemModel_moveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_moveColumns, "moveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_moveColumns(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_moveColumns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        const  ::QModelIndex* a3;
        int a4;
         ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iiJ9i", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QAbstractItemModel::moveColumns(*a0,a1,a2,*a3,a4) : sipCpp->moveColumns(*a0,a1,a2,*a3,a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_moveColumns, doc_QAbstractItemModel_moveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_moveRow, "moveRow(self, QModelIndex, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_moveRow(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_moveRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        const  ::QModelIndex* a2;
        int a3;
         ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ9i", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, sipType_QModelIndex, &a2, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->moveRow(*a0,a1,*a2,a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_moveRow, doc_QAbstractItemModel_moveRow);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemModel_moveColumn, "moveColumn(self, QModelIndex, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QAbstractItemModel_moveColumn(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemModel_moveColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        int a1;
        const  ::QModelIndex* a2;
        int a3;
         ::QAbstractItemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ9i", &sipSelf, sipType_QAbstractItemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, sipType_QModelIndex, &a2, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->moveColumn(*a0,a1,*a2,a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_moveColumn, doc_QAbstractItemModel_moveColumn);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractItemModel(void *, const sipTypeDef *);}
static void *cast_QAbstractItemModel(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractItemModel *sipCpp = reinterpret_cast< ::QAbstractItemModel *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractItemModel(void *, int);}
static void release_QAbstractItemModel(void *sipCppV, int)
{
     ::QAbstractItemModel *sipCpp = reinterpret_cast< ::QAbstractItemModel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractItemModel(sipSimpleWrapper *);}
static void dealloc_QAbstractItemModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractItemModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractItemModel(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractItemModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractItemModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractItemModel *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 sipQAbstractItemModel(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractItemModel[] = {{169, 255, 1}};


static PyMethodDef methods_QAbstractItemModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), (PyCFunction)meth_QAbstractItemModel_beginInsertColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_beginInsertColumns)},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), (PyCFunction)meth_QAbstractItemModel_beginInsertRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_beginInsertRows)},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), (PyCFunction)meth_QAbstractItemModel_beginMoveColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_beginMoveColumns)},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), (PyCFunction)meth_QAbstractItemModel_beginMoveRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_beginMoveRows)},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), (PyCFunction)meth_QAbstractItemModel_beginRemoveColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_beginRemoveColumns)},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), (PyCFunction)meth_QAbstractItemModel_beginRemoveRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_beginRemoveRows)},
    {SIP_MLNAME_CAST(sipName_beginResetModel), (PyCFunction)meth_QAbstractItemModel_beginResetModel, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_beginResetModel)},
    {SIP_MLNAME_CAST(sipName_buddy), meth_QAbstractItemModel_buddy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_buddy)},
    {SIP_MLNAME_CAST(sipName_canDropMimeData), meth_QAbstractItemModel_canDropMimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_canDropMimeData)},
    {SIP_MLNAME_CAST(sipName_canFetchMore), meth_QAbstractItemModel_canFetchMore, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_canFetchMore)},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), (PyCFunction)meth_QAbstractItemModel_changePersistentIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_changePersistentIndex)},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), (PyCFunction)meth_QAbstractItemModel_changePersistentIndexList, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_changePersistentIndexList)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractItemModel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), (PyCFunction)meth_QAbstractItemModel_columnCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_columnCount)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractItemModel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), (PyCFunction)meth_QAbstractItemModel_createIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_createIndex)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractItemModel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), (PyCFunction)meth_QAbstractItemModel_data, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_data)},
    {SIP_MLNAME_CAST(sipName_decodeData), (PyCFunction)meth_QAbstractItemModel_decodeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_decodeData)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractItemModel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_QAbstractItemModel_dropMimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_encodeData), (PyCFunction)meth_QAbstractItemModel_encodeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_encodeData)},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), (PyCFunction)meth_QAbstractItemModel_endInsertColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_endInsertColumns)},
    {SIP_MLNAME_CAST(sipName_endInsertRows), (PyCFunction)meth_QAbstractItemModel_endInsertRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_endInsertRows)},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), (PyCFunction)meth_QAbstractItemModel_endMoveColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_endMoveColumns)},
    {SIP_MLNAME_CAST(sipName_endMoveRows), (PyCFunction)meth_QAbstractItemModel_endMoveRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_endMoveRows)},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), (PyCFunction)meth_QAbstractItemModel_endRemoveColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_endRemoveColumns)},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), (PyCFunction)meth_QAbstractItemModel_endRemoveRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_endRemoveRows)},
    {SIP_MLNAME_CAST(sipName_endResetModel), (PyCFunction)meth_QAbstractItemModel_endResetModel, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_endResetModel)},
    {SIP_MLNAME_CAST(sipName_fetchMore), meth_QAbstractItemModel_fetchMore, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_fetchMore)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QAbstractItemModel_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_flags)},
    {SIP_MLNAME_CAST(sipName_hasChildren), (PyCFunction)meth_QAbstractItemModel_hasChildren, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_hasChildren)},
    {SIP_MLNAME_CAST(sipName_hasIndex), (PyCFunction)meth_QAbstractItemModel_hasIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_hasIndex)},
    {SIP_MLNAME_CAST(sipName_headerData), (PyCFunction)meth_QAbstractItemModel_headerData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_headerData)},
    {SIP_MLNAME_CAST(sipName_index), (PyCFunction)meth_QAbstractItemModel_index, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_index)},
    {SIP_MLNAME_CAST(sipName_insertColumn), (PyCFunction)meth_QAbstractItemModel_insertColumn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_insertColumn)},
    {SIP_MLNAME_CAST(sipName_insertColumns), (PyCFunction)meth_QAbstractItemModel_insertColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_insertColumns)},
    {SIP_MLNAME_CAST(sipName_insertRow), (PyCFunction)meth_QAbstractItemModel_insertRow, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_insertRow)},
    {SIP_MLNAME_CAST(sipName_insertRows), (PyCFunction)meth_QAbstractItemModel_insertRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_insertRows)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractItemModel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemData), meth_QAbstractItemModel_itemData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_itemData)},
    {SIP_MLNAME_CAST(sipName_match), (PyCFunction)meth_QAbstractItemModel_match, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_match)},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_QAbstractItemModel_mimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_mimeData)},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_QAbstractItemModel_mimeTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_mimeTypes)},
    {SIP_MLNAME_CAST(sipName_moveColumn), meth_QAbstractItemModel_moveColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_moveColumn)},
    {SIP_MLNAME_CAST(sipName_moveColumns), meth_QAbstractItemModel_moveColumns, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_moveColumns)},
    {SIP_MLNAME_CAST(sipName_moveRow), meth_QAbstractItemModel_moveRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_moveRow)},
    {SIP_MLNAME_CAST(sipName_moveRows), meth_QAbstractItemModel_moveRows, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_moveRows)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QAbstractItemModel_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_parent)},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), (PyCFunction)meth_QAbstractItemModel_persistentIndexList, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_persistentIndexList)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractItemModel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeColumn), (PyCFunction)meth_QAbstractItemModel_removeColumn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_removeColumn)},
    {SIP_MLNAME_CAST(sipName_removeColumns), (PyCFunction)meth_QAbstractItemModel_removeColumns, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_removeColumns)},
    {SIP_MLNAME_CAST(sipName_removeRow), (PyCFunction)meth_QAbstractItemModel_removeRow, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_removeRow)},
    {SIP_MLNAME_CAST(sipName_removeRows), (PyCFunction)meth_QAbstractItemModel_removeRows, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_removeRows)},
    {SIP_MLNAME_CAST(sipName_resetInternalData), (PyCFunction)meth_QAbstractItemModel_resetInternalData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_resetInternalData)},
    {SIP_MLNAME_CAST(sipName_revert), meth_QAbstractItemModel_revert, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_revert)},
    {SIP_MLNAME_CAST(sipName_roleNames), meth_QAbstractItemModel_roleNames, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_roleNames)},
    {SIP_MLNAME_CAST(sipName_rowCount), (PyCFunction)meth_QAbstractItemModel_rowCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_rowCount)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractItemModel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractItemModel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), (PyCFunction)meth_QAbstractItemModel_setData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_setData)},
    {SIP_MLNAME_CAST(sipName_setHeaderData), (PyCFunction)meth_QAbstractItemModel_setHeaderData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_setHeaderData)},
    {SIP_MLNAME_CAST(sipName_setItemData), meth_QAbstractItemModel_setItemData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_setItemData)},
    {SIP_MLNAME_CAST(sipName_sibling), meth_QAbstractItemModel_sibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_sibling)},
    {SIP_MLNAME_CAST(sipName_sort), (PyCFunction)meth_QAbstractItemModel_sort, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemModel_sort)},
    {SIP_MLNAME_CAST(sipName_span), meth_QAbstractItemModel_span, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_span)},
    {SIP_MLNAME_CAST(sipName_submit), meth_QAbstractItemModel_submit, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_submit)},
    {SIP_MLNAME_CAST(sipName_supportedDragActions), meth_QAbstractItemModel_supportedDragActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_supportedDragActions)},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), meth_QAbstractItemModel_supportedDropActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemModel_supportedDropActions)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractItemModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QAbstractItemModel[] = {
    {sipName_HorizontalSortHint, static_cast<int>( ::QAbstractItemModel::HorizontalSortHint), 7},
    {sipName_NoLayoutChangeHint, static_cast<int>( ::QAbstractItemModel::NoLayoutChangeHint), 7},
    {sipName_VerticalSortHint, static_cast<int>( ::QAbstractItemModel::VerticalSortHint), 7},
};

PyDoc_STRVAR(doc_QAbstractItemModel, "\1QAbstractItemModel(parent: QObject = None)");


extern "C" {static int emit_QAbstractItemModel_layoutChanged(void *, PyObject *);}

static int emit_QAbstractItemModel_layoutChanged(void *sipCppV, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    QAbstractItemModel *sipCpp = reinterpret_cast<QAbstractItemModel *>(sipCppV);

    {
        const QList< ::QPersistentModelIndex>& a0def = QList<QPersistentModelIndex>();
        const QList< ::QPersistentModelIndex>* a0 = &a0def;
        int a0State = 0;
         ::QAbstractItemModel::LayoutChangeHint a1 = QAbstractItemModel::NoLayoutChangeHint;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1E", sipType_QList_0100QPersistentModelIndex,&a0, &a0State, sipType_QAbstractItemModel_LayoutChangeHint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->layoutChanged(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList< ::QPersistentModelIndex> *>(a0),sipType_QList_0100QPersistentModelIndex,a0State);

            return 0;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_layoutChanged, NULL);

    return -1;
}


extern "C" {static int emit_QAbstractItemModel_layoutAboutToBeChanged(void *, PyObject *);}

static int emit_QAbstractItemModel_layoutAboutToBeChanged(void *sipCppV, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    QAbstractItemModel *sipCpp = reinterpret_cast<QAbstractItemModel *>(sipCppV);

    {
        const QList< ::QPersistentModelIndex>& a0def = QList<QPersistentModelIndex>();
        const QList< ::QPersistentModelIndex>* a0 = &a0def;
        int a0State = 0;
         ::QAbstractItemModel::LayoutChangeHint a1 = QAbstractItemModel::NoLayoutChangeHint;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J1E", sipType_QList_0100QPersistentModelIndex,&a0, &a0State, sipType_QAbstractItemModel_LayoutChangeHint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->layoutAboutToBeChanged(*a0,a1);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QList< ::QPersistentModelIndex> *>(a0),sipType_QList_0100QPersistentModelIndex,a0State);

            return 0;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_layoutAboutToBeChanged, NULL);

    return -1;
}


extern "C" {static int emit_QAbstractItemModel_dataChanged(void *, PyObject *);}

static int emit_QAbstractItemModel_dataChanged(void *sipCppV, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    QAbstractItemModel *sipCpp = reinterpret_cast<QAbstractItemModel *>(sipCppV);

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        const  ::QVector<int>& a2def = QVector<int>();
        const  ::QVector<int>* a2 = &a2def;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9J9|J1", sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->dataChanged(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast< ::QVector<int> *>(a2),sipType_QVector_1800,a2State);

            return 0;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractItemModel, sipName_dataChanged, NULL);

    return -1;
}


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractItemModel[] = {
    {"columnsMoved(QModelIndex,int,int,QModelIndex,int)", "\1columnsMoved(self, QModelIndex, int, int, QModelIndex, int)", 0, 0},
    {"columnsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int)", "\1columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int)", 0, 0},
    {"rowsMoved(QModelIndex,int,int,QModelIndex,int)", "\1rowsMoved(self, QModelIndex, int, int, QModelIndex, int)", 0, 0},
    {"rowsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int)", "\1rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int)", 0, 0},
    {"modelReset()", "\1modelReset(self)", 0, 0},
    {"modelAboutToBeReset()", "\1modelAboutToBeReset(self)", 0, 0},
    {"columnsRemoved(QModelIndex,int,int)", "\1columnsRemoved(self, QModelIndex, int, int)", 0, 0},
    {"columnsAboutToBeRemoved(QModelIndex,int,int)", "\1columnsAboutToBeRemoved(self, QModelIndex, int, int)", 0, 0},
    {"columnsInserted(QModelIndex,int,int)", "\1columnsInserted(self, QModelIndex, int, int)", 0, 0},
    {"columnsAboutToBeInserted(QModelIndex,int,int)", "\1columnsAboutToBeInserted(self, QModelIndex, int, int)", 0, 0},
    {"rowsRemoved(QModelIndex,int,int)", "\1rowsRemoved(self, QModelIndex, int, int)", 0, 0},
    {"rowsAboutToBeRemoved(QModelIndex,int,int)", "\1rowsAboutToBeRemoved(self, QModelIndex, int, int)", 0, 0},
    {"rowsInserted(QModelIndex,int,int)", "\1rowsInserted(self, QModelIndex, int, int)", 0, 0},
    {"rowsAboutToBeInserted(QModelIndex,int,int)", "\1rowsAboutToBeInserted(self, QModelIndex, int, int)", 0, 0},
    {"layoutChanged(QList<QPersistentModelIndex>,QAbstractItemModel::LayoutChangeHint)", "\1layoutChanged(self, Iterable[QPersistentModelIndex] = [], QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint)", 0, emit_QAbstractItemModel_layoutChanged},
    {"layoutAboutToBeChanged(QList<QPersistentModelIndex>,QAbstractItemModel::LayoutChangeHint)", "\1layoutAboutToBeChanged(self, object = QList&lt;QPersistentModelIndex&gt;(), QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint)", 0, emit_QAbstractItemModel_layoutAboutToBeChanged},
    {"headerDataChanged(Qt::Orientation,int,int)", "\1headerDataChanged(self, Qt.Orientation, int, int)", 0, 0},
    {"dataChanged(QModelIndex,QModelIndex,QVector<int>)", "\1dataChanged(self, QModelIndex, QModelIndex, Iterable[int] = [])", 0, emit_QAbstractItemModel_dataChanged},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractItemModel = {
    & ::QAbstractItemModel::staticMetaObject,
    0,
    signals_QAbstractItemModel,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAbstractItemModel = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractItemModel,
        {0},
        &plugin_QAbstractItemModel
    },
    {
        sipNameNr_QAbstractItemModel,
        {0, 0, 1},
        71, methods_QAbstractItemModel,
        3, enummembers_QAbstractItemModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractItemModel,
    -1,
    -1,
    supers_QAbstractItemModel,
    0,
    init_type_QAbstractItemModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractItemModel,
    0,
    0,
    0,
    release_QAbstractItemModel,
    cast_QAbstractItemModel,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 182025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 182029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 182032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 182035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 182038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QPersistentModelIndex_row, "row(self) -> int");

extern "C" {static PyObject *meth_QPersistentModelIndex_row(PyObject *, PyObject *);}
static PyObject *meth_QPersistentModelIndex_row(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPersistentModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPersistentModelIndex, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->row();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPersistentModelIndex, sipName_row, doc_QPersistentModelIndex_row);

    return NULL;
}


PyDoc_STRVAR(doc_QPersistentModelIndex_column, "column(self) -> int");

extern "C" {static PyObject *meth_QPersistentModelIndex_column(PyObject *, PyObject *);}
static PyObject *meth_QPersistentModelIndex_column(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPersistentModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPersistentModelIndex, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->column();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPersistentModelIndex, sipName_column, doc_QPersistentModelIndex_column);

    return NULL;
}


PyDoc_STRVAR(doc_QPersistentModelIndex_data, "data(self, role: int = Qt.DisplayRole) -> Any");

extern "C" {static PyObject *meth_QPersistentModelIndex_data(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPersistentModelIndex_data(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = Qt::DisplayRole;
        const  ::QPersistentModelIndex *sipCpp;

        static const char *sipKwdList[] = {
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QPersistentModelIndex, &sipCpp, &a0))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->data(a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPersistentModelIndex, sipName_data, doc_QPersistentModelIndex_data);

    return NULL;
}


PyDoc_STRVAR(doc_QPersistentModelIndex_flags, "flags(self) -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QPersistentModelIndex_flags(PyObject *, PyObject *);}
static PyObject *meth_QPersistentModelIndex_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPersistentModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPersistentModelIndex, &sipCpp))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPersistentModelIndex, sipName_flags, doc_QPersistentModelIndex_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QPersistentModelIndex_parent, "parent(self) -> QModelIndex");

extern "C" {static PyObject *meth_QPersistentModelIndex_parent(PyObject *, PyObject *);}
static PyObject *meth_QPersistentModelIndex_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPersistentModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPersistentModelIndex, &sipCpp))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex(sipCpp->parent());

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPersistentModelIndex, sipName_parent, doc_QPersistentModelIndex_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QPersistentModelIndex_sibling, "sibling(self, int, int) -> QModelIndex");

extern "C" {static PyObject *meth_QPersistentModelIndex_sibling(PyObject *, PyObject *);}
static PyObject *meth_QPersistentModelIndex_sibling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QPersistentModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QPersistentModelIndex, &sipCpp, &a0, &a1))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex(sipCpp->sibling(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPersistentModelIndex, sipName_sibling, doc_QPersistentModelIndex_sibling);

    return NULL;
}


PyDoc_STRVAR(doc_QPersistentModelIndex_child, "child(self, int, int) -> QModelIndex");

extern "C" {static PyObject *meth_QPersistentModelIndex_child(PyObject *, PyObject *);}
static PyObject *meth_QPersistentModelIndex_child(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QPersistentModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QPersistentModelIndex, &sipCpp, &a0, &a1))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex(sipCpp->child(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPersistentModelIndex, sipName_child, doc_QPersistentModelIndex_child);

    return NULL;
}


PyDoc_STRVAR(doc_QPersistentModelIndex_model, "model(self) -> QAbstractItemModel");

extern "C" {static PyObject *meth_QPersistentModelIndex_model(PyObject *, PyObject *);}
static PyObject *meth_QPersistentModelIndex_model(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPersistentModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPersistentModelIndex, &sipCpp))
        {
            const  ::QAbstractItemModel*sipRes;

            sipRes = sipCpp->model();

            return sipConvertFromType(const_cast< ::QAbstractItemModel *>(sipRes),sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPersistentModelIndex, sipName_model, doc_QPersistentModelIndex_model);

    return NULL;
}


PyDoc_STRVAR(doc_QPersistentModelIndex_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QPersistentModelIndex_isValid(PyObject *, PyObject *);}
static PyObject *meth_QPersistentModelIndex_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPersistentModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPersistentModelIndex, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPersistentModelIndex, sipName_isValid, doc_QPersistentModelIndex_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QPersistentModelIndex_swap, "swap(self, QPersistentModelIndex)");

extern "C" {static PyObject *meth_QPersistentModelIndex_swap(PyObject *, PyObject *);}
static PyObject *meth_QPersistentModelIndex_swap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QPersistentModelIndex* a0;
         ::QPersistentModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QPersistentModelIndex, &sipCpp, sipType_QPersistentModelIndex, &a0))
        {
            sipCpp->swap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPersistentModelIndex, sipName_swap, doc_QPersistentModelIndex_swap);

    return NULL;
}


extern "C" {static PyObject *slot_QPersistentModelIndex___ge__(PyObject *,PyObject *);}
static PyObject *slot_QPersistentModelIndex___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QPersistentModelIndex *sipCpp = reinterpret_cast< ::QPersistentModelIndex *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPersistentModelIndex));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPersistentModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QPersistentModelIndex, &a0))
        {
            bool sipRes;

            sipRes = !sipCpp-> ::QPersistentModelIndex::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QPersistentModelIndex, sipSelf, sipArg);
}


extern "C" {static long slot_QPersistentModelIndex___hash__(PyObject *);}
static long slot_QPersistentModelIndex___hash__(PyObject *sipSelf)
{
     ::QPersistentModelIndex *sipCpp = reinterpret_cast< ::QPersistentModelIndex *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPersistentModelIndex));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        sipRes = qHash(*sipCpp);
#line 182377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QPersistentModelIndex___ne__(PyObject *,PyObject *);}
static PyObject *slot_QPersistentModelIndex___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QPersistentModelIndex *sipCpp = reinterpret_cast< ::QPersistentModelIndex *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPersistentModelIndex));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPersistentModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QPersistentModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QPersistentModelIndex::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QPersistentModelIndex::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QPersistentModelIndex, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QPersistentModelIndex___eq__(PyObject *,PyObject *);}
static PyObject *slot_QPersistentModelIndex___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QPersistentModelIndex *sipCpp = reinterpret_cast< ::QPersistentModelIndex *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPersistentModelIndex));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPersistentModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QPersistentModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QPersistentModelIndex::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const  ::QModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QPersistentModelIndex::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QPersistentModelIndex, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QPersistentModelIndex___lt__(PyObject *,PyObject *);}
static PyObject *slot_QPersistentModelIndex___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QPersistentModelIndex *sipCpp = reinterpret_cast< ::QPersistentModelIndex *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPersistentModelIndex));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QPersistentModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QPersistentModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QPersistentModelIndex::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QPersistentModelIndex, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QPersistentModelIndex(void *, int);}
static void release_QPersistentModelIndex(void *sipCppV, int)
{
    delete reinterpret_cast< ::QPersistentModelIndex *>(sipCppV);
}


extern "C" {static void assign_QPersistentModelIndex(void *, SIP_SSIZE_T, const void *);}
static void assign_QPersistentModelIndex(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QPersistentModelIndex *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QPersistentModelIndex *>(sipSrc);
}


extern "C" {static void *array_QPersistentModelIndex(SIP_SSIZE_T);}
static void *array_QPersistentModelIndex(SIP_SSIZE_T sipNrElem)
{
    return new  ::QPersistentModelIndex[sipNrElem];
}


extern "C" {static void *copy_QPersistentModelIndex(const void *, SIP_SSIZE_T);}
static void *copy_QPersistentModelIndex(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QPersistentModelIndex(reinterpret_cast<const  ::QPersistentModelIndex *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QPersistentModelIndex(sipSimpleWrapper *);}
static void dealloc_QPersistentModelIndex(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QPersistentModelIndex(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QPersistentModelIndex(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPersistentModelIndex(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QPersistentModelIndex *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QPersistentModelIndex();

            return sipCpp;
        }
    }

    {
        const  ::QModelIndex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QModelIndex, &a0))
        {
            sipCpp = new  ::QPersistentModelIndex(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QPersistentModelIndex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QPersistentModelIndex, &a0))
        {
            sipCpp = new  ::QPersistentModelIndex(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QPersistentModelIndex[] = {
    {(void *)slot_QPersistentModelIndex___ge__, ge_slot},
    {(void *)slot_QPersistentModelIndex___hash__, hash_slot},
    {(void *)slot_QPersistentModelIndex___ne__, ne_slot},
    {(void *)slot_QPersistentModelIndex___eq__, eq_slot},
    {(void *)slot_QPersistentModelIndex___lt__, lt_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QPersistentModelIndex[] = {
    {SIP_MLNAME_CAST(sipName_child), meth_QPersistentModelIndex_child, METH_VARARGS, SIP_MLDOC_CAST(doc_QPersistentModelIndex_child)},
    {SIP_MLNAME_CAST(sipName_column), meth_QPersistentModelIndex_column, METH_VARARGS, SIP_MLDOC_CAST(doc_QPersistentModelIndex_column)},
    {SIP_MLNAME_CAST(sipName_data), (PyCFunction)meth_QPersistentModelIndex_data, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPersistentModelIndex_data)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QPersistentModelIndex_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QPersistentModelIndex_flags)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QPersistentModelIndex_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QPersistentModelIndex_isValid)},
    {SIP_MLNAME_CAST(sipName_model), meth_QPersistentModelIndex_model, METH_VARARGS, SIP_MLDOC_CAST(doc_QPersistentModelIndex_model)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QPersistentModelIndex_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QPersistentModelIndex_parent)},
    {SIP_MLNAME_CAST(sipName_row), meth_QPersistentModelIndex_row, METH_VARARGS, SIP_MLDOC_CAST(doc_QPersistentModelIndex_row)},
    {SIP_MLNAME_CAST(sipName_sibling), meth_QPersistentModelIndex_sibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QPersistentModelIndex_sibling)},
    {SIP_MLNAME_CAST(sipName_swap), meth_QPersistentModelIndex_swap, METH_VARARGS, SIP_MLDOC_CAST(doc_QPersistentModelIndex_swap)}
};

PyDoc_STRVAR(doc_QPersistentModelIndex, "\1QPersistentModelIndex()\n"
    "QPersistentModelIndex(QModelIndex)\n"
    "QPersistentModelIndex(QPersistentModelIndex)");


static pyqt5ClassPluginDef plugin_QPersistentModelIndex = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QPersistentModelIndex = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QPersistentModelIndex,
        {0},
        &plugin_QPersistentModelIndex
    },
    {
        sipNameNr_QPersistentModelIndex,
        {0, 0, 1},
        10, methods_QPersistentModelIndex,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPersistentModelIndex,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QPersistentModelIndex,
    init_type_QPersistentModelIndex,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPersistentModelIndex,
    assign_QPersistentModelIndex,
    array_QPersistentModelIndex,
    copy_QPersistentModelIndex,
    release_QPersistentModelIndex,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 182677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 182681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 182684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 182687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 182690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


PyDoc_STRVAR(doc_QModelIndex_child, "child(self, int, int) -> QModelIndex");

extern "C" {static PyObject *meth_QModelIndex_child(PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_child(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QModelIndex, &sipCpp, &a0, &a1))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex(sipCpp->child(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_child, doc_QModelIndex_child);

    return NULL;
}


PyDoc_STRVAR(doc_QModelIndex_row, "row(self) -> int");

extern "C" {static PyObject *meth_QModelIndex_row(PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_row(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QModelIndex, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->row();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_row, doc_QModelIndex_row);

    return NULL;
}


PyDoc_STRVAR(doc_QModelIndex_column, "column(self) -> int");

extern "C" {static PyObject *meth_QModelIndex_column(PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_column(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QModelIndex, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->column();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_column, doc_QModelIndex_column);

    return NULL;
}


PyDoc_STRVAR(doc_QModelIndex_data, "data(self, role: int = Qt.DisplayRole) -> Any");

extern "C" {static PyObject *meth_QModelIndex_data(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_data(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = Qt::DisplayRole;
        const  ::QModelIndex *sipCpp;

        static const char *sipKwdList[] = {
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QModelIndex, &sipCpp, &a0))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->data(a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_data, doc_QModelIndex_data);

    return NULL;
}


PyDoc_STRVAR(doc_QModelIndex_flags, "flags(self) -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QModelIndex_flags(PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QModelIndex, &sipCpp))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_flags, doc_QModelIndex_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QModelIndex_internalPointer, "internalPointer(self) -> object");

extern "C" {static PyObject *meth_QModelIndex_internalPointer(PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_internalPointer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QModelIndex, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        sipRes = reinterpret_cast<PyObject *>(sipCpp->internalPointer());
        
        if (!sipRes)
            sipRes = Py_None;
        
        Py_INCREF(sipRes);
#line 182862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_internalPointer, doc_QModelIndex_internalPointer);

    return NULL;
}


PyDoc_STRVAR(doc_QModelIndex_internalId, "internalId(self) -> int");

extern "C" {static PyObject *meth_QModelIndex_internalId(PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_internalId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QModelIndex, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 48 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        // Python needs to treat the result as an unsigned value (which may not happen
        // on 64 bit systems).  Instead we get the real value as it is stored (as a
        // void *) and let Python convert that.
        sipRes = PyLong_FromVoidPtr(sipCpp->internalPointer());
#line 182895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_internalId, doc_QModelIndex_internalId);

    return NULL;
}


PyDoc_STRVAR(doc_QModelIndex_model, "model(self) -> QAbstractItemModel");

extern "C" {static PyObject *meth_QModelIndex_model(PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_model(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QModelIndex, &sipCpp))
        {
            const  ::QAbstractItemModel*sipRes;

            sipRes = sipCpp->model();

            return sipConvertFromType(const_cast< ::QAbstractItemModel *>(sipRes),sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_model, doc_QModelIndex_model);

    return NULL;
}


PyDoc_STRVAR(doc_QModelIndex_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QModelIndex_isValid(PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QModelIndex, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_isValid, doc_QModelIndex_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QModelIndex_parent, "parent(self) -> QModelIndex");

extern "C" {static PyObject *meth_QModelIndex_parent(PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QModelIndex, &sipCpp))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex(sipCpp->parent());

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_parent, doc_QModelIndex_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QModelIndex_sibling, "sibling(self, int, int) -> QModelIndex");

extern "C" {static PyObject *meth_QModelIndex_sibling(PyObject *, PyObject *);}
static PyObject *meth_QModelIndex_sibling(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const  ::QModelIndex *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QModelIndex, &sipCpp, &a0, &a1))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex(sipCpp->sibling(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QModelIndex, sipName_sibling, doc_QModelIndex_sibling);

    return NULL;
}


extern "C" {static PyObject *slot_QModelIndex___ge__(PyObject *,PyObject *);}
static PyObject *slot_QModelIndex___ge__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QModelIndex *sipCpp = reinterpret_cast< ::QModelIndex *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QModelIndex));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = !sipCpp-> ::QModelIndex::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ge_slot, sipType_QModelIndex, sipSelf, sipArg);
}


extern "C" {static long slot_QModelIndex___hash__(PyObject *);}
static long slot_QModelIndex___hash__(PyObject *sipSelf)
{
     ::QModelIndex *sipCpp = reinterpret_cast< ::QModelIndex *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QModelIndex));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 63 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractitemmodel.sip"
        sipRes = qHash(*sipCpp);
#line 183069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QModelIndex___ne__(PyObject *,PyObject *);}
static PyObject *slot_QModelIndex___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QModelIndex *sipCpp = reinterpret_cast< ::QModelIndex *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QModelIndex));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QModelIndex::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_QModelIndex, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QModelIndex___lt__(PyObject *,PyObject *);}
static PyObject *slot_QModelIndex___lt__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QModelIndex *sipCpp = reinterpret_cast< ::QModelIndex *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QModelIndex));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QModelIndex::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, lt_slot, sipType_QModelIndex, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QModelIndex___eq__(PyObject *,PyObject *);}
static PyObject *slot_QModelIndex___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QModelIndex *sipCpp = reinterpret_cast< ::QModelIndex *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QModelIndex));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QModelIndex::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_QModelIndex, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QModelIndex(void *, int);}
static void release_QModelIndex(void *sipCppV, int)
{
    delete reinterpret_cast< ::QModelIndex *>(sipCppV);
}


extern "C" {static void assign_QModelIndex(void *, SIP_SSIZE_T, const void *);}
static void assign_QModelIndex(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QModelIndex *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QModelIndex *>(sipSrc);
}


extern "C" {static void *array_QModelIndex(SIP_SSIZE_T);}
static void *array_QModelIndex(SIP_SSIZE_T sipNrElem)
{
    return new  ::QModelIndex[sipNrElem];
}


extern "C" {static void *copy_QModelIndex(const void *, SIP_SSIZE_T);}
static void *copy_QModelIndex(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QModelIndex(reinterpret_cast<const  ::QModelIndex *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QModelIndex(sipSimpleWrapper *);}
static void dealloc_QModelIndex(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QModelIndex(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QModelIndex(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QModelIndex(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QModelIndex *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QModelIndex();

            return sipCpp;
        }
    }

    {
        const  ::QModelIndex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QModelIndex, &a0))
        {
            sipCpp = new  ::QModelIndex(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QPersistentModelIndex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QPersistentModelIndex, &a0))
        {
            sipCpp = new  ::QModelIndex(a0->operator const  ::QModelIndex&());

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QModelIndex[] = {
    {(void *)slot_QModelIndex___ge__, ge_slot},
    {(void *)slot_QModelIndex___hash__, hash_slot},
    {(void *)slot_QModelIndex___ne__, ne_slot},
    {(void *)slot_QModelIndex___lt__, lt_slot},
    {(void *)slot_QModelIndex___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QModelIndex[] = {
    {SIP_MLNAME_CAST(sipName_child), meth_QModelIndex_child, METH_VARARGS, SIP_MLDOC_CAST(doc_QModelIndex_child)},
    {SIP_MLNAME_CAST(sipName_column), meth_QModelIndex_column, METH_VARARGS, SIP_MLDOC_CAST(doc_QModelIndex_column)},
    {SIP_MLNAME_CAST(sipName_data), (PyCFunction)meth_QModelIndex_data, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QModelIndex_data)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QModelIndex_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QModelIndex_flags)},
    {SIP_MLNAME_CAST(sipName_internalId), meth_QModelIndex_internalId, METH_VARARGS, SIP_MLDOC_CAST(doc_QModelIndex_internalId)},
    {SIP_MLNAME_CAST(sipName_internalPointer), meth_QModelIndex_internalPointer, METH_VARARGS, SIP_MLDOC_CAST(doc_QModelIndex_internalPointer)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QModelIndex_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QModelIndex_isValid)},
    {SIP_MLNAME_CAST(sipName_model), meth_QModelIndex_model, METH_VARARGS, SIP_MLDOC_CAST(doc_QModelIndex_model)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QModelIndex_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QModelIndex_parent)},
    {SIP_MLNAME_CAST(sipName_row), meth_QModelIndex_row, METH_VARARGS, SIP_MLDOC_CAST(doc_QModelIndex_row)},
    {SIP_MLNAME_CAST(sipName_sibling), meth_QModelIndex_sibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QModelIndex_sibling)}
};

PyDoc_STRVAR(doc_QModelIndex, "\1QModelIndex()\n"
    "QModelIndex(QModelIndex)\n"
    "QModelIndex(QPersistentModelIndex)");


static pyqt5ClassPluginDef plugin_QModelIndex = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QModelIndex = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QModelIndex,
        {0},
        &plugin_QModelIndex
    },
    {
        sipNameNr_QModelIndex,
        {0, 0, 1},
        11, methods_QModelIndex,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QModelIndex,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QModelIndex,
    init_type_QModelIndex,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QModelIndex,
    assign_QModelIndex,
    array_QModelIndex,
    copy_QModelIndex,
    release_QModelIndex,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 183346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 183350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractEventDispatcher_TimerInfo(void *, int);}
static void release_QAbstractEventDispatcher_TimerInfo(void *sipCppV, int)
{
    delete reinterpret_cast< ::QAbstractEventDispatcher::TimerInfo *>(sipCppV);
}


extern "C" {static void dealloc_QAbstractEventDispatcher_TimerInfo(sipSimpleWrapper *);}
static void dealloc_QAbstractEventDispatcher_TimerInfo(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractEventDispatcher_TimerInfo(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QAbstractEventDispatcher_TimerInfo(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractEventDispatcher_TimerInfo(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QAbstractEventDispatcher::TimerInfo *sipCpp = 0;

    {
        int a0;
        int a1;
         ::Qt::TimerType a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iiE", &a0, &a1, sipType_Qt_TimerType, &a2))
        {
            sipCpp = new  ::QAbstractEventDispatcher::TimerInfo(a0,a1,a2);

            return sipCpp;
        }
    }

    {
        const  ::QAbstractEventDispatcher::TimerInfo* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QAbstractEventDispatcher_TimerInfo, &a0))
        {
            sipCpp = new  ::QAbstractEventDispatcher::TimerInfo(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_QAbstractEventDispatcher_TimerInfo_interval(void *, PyObject *, PyObject *);}
static PyObject *varget_QAbstractEventDispatcher_TimerInfo_interval(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QAbstractEventDispatcher::TimerInfo *sipCpp = reinterpret_cast< ::QAbstractEventDispatcher::TimerInfo *>(sipSelf);

    sipVal = sipCpp->interval;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QAbstractEventDispatcher_TimerInfo_interval(void *, PyObject *, PyObject *);}
static int varset_QAbstractEventDispatcher_TimerInfo_interval(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QAbstractEventDispatcher::TimerInfo *sipCpp = reinterpret_cast< ::QAbstractEventDispatcher::TimerInfo *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->interval = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QAbstractEventDispatcher_TimerInfo_timerId(void *, PyObject *, PyObject *);}
static PyObject *varget_QAbstractEventDispatcher_TimerInfo_timerId(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
     ::QAbstractEventDispatcher::TimerInfo *sipCpp = reinterpret_cast< ::QAbstractEventDispatcher::TimerInfo *>(sipSelf);

    sipVal = sipCpp->timerId;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QAbstractEventDispatcher_TimerInfo_timerId(void *, PyObject *, PyObject *);}
static int varset_QAbstractEventDispatcher_TimerInfo_timerId(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
     ::QAbstractEventDispatcher::TimerInfo *sipCpp = reinterpret_cast< ::QAbstractEventDispatcher::TimerInfo *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->timerId = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QAbstractEventDispatcher_TimerInfo_timerType(void *, PyObject *, PyObject *);}
static PyObject *varget_QAbstractEventDispatcher_TimerInfo_timerType(void *sipSelf, PyObject *, PyObject *)
{
     ::Qt::TimerType sipVal;
     ::QAbstractEventDispatcher::TimerInfo *sipCpp = reinterpret_cast< ::QAbstractEventDispatcher::TimerInfo *>(sipSelf);

    sipVal = sipCpp->timerType;

    return sipConvertFromEnum(sipVal, sipType_Qt_TimerType);
}


extern "C" {static int varset_QAbstractEventDispatcher_TimerInfo_timerType(void *, PyObject *, PyObject *);}
static int varset_QAbstractEventDispatcher_TimerInfo_timerType(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::Qt::TimerType sipVal;
     ::QAbstractEventDispatcher::TimerInfo *sipCpp = reinterpret_cast< ::QAbstractEventDispatcher::TimerInfo *>(sipSelf);

    sipVal = ( ::Qt::TimerType)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->timerType = sipVal;

    return 0;
}

sipVariableDef variables_QAbstractEventDispatcher_TimerInfo[] = {
    {InstanceVariable, sipName_interval, (PyMethodDef *)varget_QAbstractEventDispatcher_TimerInfo_interval, (PyMethodDef *)varset_QAbstractEventDispatcher_TimerInfo_interval, NULL, NULL},
    {InstanceVariable, sipName_timerId, (PyMethodDef *)varget_QAbstractEventDispatcher_TimerInfo_timerId, (PyMethodDef *)varset_QAbstractEventDispatcher_TimerInfo_timerId, NULL, NULL},
    {InstanceVariable, sipName_timerType, (PyMethodDef *)varget_QAbstractEventDispatcher_TimerInfo_timerType, (PyMethodDef *)varset_QAbstractEventDispatcher_TimerInfo_timerType, NULL, NULL},
};

PyDoc_STRVAR(doc_QAbstractEventDispatcher_TimerInfo, "\1QAbstractEventDispatcher.TimerInfo(int, int, Qt.TimerType)\n"
    "QAbstractEventDispatcher.TimerInfo(QAbstractEventDispatcher.TimerInfo)");


static pyqt5ClassPluginDef plugin_QAbstractEventDispatcher_TimerInfo = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAbstractEventDispatcher_TimerInfo = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractEventDispatcher__TimerInfo,
        {0},
        &plugin_QAbstractEventDispatcher_TimerInfo
    },
    {
        sipNameNr_TimerInfo,
        {4, 255, 0},
        0, 0,
        0, 0,
        3, variables_QAbstractEventDispatcher_TimerInfo,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractEventDispatcher_TimerInfo,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QAbstractEventDispatcher_TimerInfo,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractEventDispatcher_TimerInfo,
    0,
    0,
    0,
    release_QAbstractEventDispatcher_TimerInfo,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 183560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 183564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 183567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractnativeeventfilter.sip"
#include <qabstractnativeeventfilter.h>
#line 183570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 183573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 183578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 183581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qsocketnotifier.sip"
#include <qsocketnotifier.h>
#line 183584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 183587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 183590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 183593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 183596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 183599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 183602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 183605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 183608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 183611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 183614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 183617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 183620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 183623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 183626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQAbstractEventDispatcher : public  ::QAbstractEventDispatcher
{
public:
    sipQAbstractEventDispatcher( ::QObject*);
    virtual ~sipQAbstractEventDispatcher();

    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:
    int remainingTime(int);
    void closingDown();
    void startingUp();
    void flush();
    void interrupt();
    void wakeUp();
    QList< ::QAbstractEventDispatcher::TimerInfo> registeredTimers( ::QObject*) const;
    bool unregisterTimers( ::QObject*);
    bool unregisterTimer(int);
    void registerTimer(int,int, ::Qt::TimerType, ::QObject*);
    void unregisterSocketNotifier( ::QSocketNotifier*);
    void registerSocketNotifier( ::QSocketNotifier*);
    bool hasPendingEvents();
    bool processEvents( ::QEventLoop::ProcessEventsFlags);
    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:
    sipQAbstractEventDispatcher(const sipQAbstractEventDispatcher &);
    sipQAbstractEventDispatcher &operator = (const sipQAbstractEventDispatcher &);

    char sipPyMethods[21];
};

sipQAbstractEventDispatcher::sipQAbstractEventDispatcher( ::QObject*a0):  ::QAbstractEventDispatcher(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractEventDispatcher::~sipQAbstractEventDispatcher()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractEventDispatcher::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractEventDispatcher);

    return  ::QAbstractEventDispatcher::metaObject();
}

int sipQAbstractEventDispatcher::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAbstractEventDispatcher::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QAbstractEventDispatcher,_c,_id,_a);

    return _id;
}

void *sipQAbstractEventDispatcher::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractEventDispatcher, _clname, &sipCpp) ? sipCpp :  ::QAbstractEventDispatcher::qt_metacast(_clname));
}

int sipQAbstractEventDispatcher::remainingTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QAbstractEventDispatcher,sipName_remainingTime);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_18(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::closingDown()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_closingDown);

    if (!sipMeth)
    {
         ::QAbstractEventDispatcher::closingDown();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::startingUp()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_startingUp);

    if (!sipMeth)
    {
         ::QAbstractEventDispatcher::startingUp();
        return;
    }

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::flush()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_QAbstractEventDispatcher,sipName_flush);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::interrupt()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_QAbstractEventDispatcher,sipName_interrupt);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

void sipQAbstractEventDispatcher::wakeUp()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_QAbstractEventDispatcher,sipName_wakeUp);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtCore_17(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

QList< ::QAbstractEventDispatcher::TimerInfo> sipQAbstractEventDispatcher::registeredTimers( ::QObject*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,sipName_QAbstractEventDispatcher,sipName_registeredTimers);

    if (!sipMeth)
        return QList< ::QAbstractEventDispatcher::TimerInfo>();

    extern QList< ::QAbstractEventDispatcher::TimerInfo> sipVH_QtCore_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    return sipVH_QtCore_16(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::unregisterTimers( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_QAbstractEventDispatcher,sipName_unregisterTimers);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    return sipVH_QtCore_15(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::unregisterTimer(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QAbstractEventDispatcher,sipName_unregisterTimer);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtCore_14(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::registerTimer(int a0,int a1, ::Qt::TimerType a2, ::QObject*a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_QAbstractEventDispatcher,sipName_registerTimer);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int, ::Qt::TimerType, ::QObject*);

    sipVH_QtCore_13(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQAbstractEventDispatcher::unregisterSocketNotifier( ::QSocketNotifier*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,sipName_QAbstractEventDispatcher,sipName_unregisterSocketNotifier);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QSocketNotifier*);

    sipVH_QtCore_12(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::registerSocketNotifier( ::QSocketNotifier*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,sipName_QAbstractEventDispatcher,sipName_registerSocketNotifier);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QSocketNotifier*);

    sipVH_QtCore_12(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::hasPendingEvents()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,sipName_QAbstractEventDispatcher,sipName_hasPendingEvents);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_11(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractEventDispatcher::processEvents( ::QEventLoop::ProcessEventsFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,sipName_QAbstractEventDispatcher,sipName_processEvents);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtCore_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEventLoop::ProcessEventsFlags);

    return sipVH_QtCore_10(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractEventDispatcher::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractEventDispatcher::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractEventDispatcher::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractEventDispatcher::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractEventDispatcher::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractEventDispatcher::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractEventDispatcher::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractEventDispatcher::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractEventDispatcher::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractEventDispatcher::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAbstractEventDispatcher::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAbstractEventDispatcher::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAbstractEventDispatcher::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractEventDispatcher::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractEventDispatcher::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractEventDispatcher::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractEventDispatcher::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractEventDispatcher::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAbstractEventDispatcher::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 184150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_sender, doc_QAbstractEventDispatcher_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 184210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QAbstractEventDispatcher, sipName_receivers, doc_QAbstractEventDispatcher_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractEventDispatcher, &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_QAbstractEventDispatcher, sipName_timerEvent, doc_QAbstractEventDispatcher_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractEventDispatcher, &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_QAbstractEventDispatcher, sipName_childEvent, doc_QAbstractEventDispatcher_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractEventDispatcher, &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_QAbstractEventDispatcher, sipName_customEvent, doc_QAbstractEventDispatcher_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractEventDispatcher, &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_QAbstractEventDispatcher, sipName_connectNotify, doc_QAbstractEventDispatcher_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractEventDispatcher, &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_QAbstractEventDispatcher, sipName_disconnectNotify, doc_QAbstractEventDispatcher_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_senderSignalIndex, doc_QAbstractEventDispatcher_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAbstractEventDispatcher *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractEventDispatcher, &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_QAbstractEventDispatcher, sipName_isSignalConnected, doc_QAbstractEventDispatcher_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_instance, "instance(thread: QThread = None) -> QAbstractEventDispatcher");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_instance(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_instance(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThread* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_thread,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8", sipType_QThread, &a0))
        {
             ::QAbstractEventDispatcher*sipRes;

            sipRes =  ::QAbstractEventDispatcher::instance(a0);

            return sipConvertFromType(sipRes,sipType_QAbstractEventDispatcher,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_instance, doc_QAbstractEventDispatcher_instance);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_processEvents, "processEvents(self, Union[QEventLoop.ProcessEventsFlags, QEventLoop.ProcessEventsFlag]) -> bool");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_processEvents(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_processEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QEventLoop::ProcessEventsFlags* a0;
        int a0State = 0;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, sipType_QEventLoop_ProcessEventsFlags, &a0, &a0State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_processEvents);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->processEvents(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QEventLoop_ProcessEventsFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_processEvents, doc_QAbstractEventDispatcher_processEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_hasPendingEvents, "hasPendingEvents(self) -> bool");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_hasPendingEvents(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_hasPendingEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_hasPendingEvents);
                return NULL;
            }

            sipRes = sipCpp->hasPendingEvents();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_hasPendingEvents, doc_QAbstractEventDispatcher_hasPendingEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_registerSocketNotifier, "registerSocketNotifier(self, QSocketNotifier)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_registerSocketNotifier(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_registerSocketNotifier(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QSocketNotifier* a0;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, sipType_QSocketNotifier, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_registerSocketNotifier);
                return NULL;
            }

            sipCpp->registerSocketNotifier(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_registerSocketNotifier, doc_QAbstractEventDispatcher_registerSocketNotifier);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_unregisterSocketNotifier, "unregisterSocketNotifier(self, QSocketNotifier)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_unregisterSocketNotifier(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_unregisterSocketNotifier(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QSocketNotifier* a0;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, sipType_QSocketNotifier, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_unregisterSocketNotifier);
                return NULL;
            }

            sipCpp->unregisterSocketNotifier(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_unregisterSocketNotifier, doc_QAbstractEventDispatcher_unregisterSocketNotifier);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_registerTimer, "registerTimer(self, int, Qt.TimerType, QObject) -> int\n"
    "registerTimer(self, int, int, Qt.TimerType, QObject)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_registerTimer(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_registerTimer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
         ::Qt::TimerType a1;
         ::QObject* a2;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiXEJ8", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0, sipType_Qt_TimerType, &a1, sipType_QObject, &a2))
        {
            int sipRes;

            sipRes = sipCpp->registerTimer(a0,a1,a2);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
         ::Qt::TimerType a2;
         ::QObject* a3;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiEJ8", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0, &a1, sipType_Qt_TimerType, &a2, sipType_QObject, &a3))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_registerTimer);
                return NULL;
            }

            sipCpp->registerTimer(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_registerTimer, doc_QAbstractEventDispatcher_registerTimer);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_unregisterTimer, "unregisterTimer(self, int) -> bool");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_unregisterTimer(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_unregisterTimer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_unregisterTimer);
                return NULL;
            }

            sipRes = sipCpp->unregisterTimer(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_unregisterTimer, doc_QAbstractEventDispatcher_unregisterTimer);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_unregisterTimers, "unregisterTimers(self, QObject) -> bool");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_unregisterTimers(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_unregisterTimers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QObject* a0;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, sipType_QObject, &a0))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_unregisterTimers);
                return NULL;
            }

            sipRes = sipCpp->unregisterTimers(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_unregisterTimers, doc_QAbstractEventDispatcher_unregisterTimers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_registeredTimers, "registeredTimers(self, QObject) -> object");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_registeredTimers(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_registeredTimers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QObject* a0;
        const  ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, sipType_QObject, &a0))
        {
            QList< ::QAbstractEventDispatcher::TimerInfo>*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_registeredTimers);
                return NULL;
            }

            sipRes = new QList< ::QAbstractEventDispatcher::TimerInfo>(sipCpp->registeredTimers(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QAbstractEventDispatcher_TimerInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_registeredTimers, doc_QAbstractEventDispatcher_registeredTimers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_wakeUp, "wakeUp(self)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_wakeUp(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_wakeUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_wakeUp);
                return NULL;
            }

            sipCpp->wakeUp();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_wakeUp, doc_QAbstractEventDispatcher_wakeUp);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_interrupt, "interrupt(self)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_interrupt(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_interrupt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_interrupt);
                return NULL;
            }

            sipCpp->interrupt();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_interrupt, doc_QAbstractEventDispatcher_interrupt);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_flush, "flush(self)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_flush(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_flush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_flush);
                return NULL;
            }

            sipCpp->flush();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_flush, doc_QAbstractEventDispatcher_flush);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_startingUp, "startingUp(self)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_startingUp(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_startingUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractEventDispatcher::startingUp() : sipCpp->startingUp());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_startingUp, doc_QAbstractEventDispatcher_startingUp);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_closingDown, "closingDown(self)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_closingDown(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_closingDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QAbstractEventDispatcher::closingDown() : sipCpp->closingDown());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_closingDown, doc_QAbstractEventDispatcher_closingDown);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_remainingTime, "remainingTime(self, int) -> int");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_remainingTime(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_remainingTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, &a0))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractEventDispatcher, sipName_remainingTime);
                return NULL;
            }

            sipRes = sipCpp->remainingTime(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_remainingTime, doc_QAbstractEventDispatcher_remainingTime);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_installNativeEventFilter, "installNativeEventFilter(self, QAbstractNativeEventFilter)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_installNativeEventFilter(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_installNativeEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractNativeEventFilter* a0;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, sipType_QAbstractNativeEventFilter, &a0))
        {
            sipCpp->installNativeEventFilter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_installNativeEventFilter, doc_QAbstractEventDispatcher_installNativeEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_removeNativeEventFilter, "removeNativeEventFilter(self, QAbstractNativeEventFilter)");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_removeNativeEventFilter(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_removeNativeEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractNativeEventFilter* a0;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, sipType_QAbstractNativeEventFilter, &a0))
        {
            sipCpp->removeNativeEventFilter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_removeNativeEventFilter, doc_QAbstractEventDispatcher_removeNativeEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractEventDispatcher_filterNativeEvent, "filterNativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) -> Tuple[bool, int]");

extern "C" {static PyObject *meth_QAbstractEventDispatcher_filterNativeEvent(PyObject *, PyObject *);}
static PyObject *meth_QAbstractEventDispatcher_filterNativeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
         ::QAbstractEventDispatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1v", &sipSelf, sipType_QAbstractEventDispatcher, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->filterNativeEvent(*a0,a1,&a2);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractEventDispatcher, sipName_filterNativeEvent, doc_QAbstractEventDispatcher_filterNativeEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractEventDispatcher(void *, const sipTypeDef *);}
static void *cast_QAbstractEventDispatcher(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractEventDispatcher *sipCpp = reinterpret_cast< ::QAbstractEventDispatcher *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractEventDispatcher(void *, int);}
static void release_QAbstractEventDispatcher(void *sipCppV, int)
{
     ::QAbstractEventDispatcher *sipCpp = reinterpret_cast< ::QAbstractEventDispatcher *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractEventDispatcher(sipSimpleWrapper *);}
static void dealloc_QAbstractEventDispatcher(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractEventDispatcher *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractEventDispatcher(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractEventDispatcher(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractEventDispatcher(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractEventDispatcher *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 sipQAbstractEventDispatcher(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractEventDispatcher[] = {{169, 255, 1}};


static PyMethodDef methods_QAbstractEventDispatcher[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractEventDispatcher_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closingDown), meth_QAbstractEventDispatcher_closingDown, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_closingDown)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractEventDispatcher_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractEventDispatcher_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractEventDispatcher_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_filterNativeEvent), meth_QAbstractEventDispatcher_filterNativeEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_filterNativeEvent)},
    {SIP_MLNAME_CAST(sipName_flush), meth_QAbstractEventDispatcher_flush, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_flush)},
    {SIP_MLNAME_CAST(sipName_hasPendingEvents), meth_QAbstractEventDispatcher_hasPendingEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_hasPendingEvents)},
    {SIP_MLNAME_CAST(sipName_installNativeEventFilter), meth_QAbstractEventDispatcher_installNativeEventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_installNativeEventFilter)},
    {SIP_MLNAME_CAST(sipName_instance), (PyCFunction)meth_QAbstractEventDispatcher_instance, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_instance)},
    {SIP_MLNAME_CAST(sipName_interrupt), meth_QAbstractEventDispatcher_interrupt, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_interrupt)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractEventDispatcher_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_processEvents), meth_QAbstractEventDispatcher_processEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_processEvents)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractEventDispatcher_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_registerSocketNotifier), meth_QAbstractEventDispatcher_registerSocketNotifier, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_registerSocketNotifier)},
    {SIP_MLNAME_CAST(sipName_registerTimer), meth_QAbstractEventDispatcher_registerTimer, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_registerTimer)},
    {SIP_MLNAME_CAST(sipName_registeredTimers), meth_QAbstractEventDispatcher_registeredTimers, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_registeredTimers)},
    {SIP_MLNAME_CAST(sipName_remainingTime), meth_QAbstractEventDispatcher_remainingTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_remainingTime)},
    {SIP_MLNAME_CAST(sipName_removeNativeEventFilter), meth_QAbstractEventDispatcher_removeNativeEventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_removeNativeEventFilter)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractEventDispatcher_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractEventDispatcher_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_startingUp), meth_QAbstractEventDispatcher_startingUp, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_startingUp)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractEventDispatcher_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unregisterSocketNotifier), meth_QAbstractEventDispatcher_unregisterSocketNotifier, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_unregisterSocketNotifier)},
    {SIP_MLNAME_CAST(sipName_unregisterTimer), meth_QAbstractEventDispatcher_unregisterTimer, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_unregisterTimer)},
    {SIP_MLNAME_CAST(sipName_unregisterTimers), meth_QAbstractEventDispatcher_unregisterTimers, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_unregisterTimers)},
    {SIP_MLNAME_CAST(sipName_wakeUp), meth_QAbstractEventDispatcher_wakeUp, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractEventDispatcher_wakeUp)}
};

PyDoc_STRVAR(doc_QAbstractEventDispatcher, "\1QAbstractEventDispatcher(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractEventDispatcher[] = {
    {"awake()", "\1awake(self)", 0, 0},
    {"aboutToBlock()", "\1aboutToBlock(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractEventDispatcher = {
    & ::QAbstractEventDispatcher::staticMetaObject,
    0,
    signals_QAbstractEventDispatcher,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAbstractEventDispatcher = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractEventDispatcher,
        {0},
        &plugin_QAbstractEventDispatcher
    },
    {
        sipNameNr_QAbstractEventDispatcher,
        {0, 0, 1},
        27, methods_QAbstractEventDispatcher,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractEventDispatcher,
    -1,
    -1,
    supers_QAbstractEventDispatcher,
    0,
    init_type_QAbstractEventDispatcher,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractEventDispatcher,
    0,
    0,
    0,
    release_QAbstractEventDispatcher,
    cast_QAbstractEventDispatcher,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 185227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 185231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 185234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 185237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 185240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 185243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 185246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 185249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 185252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 185255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 185258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 185261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 185264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 185267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 185270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 185273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 185276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 185279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQAbstractAnimation : public  ::QAbstractAnimation
{
public:
    sipQAbstractAnimation( ::QObject*);
    virtual ~sipQAbstractAnimation();

    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;
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtect_updateCurrentTime(int);
    void sipProtectVirt_updateState(bool, ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void sipProtectVirt_updateDirection(bool, ::QAbstractAnimation::Direction);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void updateDirection( ::QAbstractAnimation::Direction);
    void updateState( ::QAbstractAnimation::State, ::QAbstractAnimation::State);
    void updateCurrentTime(int);
    int duration() 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:
    sipQAbstractAnimation(const sipQAbstractAnimation &);
    sipQAbstractAnimation &operator = (const sipQAbstractAnimation &);

    char sipPyMethods[11];
};

sipQAbstractAnimation::sipQAbstractAnimation( ::QObject*a0):  ::QAbstractAnimation(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractAnimation::~sipQAbstractAnimation()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQAbstractAnimation::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QAbstractAnimation);

    return  ::QAbstractAnimation::metaObject();
}

int sipQAbstractAnimation::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QAbstractAnimation::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QAbstractAnimation,_c,_id,_a);

    return _id;
}

void *sipQAbstractAnimation::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QAbstractAnimation, _clname, &sipCpp) ? sipCpp :  ::QAbstractAnimation::qt_metacast(_clname));
}

void sipQAbstractAnimation::updateDirection( ::QAbstractAnimation::Direction a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_updateDirection);

    if (!sipMeth)
    {
         ::QAbstractAnimation::updateDirection(a0);
        return;
    }

    extern void sipVH_QtCore_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::Direction);

    sipVH_QtCore_9(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractAnimation::updateState( ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateState);

    if (!sipMeth)
    {
         ::QAbstractAnimation::updateState(a0,a1);
        return;
    }

    extern void sipVH_QtCore_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractAnimation::State, ::QAbstractAnimation::State);

    sipVH_QtCore_8(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractAnimation::updateCurrentTime(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_QAbstractAnimation,sipName_updateCurrentTime);

    if (!sipMeth)
        return;

    extern void sipVH_QtCore_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtCore_7(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

int sipQAbstractAnimation::duration() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,sipName_QAbstractAnimation,sipName_duration);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtCore_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtCore_6(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth);
}

bool sipQAbstractAnimation::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QAbstractAnimation::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQAbstractAnimation::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QAbstractAnimation::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractAnimation::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QAbstractAnimation::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractAnimation::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QAbstractAnimation::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractAnimation::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QAbstractAnimation::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractAnimation::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QAbstractAnimation::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQAbstractAnimation::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QAbstractAnimation::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQAbstractAnimation::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQAbstractAnimation::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQAbstractAnimation::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractAnimation::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractAnimation::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractAnimation::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractAnimation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractAnimation::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQAbstractAnimation::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

bool sipQAbstractAnimation::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QAbstractAnimation::event(a0) : event(a0));
}

void sipQAbstractAnimation::sipProtect_updateCurrentTime(int a0)
{
    updateCurrentTime(a0);
}

void sipQAbstractAnimation::sipProtectVirt_updateState(bool sipSelfWasArg, ::QAbstractAnimation::State a0, ::QAbstractAnimation::State a1)
{
    (sipSelfWasArg ?  ::QAbstractAnimation::updateState(a0,a1) : updateState(a0,a1));
}

void sipQAbstractAnimation::sipProtectVirt_updateDirection(bool sipSelfWasArg, ::QAbstractAnimation::Direction a0)
{
    (sipSelfWasArg ?  ::QAbstractAnimation::updateDirection(a0) : updateDirection(a0));
}


PyDoc_STRVAR(doc_QAbstractAnimation_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QAbstractAnimation_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 185667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_sender, doc_QAbstractAnimation_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QAbstractAnimation_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractAnimation, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 185727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QAbstractAnimation, sipName_receivers, doc_QAbstractAnimation_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractAnimation_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractAnimation, &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_QAbstractAnimation, sipName_timerEvent, doc_QAbstractAnimation_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QAbstractAnimation_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractAnimation, &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_QAbstractAnimation, sipName_childEvent, doc_QAbstractAnimation_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QAbstractAnimation_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractAnimation, &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_QAbstractAnimation, sipName_customEvent, doc_QAbstractAnimation_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractAnimation_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractAnimation, &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_QAbstractAnimation, sipName_connectNotify, doc_QAbstractAnimation_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractAnimation_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractAnimation, &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_QAbstractAnimation, sipName_disconnectNotify, doc_QAbstractAnimation_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QAbstractAnimation_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_senderSignalIndex, doc_QAbstractAnimation_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractAnimation_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractAnimation, &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_QAbstractAnimation, sipName_isSignalConnected, doc_QAbstractAnimation_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_state, "state(self) -> QAbstractAnimation.State");

extern "C" {static PyObject *meth_QAbstractAnimation_state(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
             ::QAbstractAnimation::State sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractAnimation_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_state, doc_QAbstractAnimation_state);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_group, "group(self) -> QAnimationGroup");

extern "C" {static PyObject *meth_QAbstractAnimation_group(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_group(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
             ::QAnimationGroup*sipRes;

            sipRes = sipCpp->group();

            return sipConvertFromType(sipRes,sipType_QAnimationGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_group, doc_QAbstractAnimation_group);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_direction, "direction(self) -> QAbstractAnimation.Direction");

extern "C" {static PyObject *meth_QAbstractAnimation_direction(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_direction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
             ::QAbstractAnimation::Direction sipRes;

            sipRes = sipCpp->direction();

            return sipConvertFromEnum(sipRes,sipType_QAbstractAnimation_Direction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_direction, doc_QAbstractAnimation_direction);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_setDirection, "setDirection(self, QAbstractAnimation.Direction)");

extern "C" {static PyObject *meth_QAbstractAnimation_setDirection(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_setDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation::Direction a0;
         ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractAnimation, &sipCpp, sipType_QAbstractAnimation_Direction, &a0))
        {
            sipCpp->setDirection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_setDirection, doc_QAbstractAnimation_setDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_currentTime, "currentTime(self) -> int");

extern "C" {static PyObject *meth_QAbstractAnimation_currentTime(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_currentTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentTime();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_currentTime, doc_QAbstractAnimation_currentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_currentLoopTime, "currentLoopTime(self) -> int");

extern "C" {static PyObject *meth_QAbstractAnimation_currentLoopTime(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_currentLoopTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentLoopTime();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_currentLoopTime, doc_QAbstractAnimation_currentLoopTime);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_loopCount, "loopCount(self) -> int");

extern "C" {static PyObject *meth_QAbstractAnimation_loopCount(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_loopCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->loopCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_loopCount, doc_QAbstractAnimation_loopCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_setLoopCount, "setLoopCount(self, int)");

extern "C" {static PyObject *meth_QAbstractAnimation_setLoopCount(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_setLoopCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractAnimation, &sipCpp, &a0))
        {
            sipCpp->setLoopCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_setLoopCount, doc_QAbstractAnimation_setLoopCount);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_currentLoop, "currentLoop(self) -> int");

extern "C" {static PyObject *meth_QAbstractAnimation_currentLoop(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_currentLoop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentLoop();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_currentLoop, doc_QAbstractAnimation_currentLoop);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_duration, "duration(self) -> int");

extern "C" {static PyObject *meth_QAbstractAnimation_duration(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_duration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractAnimation, sipName_duration);
                return NULL;
            }

            sipRes = sipCpp->duration();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_duration, doc_QAbstractAnimation_duration);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_totalDuration, "totalDuration(self) -> int");

extern "C" {static PyObject *meth_QAbstractAnimation_totalDuration(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_totalDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->totalDuration();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_totalDuration, doc_QAbstractAnimation_totalDuration);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_start, "start(self, policy: QAbstractAnimation.DeletionPolicy = QAbstractAnimation.KeepWhenStopped)");

extern "C" {static PyObject *meth_QAbstractAnimation_start(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_start(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation::DeletionPolicy a0 = QAbstractAnimation::KeepWhenStopped;
         ::QAbstractAnimation *sipCpp;

        static const char *sipKwdList[] = {
            sipName_policy,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QAbstractAnimation, &sipCpp, sipType_QAbstractAnimation_DeletionPolicy, &a0))
        {
            sipCpp->start(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_start, doc_QAbstractAnimation_start);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_pause, "pause(self)");

extern "C" {static PyObject *meth_QAbstractAnimation_pause(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_pause(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
            sipCpp->pause();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_pause, doc_QAbstractAnimation_pause);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_resume, "resume(self)");

extern "C" {static PyObject *meth_QAbstractAnimation_resume(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_resume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
            sipCpp->resume();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_resume, doc_QAbstractAnimation_resume);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_setPaused, "setPaused(self, bool)");

extern "C" {static PyObject *meth_QAbstractAnimation_setPaused(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_setPaused(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractAnimation, &sipCpp, &a0))
        {
            sipCpp->setPaused(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_setPaused, doc_QAbstractAnimation_setPaused);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_stop, "stop(self)");

extern "C" {static PyObject *meth_QAbstractAnimation_stop(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractAnimation, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_stop, doc_QAbstractAnimation_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_setCurrentTime, "setCurrentTime(self, int)");

extern "C" {static PyObject *meth_QAbstractAnimation_setCurrentTime(PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_setCurrentTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QAbstractAnimation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractAnimation, &sipCpp, &a0))
        {
            sipCpp->setCurrentTime(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_setCurrentTime, doc_QAbstractAnimation_setCurrentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractAnimation_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractAnimation, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_event, doc_QAbstractAnimation_event);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_updateCurrentTime, "updateCurrentTime(self, int)");

extern "C" {static PyObject *meth_QAbstractAnimation_updateCurrentTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_updateCurrentTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QAbstractAnimation, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractAnimation, sipName_updateCurrentTime);
                return NULL;
            }

            sipCpp->sipProtect_updateCurrentTime(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_updateCurrentTime, doc_QAbstractAnimation_updateCurrentTime);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_updateState, "updateState(self, QAbstractAnimation.State, QAbstractAnimation.State)");

extern "C" {static PyObject *meth_QAbstractAnimation_updateState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_updateState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::State a0;
         ::QAbstractAnimation::State a1;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEE", &sipSelf, sipType_QAbstractAnimation, &sipCpp, sipType_QAbstractAnimation_State, &a0, sipType_QAbstractAnimation_State, &a1))
        {
            sipCpp->sipProtectVirt_updateState(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_updateState, doc_QAbstractAnimation_updateState);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractAnimation_updateDirection, "updateDirection(self, QAbstractAnimation.Direction)");

extern "C" {static PyObject *meth_QAbstractAnimation_updateDirection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractAnimation_updateDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractAnimation::Direction a0;
        sipQAbstractAnimation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAbstractAnimation, &sipCpp, sipType_QAbstractAnimation_Direction, &a0))
        {
            sipCpp->sipProtectVirt_updateDirection(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractAnimation, sipName_updateDirection, doc_QAbstractAnimation_updateDirection);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QAbstractAnimation(void *, const sipTypeDef *);}
static void *cast_QAbstractAnimation(void *sipCppV, const sipTypeDef *targetType)
{
     ::QAbstractAnimation *sipCpp = reinterpret_cast< ::QAbstractAnimation *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractAnimation(void *, int);}
static void release_QAbstractAnimation(void *sipCppV, int)
{
     ::QAbstractAnimation *sipCpp = reinterpret_cast< ::QAbstractAnimation *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractAnimation(sipSimpleWrapper *);}
static void dealloc_QAbstractAnimation(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQAbstractAnimation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QAbstractAnimation(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QAbstractAnimation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractAnimation(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractAnimation *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 sipQAbstractAnimation(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractAnimation[] = {{169, 255, 1}};


static PyMethodDef methods_QAbstractAnimation[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractAnimation_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractAnimation_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentLoop), meth_QAbstractAnimation_currentLoop, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_currentLoop)},
    {SIP_MLNAME_CAST(sipName_currentLoopTime), meth_QAbstractAnimation_currentLoopTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_currentLoopTime)},
    {SIP_MLNAME_CAST(sipName_currentTime), meth_QAbstractAnimation_currentTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_currentTime)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractAnimation_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_direction), meth_QAbstractAnimation_direction, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_direction)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractAnimation_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_duration), meth_QAbstractAnimation_duration, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_duration)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QAbstractAnimation_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractAnimation_event)},
    {SIP_MLNAME_CAST(sipName_group), meth_QAbstractAnimation_group, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_group)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractAnimation_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_loopCount), meth_QAbstractAnimation_loopCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_loopCount)},
    {SIP_MLNAME_CAST(sipName_pause), meth_QAbstractAnimation_pause, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_pause)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractAnimation_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resume), meth_QAbstractAnimation_resume, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_resume)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractAnimation_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractAnimation_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentTime), meth_QAbstractAnimation_setCurrentTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_setCurrentTime)},
    {SIP_MLNAME_CAST(sipName_setDirection), meth_QAbstractAnimation_setDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_setDirection)},
    {SIP_MLNAME_CAST(sipName_setLoopCount), meth_QAbstractAnimation_setLoopCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_setLoopCount)},
    {SIP_MLNAME_CAST(sipName_setPaused), meth_QAbstractAnimation_setPaused, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_setPaused)},
    {SIP_MLNAME_CAST(sipName_start), (PyCFunction)meth_QAbstractAnimation_start, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractAnimation_start)},
    {SIP_MLNAME_CAST(sipName_state), meth_QAbstractAnimation_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_state)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QAbstractAnimation_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_stop)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractAnimation_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_totalDuration), meth_QAbstractAnimation_totalDuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractAnimation_totalDuration)},
    {SIP_MLNAME_CAST(sipName_updateCurrentTime), (PyCFunction)meth_QAbstractAnimation_updateCurrentTime, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractAnimation_updateCurrentTime)},
    {SIP_MLNAME_CAST(sipName_updateDirection), (PyCFunction)meth_QAbstractAnimation_updateDirection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractAnimation_updateDirection)},
    {SIP_MLNAME_CAST(sipName_updateState), (PyCFunction)meth_QAbstractAnimation_updateState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractAnimation_updateState)}
};

static sipEnumMemberDef enummembers_QAbstractAnimation[] = {
    {sipName_Backward, static_cast<int>( ::QAbstractAnimation::Backward), 2},
    {sipName_DeleteWhenStopped, static_cast<int>( ::QAbstractAnimation::DeleteWhenStopped), 1},
    {sipName_Forward, static_cast<int>( ::QAbstractAnimation::Forward), 2},
    {sipName_KeepWhenStopped, static_cast<int>( ::QAbstractAnimation::KeepWhenStopped), 1},
    {sipName_Paused, static_cast<int>( ::QAbstractAnimation::Paused), 3},
    {sipName_Running, static_cast<int>( ::QAbstractAnimation::Running), 3},
    {sipName_Stopped, static_cast<int>( ::QAbstractAnimation::Stopped), 3},
};

PyDoc_STRVAR(doc_QAbstractAnimation, "\1QAbstractAnimation(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractAnimation[] = {
    {"directionChanged(QAbstractAnimation::Direction)", "\1directionChanged(self, QAbstractAnimation.Direction)", 0, 0},
    {"currentLoopChanged(int)", "\1currentLoopChanged(self, int)", 0, 0},
    {"stateChanged(QAbstractAnimation::State,QAbstractAnimation::State)", "\1stateChanged(self, QAbstractAnimation.State, QAbstractAnimation.State)", 0, 0},
    {"finished()", "\1finished(self)", 0, 0},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QAbstractAnimation = {
    & ::QAbstractAnimation::staticMetaObject,
    0,
    signals_QAbstractAnimation,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QAbstractAnimation = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractAnimation,
        {0},
        &plugin_QAbstractAnimation
    },
    {
        sipNameNr_QAbstractAnimation,
        {0, 0, 1},
        30, methods_QAbstractAnimation,
        7, enummembers_QAbstractAnimation,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractAnimation,
    -1,
    -1,
    supers_QAbstractAnimation,
    0,
    init_type_QAbstractAnimation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractAnimation,
    0,
    0,
    0,
    release_QAbstractAnimation,
    cast_QAbstractAnimation,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 186743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 186747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 186750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 186753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 186756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 186759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 27 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 186762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 186765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 186768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 186771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 186774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 186780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 186786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 186789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
// This is needed by the tr() handwritten implementation.
#include <qcoreapplication.h>


// These are the helper functions for QObject::findChild() and
// QObject::findChildren.

// Wrap the given type in a 1-tuple.
static PyObject *qtcore_type_to_tuple(PyObject *type)
{
    PyObject *tuple = PyTuple_New(1);

    if (tuple)
    {
        Py_INCREF(type);
        PyTuple_SetItem(tuple, 0, type);
    }

    return tuple;
}


// Check all elements of a given tuple are type objects and return a new
// reference to the tuple if so.
static PyObject *qtcore_check_tuple_types(PyObject *types)
{
    for (Py_ssize_t i = 0; i < PyTuple_Size(types); ++i)
        if (!PyObject_TypeCheck(PyTuple_GetItem(types, i), &PyType_Type))
        {
            PyErr_SetString(PyExc_TypeError,
                    "all elements of the types argument must be type objects");
            return 0;
        }

    Py_INCREF(types);
    return types;
}


// Do the main work of finding a child.
static PyObject *qtcore_do_find_child(const QObject *parent, PyObject *types, const QString &name, Qt::FindChildOptions options)
{
    const QObjectList &children = parent->children();
    int i;

    for (i = 0; i < children.size(); ++i)
    {
        QObject *obj = children.at(i);
        PyObject *pyo = sipConvertFromType(obj, sipType_QObject, 0);

        if (!pyo)
            return 0;

        // Allow for proxies.
        QObject *resolved = reinterpret_cast<QObject *>(sipGetAddress((sipSimpleWrapper *)pyo));

        if (name.isNull() || resolved->objectName() == name)
            for (Py_ssize_t t = 0; t < PyTuple_Size(types); ++t)
                if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GetItem(types, t)))
                    return pyo;

        Py_DECREF(pyo);
    }

    if (options == Qt::FindChildrenRecursively)
        for (i = 0; i < children.size(); ++i)
        {
            PyObject *pyo = qtcore_do_find_child(children.at(i), types, name, options);

            if (pyo != Py_None)
                return pyo;

            Py_DECREF(pyo);
        }

    Py_INCREF(Py_None);
    return Py_None;
}


// Find a child that is one of a number of types and with an optional name.
static PyObject *qtcore_FindChild(const QObject *parent, PyObject *types, const QString &name, Qt::FindChildOptions options)
{
    // Check that the types checking was successful.
    if (!types)
        return 0;

    PyObject *child = qtcore_do_find_child(parent, types, name, options);

    Py_DECREF(types);

    return child;
}


// Do the main work of finding the children with a string name.
static bool qtcore_do_find_children(const QObject *parent, PyObject *types, const QString &name, Qt::FindChildOptions options, PyObject *list)
{
    const QObjectList &children = parent->children();
    int i;

    for (i = 0; i < children.size(); ++i)
    {
        QObject *obj = children.at(i);
        PyObject *pyo = sipConvertFromType(obj, sipType_QObject, 0);

        if (!pyo)
            return false;

        // Allow for proxies.
        QObject *resolved = reinterpret_cast<QObject *>(sipGetAddress((sipSimpleWrapper *)pyo));

        if (name.isNull() || resolved->objectName() == name)
            for (Py_ssize_t t = 0; t < PyTuple_Size(types); ++t)
                if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GetItem(types, t)))
                    if (PyList_Append(list, pyo) < 0)
                    {
                        Py_DECREF(pyo);
                        return false;
                    }

        Py_DECREF(pyo);

        if (options == Qt::FindChildrenRecursively)
        {
            bool ok = qtcore_do_find_children(obj, types, name, options, list);

            if (!ok)
                return false;
        }
    }

    return true;
}


// Find a child that is one of a number of types and with an optional string
// name.
static PyObject *qtcore_FindChildren(const QObject *parent, PyObject *types, const QString &name, Qt::FindChildOptions options)
{
    // Check that the types checking was successful.
    if (!types)
        return 0;

    PyObject *list = PyList_New(0);

    if (list)
        if (!qtcore_do_find_children(parent, types, name, options, list))
            Py_DECREF(list);

    Py_DECREF(types);

    return list;
}


// Do the main work of finding the children with a QRegExp name.
static bool qtcore_do_find_children(const QObject *parent, PyObject *types, const QRegExp &re, Qt::FindChildOptions options, PyObject *list)
{
    const QObjectList &children = parent->children();
    int i;

    for (i = 0; i < children.size(); ++i)
    {
        QObject *obj = children.at(i);
        PyObject *pyo = sipConvertFromType(obj, sipType_QObject, 0);

        if (!pyo)
            return false;

        if (re.indexIn(obj->objectName()) >= 0)
            for (Py_ssize_t t = 0; t < PyTuple_Size(types); ++t)
                if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GetItem(types, t)))
                    if (PyList_Append(list, pyo) < 0)
                    {
                        Py_DECREF(pyo);
                        return false;
                    }

        Py_DECREF(pyo);

        if (options == Qt::FindChildrenRecursively)
        {
            bool ok = qtcore_do_find_children(obj, types, re, options, list);

            if (!ok)
                return false;
        }
    }

    return true;
}


// Find a child that is one of a number of types and with an optional QRegExp
// name.
static PyObject *qtcore_FindChildren(const QObject *parent, PyObject *types, const QRegExp &re, Qt::FindChildOptions options)
{
    // Check that the types checking was successful.
    if (!types)
        return 0;

    PyObject *list = PyList_New(0);

    if (list)
        if (!qtcore_do_find_children(parent, types, re, options, list))
            Py_DECREF(list);

    Py_DECREF(types);

    return list;
}


// Do the main work of finding the children with a QRegularExpression name.
static bool qtcore_do_find_children(const QObject *parent, PyObject *types, const QRegularExpression &re, Qt::FindChildOptions options, PyObject *list)
{
    const QObjectList &children = parent->children();
    int i;

    for (i = 0; i < children.size(); ++i)
    {
        QObject *obj = children.at(i);
        PyObject *pyo = sipConvertFromType(obj, sipType_QObject, 0);

        if (!pyo)
            return false;

        QRegularExpressionMatch m = re.match(obj->objectName());
        
        if (m.hasMatch())
            for (Py_ssize_t t = 0; t < PyTuple_Size(types); ++t)
                if (PyType_IsSubtype(Py_TYPE(pyo), (PyTypeObject *)PyTuple_GetItem(types, t)))
                    if (PyList_Append(list, pyo) < 0)
                    {
                        Py_DECREF(pyo);
                        return false;
                    }

        Py_DECREF(pyo);

        if (options == Qt::FindChildrenRecursively)
        {
            bool ok = qtcore_do_find_children(obj, types, re, options, list);

            if (!ok)
                return false;
        }
    }

    return true;
}


// Find a child that is one of a number of types and with an optional
// QRegularExpression name.
static PyObject *qtcore_FindChildren(const QObject *parent, PyObject *types, const QRegularExpression &re, Qt::FindChildOptions options)
{
    // Check that the types checking was successful.
    if (!types)
        return 0;

    PyObject *list = PyList_New(0);

    if (list)
        if (!qtcore_do_find_children(parent, types, re, options, list))
            Py_DECREF(list);

    Py_DECREF(types);

    return list;
}
#line 187063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


class sipQObject : public  ::QObject
{
public:
    sipQObject( ::QObject*);
    virtual ~sipQObject();

    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 disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQObject(const sipQObject &);
    sipQObject &operator = (const sipQObject &);

    char sipPyMethods[7];
};

sipQObject::sipQObject( ::QObject*a0):  ::QObject(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQObject::~sipQObject()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQObject::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QObject);

    return  ::QObject::metaObject();
}

int sipQObject::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QObject::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QObject,_c,_id,_a);

    return _id;
}

void *sipQObject::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QObject, _clname, &sipCpp) ? sipCpp :  ::QObject::qt_metacast(_clname));
}

void sipQObject::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QObject::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQObject::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::QObject::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQObject::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::QObject::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQObject::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::QObject::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

void sipQObject::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::QObject::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

bool sipQObject::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::QObject::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0, a1);
}

bool sipQObject::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::QObject::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt5, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQObject::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQObject::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQObject::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQObject::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQObject::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQObject::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQObject::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQObject::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQObject::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QObject_metaObject, "metaObject(self) -> QMetaObject");

extern "C" {static PyObject *meth_QObject_metaObject(PyObject *, PyObject *);}
static PyObject *meth_QObject_metaObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
            const  ::QMetaObject*sipRes;

            sipRes = sipCpp->metaObject();

            return sipConvertFromType(const_cast< ::QMetaObject *>(sipRes),sipType_QMetaObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_metaObject, doc_QObject_metaObject);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_pyqtConfigure, "QObject.pyqtConfigure(...)\n"
    "\n"
    "Each keyword argument is either the name of a Qt property or a Qt signal.\n"
    "For properties the property is set to the given value which should be of an\n"
    "appropriate type.\n"
    "For signals the signal is connected to the given value which should be a\n"
    "callable.");

extern "C" {static PyObject *meth_QObject_pyqtConfigure(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_pyqtConfigure(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
#line 434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        return qpycore_pyqtconfigure(sipSelf, sipArgs, sipKwds);
#line 187355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


PyDoc_STRVAR(doc_QObject___getattr__, "__getattr__(self, str) -> object");

extern "C" {static PyObject *meth_QObject___getattr__(PyObject *, PyObject *);}
static PyObject *meth_QObject___getattr__(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QObject, &sipCpp, &a0Keep, &a0))
        {
            PyObject * sipRes = 0;

#line 439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipRes = qpycore_qobject_getattr(sipCpp, sipSelf, a0);
#line 187378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName___getattr__, doc_QObject___getattr__);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QObject_event(PyObject *, PyObject *);}
static PyObject *meth_QObject_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QObject, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QObject::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_event, doc_QObject_event);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_eventFilter, "eventFilter(self, QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QObject_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_QObject_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QObject, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QObject::eventFilter(a0,a1) : sipCpp->eventFilter(a0,a1));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_eventFilter, doc_QObject_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_tr, "tr(self, str, disambiguation: str = None, n: int = -1) -> str");

extern "C" {static PyObject *meth_QObject_tr(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_tr(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const char* a1 = 0;
        PyObject *a1Keep = 0;
        int a2 = -1;
        const  ::QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_disambiguation,
            sipName_n,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BA8|AAi", &sipSelf, sipType_QObject, &sipCpp, &a0Keep, &a0, &a1Keep, &a1, &a2))
        {
             ::QString*sipRes = 0;

#line 446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        // Note that tr() is really a static method.  We pretend it isn't so we can use
        // self to get hold of the class name.
        
        sipRes = new QString(QCoreApplication::translate(sipPyTypeName(Py_TYPE(sipSelf)), a0, a1, a2));
#line 187484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            Py_DECREF(a0Keep);
            Py_XDECREF(a1Keep);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_tr, doc_QObject_tr);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_findChild, "findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject\n"
    "findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject");

extern "C" {static PyObject *meth_QObject_findChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_findChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::Qt::FindChildOptions a2def = Qt::FindChildrenRecursively;
         ::Qt::FindChildOptions* a2 = &a2def;
        int a2State = 0;
        const  ::QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_name,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BT|J1J1", &sipSelf, sipType_QObject, &sipCpp, &PyType_Type, &a0, sipType_QString,&a1, &a1State, sipType_Qt_FindChildOptions, &a2, &a2State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChild(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 187535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_Qt_FindChildOptions,a2State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    {
        PyObject * a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::Qt::FindChildOptions a2def = Qt::FindChildrenRecursively;
         ::Qt::FindChildOptions* a2 = &a2def;
        int a2State = 0;
        const  ::QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_name,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BT|J1J1", &sipSelf, sipType_QObject, &sipCpp, &PyTuple_Type, &a0, sipType_QString,&a1, &a1State, sipType_Qt_FindChildOptions, &a2, &a2State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChild(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 187572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_Qt_FindChildOptions,a2State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_findChild, doc_QObject_findChild);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_findChildren, "findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]\n"
    "findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]\n"
    "findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]\n"
    "findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]\n"
    "findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]\n"
    "findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]");

extern "C" {static PyObject *meth_QObject_findChildren(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_findChildren(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::Qt::FindChildOptions a2def = Qt::FindChildrenRecursively;
         ::Qt::FindChildOptions* a2 = &a2def;
        int a2State = 0;
        const  ::QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_name,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BT|J1J1", &sipSelf, sipType_QObject, &sipCpp, &PyType_Type, &a0, sipType_QString,&a1, &a1State, sipType_Qt_FindChildOptions, &a2, &a2State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 187634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_Qt_FindChildOptions,a2State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    {
        PyObject * a0;
        const  ::QString& a1def = QString();
        const  ::QString* a1 = &a1def;
        int a1State = 0;
         ::Qt::FindChildOptions a2def = Qt::FindChildrenRecursively;
         ::Qt::FindChildOptions* a2 = &a2def;
        int a2State = 0;
        const  ::QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_name,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BT|J1J1", &sipSelf, sipType_QObject, &sipCpp, &PyTuple_Type, &a0, sipType_QString,&a1, &a1State, sipType_Qt_FindChildOptions, &a2, &a2State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 187671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a2,sipType_Qt_FindChildOptions,a2State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    {
        PyObject * a0;
        const  ::QRegExp* a1;
         ::Qt::FindChildOptions a2def = Qt::FindChildrenRecursively;
         ::Qt::FindChildOptions* a2 = &a2def;
        int a2State = 0;
        const  ::QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BTJ9|J1", &sipSelf, sipType_QObject, &sipCpp, &PyType_Type, &a0, sipType_QRegExp, &a1, sipType_Qt_FindChildOptions, &a2, &a2State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 187706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a2,sipType_Qt_FindChildOptions,a2State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    {
        PyObject * a0;
        const  ::QRegExp* a1;
         ::Qt::FindChildOptions a2def = Qt::FindChildrenRecursively;
         ::Qt::FindChildOptions* a2 = &a2def;
        int a2State = 0;
        const  ::QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BTJ9|J1", &sipSelf, sipType_QObject, &sipCpp, &PyTuple_Type, &a0, sipType_QRegExp, &a1, sipType_Qt_FindChildOptions, &a2, &a2State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 187740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a2,sipType_Qt_FindChildOptions,a2State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    {
        PyObject * a0;
        const  ::QRegularExpression* a1;
         ::Qt::FindChildOptions a2def = Qt::FindChildrenRecursively;
         ::Qt::FindChildOptions* a2 = &a2def;
        int a2State = 0;
        const  ::QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BTJ9|J1", &sipSelf, sipType_QObject, &sipCpp, &PyType_Type, &a0, sipType_QRegularExpression, &a1, sipType_Qt_FindChildOptions, &a2, &a2State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_type_to_tuple(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 187774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a2,sipType_Qt_FindChildOptions,a2State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    {
        PyObject * a0;
        const  ::QRegularExpression* a1;
         ::Qt::FindChildOptions a2def = Qt::FindChildrenRecursively;
         ::Qt::FindChildOptions* a2 = &a2def;
        int a2State = 0;
        const  ::QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BTJ9|J1", &sipSelf, sipType_QObject, &sipCpp, &PyTuple_Type, &a0, sipType_QRegularExpression, &a1, sipType_Qt_FindChildOptions, &a2, &a2State))
        {
            PyObject * sipRes = 0;
            int sipIsErr = 0;

#line 510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipRes = qtcore_FindChildren(sipCpp, qtcore_check_tuple_types(a0), *a1, *a2);
        
        if (!sipRes)
            sipIsErr = 1;
#line 187808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(a2,sipType_Qt_FindChildOptions,a2State);

            if (sipIsErr)
                return 0;

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_findChildren, doc_QObject_findChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_objectName, "objectName(self) -> str");

extern "C" {static PyObject *meth_QObject_objectName(PyObject *, PyObject *);}
static PyObject *meth_QObject_objectName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->objectName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_objectName, doc_QObject_objectName);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_setObjectName, "setObjectName(self, str)");

extern "C" {static PyObject *meth_QObject_setObjectName(PyObject *, PyObject *);}
static PyObject *meth_QObject_setObjectName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QObject, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setObjectName(*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_QObject, sipName_setObjectName, doc_QObject_setObjectName);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_isWidgetType, "isWidgetType(self) -> bool");

extern "C" {static PyObject *meth_QObject_isWidgetType(PyObject *, PyObject *);}
static PyObject *meth_QObject_isWidgetType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWidgetType();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_isWidgetType, doc_QObject_isWidgetType);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_isWindowType, "isWindowType(self) -> bool");

extern "C" {static PyObject *meth_QObject_isWindowType(PyObject *, PyObject *);}
static PyObject *meth_QObject_isWindowType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWindowType();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_isWindowType, doc_QObject_isWindowType);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_signalsBlocked, "signalsBlocked(self) -> bool");

extern "C" {static PyObject *meth_QObject_signalsBlocked(PyObject *, PyObject *);}
static PyObject *meth_QObject_signalsBlocked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->signalsBlocked();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_signalsBlocked, doc_QObject_signalsBlocked);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_blockSignals, "blockSignals(self, bool) -> bool");

extern "C" {static PyObject *meth_QObject_blockSignals(PyObject *, PyObject *);}
static PyObject *meth_QObject_blockSignals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QObject, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->blockSignals(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_blockSignals, doc_QObject_blockSignals);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_thread, "thread(self) -> QThread");

extern "C" {static PyObject *meth_QObject_thread(PyObject *, PyObject *);}
static PyObject *meth_QObject_thread(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
             ::QThread*sipRes;

            sipRes = sipCpp->thread();

            return sipConvertFromType(sipRes,sipType_QThread,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_thread, doc_QObject_thread);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_moveToThread, "moveToThread(self, QThread)");

extern "C" {static PyObject *meth_QObject_moveToThread(PyObject *, PyObject *);}
static PyObject *meth_QObject_moveToThread(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QThread* a0;
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QObject, &sipCpp, sipType_QThread, &a0))
        {
            sipCpp->moveToThread(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_moveToThread, doc_QObject_moveToThread);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_startTimer, "startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) -> int");

extern "C" {static PyObject *meth_QObject_startTimer(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_startTimer(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::Qt::TimerType a1 = Qt::CoarseTimer;
         ::QObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_timerType,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QObject, &sipCpp, &a0, sipType_Qt_TimerType, &a1))
        {
            int sipRes;

            sipRes = sipCpp->startTimer(a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_startTimer, doc_QObject_startTimer);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_killTimer, "killTimer(self, int)");

extern "C" {static PyObject *meth_QObject_killTimer(PyObject *, PyObject *);}
static PyObject *meth_QObject_killTimer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QObject, &sipCpp, &a0))
        {
            sipCpp->killTimer(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_killTimer, doc_QObject_killTimer);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_children, "children(self) -> object");

extern "C" {static PyObject *meth_QObject_children(PyObject *, PyObject *);}
static PyObject *meth_QObject_children(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
             ::QObjectList*sipRes;

            sipRes = new  ::QObjectList(sipCpp->children());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_children, doc_QObject_children);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_setParent, "setParent(self, QObject)");

extern "C" {static PyObject *meth_QObject_setParent(PyObject *, PyObject *);}
static PyObject *meth_QObject_setParent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
        sipWrapper *sipOwner = 0;
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJH", &sipSelf, sipType_QObject, &sipCpp, sipType_QObject, &a0, &sipOwner))
        {
            sipCpp->setParent(a0);

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_setParent, doc_QObject_setParent);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_installEventFilter, "installEventFilter(self, QObject)");

extern "C" {static PyObject *meth_QObject_installEventFilter(PyObject *, PyObject *);}
static PyObject *meth_QObject_installEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QObject, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->installEventFilter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_installEventFilter, doc_QObject_installEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_removeEventFilter, "removeEventFilter(self, QObject)");

extern "C" {static PyObject *meth_QObject_removeEventFilter(PyObject *, PyObject *);}
static PyObject *meth_QObject_removeEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject* a0;
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QObject, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->removeEventFilter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_removeEventFilter, doc_QObject_removeEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_dumpObjectInfo, "dumpObjectInfo(self)");

extern "C" {static PyObject *meth_QObject_dumpObjectInfo(PyObject *, PyObject *);}
static PyObject *meth_QObject_dumpObjectInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
            sipCpp->dumpObjectInfo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_dumpObjectInfo, doc_QObject_dumpObjectInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_dumpObjectTree, "dumpObjectTree(self)");

extern "C" {static PyObject *meth_QObject_dumpObjectTree(PyObject *, PyObject *);}
static PyObject *meth_QObject_dumpObjectTree(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
            sipCpp->dumpObjectTree();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_dumpObjectTree, doc_QObject_dumpObjectTree);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_dynamicPropertyNames, "dynamicPropertyNames(self) -> object");

extern "C" {static PyObject *meth_QObject_dynamicPropertyNames(PyObject *, PyObject *);}
static PyObject *meth_QObject_dynamicPropertyNames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
            QList< ::QByteArray>*sipRes;

            sipRes = new QList< ::QByteArray>(sipCpp->dynamicPropertyNames());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_dynamicPropertyNames, doc_QObject_dynamicPropertyNames);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_setProperty, "setProperty(self, str, Any) -> bool");

extern "C" {static PyObject *meth_QObject_setProperty(PyObject *, PyObject *);}
static PyObject *meth_QObject_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QVariant* a1;
        int a1State = 0;
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAAJ1", &sipSelf, sipType_QObject, &sipCpp, &a0Keep, &a0, sipType_QVariant, &a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->setProperty(a0,*a1);
            Py_DECREF(a0Keep);
            sipReleaseType(const_cast< ::QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_setProperty, doc_QObject_setProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_property, "property(self, str) -> Any");

extern "C" {static PyObject *meth_QObject_property(PyObject *, PyObject *);}
static PyObject *meth_QObject_property(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QObject, &sipCpp, &a0Keep, &a0))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant(sipCpp->property(a0));
            Py_DECREF(a0Keep);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_property, doc_QObject_property);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_parent, "parent(self) -> QObject");

extern "C" {static PyObject *meth_QObject_parent(PyObject *, PyObject *);}
static PyObject *meth_QObject_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
             ::QObject*sipRes;

            sipRes = sipCpp->parent();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_parent, doc_QObject_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_inherits, "inherits(self, str) -> bool");

extern "C" {static PyObject *meth_QObject_inherits(PyObject *, PyObject *);}
static PyObject *meth_QObject_inherits(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        PyObject *a0Keep;
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BAA", &sipSelf, sipType_QObject, &sipCpp, &a0Keep, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->inherits(a0);
            Py_DECREF(a0Keep);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_inherits, doc_QObject_inherits);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_deleteLater, "deleteLater(self)");

extern "C" {static PyObject *meth_QObject_deleteLater(PyObject *, PyObject *);}
static PyObject *meth_QObject_deleteLater(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
            sipCpp->deleteLater();

            sipTransferTo(sipSelf, NULL);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_deleteLater, doc_QObject_deleteLater);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_sender, "sender(self) -> QObject");

extern "C" {static PyObject *meth_QObject_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 188511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_sender, doc_QObject_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_receivers, "receivers(self, PYQT_SIGNAL) -> int");

extern "C" {static PyObject *meth_QObject_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QObject, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/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 188571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.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_QObject, sipName_receivers, doc_QObject_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_timerEvent, "timerEvent(self, QTimerEvent)");

extern "C" {static PyObject *meth_QObject_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QObject, &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_QObject, sipName_timerEvent, doc_QObject_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_childEvent, "childEvent(self, QChildEvent)");

extern "C" {static PyObject *meth_QObject_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QObject, &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_QObject, sipName_childEvent, doc_QObject_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_customEvent, "customEvent(self, QEvent)");

extern "C" {static PyObject *meth_QObject_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QObject, &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_QObject, sipName_customEvent, doc_QObject_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_connectNotify, "connectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QObject_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QObject, &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_QObject, sipName_connectNotify, doc_QObject_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

extern "C" {static PyObject *meth_QObject_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QObject, &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_QObject, sipName_disconnectNotify, doc_QObject_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_senderSignalIndex, "senderSignalIndex(self) -> int");

extern "C" {static PyObject *meth_QObject_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_senderSignalIndex, doc_QObject_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QObject_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QObject_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipQObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QObject, &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_QObject, sipName_isSignalConnected, doc_QObject_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QObject_disconnect, "disconnect(self)");

extern "C" {static PyObject *meth_QObject_disconnect(PyObject *, PyObject *);}
static PyObject *meth_QObject_disconnect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QObject, &sipCpp))
        {
            PyObject * sipRes = 0;

#line 633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipRes = qpycore_qobject_disconnect(sipCpp);
#line 188811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QObject, sipName_disconnect, doc_QObject_disconnect);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QObject(void *, int);}
static void release_QObject(void *sipCppV, int)
{
     ::QObject *sipCpp = reinterpret_cast< ::QObject *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static int traverse_QObject(void *, visitproc, void *);}
static int traverse_QObject(void *sipCppV,visitproc sipVisit,void *sipArg)
{
     ::QObject *sipCpp = reinterpret_cast< ::QObject *>(sipCppV);
    int sipRes;

#line 403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    // Traverse any saved slots we might be connected to.
    sipRes = qpycore_visitSlotProxies(sipCpp, sipVisit, sipArg);
#line 188846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static int clear_QObject(void *);}
static int clear_QObject(void *sipCppV)
{
     ::QObject *sipCpp = reinterpret_cast< ::QObject *>(sipCppV);
    int sipRes;

#line 408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    // Clear any saved slots we might be connected to.
    sipRes = qpycore_clearSlotProxies(sipCpp);
#line 188861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipRes;
}


extern "C" {static int final_QObject(PyObject *, void *, PyObject *, PyObject **);}
static int final_QObject(PyObject *sipSelf, void *sipCppV, PyObject *sipKwds, PyObject **sipUnused)
{
     ::QObject *sipCpp = reinterpret_cast< ::QObject *>(sipCppV);

#line 307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
    return qpycore_qobject_finalisation(sipSelf, sipCpp, sipKwds, sipUnused);
#line 188874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static void dealloc_QObject(sipSimpleWrapper *);}
static void dealloc_QObject(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQObject *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QObject(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QObject(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QObject(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQObject *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 sipQObject(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QObject[] = {
    {SIP_MLNAME_CAST(sipName___getattr__), meth_QObject___getattr__, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject___getattr__)},
    {SIP_MLNAME_CAST(sipName_blockSignals), meth_QObject_blockSignals, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_blockSignals)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QObject_childEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_childEvent)},
    {SIP_MLNAME_CAST(sipName_children), meth_QObject_children, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_children)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QObject_connectNotify, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_connectNotify)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QObject_customEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_customEvent)},
    {SIP_MLNAME_CAST(sipName_deleteLater), meth_QObject_deleteLater, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_deleteLater)},
    {SIP_MLNAME_CAST(sipName_disconnect), meth_QObject_disconnect, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_disconnect)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QObject_disconnectNotify, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_disconnectNotify)},
    {SIP_MLNAME_CAST(sipName_dumpObjectInfo), meth_QObject_dumpObjectInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_dumpObjectInfo)},
    {SIP_MLNAME_CAST(sipName_dumpObjectTree), meth_QObject_dumpObjectTree, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_dumpObjectTree)},
    {SIP_MLNAME_CAST(sipName_dynamicPropertyNames), meth_QObject_dynamicPropertyNames, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_dynamicPropertyNames)},
    {SIP_MLNAME_CAST(sipName_event), meth_QObject_event, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_QObject_eventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_eventFilter)},
    {SIP_MLNAME_CAST(sipName_findChild), (PyCFunction)meth_QObject_findChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_findChild)},
    {SIP_MLNAME_CAST(sipName_findChildren), (PyCFunction)meth_QObject_findChildren, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_findChildren)},
    {SIP_MLNAME_CAST(sipName_inherits), meth_QObject_inherits, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_inherits)},
    {SIP_MLNAME_CAST(sipName_installEventFilter), meth_QObject_installEventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_installEventFilter)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QObject_isSignalConnected, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_isSignalConnected)},
    {SIP_MLNAME_CAST(sipName_isWidgetType), meth_QObject_isWidgetType, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_isWidgetType)},
    {SIP_MLNAME_CAST(sipName_isWindowType), meth_QObject_isWindowType, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_isWindowType)},
    {SIP_MLNAME_CAST(sipName_killTimer), meth_QObject_killTimer, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_killTimer)},
    {SIP_MLNAME_CAST(sipName_metaObject), meth_QObject_metaObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_metaObject)},
    {SIP_MLNAME_CAST(sipName_moveToThread), meth_QObject_moveToThread, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_moveToThread)},
    {SIP_MLNAME_CAST(sipName_objectName), meth_QObject_objectName, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_objectName)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QObject_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_parent)},
    {SIP_MLNAME_CAST(sipName_property), meth_QObject_property, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_property)},
    {SIP_MLNAME_CAST(sipName_pyqtConfigure), (PyCFunction)meth_QObject_pyqtConfigure, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_pyqtConfigure)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QObject_receivers, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_receivers)},
    {SIP_MLNAME_CAST(sipName_removeEventFilter), meth_QObject_removeEventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_removeEventFilter)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QObject_sender, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_sender)},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QObject_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_senderSignalIndex)},
    {SIP_MLNAME_CAST(sipName_setObjectName), meth_QObject_setObjectName, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_setObjectName)},
    {SIP_MLNAME_CAST(sipName_setParent), meth_QObject_setParent, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_setParent)},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_QObject_setProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_setProperty)},
    {SIP_MLNAME_CAST(sipName_signalsBlocked), meth_QObject_signalsBlocked, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_signalsBlocked)},
    {SIP_MLNAME_CAST(sipName_startTimer), (PyCFunction)meth_QObject_startTimer, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_startTimer)},
    {SIP_MLNAME_CAST(sipName_thread), meth_QObject_thread, METH_VARARGS, SIP_MLDOC_CAST(doc_QObject_thread)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QObject_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_timerEvent)},
    {SIP_MLNAME_CAST(sipName_tr), (PyCFunction)meth_QObject_tr, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QObject_tr)}
};


extern "C" {static PyObject *varget_QObject_staticMetaObject(void *, PyObject *, PyObject *);}
static PyObject *varget_QObject_staticMetaObject(void *, PyObject *, PyObject *sipPyType)
{
    PyObject *sipPy;

#line 415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qobject.sip"
        sipPy = qpycore_qobject_staticmetaobject(sipPyType);
#line 188968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

    return sipPy;
}

sipVariableDef variables_QObject[] = {
    {ClassVariable, sipName_staticMetaObject, (PyMethodDef *)varget_QObject_staticMetaObject, NULL, NULL, NULL},
};

PyDoc_STRVAR(doc_QObject, "\1QObject(parent: QObject = None)");


extern "C" {static int emit_QObject_destroyed(void *, PyObject *);}

static int emit_QObject_destroyed(void *sipCppV, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    QObject *sipCpp = reinterpret_cast<QObject *>(sipCppV);

    {
         ::QObject* a0 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|J8", sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->destroyed(a0);
            Py_END_ALLOW_THREADS


            return 0;
        }
    }

    sipNoMethod(sipParseErr, sipName_QObject, sipName_destroyed, NULL);

    return -1;
}


/* Define this type's signals. */
static const pyqt5QtSignal signals_QObject[] = {
    {"objectNameChanged(QString)", "\1objectNameChanged(self, str)", 0, 0},
    {"destroyed(QObject*)", "\1destroyed(self, QObject = None)", 0, emit_QObject_destroyed},
    {0, 0, 0, 0}
};


static pyqt5ClassPluginDef plugin_QObject = {
    & ::QObject::staticMetaObject,
    0,
    signals_QObject,
    0
};


sipClassTypeDef sipTypeDef_QtCore_QObject = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_NONLAZY|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QObject,
        {0},
        &plugin_QObject
    },
    {
        sipNameNr_QObject,
        {0, 0, 1},
        40, methods_QObject,
        0, 0,
        1, variables_QObject,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QObject,
    -1,
    -1,
    0,
    0,
    init_type_QObject,
    traverse_QObject,
    clear_QObject,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QObject,
    0,
    0,
    0,
    release_QObject,
    0,
    0,
    0,
    0,
    0,
    final_QObject,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 189075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 189079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_MouseEventFlags___hash__(PyObject *);}
static long slot_Qt_MouseEventFlags___hash__(PyObject *sipSelf)
{
     ::Qt::MouseEventFlags *sipCpp = reinterpret_cast< ::Qt::MouseEventFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseEventFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::MouseEventFlags::Int();
#line 189097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_MouseEventFlags___bool__(PyObject *);}
static int slot_Qt_MouseEventFlags___bool__(PyObject *sipSelf)
{
     ::Qt::MouseEventFlags *sipCpp = reinterpret_cast< ::Qt::MouseEventFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseEventFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseEventFlags::Int() != 0);
#line 189122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_MouseEventFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::MouseEventFlags *sipCpp = reinterpret_cast< ::Qt::MouseEventFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseEventFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::MouseEventFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MouseEventFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseEventFlags::Int() != a0->operator Qt::MouseEventFlags::Int());
#line 189152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::MouseEventFlags *>(a0),sipType_Qt_MouseEventFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_MouseEventFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_MouseEventFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::MouseEventFlags *sipCpp = reinterpret_cast< ::Qt::MouseEventFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseEventFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::MouseEventFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MouseEventFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseEventFlags::Int() == a0->operator Qt::MouseEventFlags::Int());
#line 189188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::MouseEventFlags *>(a0),sipType_Qt_MouseEventFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_MouseEventFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_MouseEventFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_MouseEventFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::MouseEventFlags *sipCpp = reinterpret_cast< ::Qt::MouseEventFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseEventFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::MouseEventFlags(*sipCpp ^ a0);
#line 189227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_MouseEventFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MouseEventFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MouseEventFlags, &a0, &a0State, &a1))
        {
             ::Qt::MouseEventFlags*sipRes;

            sipRes = new  ::Qt::MouseEventFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_MouseEventFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseEventFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_MouseEventFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_MouseEventFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::MouseEventFlags *sipCpp = reinterpret_cast< ::Qt::MouseEventFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseEventFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::MouseEventFlags(*sipCpp | a0);
#line 189299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_MouseEventFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MouseEventFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MouseEventFlags, &a0, &a0State, &a1))
        {
             ::Qt::MouseEventFlags*sipRes;

            sipRes = new  ::Qt::MouseEventFlags((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_MouseEventFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseEventFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_MouseEventFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_MouseEventFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::MouseEventFlags *sipCpp = reinterpret_cast< ::Qt::MouseEventFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseEventFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::MouseEventFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_MouseEventFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MouseEventFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MouseEventFlags, &a0, &a0State, &a1))
        {
             ::Qt::MouseEventFlags*sipRes;

            sipRes = new  ::Qt::MouseEventFlags((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_MouseEventFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseEventFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_MouseEventFlags___invert__(PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___invert__(PyObject *sipSelf)
{
     ::Qt::MouseEventFlags *sipCpp = reinterpret_cast< ::Qt::MouseEventFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseEventFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::MouseEventFlags*sipRes;

            sipRes = new  ::Qt::MouseEventFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseEventFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_MouseEventFlags___int__(PyObject *);}
static PyObject *slot_Qt_MouseEventFlags___int__(PyObject *sipSelf)
{
     ::Qt::MouseEventFlags *sipCpp = reinterpret_cast< ::Qt::MouseEventFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseEventFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_MouseEventFlags(void *, int);}
static void release_Qt_MouseEventFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::MouseEventFlags *>(sipCppV);
}


extern "C" {static void assign_Qt_MouseEventFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_MouseEventFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::MouseEventFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::MouseEventFlags *>(sipSrc);
}


extern "C" {static void *array_Qt_MouseEventFlags(SIP_SSIZE_T);}
static void *array_Qt_MouseEventFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::MouseEventFlags[sipNrElem];
}


extern "C" {static void *copy_Qt_MouseEventFlags(const void *, SIP_SSIZE_T);}
static void *copy_Qt_MouseEventFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::MouseEventFlags(reinterpret_cast<const  ::Qt::MouseEventFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_MouseEventFlags(sipSimpleWrapper *);}
static void dealloc_Qt_MouseEventFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_MouseEventFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_MouseEventFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_MouseEventFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::MouseEventFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::MouseEventFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::MouseEventFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::MouseEventFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_MouseEventFlags, &a0, &a0State))
        {
            sipCpp = new  ::Qt::MouseEventFlags(*a0);
            sipReleaseType(const_cast< ::Qt::MouseEventFlags *>(a0),sipType_Qt_MouseEventFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_MouseEventFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_MouseEventFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::MouseEventFlags **sipCppPtr = reinterpret_cast< ::Qt::MouseEventFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::MouseEventFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_MouseEventFlag)) ||
            sipCanConvertToType(sipPy, sipType_Qt_MouseEventFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_MouseEventFlag)))
{
    *sipCppPtr = new Qt::MouseEventFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::MouseEventFlags *>(sipConvertToType(sipPy, sipType_Qt_MouseEventFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 189567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_MouseEventFlags[] = {
    {(void *)slot_Qt_MouseEventFlags___hash__, hash_slot},
    {(void *)slot_Qt_MouseEventFlags___bool__, bool_slot},
    {(void *)slot_Qt_MouseEventFlags___ne__, ne_slot},
    {(void *)slot_Qt_MouseEventFlags___eq__, eq_slot},
    {(void *)slot_Qt_MouseEventFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_MouseEventFlags___xor__, xor_slot},
    {(void *)slot_Qt_MouseEventFlags___ior__, ior_slot},
    {(void *)slot_Qt_MouseEventFlags___or__, or_slot},
    {(void *)slot_Qt_MouseEventFlags___iand__, iand_slot},
    {(void *)slot_Qt_MouseEventFlags___and__, and_slot},
    {(void *)slot_Qt_MouseEventFlags___invert__, invert_slot},
    {(void *)slot_Qt_MouseEventFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_MouseEventFlags, "\1Qt.MouseEventFlags()\n"
    "Qt.MouseEventFlags(Union[Qt.MouseEventFlags, Qt.MouseEventFlag])\n"
    "Qt.MouseEventFlags(Qt.MouseEventFlags)");


static pyqt5ClassPluginDef plugin_Qt_MouseEventFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_MouseEventFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__MouseEventFlags,
        {0},
        &plugin_Qt_MouseEventFlags
    },
    {
        sipNameNr_MouseEventFlags,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_MouseEventFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_MouseEventFlags,
    init_type_Qt_MouseEventFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_MouseEventFlags,
    assign_Qt_MouseEventFlags,
    array_Qt_MouseEventFlags,
    copy_Qt_MouseEventFlags,
    release_Qt_MouseEventFlags,
    0,
    convertTo_Qt_MouseEventFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 189653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 189657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_Edges___hash__(PyObject *);}
static long slot_Qt_Edges___hash__(PyObject *sipSelf)
{
     ::Qt::Edges *sipCpp = reinterpret_cast< ::Qt::Edges *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Edges));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::Edges::Int();
#line 189675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_Edges___bool__(PyObject *);}
static int slot_Qt_Edges___bool__(PyObject *sipSelf)
{
     ::Qt::Edges *sipCpp = reinterpret_cast< ::Qt::Edges *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Edges));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Edges::Int() != 0);
#line 189700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_Edges___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Edges___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::Edges *sipCpp = reinterpret_cast< ::Qt::Edges *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Edges));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::Edges* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Edges, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Edges::Int() != a0->operator Qt::Edges::Int());
#line 189730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::Edges *>(a0),sipType_Qt_Edges,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_Edges, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_Edges___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Edges___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::Edges *sipCpp = reinterpret_cast< ::Qt::Edges *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Edges));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::Edges* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Edges, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Edges::Int() == a0->operator Qt::Edges::Int());
#line 189766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::Edges *>(a0),sipType_Qt_Edges,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_Edges, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_Edges___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Edges___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_Edges)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::Edges *sipCpp = reinterpret_cast< ::Qt::Edges *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Edges));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::Edges(*sipCpp ^ a0);
#line 189805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_Edges___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Edges___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Edges* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Edges, &a0, &a0State, &a1))
        {
             ::Qt::Edges*sipRes;

            sipRes = new  ::Qt::Edges((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_Edges,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Edges,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_Edges___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Edges___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_Edges)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::Edges *sipCpp = reinterpret_cast< ::Qt::Edges *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Edges));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::Edges(*sipCpp | a0);
#line 189877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_Edges___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Edges___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Edges* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Edges, &a0, &a0State, &a1))
        {
             ::Qt::Edges*sipRes;

            sipRes = new  ::Qt::Edges((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_Edges,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Edges,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_Edges___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Edges___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_Edges)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::Edges *sipCpp = reinterpret_cast< ::Qt::Edges *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Edges));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::Edges::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_Edges___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Edges___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Edges* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Edges, &a0, &a0State, &a1))
        {
             ::Qt::Edges*sipRes;

            sipRes = new  ::Qt::Edges((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_Edges,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Edges,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_Edges___invert__(PyObject *);}
static PyObject *slot_Qt_Edges___invert__(PyObject *sipSelf)
{
     ::Qt::Edges *sipCpp = reinterpret_cast< ::Qt::Edges *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Edges));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::Edges*sipRes;

            sipRes = new  ::Qt::Edges(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_Edges,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_Edges___int__(PyObject *);}
static PyObject *slot_Qt_Edges___int__(PyObject *sipSelf)
{
     ::Qt::Edges *sipCpp = reinterpret_cast< ::Qt::Edges *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Edges));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_Edges(void *, int);}
static void release_Qt_Edges(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::Edges *>(sipCppV);
}


extern "C" {static void assign_Qt_Edges(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_Edges(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::Edges *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::Edges *>(sipSrc);
}


extern "C" {static void *array_Qt_Edges(SIP_SSIZE_T);}
static void *array_Qt_Edges(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::Edges[sipNrElem];
}


extern "C" {static void *copy_Qt_Edges(const void *, SIP_SSIZE_T);}
static void *copy_Qt_Edges(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::Edges(reinterpret_cast<const  ::Qt::Edges *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_Edges(sipSimpleWrapper *);}
static void dealloc_Qt_Edges(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_Edges(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_Edges(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_Edges(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::Edges *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::Edges();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::Edges(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::Edges* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_Edges, &a0, &a0State))
        {
            sipCpp = new  ::Qt::Edges(*a0);
            sipReleaseType(const_cast< ::Qt::Edges *>(a0),sipType_Qt_Edges,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_Edges(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_Edges(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::Edges **sipCppPtr = reinterpret_cast< ::Qt::Edges **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::Edges is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_Edge)) ||
            sipCanConvertToType(sipPy, sipType_Qt_Edges, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_Edge)))
{
    *sipCppPtr = new Qt::Edges(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::Edges *>(sipConvertToType(sipPy, sipType_Qt_Edges, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 190145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_Edges[] = {
    {(void *)slot_Qt_Edges___hash__, hash_slot},
    {(void *)slot_Qt_Edges___bool__, bool_slot},
    {(void *)slot_Qt_Edges___ne__, ne_slot},
    {(void *)slot_Qt_Edges___eq__, eq_slot},
    {(void *)slot_Qt_Edges___ixor__, ixor_slot},
    {(void *)slot_Qt_Edges___xor__, xor_slot},
    {(void *)slot_Qt_Edges___ior__, ior_slot},
    {(void *)slot_Qt_Edges___or__, or_slot},
    {(void *)slot_Qt_Edges___iand__, iand_slot},
    {(void *)slot_Qt_Edges___and__, and_slot},
    {(void *)slot_Qt_Edges___invert__, invert_slot},
    {(void *)slot_Qt_Edges___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_Edges, "\1Qt.Edges()\n"
    "Qt.Edges(Union[Qt.Edges, Qt.Edge])\n"
    "Qt.Edges(Qt.Edges)");


static pyqt5ClassPluginDef plugin_Qt_Edges = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_Edges = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__Edges,
        {0},
        &plugin_Qt_Edges
    },
    {
        sipNameNr_Edges,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_Edges,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_Edges,
    init_type_Qt_Edges,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_Edges,
    assign_Qt_Edges,
    array_Qt_Edges,
    copy_Qt_Edges,
    release_Qt_Edges,
    0,
    convertTo_Qt_Edges,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_ApplicationStates___hash__(PyObject *);}
static long slot_Qt_ApplicationStates___hash__(PyObject *sipSelf)
{
     ::Qt::ApplicationStates *sipCpp = reinterpret_cast< ::Qt::ApplicationStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ApplicationStates));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::ApplicationStates::Int();
#line 190253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_ApplicationStates___bool__(PyObject *);}
static int slot_Qt_ApplicationStates___bool__(PyObject *sipSelf)
{
     ::Qt::ApplicationStates *sipCpp = reinterpret_cast< ::Qt::ApplicationStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ApplicationStates));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ApplicationStates::Int() != 0);
#line 190278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_ApplicationStates___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ApplicationStates___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::ApplicationStates *sipCpp = reinterpret_cast< ::Qt::ApplicationStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ApplicationStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::ApplicationStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ApplicationStates, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ApplicationStates::Int() != a0->operator Qt::ApplicationStates::Int());
#line 190308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::ApplicationStates *>(a0),sipType_Qt_ApplicationStates,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_ApplicationStates, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_ApplicationStates___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ApplicationStates___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::ApplicationStates *sipCpp = reinterpret_cast< ::Qt::ApplicationStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ApplicationStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::ApplicationStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ApplicationStates, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ApplicationStates::Int() == a0->operator Qt::ApplicationStates::Int());
#line 190344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::ApplicationStates *>(a0),sipType_Qt_ApplicationStates,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_ApplicationStates, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_ApplicationStates___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ApplicationStates___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ApplicationStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ApplicationStates *sipCpp = reinterpret_cast< ::Qt::ApplicationStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ApplicationStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::ApplicationStates(*sipCpp ^ a0);
#line 190383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ApplicationStates___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ApplicationStates___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ApplicationStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ApplicationStates, &a0, &a0State, &a1))
        {
             ::Qt::ApplicationStates*sipRes;

            sipRes = new  ::Qt::ApplicationStates((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_ApplicationStates,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ApplicationStates,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ApplicationStates___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ApplicationStates___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ApplicationStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ApplicationStates *sipCpp = reinterpret_cast< ::Qt::ApplicationStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ApplicationStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::ApplicationStates(*sipCpp | a0);
#line 190455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ApplicationStates___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ApplicationStates___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ApplicationStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ApplicationStates, &a0, &a0State, &a1))
        {
             ::Qt::ApplicationStates*sipRes;

            sipRes = new  ::Qt::ApplicationStates((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_ApplicationStates,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ApplicationStates,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ApplicationStates___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ApplicationStates___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ApplicationStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ApplicationStates *sipCpp = reinterpret_cast< ::Qt::ApplicationStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ApplicationStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::ApplicationStates::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ApplicationStates___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ApplicationStates___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ApplicationStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ApplicationStates, &a0, &a0State, &a1))
        {
             ::Qt::ApplicationStates*sipRes;

            sipRes = new  ::Qt::ApplicationStates((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_ApplicationStates,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ApplicationStates,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ApplicationStates___invert__(PyObject *);}
static PyObject *slot_Qt_ApplicationStates___invert__(PyObject *sipSelf)
{
     ::Qt::ApplicationStates *sipCpp = reinterpret_cast< ::Qt::ApplicationStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ApplicationStates));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::ApplicationStates*sipRes;

            sipRes = new  ::Qt::ApplicationStates(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_ApplicationStates,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_ApplicationStates___int__(PyObject *);}
static PyObject *slot_Qt_ApplicationStates___int__(PyObject *sipSelf)
{
     ::Qt::ApplicationStates *sipCpp = reinterpret_cast< ::Qt::ApplicationStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ApplicationStates));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_ApplicationStates(void *, int);}
static void release_Qt_ApplicationStates(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::ApplicationStates *>(sipCppV);
}


extern "C" {static void assign_Qt_ApplicationStates(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_ApplicationStates(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::ApplicationStates *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::ApplicationStates *>(sipSrc);
}


extern "C" {static void *array_Qt_ApplicationStates(SIP_SSIZE_T);}
static void *array_Qt_ApplicationStates(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::ApplicationStates[sipNrElem];
}


extern "C" {static void *copy_Qt_ApplicationStates(const void *, SIP_SSIZE_T);}
static void *copy_Qt_ApplicationStates(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::ApplicationStates(reinterpret_cast<const  ::Qt::ApplicationStates *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_ApplicationStates(sipSimpleWrapper *);}
static void dealloc_Qt_ApplicationStates(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_ApplicationStates(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_ApplicationStates(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_ApplicationStates(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::ApplicationStates *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::ApplicationStates();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::ApplicationStates(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::ApplicationStates* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_ApplicationStates, &a0, &a0State))
        {
            sipCpp = new  ::Qt::ApplicationStates(*a0);
            sipReleaseType(const_cast< ::Qt::ApplicationStates *>(a0),sipType_Qt_ApplicationStates,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_ApplicationStates(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_ApplicationStates(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::ApplicationStates **sipCppPtr = reinterpret_cast< ::Qt::ApplicationStates **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::ApplicationStates is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_ApplicationState)) ||
            sipCanConvertToType(sipPy, sipType_Qt_ApplicationStates, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_ApplicationState)))
{
    *sipCppPtr = new Qt::ApplicationStates(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::ApplicationStates *>(sipConvertToType(sipPy, sipType_Qt_ApplicationStates, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 190723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_ApplicationStates[] = {
    {(void *)slot_Qt_ApplicationStates___hash__, hash_slot},
    {(void *)slot_Qt_ApplicationStates___bool__, bool_slot},
    {(void *)slot_Qt_ApplicationStates___ne__, ne_slot},
    {(void *)slot_Qt_ApplicationStates___eq__, eq_slot},
    {(void *)slot_Qt_ApplicationStates___ixor__, ixor_slot},
    {(void *)slot_Qt_ApplicationStates___xor__, xor_slot},
    {(void *)slot_Qt_ApplicationStates___ior__, ior_slot},
    {(void *)slot_Qt_ApplicationStates___or__, or_slot},
    {(void *)slot_Qt_ApplicationStates___iand__, iand_slot},
    {(void *)slot_Qt_ApplicationStates___and__, and_slot},
    {(void *)slot_Qt_ApplicationStates___invert__, invert_slot},
    {(void *)slot_Qt_ApplicationStates___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_ApplicationStates, "\1Qt.ApplicationStates()\n"
    "Qt.ApplicationStates(Union[Qt.ApplicationStates, Qt.ApplicationState])\n"
    "Qt.ApplicationStates(Qt.ApplicationStates)");


static pyqt5ClassPluginDef plugin_Qt_ApplicationStates = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_ApplicationStates = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__ApplicationStates,
        {0},
        &plugin_Qt_ApplicationStates
    },
    {
        sipNameNr_ApplicationStates,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ApplicationStates,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_ApplicationStates,
    init_type_Qt_ApplicationStates,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_ApplicationStates,
    assign_Qt_ApplicationStates,
    array_Qt_ApplicationStates,
    copy_Qt_ApplicationStates,
    release_Qt_ApplicationStates,
    0,
    convertTo_Qt_ApplicationStates,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_FindChildOptions___hash__(PyObject *);}
static long slot_Qt_FindChildOptions___hash__(PyObject *sipSelf)
{
     ::Qt::FindChildOptions *sipCpp = reinterpret_cast< ::Qt::FindChildOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_FindChildOptions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::FindChildOptions::Int();
#line 190831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_FindChildOptions___bool__(PyObject *);}
static int slot_Qt_FindChildOptions___bool__(PyObject *sipSelf)
{
     ::Qt::FindChildOptions *sipCpp = reinterpret_cast< ::Qt::FindChildOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_FindChildOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::FindChildOptions::Int() != 0);
#line 190856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_FindChildOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_FindChildOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::FindChildOptions *sipCpp = reinterpret_cast< ::Qt::FindChildOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_FindChildOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::FindChildOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_FindChildOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::FindChildOptions::Int() != a0->operator Qt::FindChildOptions::Int());
#line 190886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::FindChildOptions *>(a0),sipType_Qt_FindChildOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_FindChildOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_FindChildOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_FindChildOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::FindChildOptions *sipCpp = reinterpret_cast< ::Qt::FindChildOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_FindChildOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::FindChildOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_FindChildOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::FindChildOptions::Int() == a0->operator Qt::FindChildOptions::Int());
#line 190922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::FindChildOptions *>(a0),sipType_Qt_FindChildOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_FindChildOptions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_FindChildOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_FindChildOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_FindChildOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::FindChildOptions *sipCpp = reinterpret_cast< ::Qt::FindChildOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_FindChildOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::FindChildOptions(*sipCpp ^ a0);
#line 190961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_FindChildOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_FindChildOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::FindChildOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_FindChildOptions, &a0, &a0State, &a1))
        {
             ::Qt::FindChildOptions*sipRes;

            sipRes = new  ::Qt::FindChildOptions((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_FindChildOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_FindChildOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_FindChildOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_FindChildOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_FindChildOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::FindChildOptions *sipCpp = reinterpret_cast< ::Qt::FindChildOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_FindChildOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::FindChildOptions(*sipCpp | a0);
#line 191033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_FindChildOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_FindChildOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::FindChildOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_FindChildOptions, &a0, &a0State, &a1))
        {
             ::Qt::FindChildOptions*sipRes;

            sipRes = new  ::Qt::FindChildOptions((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_FindChildOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_FindChildOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_FindChildOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_FindChildOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_FindChildOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::FindChildOptions *sipCpp = reinterpret_cast< ::Qt::FindChildOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_FindChildOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::FindChildOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_FindChildOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_FindChildOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::FindChildOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_FindChildOptions, &a0, &a0State, &a1))
        {
             ::Qt::FindChildOptions*sipRes;

            sipRes = new  ::Qt::FindChildOptions((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_FindChildOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_FindChildOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_FindChildOptions___invert__(PyObject *);}
static PyObject *slot_Qt_FindChildOptions___invert__(PyObject *sipSelf)
{
     ::Qt::FindChildOptions *sipCpp = reinterpret_cast< ::Qt::FindChildOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_FindChildOptions));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::FindChildOptions*sipRes;

            sipRes = new  ::Qt::FindChildOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_FindChildOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_FindChildOptions___int__(PyObject *);}
static PyObject *slot_Qt_FindChildOptions___int__(PyObject *sipSelf)
{
     ::Qt::FindChildOptions *sipCpp = reinterpret_cast< ::Qt::FindChildOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_FindChildOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_FindChildOptions(void *, int);}
static void release_Qt_FindChildOptions(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::FindChildOptions *>(sipCppV);
}


extern "C" {static void assign_Qt_FindChildOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_FindChildOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::FindChildOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::FindChildOptions *>(sipSrc);
}


extern "C" {static void *array_Qt_FindChildOptions(SIP_SSIZE_T);}
static void *array_Qt_FindChildOptions(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::FindChildOptions[sipNrElem];
}


extern "C" {static void *copy_Qt_FindChildOptions(const void *, SIP_SSIZE_T);}
static void *copy_Qt_FindChildOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::FindChildOptions(reinterpret_cast<const  ::Qt::FindChildOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_FindChildOptions(sipSimpleWrapper *);}
static void dealloc_Qt_FindChildOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_FindChildOptions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_FindChildOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_FindChildOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::FindChildOptions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::FindChildOptions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::FindChildOptions(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::FindChildOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_FindChildOptions, &a0, &a0State))
        {
            sipCpp = new  ::Qt::FindChildOptions(*a0);
            sipReleaseType(const_cast< ::Qt::FindChildOptions *>(a0),sipType_Qt_FindChildOptions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_FindChildOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_FindChildOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::FindChildOptions **sipCppPtr = reinterpret_cast< ::Qt::FindChildOptions **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::FindChildOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_FindChildOption)) ||
            sipCanConvertToType(sipPy, sipType_Qt_FindChildOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_FindChildOption)))
{
    *sipCppPtr = new Qt::FindChildOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::FindChildOptions *>(sipConvertToType(sipPy, sipType_Qt_FindChildOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 191301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_FindChildOptions[] = {
    {(void *)slot_Qt_FindChildOptions___hash__, hash_slot},
    {(void *)slot_Qt_FindChildOptions___bool__, bool_slot},
    {(void *)slot_Qt_FindChildOptions___ne__, ne_slot},
    {(void *)slot_Qt_FindChildOptions___eq__, eq_slot},
    {(void *)slot_Qt_FindChildOptions___ixor__, ixor_slot},
    {(void *)slot_Qt_FindChildOptions___xor__, xor_slot},
    {(void *)slot_Qt_FindChildOptions___ior__, ior_slot},
    {(void *)slot_Qt_FindChildOptions___or__, or_slot},
    {(void *)slot_Qt_FindChildOptions___iand__, iand_slot},
    {(void *)slot_Qt_FindChildOptions___and__, and_slot},
    {(void *)slot_Qt_FindChildOptions___invert__, invert_slot},
    {(void *)slot_Qt_FindChildOptions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_FindChildOptions, "\1Qt.FindChildOptions()\n"
    "Qt.FindChildOptions(Union[Qt.FindChildOptions, Qt.FindChildOption])\n"
    "Qt.FindChildOptions(Qt.FindChildOptions)");


static pyqt5ClassPluginDef plugin_Qt_FindChildOptions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_FindChildOptions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__FindChildOptions,
        {0},
        &plugin_Qt_FindChildOptions
    },
    {
        sipNameNr_FindChildOptions,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_FindChildOptions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_FindChildOptions,
    init_type_Qt_FindChildOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_FindChildOptions,
    assign_Qt_FindChildOptions,
    array_Qt_FindChildOptions,
    copy_Qt_FindChildOptions,
    release_Qt_FindChildOptions,
    0,
    convertTo_Qt_FindChildOptions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 191387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 191391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_ScreenOrientations___hash__(PyObject *);}
static long slot_Qt_ScreenOrientations___hash__(PyObject *sipSelf)
{
     ::Qt::ScreenOrientations *sipCpp = reinterpret_cast< ::Qt::ScreenOrientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ScreenOrientations));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::ScreenOrientations::Int();
#line 191409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_ScreenOrientations___bool__(PyObject *);}
static int slot_Qt_ScreenOrientations___bool__(PyObject *sipSelf)
{
     ::Qt::ScreenOrientations *sipCpp = reinterpret_cast< ::Qt::ScreenOrientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ScreenOrientations));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ScreenOrientations::Int() != 0);
#line 191434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_ScreenOrientations___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::ScreenOrientations *sipCpp = reinterpret_cast< ::Qt::ScreenOrientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ScreenOrientations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::ScreenOrientations* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ScreenOrientations, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ScreenOrientations::Int() != a0->operator Qt::ScreenOrientations::Int());
#line 191464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::ScreenOrientations *>(a0),sipType_Qt_ScreenOrientations,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_ScreenOrientations, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_ScreenOrientations___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::ScreenOrientations *sipCpp = reinterpret_cast< ::Qt::ScreenOrientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ScreenOrientations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::ScreenOrientations* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ScreenOrientations, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ScreenOrientations::Int() == a0->operator Qt::ScreenOrientations::Int());
#line 191500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::ScreenOrientations *>(a0),sipType_Qt_ScreenOrientations,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_ScreenOrientations, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_ScreenOrientations___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ScreenOrientations)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ScreenOrientations *sipCpp = reinterpret_cast< ::Qt::ScreenOrientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ScreenOrientations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::ScreenOrientations(*sipCpp ^ a0);
#line 191539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ScreenOrientations___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ScreenOrientations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ScreenOrientations, &a0, &a0State, &a1))
        {
             ::Qt::ScreenOrientations*sipRes;

            sipRes = new  ::Qt::ScreenOrientations((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_ScreenOrientations,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ScreenOrientations,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ScreenOrientations___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ScreenOrientations)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ScreenOrientations *sipCpp = reinterpret_cast< ::Qt::ScreenOrientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ScreenOrientations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::ScreenOrientations(*sipCpp | a0);
#line 191611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ScreenOrientations___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ScreenOrientations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ScreenOrientations, &a0, &a0State, &a1))
        {
             ::Qt::ScreenOrientations*sipRes;

            sipRes = new  ::Qt::ScreenOrientations((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_ScreenOrientations,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ScreenOrientations,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ScreenOrientations___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ScreenOrientations)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ScreenOrientations *sipCpp = reinterpret_cast< ::Qt::ScreenOrientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ScreenOrientations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::ScreenOrientations::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ScreenOrientations___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ScreenOrientations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ScreenOrientations, &a0, &a0State, &a1))
        {
             ::Qt::ScreenOrientations*sipRes;

            sipRes = new  ::Qt::ScreenOrientations((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_ScreenOrientations,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ScreenOrientations,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ScreenOrientations___invert__(PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___invert__(PyObject *sipSelf)
{
     ::Qt::ScreenOrientations *sipCpp = reinterpret_cast< ::Qt::ScreenOrientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ScreenOrientations));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::ScreenOrientations*sipRes;

            sipRes = new  ::Qt::ScreenOrientations(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_ScreenOrientations,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_ScreenOrientations___int__(PyObject *);}
static PyObject *slot_Qt_ScreenOrientations___int__(PyObject *sipSelf)
{
     ::Qt::ScreenOrientations *sipCpp = reinterpret_cast< ::Qt::ScreenOrientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ScreenOrientations));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_ScreenOrientations(void *, int);}
static void release_Qt_ScreenOrientations(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::ScreenOrientations *>(sipCppV);
}


extern "C" {static void assign_Qt_ScreenOrientations(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_ScreenOrientations(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::ScreenOrientations *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::ScreenOrientations *>(sipSrc);
}


extern "C" {static void *array_Qt_ScreenOrientations(SIP_SSIZE_T);}
static void *array_Qt_ScreenOrientations(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::ScreenOrientations[sipNrElem];
}


extern "C" {static void *copy_Qt_ScreenOrientations(const void *, SIP_SSIZE_T);}
static void *copy_Qt_ScreenOrientations(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::ScreenOrientations(reinterpret_cast<const  ::Qt::ScreenOrientations *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_ScreenOrientations(sipSimpleWrapper *);}
static void dealloc_Qt_ScreenOrientations(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_ScreenOrientations(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_ScreenOrientations(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_ScreenOrientations(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::ScreenOrientations *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::ScreenOrientations();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::ScreenOrientations(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::ScreenOrientations* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_ScreenOrientations, &a0, &a0State))
        {
            sipCpp = new  ::Qt::ScreenOrientations(*a0);
            sipReleaseType(const_cast< ::Qt::ScreenOrientations *>(a0),sipType_Qt_ScreenOrientations,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_ScreenOrientations(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_ScreenOrientations(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::ScreenOrientations **sipCppPtr = reinterpret_cast< ::Qt::ScreenOrientations **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::ScreenOrientations is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_ScreenOrientation)) ||
            sipCanConvertToType(sipPy, sipType_Qt_ScreenOrientations, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_ScreenOrientation)))
{
    *sipCppPtr = new Qt::ScreenOrientations(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::ScreenOrientations *>(sipConvertToType(sipPy, sipType_Qt_ScreenOrientations, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 191879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_ScreenOrientations[] = {
    {(void *)slot_Qt_ScreenOrientations___hash__, hash_slot},
    {(void *)slot_Qt_ScreenOrientations___bool__, bool_slot},
    {(void *)slot_Qt_ScreenOrientations___ne__, ne_slot},
    {(void *)slot_Qt_ScreenOrientations___eq__, eq_slot},
    {(void *)slot_Qt_ScreenOrientations___ixor__, ixor_slot},
    {(void *)slot_Qt_ScreenOrientations___xor__, xor_slot},
    {(void *)slot_Qt_ScreenOrientations___ior__, ior_slot},
    {(void *)slot_Qt_ScreenOrientations___or__, or_slot},
    {(void *)slot_Qt_ScreenOrientations___iand__, iand_slot},
    {(void *)slot_Qt_ScreenOrientations___and__, and_slot},
    {(void *)slot_Qt_ScreenOrientations___invert__, invert_slot},
    {(void *)slot_Qt_ScreenOrientations___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_ScreenOrientations, "\1Qt.ScreenOrientations()\n"
    "Qt.ScreenOrientations(Union[Qt.ScreenOrientations, Qt.ScreenOrientation])\n"
    "Qt.ScreenOrientations(Qt.ScreenOrientations)");


static pyqt5ClassPluginDef plugin_Qt_ScreenOrientations = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_ScreenOrientations = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__ScreenOrientations,
        {0},
        &plugin_Qt_ScreenOrientations
    },
    {
        sipNameNr_ScreenOrientations,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ScreenOrientations,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_ScreenOrientations,
    init_type_Qt_ScreenOrientations,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_ScreenOrientations,
    assign_Qt_ScreenOrientations,
    array_Qt_ScreenOrientations,
    copy_Qt_ScreenOrientations,
    release_Qt_ScreenOrientations,
    0,
    convertTo_Qt_ScreenOrientations,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 191965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 191969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_GestureFlags___hash__(PyObject *);}
static long slot_Qt_GestureFlags___hash__(PyObject *sipSelf)
{
     ::Qt::GestureFlags *sipCpp = reinterpret_cast< ::Qt::GestureFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_GestureFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::GestureFlags::Int();
#line 191987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_GestureFlags___bool__(PyObject *);}
static int slot_Qt_GestureFlags___bool__(PyObject *sipSelf)
{
     ::Qt::GestureFlags *sipCpp = reinterpret_cast< ::Qt::GestureFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_GestureFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::GestureFlags::Int() != 0);
#line 192012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_GestureFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_GestureFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::GestureFlags *sipCpp = reinterpret_cast< ::Qt::GestureFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_GestureFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::GestureFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_GestureFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::GestureFlags::Int() != a0->operator Qt::GestureFlags::Int());
#line 192042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::GestureFlags *>(a0),sipType_Qt_GestureFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_GestureFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_GestureFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_GestureFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::GestureFlags *sipCpp = reinterpret_cast< ::Qt::GestureFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_GestureFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::GestureFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_GestureFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::GestureFlags::Int() == a0->operator Qt::GestureFlags::Int());
#line 192078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::GestureFlags *>(a0),sipType_Qt_GestureFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_GestureFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_GestureFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_GestureFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_GestureFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::GestureFlags *sipCpp = reinterpret_cast< ::Qt::GestureFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_GestureFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::GestureFlags(*sipCpp ^ a0);
#line 192117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_GestureFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_GestureFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::GestureFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_GestureFlags, &a0, &a0State, &a1))
        {
             ::Qt::GestureFlags*sipRes;

            sipRes = new  ::Qt::GestureFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_GestureFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_GestureFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_GestureFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_GestureFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_GestureFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::GestureFlags *sipCpp = reinterpret_cast< ::Qt::GestureFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_GestureFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::GestureFlags(*sipCpp | a0);
#line 192189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_GestureFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_GestureFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::GestureFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_GestureFlags, &a0, &a0State, &a1))
        {
             ::Qt::GestureFlags*sipRes;

            sipRes = new  ::Qt::GestureFlags((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_GestureFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_GestureFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_GestureFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_GestureFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_GestureFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::GestureFlags *sipCpp = reinterpret_cast< ::Qt::GestureFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_GestureFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::GestureFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_GestureFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_GestureFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::GestureFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_GestureFlags, &a0, &a0State, &a1))
        {
             ::Qt::GestureFlags*sipRes;

            sipRes = new  ::Qt::GestureFlags((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_GestureFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_GestureFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_GestureFlags___invert__(PyObject *);}
static PyObject *slot_Qt_GestureFlags___invert__(PyObject *sipSelf)
{
     ::Qt::GestureFlags *sipCpp = reinterpret_cast< ::Qt::GestureFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_GestureFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::GestureFlags*sipRes;

            sipRes = new  ::Qt::GestureFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_GestureFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_GestureFlags___int__(PyObject *);}
static PyObject *slot_Qt_GestureFlags___int__(PyObject *sipSelf)
{
     ::Qt::GestureFlags *sipCpp = reinterpret_cast< ::Qt::GestureFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_GestureFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_GestureFlags(void *, int);}
static void release_Qt_GestureFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::GestureFlags *>(sipCppV);
}


extern "C" {static void assign_Qt_GestureFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_GestureFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::GestureFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::GestureFlags *>(sipSrc);
}


extern "C" {static void *array_Qt_GestureFlags(SIP_SSIZE_T);}
static void *array_Qt_GestureFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::GestureFlags[sipNrElem];
}


extern "C" {static void *copy_Qt_GestureFlags(const void *, SIP_SSIZE_T);}
static void *copy_Qt_GestureFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::GestureFlags(reinterpret_cast<const  ::Qt::GestureFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_GestureFlags(sipSimpleWrapper *);}
static void dealloc_Qt_GestureFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_GestureFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_GestureFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_GestureFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::GestureFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::GestureFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::GestureFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::GestureFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_GestureFlags, &a0, &a0State))
        {
            sipCpp = new  ::Qt::GestureFlags(*a0);
            sipReleaseType(const_cast< ::Qt::GestureFlags *>(a0),sipType_Qt_GestureFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_GestureFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_GestureFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::GestureFlags **sipCppPtr = reinterpret_cast< ::Qt::GestureFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::GestureFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_GestureFlag)) ||
            sipCanConvertToType(sipPy, sipType_Qt_GestureFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_GestureFlag)))
{
    *sipCppPtr = new Qt::GestureFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::GestureFlags *>(sipConvertToType(sipPy, sipType_Qt_GestureFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 192457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_GestureFlags[] = {
    {(void *)slot_Qt_GestureFlags___hash__, hash_slot},
    {(void *)slot_Qt_GestureFlags___bool__, bool_slot},
    {(void *)slot_Qt_GestureFlags___ne__, ne_slot},
    {(void *)slot_Qt_GestureFlags___eq__, eq_slot},
    {(void *)slot_Qt_GestureFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_GestureFlags___xor__, xor_slot},
    {(void *)slot_Qt_GestureFlags___ior__, ior_slot},
    {(void *)slot_Qt_GestureFlags___or__, or_slot},
    {(void *)slot_Qt_GestureFlags___iand__, iand_slot},
    {(void *)slot_Qt_GestureFlags___and__, and_slot},
    {(void *)slot_Qt_GestureFlags___invert__, invert_slot},
    {(void *)slot_Qt_GestureFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_GestureFlags, "\1Qt.GestureFlags()\n"
    "Qt.GestureFlags(Union[Qt.GestureFlags, Qt.GestureFlag])\n"
    "Qt.GestureFlags(Qt.GestureFlags)");


static pyqt5ClassPluginDef plugin_Qt_GestureFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_GestureFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__GestureFlags,
        {0},
        &plugin_Qt_GestureFlags
    },
    {
        sipNameNr_GestureFlags,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_GestureFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_GestureFlags,
    init_type_Qt_GestureFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_GestureFlags,
    assign_Qt_GestureFlags,
    array_Qt_GestureFlags,
    copy_Qt_GestureFlags,
    release_Qt_GestureFlags,
    0,
    convertTo_Qt_GestureFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 192547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_TouchPointStates___hash__(PyObject *);}
static long slot_Qt_TouchPointStates___hash__(PyObject *sipSelf)
{
     ::Qt::TouchPointStates *sipCpp = reinterpret_cast< ::Qt::TouchPointStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TouchPointStates));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::TouchPointStates::Int();
#line 192565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_TouchPointStates___bool__(PyObject *);}
static int slot_Qt_TouchPointStates___bool__(PyObject *sipSelf)
{
     ::Qt::TouchPointStates *sipCpp = reinterpret_cast< ::Qt::TouchPointStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TouchPointStates));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TouchPointStates::Int() != 0);
#line 192590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_TouchPointStates___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TouchPointStates___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::TouchPointStates *sipCpp = reinterpret_cast< ::Qt::TouchPointStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TouchPointStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::TouchPointStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_TouchPointStates, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TouchPointStates::Int() != a0->operator Qt::TouchPointStates::Int());
#line 192620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::TouchPointStates *>(a0),sipType_Qt_TouchPointStates,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_TouchPointStates, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_TouchPointStates___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TouchPointStates___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::TouchPointStates *sipCpp = reinterpret_cast< ::Qt::TouchPointStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TouchPointStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::TouchPointStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_TouchPointStates, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TouchPointStates::Int() == a0->operator Qt::TouchPointStates::Int());
#line 192656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::TouchPointStates *>(a0),sipType_Qt_TouchPointStates,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_TouchPointStates, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_TouchPointStates___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TouchPointStates___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_TouchPointStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::TouchPointStates *sipCpp = reinterpret_cast< ::Qt::TouchPointStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TouchPointStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::TouchPointStates(*sipCpp ^ a0);
#line 192695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_TouchPointStates___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TouchPointStates___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TouchPointStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_TouchPointStates, &a0, &a0State, &a1))
        {
             ::Qt::TouchPointStates*sipRes;

            sipRes = new  ::Qt::TouchPointStates((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_TouchPointStates,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_TouchPointStates,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_TouchPointStates___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TouchPointStates___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_TouchPointStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::TouchPointStates *sipCpp = reinterpret_cast< ::Qt::TouchPointStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TouchPointStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::TouchPointStates(*sipCpp | a0);
#line 192767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_TouchPointStates___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TouchPointStates___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TouchPointStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_TouchPointStates, &a0, &a0State, &a1))
        {
             ::Qt::TouchPointStates*sipRes;

            sipRes = new  ::Qt::TouchPointStates((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_TouchPointStates,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_TouchPointStates,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_TouchPointStates___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TouchPointStates___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_TouchPointStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::TouchPointStates *sipCpp = reinterpret_cast< ::Qt::TouchPointStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TouchPointStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::TouchPointStates::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_TouchPointStates___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TouchPointStates___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TouchPointStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_TouchPointStates, &a0, &a0State, &a1))
        {
             ::Qt::TouchPointStates*sipRes;

            sipRes = new  ::Qt::TouchPointStates((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_TouchPointStates,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_TouchPointStates,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_TouchPointStates___invert__(PyObject *);}
static PyObject *slot_Qt_TouchPointStates___invert__(PyObject *sipSelf)
{
     ::Qt::TouchPointStates *sipCpp = reinterpret_cast< ::Qt::TouchPointStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TouchPointStates));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::TouchPointStates*sipRes;

            sipRes = new  ::Qt::TouchPointStates(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_TouchPointStates,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_TouchPointStates___int__(PyObject *);}
static PyObject *slot_Qt_TouchPointStates___int__(PyObject *sipSelf)
{
     ::Qt::TouchPointStates *sipCpp = reinterpret_cast< ::Qt::TouchPointStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TouchPointStates));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_TouchPointStates(void *, int);}
static void release_Qt_TouchPointStates(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::TouchPointStates *>(sipCppV);
}


extern "C" {static void assign_Qt_TouchPointStates(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_TouchPointStates(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::TouchPointStates *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::TouchPointStates *>(sipSrc);
}


extern "C" {static void *array_Qt_TouchPointStates(SIP_SSIZE_T);}
static void *array_Qt_TouchPointStates(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::TouchPointStates[sipNrElem];
}


extern "C" {static void *copy_Qt_TouchPointStates(const void *, SIP_SSIZE_T);}
static void *copy_Qt_TouchPointStates(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::TouchPointStates(reinterpret_cast<const  ::Qt::TouchPointStates *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_TouchPointStates(sipSimpleWrapper *);}
static void dealloc_Qt_TouchPointStates(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_TouchPointStates(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_TouchPointStates(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_TouchPointStates(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::TouchPointStates *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::TouchPointStates();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::TouchPointStates(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::TouchPointStates* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_TouchPointStates, &a0, &a0State))
        {
            sipCpp = new  ::Qt::TouchPointStates(*a0);
            sipReleaseType(const_cast< ::Qt::TouchPointStates *>(a0),sipType_Qt_TouchPointStates,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_TouchPointStates(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_TouchPointStates(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::TouchPointStates **sipCppPtr = reinterpret_cast< ::Qt::TouchPointStates **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::TouchPointStates is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_TouchPointState)) ||
            sipCanConvertToType(sipPy, sipType_Qt_TouchPointStates, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_TouchPointState)))
{
    *sipCppPtr = new Qt::TouchPointStates(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::TouchPointStates *>(sipConvertToType(sipPy, sipType_Qt_TouchPointStates, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 193035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_TouchPointStates[] = {
    {(void *)slot_Qt_TouchPointStates___hash__, hash_slot},
    {(void *)slot_Qt_TouchPointStates___bool__, bool_slot},
    {(void *)slot_Qt_TouchPointStates___ne__, ne_slot},
    {(void *)slot_Qt_TouchPointStates___eq__, eq_slot},
    {(void *)slot_Qt_TouchPointStates___ixor__, ixor_slot},
    {(void *)slot_Qt_TouchPointStates___xor__, xor_slot},
    {(void *)slot_Qt_TouchPointStates___ior__, ior_slot},
    {(void *)slot_Qt_TouchPointStates___or__, or_slot},
    {(void *)slot_Qt_TouchPointStates___iand__, iand_slot},
    {(void *)slot_Qt_TouchPointStates___and__, and_slot},
    {(void *)slot_Qt_TouchPointStates___invert__, invert_slot},
    {(void *)slot_Qt_TouchPointStates___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_TouchPointStates, "\1Qt.TouchPointStates()\n"
    "Qt.TouchPointStates(Union[Qt.TouchPointStates, Qt.TouchPointState])\n"
    "Qt.TouchPointStates(Qt.TouchPointStates)");


static pyqt5ClassPluginDef plugin_Qt_TouchPointStates = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_TouchPointStates = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__TouchPointStates,
        {0},
        &plugin_Qt_TouchPointStates
    },
    {
        sipNameNr_TouchPointStates,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_TouchPointStates,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_TouchPointStates,
    init_type_Qt_TouchPointStates,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_TouchPointStates,
    assign_Qt_TouchPointStates,
    array_Qt_TouchPointStates,
    copy_Qt_TouchPointStates,
    release_Qt_TouchPointStates,
    0,
    convertTo_Qt_TouchPointStates,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 193121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 193125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_InputMethodHints___hash__(PyObject *);}
static long slot_Qt_InputMethodHints___hash__(PyObject *sipSelf)
{
     ::Qt::InputMethodHints *sipCpp = reinterpret_cast< ::Qt::InputMethodHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodHints));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::InputMethodHints::Int();
#line 193143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_InputMethodHints___bool__(PyObject *);}
static int slot_Qt_InputMethodHints___bool__(PyObject *sipSelf)
{
     ::Qt::InputMethodHints *sipCpp = reinterpret_cast< ::Qt::InputMethodHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodHints));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodHints::Int() != 0);
#line 193168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_InputMethodHints___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodHints___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::InputMethodHints *sipCpp = reinterpret_cast< ::Qt::InputMethodHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::InputMethodHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_InputMethodHints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodHints::Int() != a0->operator Qt::InputMethodHints::Int());
#line 193198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::InputMethodHints *>(a0),sipType_Qt_InputMethodHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_InputMethodHints, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_InputMethodHints___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodHints___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::InputMethodHints *sipCpp = reinterpret_cast< ::Qt::InputMethodHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::InputMethodHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_InputMethodHints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodHints::Int() == a0->operator Qt::InputMethodHints::Int());
#line 193234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::InputMethodHints *>(a0),sipType_Qt_InputMethodHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_InputMethodHints, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_InputMethodHints___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodHints___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_InputMethodHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::InputMethodHints *sipCpp = reinterpret_cast< ::Qt::InputMethodHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::InputMethodHints(*sipCpp ^ a0);
#line 193273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_InputMethodHints___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodHints___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::InputMethodHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodHints, &a0, &a0State, &a1))
        {
             ::Qt::InputMethodHints*sipRes;

            sipRes = new  ::Qt::InputMethodHints((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_InputMethodHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_InputMethodHints___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodHints___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_InputMethodHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::InputMethodHints *sipCpp = reinterpret_cast< ::Qt::InputMethodHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::InputMethodHints(*sipCpp | a0);
#line 193345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_InputMethodHints___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodHints___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::InputMethodHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodHints, &a0, &a0State, &a1))
        {
             ::Qt::InputMethodHints*sipRes;

            sipRes = new  ::Qt::InputMethodHints((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_InputMethodHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_InputMethodHints___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodHints___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_InputMethodHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::InputMethodHints *sipCpp = reinterpret_cast< ::Qt::InputMethodHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::InputMethodHints::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_InputMethodHints___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodHints___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::InputMethodHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodHints, &a0, &a0State, &a1))
        {
             ::Qt::InputMethodHints*sipRes;

            sipRes = new  ::Qt::InputMethodHints((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_InputMethodHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_InputMethodHints___invert__(PyObject *);}
static PyObject *slot_Qt_InputMethodHints___invert__(PyObject *sipSelf)
{
     ::Qt::InputMethodHints *sipCpp = reinterpret_cast< ::Qt::InputMethodHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodHints));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::InputMethodHints*sipRes;

            sipRes = new  ::Qt::InputMethodHints(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodHints,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_InputMethodHints___int__(PyObject *);}
static PyObject *slot_Qt_InputMethodHints___int__(PyObject *sipSelf)
{
     ::Qt::InputMethodHints *sipCpp = reinterpret_cast< ::Qt::InputMethodHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodHints));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_InputMethodHints(void *, int);}
static void release_Qt_InputMethodHints(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::InputMethodHints *>(sipCppV);
}


extern "C" {static void assign_Qt_InputMethodHints(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_InputMethodHints(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::InputMethodHints *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::InputMethodHints *>(sipSrc);
}


extern "C" {static void *array_Qt_InputMethodHints(SIP_SSIZE_T);}
static void *array_Qt_InputMethodHints(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::InputMethodHints[sipNrElem];
}


extern "C" {static void *copy_Qt_InputMethodHints(const void *, SIP_SSIZE_T);}
static void *copy_Qt_InputMethodHints(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::InputMethodHints(reinterpret_cast<const  ::Qt::InputMethodHints *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_InputMethodHints(sipSimpleWrapper *);}
static void dealloc_Qt_InputMethodHints(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_InputMethodHints(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_InputMethodHints(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_InputMethodHints(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::InputMethodHints *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::InputMethodHints();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::InputMethodHints(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::InputMethodHints* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_InputMethodHints, &a0, &a0State))
        {
            sipCpp = new  ::Qt::InputMethodHints(*a0);
            sipReleaseType(const_cast< ::Qt::InputMethodHints *>(a0),sipType_Qt_InputMethodHints,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_InputMethodHints(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_InputMethodHints(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::InputMethodHints **sipCppPtr = reinterpret_cast< ::Qt::InputMethodHints **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::InputMethodHints is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_InputMethodHint)) ||
            sipCanConvertToType(sipPy, sipType_Qt_InputMethodHints, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_InputMethodHint)))
{
    *sipCppPtr = new Qt::InputMethodHints(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::InputMethodHints *>(sipConvertToType(sipPy, sipType_Qt_InputMethodHints, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 193613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_InputMethodHints[] = {
    {(void *)slot_Qt_InputMethodHints___hash__, hash_slot},
    {(void *)slot_Qt_InputMethodHints___bool__, bool_slot},
    {(void *)slot_Qt_InputMethodHints___ne__, ne_slot},
    {(void *)slot_Qt_InputMethodHints___eq__, eq_slot},
    {(void *)slot_Qt_InputMethodHints___ixor__, ixor_slot},
    {(void *)slot_Qt_InputMethodHints___xor__, xor_slot},
    {(void *)slot_Qt_InputMethodHints___ior__, ior_slot},
    {(void *)slot_Qt_InputMethodHints___or__, or_slot},
    {(void *)slot_Qt_InputMethodHints___iand__, iand_slot},
    {(void *)slot_Qt_InputMethodHints___and__, and_slot},
    {(void *)slot_Qt_InputMethodHints___invert__, invert_slot},
    {(void *)slot_Qt_InputMethodHints___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_InputMethodHints, "\1Qt.InputMethodHints()\n"
    "Qt.InputMethodHints(Union[Qt.InputMethodHints, Qt.InputMethodHint])\n"
    "Qt.InputMethodHints(Qt.InputMethodHints)");


static pyqt5ClassPluginDef plugin_Qt_InputMethodHints = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_InputMethodHints = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__InputMethodHints,
        {0},
        &plugin_Qt_InputMethodHints
    },
    {
        sipNameNr_InputMethodHints,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_InputMethodHints,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_InputMethodHints,
    init_type_Qt_InputMethodHints,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_InputMethodHints,
    assign_Qt_InputMethodHints,
    array_Qt_InputMethodHints,
    copy_Qt_InputMethodHints,
    release_Qt_InputMethodHints,
    0,
    convertTo_Qt_InputMethodHints,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 193699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 193703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_TextInteractionFlags___hash__(PyObject *);}
static long slot_Qt_TextInteractionFlags___hash__(PyObject *sipSelf)
{
     ::Qt::TextInteractionFlags *sipCpp = reinterpret_cast< ::Qt::TextInteractionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TextInteractionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::TextInteractionFlags::Int();
#line 193721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_TextInteractionFlags___bool__(PyObject *);}
static int slot_Qt_TextInteractionFlags___bool__(PyObject *sipSelf)
{
     ::Qt::TextInteractionFlags *sipCpp = reinterpret_cast< ::Qt::TextInteractionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TextInteractionFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TextInteractionFlags::Int() != 0);
#line 193746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_TextInteractionFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::TextInteractionFlags *sipCpp = reinterpret_cast< ::Qt::TextInteractionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TextInteractionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::TextInteractionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_TextInteractionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TextInteractionFlags::Int() != a0->operator Qt::TextInteractionFlags::Int());
#line 193776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::TextInteractionFlags *>(a0),sipType_Qt_TextInteractionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_TextInteractionFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_TextInteractionFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::TextInteractionFlags *sipCpp = reinterpret_cast< ::Qt::TextInteractionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TextInteractionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::TextInteractionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_TextInteractionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::TextInteractionFlags::Int() == a0->operator Qt::TextInteractionFlags::Int());
#line 193812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::TextInteractionFlags *>(a0),sipType_Qt_TextInteractionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_TextInteractionFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_TextInteractionFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_TextInteractionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::TextInteractionFlags *sipCpp = reinterpret_cast< ::Qt::TextInteractionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TextInteractionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::TextInteractionFlags(*sipCpp ^ a0);
#line 193851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_TextInteractionFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TextInteractionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_TextInteractionFlags, &a0, &a0State, &a1))
        {
             ::Qt::TextInteractionFlags*sipRes;

            sipRes = new  ::Qt::TextInteractionFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_TextInteractionFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_TextInteractionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::TextInteractionFlags *sipCpp = reinterpret_cast< ::Qt::TextInteractionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TextInteractionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::TextInteractionFlags(*sipCpp | a0);
#line 193923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_TextInteractionFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TextInteractionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_TextInteractionFlags, &a0, &a0State, &a1))
        {
             ::Qt::TextInteractionFlags*sipRes;

            sipRes = new  ::Qt::TextInteractionFlags((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_TextInteractionFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_TextInteractionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::TextInteractionFlags *sipCpp = reinterpret_cast< ::Qt::TextInteractionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TextInteractionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::TextInteractionFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_TextInteractionFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::TextInteractionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_TextInteractionFlags, &a0, &a0State, &a1))
        {
             ::Qt::TextInteractionFlags*sipRes;

            sipRes = new  ::Qt::TextInteractionFlags((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_TextInteractionFlags___invert__(PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___invert__(PyObject *sipSelf)
{
     ::Qt::TextInteractionFlags *sipCpp = reinterpret_cast< ::Qt::TextInteractionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TextInteractionFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::TextInteractionFlags*sipRes;

            sipRes = new  ::Qt::TextInteractionFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_TextInteractionFlags___int__(PyObject *);}
static PyObject *slot_Qt_TextInteractionFlags___int__(PyObject *sipSelf)
{
     ::Qt::TextInteractionFlags *sipCpp = reinterpret_cast< ::Qt::TextInteractionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_TextInteractionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_TextInteractionFlags(void *, int);}
static void release_Qt_TextInteractionFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::TextInteractionFlags *>(sipCppV);
}


extern "C" {static void assign_Qt_TextInteractionFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_TextInteractionFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::TextInteractionFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::TextInteractionFlags *>(sipSrc);
}


extern "C" {static void *array_Qt_TextInteractionFlags(SIP_SSIZE_T);}
static void *array_Qt_TextInteractionFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::TextInteractionFlags[sipNrElem];
}


extern "C" {static void *copy_Qt_TextInteractionFlags(const void *, SIP_SSIZE_T);}
static void *copy_Qt_TextInteractionFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::TextInteractionFlags(reinterpret_cast<const  ::Qt::TextInteractionFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_TextInteractionFlags(sipSimpleWrapper *);}
static void dealloc_Qt_TextInteractionFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_TextInteractionFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_TextInteractionFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_TextInteractionFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::TextInteractionFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::TextInteractionFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::TextInteractionFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::TextInteractionFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_TextInteractionFlags, &a0, &a0State))
        {
            sipCpp = new  ::Qt::TextInteractionFlags(*a0);
            sipReleaseType(const_cast< ::Qt::TextInteractionFlags *>(a0),sipType_Qt_TextInteractionFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_TextInteractionFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_TextInteractionFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::TextInteractionFlags **sipCppPtr = reinterpret_cast< ::Qt::TextInteractionFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::TextInteractionFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_TextInteractionFlag)) ||
            sipCanConvertToType(sipPy, sipType_Qt_TextInteractionFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_TextInteractionFlag)))
{
    *sipCppPtr = new Qt::TextInteractionFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::TextInteractionFlags *>(sipConvertToType(sipPy, sipType_Qt_TextInteractionFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 194191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_TextInteractionFlags[] = {
    {(void *)slot_Qt_TextInteractionFlags___hash__, hash_slot},
    {(void *)slot_Qt_TextInteractionFlags___bool__, bool_slot},
    {(void *)slot_Qt_TextInteractionFlags___ne__, ne_slot},
    {(void *)slot_Qt_TextInteractionFlags___eq__, eq_slot},
    {(void *)slot_Qt_TextInteractionFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_TextInteractionFlags___xor__, xor_slot},
    {(void *)slot_Qt_TextInteractionFlags___ior__, ior_slot},
    {(void *)slot_Qt_TextInteractionFlags___or__, or_slot},
    {(void *)slot_Qt_TextInteractionFlags___iand__, iand_slot},
    {(void *)slot_Qt_TextInteractionFlags___and__, and_slot},
    {(void *)slot_Qt_TextInteractionFlags___invert__, invert_slot},
    {(void *)slot_Qt_TextInteractionFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_TextInteractionFlags, "\1Qt.TextInteractionFlags()\n"
    "Qt.TextInteractionFlags(Union[Qt.TextInteractionFlags, Qt.TextInteractionFlag])\n"
    "Qt.TextInteractionFlags(Qt.TextInteractionFlags)");


static pyqt5ClassPluginDef plugin_Qt_TextInteractionFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_TextInteractionFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__TextInteractionFlags,
        {0},
        &plugin_Qt_TextInteractionFlags
    },
    {
        sipNameNr_TextInteractionFlags,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_TextInteractionFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_TextInteractionFlags,
    init_type_Qt_TextInteractionFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_TextInteractionFlags,
    assign_Qt_TextInteractionFlags,
    array_Qt_TextInteractionFlags,
    copy_Qt_TextInteractionFlags,
    release_Qt_TextInteractionFlags,
    0,
    convertTo_Qt_TextInteractionFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_MatchFlags___hash__(PyObject *);}
static long slot_Qt_MatchFlags___hash__(PyObject *sipSelf)
{
     ::Qt::MatchFlags *sipCpp = reinterpret_cast< ::Qt::MatchFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MatchFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::MatchFlags::Int();
#line 194299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_MatchFlags___bool__(PyObject *);}
static int slot_Qt_MatchFlags___bool__(PyObject *sipSelf)
{
     ::Qt::MatchFlags *sipCpp = reinterpret_cast< ::Qt::MatchFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MatchFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MatchFlags::Int() != 0);
#line 194324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_MatchFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MatchFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::MatchFlags *sipCpp = reinterpret_cast< ::Qt::MatchFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MatchFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::MatchFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MatchFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MatchFlags::Int() != a0->operator Qt::MatchFlags::Int());
#line 194354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::MatchFlags *>(a0),sipType_Qt_MatchFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_MatchFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_MatchFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MatchFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::MatchFlags *sipCpp = reinterpret_cast< ::Qt::MatchFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MatchFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::MatchFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MatchFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MatchFlags::Int() == a0->operator Qt::MatchFlags::Int());
#line 194390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::MatchFlags *>(a0),sipType_Qt_MatchFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_MatchFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_MatchFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MatchFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_MatchFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::MatchFlags *sipCpp = reinterpret_cast< ::Qt::MatchFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MatchFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::MatchFlags(*sipCpp ^ a0);
#line 194429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_MatchFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MatchFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MatchFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MatchFlags, &a0, &a0State, &a1))
        {
             ::Qt::MatchFlags*sipRes;

            sipRes = new  ::Qt::MatchFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_MatchFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MatchFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_MatchFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MatchFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_MatchFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::MatchFlags *sipCpp = reinterpret_cast< ::Qt::MatchFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MatchFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::MatchFlags(*sipCpp | a0);
#line 194501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_MatchFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MatchFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MatchFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MatchFlags, &a0, &a0State, &a1))
        {
             ::Qt::MatchFlags*sipRes;

            sipRes = new  ::Qt::MatchFlags((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_MatchFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MatchFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_MatchFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MatchFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_MatchFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::MatchFlags *sipCpp = reinterpret_cast< ::Qt::MatchFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MatchFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::MatchFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_MatchFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MatchFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MatchFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MatchFlags, &a0, &a0State, &a1))
        {
             ::Qt::MatchFlags*sipRes;

            sipRes = new  ::Qt::MatchFlags((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_MatchFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MatchFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_MatchFlags___invert__(PyObject *);}
static PyObject *slot_Qt_MatchFlags___invert__(PyObject *sipSelf)
{
     ::Qt::MatchFlags *sipCpp = reinterpret_cast< ::Qt::MatchFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MatchFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::MatchFlags*sipRes;

            sipRes = new  ::Qt::MatchFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_MatchFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_MatchFlags___int__(PyObject *);}
static PyObject *slot_Qt_MatchFlags___int__(PyObject *sipSelf)
{
     ::Qt::MatchFlags *sipCpp = reinterpret_cast< ::Qt::MatchFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MatchFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_MatchFlags(void *, int);}
static void release_Qt_MatchFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::MatchFlags *>(sipCppV);
}


extern "C" {static void assign_Qt_MatchFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_MatchFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::MatchFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::MatchFlags *>(sipSrc);
}


extern "C" {static void *array_Qt_MatchFlags(SIP_SSIZE_T);}
static void *array_Qt_MatchFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::MatchFlags[sipNrElem];
}


extern "C" {static void *copy_Qt_MatchFlags(const void *, SIP_SSIZE_T);}
static void *copy_Qt_MatchFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::MatchFlags(reinterpret_cast<const  ::Qt::MatchFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_MatchFlags(sipSimpleWrapper *);}
static void dealloc_Qt_MatchFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_MatchFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_MatchFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_MatchFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::MatchFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::MatchFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::MatchFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::MatchFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_MatchFlags, &a0, &a0State))
        {
            sipCpp = new  ::Qt::MatchFlags(*a0);
            sipReleaseType(const_cast< ::Qt::MatchFlags *>(a0),sipType_Qt_MatchFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_MatchFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_MatchFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::MatchFlags **sipCppPtr = reinterpret_cast< ::Qt::MatchFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::MatchFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_MatchFlag)) ||
            sipCanConvertToType(sipPy, sipType_Qt_MatchFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_MatchFlag)))
{
    *sipCppPtr = new Qt::MatchFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::MatchFlags *>(sipConvertToType(sipPy, sipType_Qt_MatchFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 194769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_MatchFlags[] = {
    {(void *)slot_Qt_MatchFlags___hash__, hash_slot},
    {(void *)slot_Qt_MatchFlags___bool__, bool_slot},
    {(void *)slot_Qt_MatchFlags___ne__, ne_slot},
    {(void *)slot_Qt_MatchFlags___eq__, eq_slot},
    {(void *)slot_Qt_MatchFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_MatchFlags___xor__, xor_slot},
    {(void *)slot_Qt_MatchFlags___ior__, ior_slot},
    {(void *)slot_Qt_MatchFlags___or__, or_slot},
    {(void *)slot_Qt_MatchFlags___iand__, iand_slot},
    {(void *)slot_Qt_MatchFlags___and__, and_slot},
    {(void *)slot_Qt_MatchFlags___invert__, invert_slot},
    {(void *)slot_Qt_MatchFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_MatchFlags, "\1Qt.MatchFlags()\n"
    "Qt.MatchFlags(Union[Qt.MatchFlags, Qt.MatchFlag])\n"
    "Qt.MatchFlags(Qt.MatchFlags)");


static pyqt5ClassPluginDef plugin_Qt_MatchFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_MatchFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__MatchFlags,
        {0},
        &plugin_Qt_MatchFlags
    },
    {
        sipNameNr_MatchFlags,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_MatchFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_MatchFlags,
    init_type_Qt_MatchFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_MatchFlags,
    assign_Qt_MatchFlags,
    array_Qt_MatchFlags,
    copy_Qt_MatchFlags,
    release_Qt_MatchFlags,
    0,
    convertTo_Qt_MatchFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_ItemFlags___hash__(PyObject *);}
static long slot_Qt_ItemFlags___hash__(PyObject *sipSelf)
{
     ::Qt::ItemFlags *sipCpp = reinterpret_cast< ::Qt::ItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ItemFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::ItemFlags::Int();
#line 194877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_ItemFlags___bool__(PyObject *);}
static int slot_Qt_ItemFlags___bool__(PyObject *sipSelf)
{
     ::Qt::ItemFlags *sipCpp = reinterpret_cast< ::Qt::ItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ItemFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ItemFlags::Int() != 0);
#line 194902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_ItemFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ItemFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::ItemFlags *sipCpp = reinterpret_cast< ::Qt::ItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ItemFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::ItemFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ItemFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ItemFlags::Int() != a0->operator Qt::ItemFlags::Int());
#line 194932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::ItemFlags *>(a0),sipType_Qt_ItemFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_ItemFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_ItemFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ItemFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::ItemFlags *sipCpp = reinterpret_cast< ::Qt::ItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ItemFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::ItemFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ItemFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ItemFlags::Int() == a0->operator Qt::ItemFlags::Int());
#line 194968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::ItemFlags *>(a0),sipType_Qt_ItemFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_ItemFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_ItemFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ItemFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ItemFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ItemFlags *sipCpp = reinterpret_cast< ::Qt::ItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ItemFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::ItemFlags(*sipCpp ^ a0);
#line 195007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ItemFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ItemFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ItemFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ItemFlags, &a0, &a0State, &a1))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_ItemFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ItemFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ItemFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ItemFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ItemFlags *sipCpp = reinterpret_cast< ::Qt::ItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ItemFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::ItemFlags(*sipCpp | a0);
#line 195079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ItemFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ItemFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ItemFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ItemFlags, &a0, &a0State, &a1))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_ItemFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ItemFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ItemFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ItemFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ItemFlags *sipCpp = reinterpret_cast< ::Qt::ItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ItemFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::ItemFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ItemFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ItemFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ItemFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ItemFlags, &a0, &a0State, &a1))
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_ItemFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ItemFlags___invert__(PyObject *);}
static PyObject *slot_Qt_ItemFlags___invert__(PyObject *sipSelf)
{
     ::Qt::ItemFlags *sipCpp = reinterpret_cast< ::Qt::ItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ItemFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::ItemFlags*sipRes;

            sipRes = new  ::Qt::ItemFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_ItemFlags___int__(PyObject *);}
static PyObject *slot_Qt_ItemFlags___int__(PyObject *sipSelf)
{
     ::Qt::ItemFlags *sipCpp = reinterpret_cast< ::Qt::ItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ItemFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_ItemFlags(void *, int);}
static void release_Qt_ItemFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::ItemFlags *>(sipCppV);
}


extern "C" {static void assign_Qt_ItemFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_ItemFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::ItemFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::ItemFlags *>(sipSrc);
}


extern "C" {static void *array_Qt_ItemFlags(SIP_SSIZE_T);}
static void *array_Qt_ItemFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::ItemFlags[sipNrElem];
}


extern "C" {static void *copy_Qt_ItemFlags(const void *, SIP_SSIZE_T);}
static void *copy_Qt_ItemFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::ItemFlags(reinterpret_cast<const  ::Qt::ItemFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_ItemFlags(sipSimpleWrapper *);}
static void dealloc_Qt_ItemFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_ItemFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_ItemFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_ItemFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::ItemFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::ItemFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::ItemFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::ItemFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_ItemFlags, &a0, &a0State))
        {
            sipCpp = new  ::Qt::ItemFlags(*a0);
            sipReleaseType(const_cast< ::Qt::ItemFlags *>(a0),sipType_Qt_ItemFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_ItemFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_ItemFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::ItemFlags **sipCppPtr = reinterpret_cast< ::Qt::ItemFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::ItemFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_ItemFlag)) ||
            sipCanConvertToType(sipPy, sipType_Qt_ItemFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_ItemFlag)))
{
    *sipCppPtr = new Qt::ItemFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::ItemFlags *>(sipConvertToType(sipPy, sipType_Qt_ItemFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 195347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_ItemFlags[] = {
    {(void *)slot_Qt_ItemFlags___hash__, hash_slot},
    {(void *)slot_Qt_ItemFlags___bool__, bool_slot},
    {(void *)slot_Qt_ItemFlags___ne__, ne_slot},
    {(void *)slot_Qt_ItemFlags___eq__, eq_slot},
    {(void *)slot_Qt_ItemFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_ItemFlags___xor__, xor_slot},
    {(void *)slot_Qt_ItemFlags___ior__, ior_slot},
    {(void *)slot_Qt_ItemFlags___or__, or_slot},
    {(void *)slot_Qt_ItemFlags___iand__, iand_slot},
    {(void *)slot_Qt_ItemFlags___and__, and_slot},
    {(void *)slot_Qt_ItemFlags___invert__, invert_slot},
    {(void *)slot_Qt_ItemFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_ItemFlags, "\1Qt.ItemFlags()\n"
    "Qt.ItemFlags(Union[Qt.ItemFlags, Qt.ItemFlag])\n"
    "Qt.ItemFlags(Qt.ItemFlags)");


static pyqt5ClassPluginDef plugin_Qt_ItemFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_ItemFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__ItemFlags,
        {0},
        &plugin_Qt_ItemFlags
    },
    {
        sipNameNr_ItemFlags,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ItemFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_ItemFlags,
    init_type_Qt_ItemFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_ItemFlags,
    assign_Qt_ItemFlags,
    array_Qt_ItemFlags,
    copy_Qt_ItemFlags,
    release_Qt_ItemFlags,
    0,
    convertTo_Qt_ItemFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 195433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 195437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_DropActions___hash__(PyObject *);}
static long slot_Qt_DropActions___hash__(PyObject *sipSelf)
{
     ::Qt::DropActions *sipCpp = reinterpret_cast< ::Qt::DropActions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DropActions));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::DropActions::Int();
#line 195455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_DropActions___bool__(PyObject *);}
static int slot_Qt_DropActions___bool__(PyObject *sipSelf)
{
     ::Qt::DropActions *sipCpp = reinterpret_cast< ::Qt::DropActions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DropActions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DropActions::Int() != 0);
#line 195480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_DropActions___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DropActions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::DropActions *sipCpp = reinterpret_cast< ::Qt::DropActions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DropActions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::DropActions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_DropActions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DropActions::Int() != a0->operator Qt::DropActions::Int());
#line 195510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::DropActions *>(a0),sipType_Qt_DropActions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_DropActions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_DropActions___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DropActions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::DropActions *sipCpp = reinterpret_cast< ::Qt::DropActions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DropActions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::DropActions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_DropActions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DropActions::Int() == a0->operator Qt::DropActions::Int());
#line 195546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::DropActions *>(a0),sipType_Qt_DropActions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_DropActions, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_DropActions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DropActions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_DropActions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::DropActions *sipCpp = reinterpret_cast< ::Qt::DropActions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DropActions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::DropActions(*sipCpp ^ a0);
#line 195585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_DropActions___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DropActions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::DropActions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DropActions, &a0, &a0State, &a1))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_DropActions,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_DropActions___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DropActions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_DropActions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::DropActions *sipCpp = reinterpret_cast< ::Qt::DropActions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DropActions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::DropActions(*sipCpp | a0);
#line 195657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_DropActions___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DropActions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::DropActions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DropActions, &a0, &a0State, &a1))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_DropActions,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_DropActions___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DropActions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_DropActions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::DropActions *sipCpp = reinterpret_cast< ::Qt::DropActions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DropActions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::DropActions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_DropActions___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DropActions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::DropActions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DropActions, &a0, &a0State, &a1))
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_DropActions,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_DropActions___invert__(PyObject *);}
static PyObject *slot_Qt_DropActions___invert__(PyObject *sipSelf)
{
     ::Qt::DropActions *sipCpp = reinterpret_cast< ::Qt::DropActions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DropActions));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::DropActions*sipRes;

            sipRes = new  ::Qt::DropActions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_DropActions___int__(PyObject *);}
static PyObject *slot_Qt_DropActions___int__(PyObject *sipSelf)
{
     ::Qt::DropActions *sipCpp = reinterpret_cast< ::Qt::DropActions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DropActions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_DropActions(void *, int);}
static void release_Qt_DropActions(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::DropActions *>(sipCppV);
}


extern "C" {static void assign_Qt_DropActions(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_DropActions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::DropActions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::DropActions *>(sipSrc);
}


extern "C" {static void *array_Qt_DropActions(SIP_SSIZE_T);}
static void *array_Qt_DropActions(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::DropActions[sipNrElem];
}


extern "C" {static void *copy_Qt_DropActions(const void *, SIP_SSIZE_T);}
static void *copy_Qt_DropActions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::DropActions(reinterpret_cast<const  ::Qt::DropActions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_DropActions(sipSimpleWrapper *);}
static void dealloc_Qt_DropActions(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_DropActions(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_DropActions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_DropActions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::DropActions *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::DropActions();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::DropActions(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::DropActions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp = new  ::Qt::DropActions(*a0);
            sipReleaseType(const_cast< ::Qt::DropActions *>(a0),sipType_Qt_DropActions,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_DropActions(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_DropActions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::DropActions **sipCppPtr = reinterpret_cast< ::Qt::DropActions **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::DropActions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_DropAction)) ||
            sipCanConvertToType(sipPy, sipType_Qt_DropActions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_DropAction)))
{
    *sipCppPtr = new Qt::DropActions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::DropActions *>(sipConvertToType(sipPy, sipType_Qt_DropActions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 195925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_DropActions[] = {
    {(void *)slot_Qt_DropActions___hash__, hash_slot},
    {(void *)slot_Qt_DropActions___bool__, bool_slot},
    {(void *)slot_Qt_DropActions___ne__, ne_slot},
    {(void *)slot_Qt_DropActions___eq__, eq_slot},
    {(void *)slot_Qt_DropActions___ixor__, ixor_slot},
    {(void *)slot_Qt_DropActions___xor__, xor_slot},
    {(void *)slot_Qt_DropActions___ior__, ior_slot},
    {(void *)slot_Qt_DropActions___or__, or_slot},
    {(void *)slot_Qt_DropActions___iand__, iand_slot},
    {(void *)slot_Qt_DropActions___and__, and_slot},
    {(void *)slot_Qt_DropActions___invert__, invert_slot},
    {(void *)slot_Qt_DropActions___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_DropActions, "\1Qt.DropActions()\n"
    "Qt.DropActions(Union[Qt.DropActions, Qt.DropAction])\n"
    "Qt.DropActions(Qt.DropActions)");


static pyqt5ClassPluginDef plugin_Qt_DropActions = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_DropActions = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__DropActions,
        {0},
        &plugin_Qt_DropActions
    },
    {
        sipNameNr_DropActions,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_DropActions,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_DropActions,
    init_type_Qt_DropActions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_DropActions,
    assign_Qt_DropActions,
    array_Qt_DropActions,
    copy_Qt_DropActions,
    release_Qt_DropActions,
    0,
    convertTo_Qt_DropActions,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 196011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 196015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_InputMethodQueries___hash__(PyObject *);}
static long slot_Qt_InputMethodQueries___hash__(PyObject *sipSelf)
{
     ::Qt::InputMethodQueries *sipCpp = reinterpret_cast< ::Qt::InputMethodQueries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodQueries));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::InputMethodQueries::Int();
#line 196033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_InputMethodQueries___bool__(PyObject *);}
static int slot_Qt_InputMethodQueries___bool__(PyObject *sipSelf)
{
     ::Qt::InputMethodQueries *sipCpp = reinterpret_cast< ::Qt::InputMethodQueries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodQueries));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodQueries::Int() != 0);
#line 196058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_InputMethodQueries___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::InputMethodQueries *sipCpp = reinterpret_cast< ::Qt::InputMethodQueries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodQueries));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::InputMethodQueries* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_InputMethodQueries, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodQueries::Int() != a0->operator Qt::InputMethodQueries::Int());
#line 196088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::InputMethodQueries *>(a0),sipType_Qt_InputMethodQueries,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_InputMethodQueries, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_InputMethodQueries___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::InputMethodQueries *sipCpp = reinterpret_cast< ::Qt::InputMethodQueries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodQueries));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::InputMethodQueries* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_InputMethodQueries, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::InputMethodQueries::Int() == a0->operator Qt::InputMethodQueries::Int());
#line 196124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::InputMethodQueries *>(a0),sipType_Qt_InputMethodQueries,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_InputMethodQueries, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_InputMethodQueries___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_InputMethodQueries)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::InputMethodQueries *sipCpp = reinterpret_cast< ::Qt::InputMethodQueries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodQueries));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::InputMethodQueries(*sipCpp ^ a0);
#line 196163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_InputMethodQueries___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::InputMethodQueries* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodQueries, &a0, &a0State, &a1))
        {
             ::Qt::InputMethodQueries*sipRes;

            sipRes = new  ::Qt::InputMethodQueries((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodQueries,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_InputMethodQueries___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_InputMethodQueries)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::InputMethodQueries *sipCpp = reinterpret_cast< ::Qt::InputMethodQueries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodQueries));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::InputMethodQueries(*sipCpp | a0);
#line 196235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_InputMethodQueries___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::InputMethodQueries* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodQueries, &a0, &a0State, &a1))
        {
             ::Qt::InputMethodQueries*sipRes;

            sipRes = new  ::Qt::InputMethodQueries((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodQueries,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_InputMethodQueries___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_InputMethodQueries)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::InputMethodQueries *sipCpp = reinterpret_cast< ::Qt::InputMethodQueries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodQueries));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::InputMethodQueries::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_InputMethodQueries___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::InputMethodQueries* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_InputMethodQueries, &a0, &a0State, &a1))
        {
             ::Qt::InputMethodQueries*sipRes;

            sipRes = new  ::Qt::InputMethodQueries((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_InputMethodQueries,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodQueries,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_InputMethodQueries___invert__(PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___invert__(PyObject *sipSelf)
{
     ::Qt::InputMethodQueries *sipCpp = reinterpret_cast< ::Qt::InputMethodQueries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodQueries));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::InputMethodQueries*sipRes;

            sipRes = new  ::Qt::InputMethodQueries(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodQueries,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_InputMethodQueries___int__(PyObject *);}
static PyObject *slot_Qt_InputMethodQueries___int__(PyObject *sipSelf)
{
     ::Qt::InputMethodQueries *sipCpp = reinterpret_cast< ::Qt::InputMethodQueries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_InputMethodQueries));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_InputMethodQueries(void *, int);}
static void release_Qt_InputMethodQueries(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::InputMethodQueries *>(sipCppV);
}


extern "C" {static void assign_Qt_InputMethodQueries(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_InputMethodQueries(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::InputMethodQueries *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::InputMethodQueries *>(sipSrc);
}


extern "C" {static void *array_Qt_InputMethodQueries(SIP_SSIZE_T);}
static void *array_Qt_InputMethodQueries(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::InputMethodQueries[sipNrElem];
}


extern "C" {static void *copy_Qt_InputMethodQueries(const void *, SIP_SSIZE_T);}
static void *copy_Qt_InputMethodQueries(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::InputMethodQueries(reinterpret_cast<const  ::Qt::InputMethodQueries *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_InputMethodQueries(sipSimpleWrapper *);}
static void dealloc_Qt_InputMethodQueries(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_InputMethodQueries(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_InputMethodQueries(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_InputMethodQueries(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::InputMethodQueries *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::InputMethodQueries();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::InputMethodQueries(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::InputMethodQueries* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_InputMethodQueries, &a0, &a0State))
        {
            sipCpp = new  ::Qt::InputMethodQueries(*a0);
            sipReleaseType(const_cast< ::Qt::InputMethodQueries *>(a0),sipType_Qt_InputMethodQueries,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_InputMethodQueries(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_InputMethodQueries(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::InputMethodQueries **sipCppPtr = reinterpret_cast< ::Qt::InputMethodQueries **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::InputMethodQueries is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_InputMethodQuery)) ||
            sipCanConvertToType(sipPy, sipType_Qt_InputMethodQueries, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_InputMethodQuery)))
{
    *sipCppPtr = new Qt::InputMethodQueries(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::InputMethodQueries *>(sipConvertToType(sipPy, sipType_Qt_InputMethodQueries, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 196503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_InputMethodQueries[] = {
    {(void *)slot_Qt_InputMethodQueries___hash__, hash_slot},
    {(void *)slot_Qt_InputMethodQueries___bool__, bool_slot},
    {(void *)slot_Qt_InputMethodQueries___ne__, ne_slot},
    {(void *)slot_Qt_InputMethodQueries___eq__, eq_slot},
    {(void *)slot_Qt_InputMethodQueries___ixor__, ixor_slot},
    {(void *)slot_Qt_InputMethodQueries___xor__, xor_slot},
    {(void *)slot_Qt_InputMethodQueries___ior__, ior_slot},
    {(void *)slot_Qt_InputMethodQueries___or__, or_slot},
    {(void *)slot_Qt_InputMethodQueries___iand__, iand_slot},
    {(void *)slot_Qt_InputMethodQueries___and__, and_slot},
    {(void *)slot_Qt_InputMethodQueries___invert__, invert_slot},
    {(void *)slot_Qt_InputMethodQueries___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_InputMethodQueries, "\1Qt.InputMethodQueries()\n"
    "Qt.InputMethodQueries(Union[Qt.InputMethodQueries, Qt.InputMethodQuery])\n"
    "Qt.InputMethodQueries(Qt.InputMethodQueries)");


static pyqt5ClassPluginDef plugin_Qt_InputMethodQueries = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_InputMethodQueries = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__InputMethodQueries,
        {0},
        &plugin_Qt_InputMethodQueries
    },
    {
        sipNameNr_InputMethodQueries,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_InputMethodQueries,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_InputMethodQueries,
    init_type_Qt_InputMethodQueries,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_InputMethodQueries,
    assign_Qt_InputMethodQueries,
    array_Qt_InputMethodQueries,
    copy_Qt_InputMethodQueries,
    release_Qt_InputMethodQueries,
    0,
    convertTo_Qt_InputMethodQueries,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 196589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 196593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_ToolBarAreas___hash__(PyObject *);}
static long slot_Qt_ToolBarAreas___hash__(PyObject *sipSelf)
{
     ::Qt::ToolBarAreas *sipCpp = reinterpret_cast< ::Qt::ToolBarAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ToolBarAreas));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::ToolBarAreas::Int();
#line 196611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_ToolBarAreas___bool__(PyObject *);}
static int slot_Qt_ToolBarAreas___bool__(PyObject *sipSelf)
{
     ::Qt::ToolBarAreas *sipCpp = reinterpret_cast< ::Qt::ToolBarAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ToolBarAreas));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ToolBarAreas::Int() != 0);
#line 196636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_ToolBarAreas___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::ToolBarAreas *sipCpp = reinterpret_cast< ::Qt::ToolBarAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ToolBarAreas));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::ToolBarAreas* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ToolBarAreas, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ToolBarAreas::Int() != a0->operator Qt::ToolBarAreas::Int());
#line 196666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::ToolBarAreas *>(a0),sipType_Qt_ToolBarAreas,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_ToolBarAreas, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_ToolBarAreas___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::ToolBarAreas *sipCpp = reinterpret_cast< ::Qt::ToolBarAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ToolBarAreas));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::ToolBarAreas* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ToolBarAreas, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ToolBarAreas::Int() == a0->operator Qt::ToolBarAreas::Int());
#line 196702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::ToolBarAreas *>(a0),sipType_Qt_ToolBarAreas,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_ToolBarAreas, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_ToolBarAreas___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ToolBarAreas)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ToolBarAreas *sipCpp = reinterpret_cast< ::Qt::ToolBarAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ToolBarAreas));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::ToolBarAreas(*sipCpp ^ a0);
#line 196741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ToolBarAreas___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ToolBarAreas* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ToolBarAreas, &a0, &a0State, &a1))
        {
             ::Qt::ToolBarAreas*sipRes;

            sipRes = new  ::Qt::ToolBarAreas((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_ToolBarAreas,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ToolBarAreas,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ToolBarAreas___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ToolBarAreas)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ToolBarAreas *sipCpp = reinterpret_cast< ::Qt::ToolBarAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ToolBarAreas));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::ToolBarAreas(*sipCpp | a0);
#line 196813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ToolBarAreas___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ToolBarAreas* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ToolBarAreas, &a0, &a0State, &a1))
        {
             ::Qt::ToolBarAreas*sipRes;

            sipRes = new  ::Qt::ToolBarAreas((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_ToolBarAreas,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ToolBarAreas,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ToolBarAreas___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ToolBarAreas)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ToolBarAreas *sipCpp = reinterpret_cast< ::Qt::ToolBarAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ToolBarAreas));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::ToolBarAreas::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ToolBarAreas___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ToolBarAreas* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ToolBarAreas, &a0, &a0State, &a1))
        {
             ::Qt::ToolBarAreas*sipRes;

            sipRes = new  ::Qt::ToolBarAreas((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_ToolBarAreas,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ToolBarAreas,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ToolBarAreas___invert__(PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___invert__(PyObject *sipSelf)
{
     ::Qt::ToolBarAreas *sipCpp = reinterpret_cast< ::Qt::ToolBarAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ToolBarAreas));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::ToolBarAreas*sipRes;

            sipRes = new  ::Qt::ToolBarAreas(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_ToolBarAreas,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_ToolBarAreas___int__(PyObject *);}
static PyObject *slot_Qt_ToolBarAreas___int__(PyObject *sipSelf)
{
     ::Qt::ToolBarAreas *sipCpp = reinterpret_cast< ::Qt::ToolBarAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ToolBarAreas));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_ToolBarAreas(void *, int);}
static void release_Qt_ToolBarAreas(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::ToolBarAreas *>(sipCppV);
}


extern "C" {static void assign_Qt_ToolBarAreas(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_ToolBarAreas(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::ToolBarAreas *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::ToolBarAreas *>(sipSrc);
}


extern "C" {static void *array_Qt_ToolBarAreas(SIP_SSIZE_T);}
static void *array_Qt_ToolBarAreas(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::ToolBarAreas[sipNrElem];
}


extern "C" {static void *copy_Qt_ToolBarAreas(const void *, SIP_SSIZE_T);}
static void *copy_Qt_ToolBarAreas(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::ToolBarAreas(reinterpret_cast<const  ::Qt::ToolBarAreas *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_ToolBarAreas(sipSimpleWrapper *);}
static void dealloc_Qt_ToolBarAreas(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_ToolBarAreas(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_ToolBarAreas(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_ToolBarAreas(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::ToolBarAreas *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::ToolBarAreas();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::ToolBarAreas(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::ToolBarAreas* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_ToolBarAreas, &a0, &a0State))
        {
            sipCpp = new  ::Qt::ToolBarAreas(*a0);
            sipReleaseType(const_cast< ::Qt::ToolBarAreas *>(a0),sipType_Qt_ToolBarAreas,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_ToolBarAreas(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_ToolBarAreas(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::ToolBarAreas **sipCppPtr = reinterpret_cast< ::Qt::ToolBarAreas **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::ToolBarAreas is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_ToolBarArea)) ||
            sipCanConvertToType(sipPy, sipType_Qt_ToolBarAreas, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_ToolBarArea)))
{
    *sipCppPtr = new Qt::ToolBarAreas(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::ToolBarAreas *>(sipConvertToType(sipPy, sipType_Qt_ToolBarAreas, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 197081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_ToolBarAreas[] = {
    {(void *)slot_Qt_ToolBarAreas___hash__, hash_slot},
    {(void *)slot_Qt_ToolBarAreas___bool__, bool_slot},
    {(void *)slot_Qt_ToolBarAreas___ne__, ne_slot},
    {(void *)slot_Qt_ToolBarAreas___eq__, eq_slot},
    {(void *)slot_Qt_ToolBarAreas___ixor__, ixor_slot},
    {(void *)slot_Qt_ToolBarAreas___xor__, xor_slot},
    {(void *)slot_Qt_ToolBarAreas___ior__, ior_slot},
    {(void *)slot_Qt_ToolBarAreas___or__, or_slot},
    {(void *)slot_Qt_ToolBarAreas___iand__, iand_slot},
    {(void *)slot_Qt_ToolBarAreas___and__, and_slot},
    {(void *)slot_Qt_ToolBarAreas___invert__, invert_slot},
    {(void *)slot_Qt_ToolBarAreas___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_ToolBarAreas, "\1Qt.ToolBarAreas()\n"
    "Qt.ToolBarAreas(Union[Qt.ToolBarAreas, Qt.ToolBarArea])\n"
    "Qt.ToolBarAreas(Qt.ToolBarAreas)");


static pyqt5ClassPluginDef plugin_Qt_ToolBarAreas = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_ToolBarAreas = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__ToolBarAreas,
        {0},
        &plugin_Qt_ToolBarAreas
    },
    {
        sipNameNr_ToolBarAreas,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ToolBarAreas,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_ToolBarAreas,
    init_type_Qt_ToolBarAreas,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_ToolBarAreas,
    assign_Qt_ToolBarAreas,
    array_Qt_ToolBarAreas,
    copy_Qt_ToolBarAreas,
    release_Qt_ToolBarAreas,
    0,
    convertTo_Qt_ToolBarAreas,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_DockWidgetAreas___hash__(PyObject *);}
static long slot_Qt_DockWidgetAreas___hash__(PyObject *sipSelf)
{
     ::Qt::DockWidgetAreas *sipCpp = reinterpret_cast< ::Qt::DockWidgetAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DockWidgetAreas));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::DockWidgetAreas::Int();
#line 197189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_DockWidgetAreas___bool__(PyObject *);}
static int slot_Qt_DockWidgetAreas___bool__(PyObject *sipSelf)
{
     ::Qt::DockWidgetAreas *sipCpp = reinterpret_cast< ::Qt::DockWidgetAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DockWidgetAreas));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DockWidgetAreas::Int() != 0);
#line 197214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_DockWidgetAreas___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::DockWidgetAreas *sipCpp = reinterpret_cast< ::Qt::DockWidgetAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DockWidgetAreas));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::DockWidgetAreas* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_DockWidgetAreas, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DockWidgetAreas::Int() != a0->operator Qt::DockWidgetAreas::Int());
#line 197244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::DockWidgetAreas *>(a0),sipType_Qt_DockWidgetAreas,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_DockWidgetAreas, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_DockWidgetAreas___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::DockWidgetAreas *sipCpp = reinterpret_cast< ::Qt::DockWidgetAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DockWidgetAreas));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::DockWidgetAreas* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_DockWidgetAreas, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::DockWidgetAreas::Int() == a0->operator Qt::DockWidgetAreas::Int());
#line 197280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::DockWidgetAreas *>(a0),sipType_Qt_DockWidgetAreas,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_DockWidgetAreas, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_DockWidgetAreas___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_DockWidgetAreas)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::DockWidgetAreas *sipCpp = reinterpret_cast< ::Qt::DockWidgetAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DockWidgetAreas));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::DockWidgetAreas(*sipCpp ^ a0);
#line 197319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_DockWidgetAreas___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::DockWidgetAreas* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DockWidgetAreas, &a0, &a0State, &a1))
        {
             ::Qt::DockWidgetAreas*sipRes;

            sipRes = new  ::Qt::DockWidgetAreas((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_DockWidgetAreas,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_DockWidgetAreas,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_DockWidgetAreas___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_DockWidgetAreas)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::DockWidgetAreas *sipCpp = reinterpret_cast< ::Qt::DockWidgetAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DockWidgetAreas));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::DockWidgetAreas(*sipCpp | a0);
#line 197391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_DockWidgetAreas___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::DockWidgetAreas* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DockWidgetAreas, &a0, &a0State, &a1))
        {
             ::Qt::DockWidgetAreas*sipRes;

            sipRes = new  ::Qt::DockWidgetAreas((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_DockWidgetAreas,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_DockWidgetAreas,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_DockWidgetAreas___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_DockWidgetAreas)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::DockWidgetAreas *sipCpp = reinterpret_cast< ::Qt::DockWidgetAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DockWidgetAreas));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::DockWidgetAreas::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_DockWidgetAreas___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::DockWidgetAreas* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_DockWidgetAreas, &a0, &a0State, &a1))
        {
             ::Qt::DockWidgetAreas*sipRes;

            sipRes = new  ::Qt::DockWidgetAreas((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_DockWidgetAreas,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_DockWidgetAreas,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_DockWidgetAreas___invert__(PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___invert__(PyObject *sipSelf)
{
     ::Qt::DockWidgetAreas *sipCpp = reinterpret_cast< ::Qt::DockWidgetAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DockWidgetAreas));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::DockWidgetAreas*sipRes;

            sipRes = new  ::Qt::DockWidgetAreas(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_DockWidgetAreas,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_DockWidgetAreas___int__(PyObject *);}
static PyObject *slot_Qt_DockWidgetAreas___int__(PyObject *sipSelf)
{
     ::Qt::DockWidgetAreas *sipCpp = reinterpret_cast< ::Qt::DockWidgetAreas *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_DockWidgetAreas));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_DockWidgetAreas(void *, int);}
static void release_Qt_DockWidgetAreas(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::DockWidgetAreas *>(sipCppV);
}


extern "C" {static void assign_Qt_DockWidgetAreas(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_DockWidgetAreas(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::DockWidgetAreas *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::DockWidgetAreas *>(sipSrc);
}


extern "C" {static void *array_Qt_DockWidgetAreas(SIP_SSIZE_T);}
static void *array_Qt_DockWidgetAreas(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::DockWidgetAreas[sipNrElem];
}


extern "C" {static void *copy_Qt_DockWidgetAreas(const void *, SIP_SSIZE_T);}
static void *copy_Qt_DockWidgetAreas(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::DockWidgetAreas(reinterpret_cast<const  ::Qt::DockWidgetAreas *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_DockWidgetAreas(sipSimpleWrapper *);}
static void dealloc_Qt_DockWidgetAreas(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_DockWidgetAreas(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_DockWidgetAreas(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_DockWidgetAreas(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::DockWidgetAreas *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::DockWidgetAreas();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::DockWidgetAreas(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::DockWidgetAreas* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_DockWidgetAreas, &a0, &a0State))
        {
            sipCpp = new  ::Qt::DockWidgetAreas(*a0);
            sipReleaseType(const_cast< ::Qt::DockWidgetAreas *>(a0),sipType_Qt_DockWidgetAreas,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_DockWidgetAreas(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_DockWidgetAreas(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::DockWidgetAreas **sipCppPtr = reinterpret_cast< ::Qt::DockWidgetAreas **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::DockWidgetAreas is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_DockWidgetArea)) ||
            sipCanConvertToType(sipPy, sipType_Qt_DockWidgetAreas, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_DockWidgetArea)))
{
    *sipCppPtr = new Qt::DockWidgetAreas(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::DockWidgetAreas *>(sipConvertToType(sipPy, sipType_Qt_DockWidgetAreas, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 197659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_DockWidgetAreas[] = {
    {(void *)slot_Qt_DockWidgetAreas___hash__, hash_slot},
    {(void *)slot_Qt_DockWidgetAreas___bool__, bool_slot},
    {(void *)slot_Qt_DockWidgetAreas___ne__, ne_slot},
    {(void *)slot_Qt_DockWidgetAreas___eq__, eq_slot},
    {(void *)slot_Qt_DockWidgetAreas___ixor__, ixor_slot},
    {(void *)slot_Qt_DockWidgetAreas___xor__, xor_slot},
    {(void *)slot_Qt_DockWidgetAreas___ior__, ior_slot},
    {(void *)slot_Qt_DockWidgetAreas___or__, or_slot},
    {(void *)slot_Qt_DockWidgetAreas___iand__, iand_slot},
    {(void *)slot_Qt_DockWidgetAreas___and__, and_slot},
    {(void *)slot_Qt_DockWidgetAreas___invert__, invert_slot},
    {(void *)slot_Qt_DockWidgetAreas___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_DockWidgetAreas, "\1Qt.DockWidgetAreas()\n"
    "Qt.DockWidgetAreas(Union[Qt.DockWidgetAreas, Qt.DockWidgetArea])\n"
    "Qt.DockWidgetAreas(Qt.DockWidgetAreas)");


static pyqt5ClassPluginDef plugin_Qt_DockWidgetAreas = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_DockWidgetAreas = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__DockWidgetAreas,
        {0},
        &plugin_Qt_DockWidgetAreas
    },
    {
        sipNameNr_DockWidgetAreas,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_DockWidgetAreas,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_DockWidgetAreas,
    init_type_Qt_DockWidgetAreas,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_DockWidgetAreas,
    assign_Qt_DockWidgetAreas,
    array_Qt_DockWidgetAreas,
    copy_Qt_DockWidgetAreas,
    release_Qt_DockWidgetAreas,
    0,
    convertTo_Qt_DockWidgetAreas,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_ImageConversionFlags___hash__(PyObject *);}
static long slot_Qt_ImageConversionFlags___hash__(PyObject *sipSelf)
{
     ::Qt::ImageConversionFlags *sipCpp = reinterpret_cast< ::Qt::ImageConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ImageConversionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::ImageConversionFlags::Int();
#line 197767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_ImageConversionFlags___bool__(PyObject *);}
static int slot_Qt_ImageConversionFlags___bool__(PyObject *sipSelf)
{
     ::Qt::ImageConversionFlags *sipCpp = reinterpret_cast< ::Qt::ImageConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ImageConversionFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ImageConversionFlags::Int() != 0);
#line 197792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_ImageConversionFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::ImageConversionFlags *sipCpp = reinterpret_cast< ::Qt::ImageConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ImageConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::ImageConversionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ImageConversionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ImageConversionFlags::Int() != a0->operator Qt::ImageConversionFlags::Int());
#line 197822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::ImageConversionFlags *>(a0),sipType_Qt_ImageConversionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_ImageConversionFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_ImageConversionFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::ImageConversionFlags *sipCpp = reinterpret_cast< ::Qt::ImageConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ImageConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::ImageConversionFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_ImageConversionFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::ImageConversionFlags::Int() == a0->operator Qt::ImageConversionFlags::Int());
#line 197858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::ImageConversionFlags *>(a0),sipType_Qt_ImageConversionFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_ImageConversionFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_ImageConversionFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ImageConversionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ImageConversionFlags *sipCpp = reinterpret_cast< ::Qt::ImageConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ImageConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::ImageConversionFlags(*sipCpp ^ a0);
#line 197897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ImageConversionFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ImageConversionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ImageConversionFlags, &a0, &a0State, &a1))
        {
             ::Qt::ImageConversionFlags*sipRes;

            sipRes = new  ::Qt::ImageConversionFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_ImageConversionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ImageConversionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ImageConversionFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ImageConversionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ImageConversionFlags *sipCpp = reinterpret_cast< ::Qt::ImageConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ImageConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::ImageConversionFlags(*sipCpp | a0);
#line 197969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ImageConversionFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ImageConversionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ImageConversionFlags, &a0, &a0State, &a1))
        {
             ::Qt::ImageConversionFlags*sipRes;

            sipRes = new  ::Qt::ImageConversionFlags((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_ImageConversionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ImageConversionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ImageConversionFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_ImageConversionFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::ImageConversionFlags *sipCpp = reinterpret_cast< ::Qt::ImageConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ImageConversionFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::ImageConversionFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_ImageConversionFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::ImageConversionFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_ImageConversionFlags, &a0, &a0State, &a1))
        {
             ::Qt::ImageConversionFlags*sipRes;

            sipRes = new  ::Qt::ImageConversionFlags((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_ImageConversionFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_ImageConversionFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_ImageConversionFlags___invert__(PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___invert__(PyObject *sipSelf)
{
     ::Qt::ImageConversionFlags *sipCpp = reinterpret_cast< ::Qt::ImageConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ImageConversionFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::ImageConversionFlags*sipRes;

            sipRes = new  ::Qt::ImageConversionFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_ImageConversionFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_ImageConversionFlags___int__(PyObject *);}
static PyObject *slot_Qt_ImageConversionFlags___int__(PyObject *sipSelf)
{
     ::Qt::ImageConversionFlags *sipCpp = reinterpret_cast< ::Qt::ImageConversionFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_ImageConversionFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_ImageConversionFlags(void *, int);}
static void release_Qt_ImageConversionFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::ImageConversionFlags *>(sipCppV);
}


extern "C" {static void assign_Qt_ImageConversionFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_ImageConversionFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::ImageConversionFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::ImageConversionFlags *>(sipSrc);
}


extern "C" {static void *array_Qt_ImageConversionFlags(SIP_SSIZE_T);}
static void *array_Qt_ImageConversionFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::ImageConversionFlags[sipNrElem];
}


extern "C" {static void *copy_Qt_ImageConversionFlags(const void *, SIP_SSIZE_T);}
static void *copy_Qt_ImageConversionFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::ImageConversionFlags(reinterpret_cast<const  ::Qt::ImageConversionFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_ImageConversionFlags(sipSimpleWrapper *);}
static void dealloc_Qt_ImageConversionFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_ImageConversionFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_ImageConversionFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_ImageConversionFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::ImageConversionFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::ImageConversionFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::ImageConversionFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::ImageConversionFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_ImageConversionFlags, &a0, &a0State))
        {
            sipCpp = new  ::Qt::ImageConversionFlags(*a0);
            sipReleaseType(const_cast< ::Qt::ImageConversionFlags *>(a0),sipType_Qt_ImageConversionFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_ImageConversionFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_ImageConversionFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::ImageConversionFlags **sipCppPtr = reinterpret_cast< ::Qt::ImageConversionFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::ImageConversionFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_ImageConversionFlag)) ||
            sipCanConvertToType(sipPy, sipType_Qt_ImageConversionFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_ImageConversionFlag)))
{
    *sipCppPtr = new Qt::ImageConversionFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::ImageConversionFlags *>(sipConvertToType(sipPy, sipType_Qt_ImageConversionFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 198237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_ImageConversionFlags[] = {
    {(void *)slot_Qt_ImageConversionFlags___hash__, hash_slot},
    {(void *)slot_Qt_ImageConversionFlags___bool__, bool_slot},
    {(void *)slot_Qt_ImageConversionFlags___ne__, ne_slot},
    {(void *)slot_Qt_ImageConversionFlags___eq__, eq_slot},
    {(void *)slot_Qt_ImageConversionFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_ImageConversionFlags___xor__, xor_slot},
    {(void *)slot_Qt_ImageConversionFlags___ior__, ior_slot},
    {(void *)slot_Qt_ImageConversionFlags___or__, or_slot},
    {(void *)slot_Qt_ImageConversionFlags___iand__, iand_slot},
    {(void *)slot_Qt_ImageConversionFlags___and__, and_slot},
    {(void *)slot_Qt_ImageConversionFlags___invert__, invert_slot},
    {(void *)slot_Qt_ImageConversionFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_ImageConversionFlags, "\1Qt.ImageConversionFlags()\n"
    "Qt.ImageConversionFlags(Union[Qt.ImageConversionFlags, Qt.ImageConversionFlag])\n"
    "Qt.ImageConversionFlags(Qt.ImageConversionFlags)");


static pyqt5ClassPluginDef plugin_Qt_ImageConversionFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_ImageConversionFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__ImageConversionFlags,
        {0},
        &plugin_Qt_ImageConversionFlags
    },
    {
        sipNameNr_ImageConversionFlags,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_ImageConversionFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_ImageConversionFlags,
    init_type_Qt_ImageConversionFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_ImageConversionFlags,
    assign_Qt_ImageConversionFlags,
    array_Qt_ImageConversionFlags,
    copy_Qt_ImageConversionFlags,
    release_Qt_ImageConversionFlags,
    0,
    convertTo_Qt_ImageConversionFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 198323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 198327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_WindowStates___hash__(PyObject *);}
static long slot_Qt_WindowStates___hash__(PyObject *sipSelf)
{
     ::Qt::WindowStates *sipCpp = reinterpret_cast< ::Qt::WindowStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowStates));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::WindowStates::Int();
#line 198345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_WindowStates___bool__(PyObject *);}
static int slot_Qt_WindowStates___bool__(PyObject *sipSelf)
{
     ::Qt::WindowStates *sipCpp = reinterpret_cast< ::Qt::WindowStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowStates));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowStates::Int() != 0);
#line 198370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_WindowStates___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowStates___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::WindowStates *sipCpp = reinterpret_cast< ::Qt::WindowStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::WindowStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_WindowStates, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowStates::Int() != a0->operator Qt::WindowStates::Int());
#line 198400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::WindowStates *>(a0),sipType_Qt_WindowStates,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_WindowStates, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_WindowStates___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowStates___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::WindowStates *sipCpp = reinterpret_cast< ::Qt::WindowStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::WindowStates* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_WindowStates, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowStates::Int() == a0->operator Qt::WindowStates::Int());
#line 198436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::WindowStates *>(a0),sipType_Qt_WindowStates,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_WindowStates, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_WindowStates___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowStates___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_WindowStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::WindowStates *sipCpp = reinterpret_cast< ::Qt::WindowStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::WindowStates(*sipCpp ^ a0);
#line 198475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_WindowStates___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowStates___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::WindowStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_WindowStates, &a0, &a0State, &a1))
        {
             ::Qt::WindowStates*sipRes;

            sipRes = new  ::Qt::WindowStates((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_WindowStates,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowStates,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_WindowStates___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowStates___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_WindowStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::WindowStates *sipCpp = reinterpret_cast< ::Qt::WindowStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::WindowStates(*sipCpp | a0);
#line 198547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_WindowStates___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowStates___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::WindowStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_WindowStates, &a0, &a0State, &a1))
        {
             ::Qt::WindowStates*sipRes;

            sipRes = new  ::Qt::WindowStates((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_WindowStates,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowStates,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_WindowStates___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowStates___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_WindowStates)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::WindowStates *sipCpp = reinterpret_cast< ::Qt::WindowStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowStates));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::WindowStates::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_WindowStates___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowStates___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::WindowStates* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_WindowStates, &a0, &a0State, &a1))
        {
             ::Qt::WindowStates*sipRes;

            sipRes = new  ::Qt::WindowStates((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_WindowStates,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowStates,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_WindowStates___invert__(PyObject *);}
static PyObject *slot_Qt_WindowStates___invert__(PyObject *sipSelf)
{
     ::Qt::WindowStates *sipCpp = reinterpret_cast< ::Qt::WindowStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowStates));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::WindowStates*sipRes;

            sipRes = new  ::Qt::WindowStates(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowStates,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_WindowStates___int__(PyObject *);}
static PyObject *slot_Qt_WindowStates___int__(PyObject *sipSelf)
{
     ::Qt::WindowStates *sipCpp = reinterpret_cast< ::Qt::WindowStates *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowStates));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_WindowStates(void *, int);}
static void release_Qt_WindowStates(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::WindowStates *>(sipCppV);
}


extern "C" {static void assign_Qt_WindowStates(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_WindowStates(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::WindowStates *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::WindowStates *>(sipSrc);
}


extern "C" {static void *array_Qt_WindowStates(SIP_SSIZE_T);}
static void *array_Qt_WindowStates(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::WindowStates[sipNrElem];
}


extern "C" {static void *copy_Qt_WindowStates(const void *, SIP_SSIZE_T);}
static void *copy_Qt_WindowStates(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::WindowStates(reinterpret_cast<const  ::Qt::WindowStates *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_WindowStates(sipSimpleWrapper *);}
static void dealloc_Qt_WindowStates(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_WindowStates(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_WindowStates(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_WindowStates(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::WindowStates *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::WindowStates();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::WindowStates(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::WindowStates* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_WindowStates, &a0, &a0State))
        {
            sipCpp = new  ::Qt::WindowStates(*a0);
            sipReleaseType(const_cast< ::Qt::WindowStates *>(a0),sipType_Qt_WindowStates,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_WindowStates(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_WindowStates(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::WindowStates **sipCppPtr = reinterpret_cast< ::Qt::WindowStates **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::WindowStates is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_WindowState)) ||
            sipCanConvertToType(sipPy, sipType_Qt_WindowStates, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_WindowState)))
{
    *sipCppPtr = new Qt::WindowStates(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::WindowStates *>(sipConvertToType(sipPy, sipType_Qt_WindowStates, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 198815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_WindowStates[] = {
    {(void *)slot_Qt_WindowStates___hash__, hash_slot},
    {(void *)slot_Qt_WindowStates___bool__, bool_slot},
    {(void *)slot_Qt_WindowStates___ne__, ne_slot},
    {(void *)slot_Qt_WindowStates___eq__, eq_slot},
    {(void *)slot_Qt_WindowStates___ixor__, ixor_slot},
    {(void *)slot_Qt_WindowStates___xor__, xor_slot},
    {(void *)slot_Qt_WindowStates___ior__, ior_slot},
    {(void *)slot_Qt_WindowStates___or__, or_slot},
    {(void *)slot_Qt_WindowStates___iand__, iand_slot},
    {(void *)slot_Qt_WindowStates___and__, and_slot},
    {(void *)slot_Qt_WindowStates___invert__, invert_slot},
    {(void *)slot_Qt_WindowStates___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_WindowStates, "\1Qt.WindowStates()\n"
    "Qt.WindowStates(Union[Qt.WindowStates, Qt.WindowState])\n"
    "Qt.WindowStates(Qt.WindowStates)");


static pyqt5ClassPluginDef plugin_Qt_WindowStates = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_WindowStates = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__WindowStates,
        {0},
        &plugin_Qt_WindowStates
    },
    {
        sipNameNr_WindowStates,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_WindowStates,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_WindowStates,
    init_type_Qt_WindowStates,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_WindowStates,
    assign_Qt_WindowStates,
    array_Qt_WindowStates,
    copy_Qt_WindowStates,
    release_Qt_WindowStates,
    0,
    convertTo_Qt_WindowStates,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 198901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 198905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_WindowFlags___hash__(PyObject *);}
static long slot_Qt_WindowFlags___hash__(PyObject *sipSelf)
{
     ::Qt::WindowFlags *sipCpp = reinterpret_cast< ::Qt::WindowFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowFlags));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::WindowFlags::Int();
#line 198923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_WindowFlags___bool__(PyObject *);}
static int slot_Qt_WindowFlags___bool__(PyObject *sipSelf)
{
     ::Qt::WindowFlags *sipCpp = reinterpret_cast< ::Qt::WindowFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowFlags::Int() != 0);
#line 198948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_WindowFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::WindowFlags *sipCpp = reinterpret_cast< ::Qt::WindowFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::WindowFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_WindowFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowFlags::Int() != a0->operator Qt::WindowFlags::Int());
#line 198978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::WindowFlags *>(a0),sipType_Qt_WindowFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_WindowFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_WindowFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::WindowFlags *sipCpp = reinterpret_cast< ::Qt::WindowFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::WindowFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_WindowFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::WindowFlags::Int() == a0->operator Qt::WindowFlags::Int());
#line 199014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::WindowFlags *>(a0),sipType_Qt_WindowFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_WindowFlags, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_WindowFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_WindowFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::WindowFlags *sipCpp = reinterpret_cast< ::Qt::WindowFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::WindowFlags(*sipCpp ^ a0);
#line 199053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_WindowFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::WindowFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_WindowFlags, &a0, &a0State, &a1))
        {
             ::Qt::WindowFlags*sipRes;

            sipRes = new  ::Qt::WindowFlags((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_WindowFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_WindowFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_WindowFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::WindowFlags *sipCpp = reinterpret_cast< ::Qt::WindowFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::WindowFlags(*sipCpp | a0);
#line 199125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_WindowFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::WindowFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_WindowFlags, &a0, &a0State, &a1))
        {
             ::Qt::WindowFlags*sipRes;

            sipRes = new  ::Qt::WindowFlags((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_WindowFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_WindowFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_WindowFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::WindowFlags *sipCpp = reinterpret_cast< ::Qt::WindowFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::WindowFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_WindowFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_WindowFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::WindowFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_WindowFlags, &a0, &a0State, &a1))
        {
             ::Qt::WindowFlags*sipRes;

            sipRes = new  ::Qt::WindowFlags((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_WindowFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_WindowFlags___invert__(PyObject *);}
static PyObject *slot_Qt_WindowFlags___invert__(PyObject *sipSelf)
{
     ::Qt::WindowFlags *sipCpp = reinterpret_cast< ::Qt::WindowFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowFlags));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::WindowFlags*sipRes;

            sipRes = new  ::Qt::WindowFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_WindowFlags___int__(PyObject *);}
static PyObject *slot_Qt_WindowFlags___int__(PyObject *sipSelf)
{
     ::Qt::WindowFlags *sipCpp = reinterpret_cast< ::Qt::WindowFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_WindowFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_WindowFlags(void *, int);}
static void release_Qt_WindowFlags(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::WindowFlags *>(sipCppV);
}


extern "C" {static void assign_Qt_WindowFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_WindowFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::WindowFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::WindowFlags *>(sipSrc);
}


extern "C" {static void *array_Qt_WindowFlags(SIP_SSIZE_T);}
static void *array_Qt_WindowFlags(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::WindowFlags[sipNrElem];
}


extern "C" {static void *copy_Qt_WindowFlags(const void *, SIP_SSIZE_T);}
static void *copy_Qt_WindowFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::WindowFlags(reinterpret_cast<const  ::Qt::WindowFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_WindowFlags(sipSimpleWrapper *);}
static void dealloc_Qt_WindowFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_WindowFlags(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_WindowFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_WindowFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::WindowFlags *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::WindowFlags();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::WindowFlags(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::WindowFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_WindowFlags, &a0, &a0State))
        {
            sipCpp = new  ::Qt::WindowFlags(*a0);
            sipReleaseType(const_cast< ::Qt::WindowFlags *>(a0),sipType_Qt_WindowFlags,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_WindowFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_WindowFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::WindowFlags **sipCppPtr = reinterpret_cast< ::Qt::WindowFlags **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::WindowFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_WindowType)) ||
            sipCanConvertToType(sipPy, sipType_Qt_WindowFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_WindowType)))
{
    *sipCppPtr = new Qt::WindowFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::WindowFlags *>(sipConvertToType(sipPy, sipType_Qt_WindowFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 199393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_WindowFlags[] = {
    {(void *)slot_Qt_WindowFlags___hash__, hash_slot},
    {(void *)slot_Qt_WindowFlags___bool__, bool_slot},
    {(void *)slot_Qt_WindowFlags___ne__, ne_slot},
    {(void *)slot_Qt_WindowFlags___eq__, eq_slot},
    {(void *)slot_Qt_WindowFlags___ixor__, ixor_slot},
    {(void *)slot_Qt_WindowFlags___xor__, xor_slot},
    {(void *)slot_Qt_WindowFlags___ior__, ior_slot},
    {(void *)slot_Qt_WindowFlags___or__, or_slot},
    {(void *)slot_Qt_WindowFlags___iand__, iand_slot},
    {(void *)slot_Qt_WindowFlags___and__, and_slot},
    {(void *)slot_Qt_WindowFlags___invert__, invert_slot},
    {(void *)slot_Qt_WindowFlags___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_WindowFlags, "\1Qt.WindowFlags()\n"
    "Qt.WindowFlags(Union[Qt.WindowFlags, Qt.WindowType])\n"
    "Qt.WindowFlags(Qt.WindowFlags)");


static pyqt5ClassPluginDef plugin_Qt_WindowFlags = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_WindowFlags = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__WindowFlags,
        {0},
        &plugin_Qt_WindowFlags
    },
    {
        sipNameNr_WindowFlags,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_WindowFlags,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_WindowFlags,
    init_type_Qt_WindowFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_WindowFlags,
    assign_Qt_WindowFlags,
    array_Qt_WindowFlags,
    copy_Qt_WindowFlags,
    release_Qt_WindowFlags,
    0,
    convertTo_Qt_WindowFlags,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_Alignment___hash__(PyObject *);}
static long slot_Qt_Alignment___hash__(PyObject *sipSelf)
{
     ::Qt::Alignment *sipCpp = reinterpret_cast< ::Qt::Alignment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Alignment));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::Alignment::Int();
#line 199501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_Alignment___bool__(PyObject *);}
static int slot_Qt_Alignment___bool__(PyObject *sipSelf)
{
     ::Qt::Alignment *sipCpp = reinterpret_cast< ::Qt::Alignment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Alignment));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Alignment::Int() != 0);
#line 199526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_Alignment___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Alignment___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::Alignment *sipCpp = reinterpret_cast< ::Qt::Alignment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Alignment));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::Alignment* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Alignment, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Alignment::Int() != a0->operator Qt::Alignment::Int());
#line 199556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::Alignment *>(a0),sipType_Qt_Alignment,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_Alignment, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_Alignment___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Alignment___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::Alignment *sipCpp = reinterpret_cast< ::Qt::Alignment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Alignment));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::Alignment* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Alignment, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Alignment::Int() == a0->operator Qt::Alignment::Int());
#line 199592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::Alignment *>(a0),sipType_Qt_Alignment,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_Alignment, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_Alignment___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Alignment___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_Alignment)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::Alignment *sipCpp = reinterpret_cast< ::Qt::Alignment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Alignment));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::Alignment(*sipCpp ^ a0);
#line 199631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_Alignment___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Alignment___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Alignment* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Alignment, &a0, &a0State, &a1))
        {
             ::Qt::Alignment*sipRes;

            sipRes = new  ::Qt::Alignment((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_Alignment___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Alignment___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_Alignment)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::Alignment *sipCpp = reinterpret_cast< ::Qt::Alignment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Alignment));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::Alignment(*sipCpp | a0);
#line 199703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_Alignment___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Alignment___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Alignment* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Alignment, &a0, &a0State, &a1))
        {
             ::Qt::Alignment*sipRes;

            sipRes = new  ::Qt::Alignment((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_Alignment___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Alignment___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_Alignment)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::Alignment *sipCpp = reinterpret_cast< ::Qt::Alignment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Alignment));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::Alignment::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_Alignment___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Alignment___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Alignment* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Alignment, &a0, &a0State, &a1))
        {
             ::Qt::Alignment*sipRes;

            sipRes = new  ::Qt::Alignment((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_Alignment___invert__(PyObject *);}
static PyObject *slot_Qt_Alignment___invert__(PyObject *sipSelf)
{
     ::Qt::Alignment *sipCpp = reinterpret_cast< ::Qt::Alignment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Alignment));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::Alignment*sipRes;

            sipRes = new  ::Qt::Alignment(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_Alignment___int__(PyObject *);}
static PyObject *slot_Qt_Alignment___int__(PyObject *sipSelf)
{
     ::Qt::Alignment *sipCpp = reinterpret_cast< ::Qt::Alignment *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Alignment));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_Alignment(void *, int);}
static void release_Qt_Alignment(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::Alignment *>(sipCppV);
}


extern "C" {static void assign_Qt_Alignment(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_Alignment(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::Alignment *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::Alignment *>(sipSrc);
}


extern "C" {static void *array_Qt_Alignment(SIP_SSIZE_T);}
static void *array_Qt_Alignment(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::Alignment[sipNrElem];
}


extern "C" {static void *copy_Qt_Alignment(const void *, SIP_SSIZE_T);}
static void *copy_Qt_Alignment(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::Alignment(reinterpret_cast<const  ::Qt::Alignment *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_Alignment(sipSimpleWrapper *);}
static void dealloc_Qt_Alignment(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_Alignment(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_Alignment(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_Alignment(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::Alignment *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::Alignment();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::Alignment(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::Alignment* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp = new  ::Qt::Alignment(*a0);
            sipReleaseType(const_cast< ::Qt::Alignment *>(a0),sipType_Qt_Alignment,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_Alignment(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_Alignment(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::Alignment **sipCppPtr = reinterpret_cast< ::Qt::Alignment **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::Alignment is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_AlignmentFlag)) ||
            sipCanConvertToType(sipPy, sipType_Qt_Alignment, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_AlignmentFlag)))
{
    *sipCppPtr = new Qt::Alignment(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::Alignment *>(sipConvertToType(sipPy, sipType_Qt_Alignment, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 199971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_Alignment[] = {
    {(void *)slot_Qt_Alignment___hash__, hash_slot},
    {(void *)slot_Qt_Alignment___bool__, bool_slot},
    {(void *)slot_Qt_Alignment___ne__, ne_slot},
    {(void *)slot_Qt_Alignment___eq__, eq_slot},
    {(void *)slot_Qt_Alignment___ixor__, ixor_slot},
    {(void *)slot_Qt_Alignment___xor__, xor_slot},
    {(void *)slot_Qt_Alignment___ior__, ior_slot},
    {(void *)slot_Qt_Alignment___or__, or_slot},
    {(void *)slot_Qt_Alignment___iand__, iand_slot},
    {(void *)slot_Qt_Alignment___and__, and_slot},
    {(void *)slot_Qt_Alignment___invert__, invert_slot},
    {(void *)slot_Qt_Alignment___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_Alignment, "\1Qt.Alignment()\n"
    "Qt.Alignment(Union[Qt.Alignment, Qt.AlignmentFlag])\n"
    "Qt.Alignment(Qt.Alignment)");


static pyqt5ClassPluginDef plugin_Qt_Alignment = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_Alignment = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__Alignment,
        {0},
        &plugin_Qt_Alignment
    },
    {
        sipNameNr_Alignment,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_Alignment,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_Alignment,
    init_type_Qt_Alignment,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_Alignment,
    assign_Qt_Alignment,
    array_Qt_Alignment,
    copy_Qt_Alignment,
    release_Qt_Alignment,
    0,
    convertTo_Qt_Alignment,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 200057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 200061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_Orientations___hash__(PyObject *);}
static long slot_Qt_Orientations___hash__(PyObject *sipSelf)
{
     ::Qt::Orientations *sipCpp = reinterpret_cast< ::Qt::Orientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Orientations));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::Orientations::Int();
#line 200079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_Orientations___bool__(PyObject *);}
static int slot_Qt_Orientations___bool__(PyObject *sipSelf)
{
     ::Qt::Orientations *sipCpp = reinterpret_cast< ::Qt::Orientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Orientations));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Orientations::Int() != 0);
#line 200104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_Orientations___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Orientations___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::Orientations *sipCpp = reinterpret_cast< ::Qt::Orientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Orientations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::Orientations* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Orientations, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Orientations::Int() != a0->operator Qt::Orientations::Int());
#line 200134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::Orientations *>(a0),sipType_Qt_Orientations,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_Orientations, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_Orientations___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Orientations___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::Orientations *sipCpp = reinterpret_cast< ::Qt::Orientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Orientations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::Orientations* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_Orientations, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::Orientations::Int() == a0->operator Qt::Orientations::Int());
#line 200170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::Orientations *>(a0),sipType_Qt_Orientations,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_Orientations, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_Orientations___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Orientations___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_Orientations)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::Orientations *sipCpp = reinterpret_cast< ::Qt::Orientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Orientations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::Orientations(*sipCpp ^ a0);
#line 200209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_Orientations___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Orientations___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Orientations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Orientations, &a0, &a0State, &a1))
        {
             ::Qt::Orientations*sipRes;

            sipRes = new  ::Qt::Orientations((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_Orientations,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_Orientations___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Orientations___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_Orientations)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::Orientations *sipCpp = reinterpret_cast< ::Qt::Orientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Orientations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::Orientations(*sipCpp | a0);
#line 200281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_Orientations___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Orientations___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Orientations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Orientations, &a0, &a0State, &a1))
        {
             ::Qt::Orientations*sipRes;

            sipRes = new  ::Qt::Orientations((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_Orientations,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_Orientations___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Orientations___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_Orientations)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::Orientations *sipCpp = reinterpret_cast< ::Qt::Orientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Orientations));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::Orientations::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_Orientations___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_Orientations___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::Orientations* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_Orientations, &a0, &a0State, &a1))
        {
             ::Qt::Orientations*sipRes;

            sipRes = new  ::Qt::Orientations((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_Orientations,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_Orientations___invert__(PyObject *);}
static PyObject *slot_Qt_Orientations___invert__(PyObject *sipSelf)
{
     ::Qt::Orientations *sipCpp = reinterpret_cast< ::Qt::Orientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Orientations));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::Orientations*sipRes;

            sipRes = new  ::Qt::Orientations(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_Orientations___int__(PyObject *);}
static PyObject *slot_Qt_Orientations___int__(PyObject *sipSelf)
{
     ::Qt::Orientations *sipCpp = reinterpret_cast< ::Qt::Orientations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_Orientations));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_Orientations(void *, int);}
static void release_Qt_Orientations(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::Orientations *>(sipCppV);
}


extern "C" {static void assign_Qt_Orientations(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_Orientations(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::Orientations *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::Orientations *>(sipSrc);
}


extern "C" {static void *array_Qt_Orientations(SIP_SSIZE_T);}
static void *array_Qt_Orientations(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::Orientations[sipNrElem];
}


extern "C" {static void *copy_Qt_Orientations(const void *, SIP_SSIZE_T);}
static void *copy_Qt_Orientations(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::Orientations(reinterpret_cast<const  ::Qt::Orientations *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_Orientations(sipSimpleWrapper *);}
static void dealloc_Qt_Orientations(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_Orientations(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_Orientations(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_Orientations(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::Orientations *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::Orientations();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::Orientations(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::Orientations* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_Orientations, &a0, &a0State))
        {
            sipCpp = new  ::Qt::Orientations(*a0);
            sipReleaseType(const_cast< ::Qt::Orientations *>(a0),sipType_Qt_Orientations,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_Orientations(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_Orientations(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::Orientations **sipCppPtr = reinterpret_cast< ::Qt::Orientations **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::Orientations is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_Orientation)) ||
            sipCanConvertToType(sipPy, sipType_Qt_Orientations, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_Orientation)))
{
    *sipCppPtr = new Qt::Orientations(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::Orientations *>(sipConvertToType(sipPy, sipType_Qt_Orientations, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 200549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_Orientations[] = {
    {(void *)slot_Qt_Orientations___hash__, hash_slot},
    {(void *)slot_Qt_Orientations___bool__, bool_slot},
    {(void *)slot_Qt_Orientations___ne__, ne_slot},
    {(void *)slot_Qt_Orientations___eq__, eq_slot},
    {(void *)slot_Qt_Orientations___ixor__, ixor_slot},
    {(void *)slot_Qt_Orientations___xor__, xor_slot},
    {(void *)slot_Qt_Orientations___ior__, ior_slot},
    {(void *)slot_Qt_Orientations___or__, or_slot},
    {(void *)slot_Qt_Orientations___iand__, iand_slot},
    {(void *)slot_Qt_Orientations___and__, and_slot},
    {(void *)slot_Qt_Orientations___invert__, invert_slot},
    {(void *)slot_Qt_Orientations___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_Orientations, "\1Qt.Orientations()\n"
    "Qt.Orientations(Union[Qt.Orientations, Qt.Orientation])\n"
    "Qt.Orientations(Qt.Orientations)");


static pyqt5ClassPluginDef plugin_Qt_Orientations = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_Orientations = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__Orientations,
        {0},
        &plugin_Qt_Orientations
    },
    {
        sipNameNr_Orientations,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_Orientations,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_Orientations,
    init_type_Qt_Orientations,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_Orientations,
    assign_Qt_Orientations,
    array_Qt_Orientations,
    copy_Qt_Orientations,
    release_Qt_Orientations,
    0,
    convertTo_Qt_Orientations,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 200635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 200639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_MouseButtons___hash__(PyObject *);}
static long slot_Qt_MouseButtons___hash__(PyObject *sipSelf)
{
     ::Qt::MouseButtons *sipCpp = reinterpret_cast< ::Qt::MouseButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseButtons));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::MouseButtons::Int();
#line 200657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_MouseButtons___bool__(PyObject *);}
static int slot_Qt_MouseButtons___bool__(PyObject *sipSelf)
{
     ::Qt::MouseButtons *sipCpp = reinterpret_cast< ::Qt::MouseButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseButtons));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseButtons::Int() != 0);
#line 200682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_MouseButtons___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseButtons___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::MouseButtons *sipCpp = reinterpret_cast< ::Qt::MouseButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::MouseButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MouseButtons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseButtons::Int() != a0->operator Qt::MouseButtons::Int());
#line 200712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::MouseButtons *>(a0),sipType_Qt_MouseButtons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_MouseButtons, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_MouseButtons___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseButtons___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::MouseButtons *sipCpp = reinterpret_cast< ::Qt::MouseButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::MouseButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_MouseButtons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::MouseButtons::Int() == a0->operator Qt::MouseButtons::Int());
#line 200748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::MouseButtons *>(a0),sipType_Qt_MouseButtons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_MouseButtons, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_MouseButtons___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseButtons___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_MouseButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::MouseButtons *sipCpp = reinterpret_cast< ::Qt::MouseButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::MouseButtons(*sipCpp ^ a0);
#line 200787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_MouseButtons___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseButtons___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MouseButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MouseButtons, &a0, &a0State, &a1))
        {
             ::Qt::MouseButtons*sipRes;

            sipRes = new  ::Qt::MouseButtons((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_MouseButtons,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_MouseButtons___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseButtons___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_MouseButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::MouseButtons *sipCpp = reinterpret_cast< ::Qt::MouseButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::MouseButtons(*sipCpp | a0);
#line 200859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_MouseButtons___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseButtons___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MouseButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MouseButtons, &a0, &a0State, &a1))
        {
             ::Qt::MouseButtons*sipRes;

            sipRes = new  ::Qt::MouseButtons((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_MouseButtons,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_MouseButtons___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseButtons___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_MouseButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::MouseButtons *sipCpp = reinterpret_cast< ::Qt::MouseButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::MouseButtons::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_MouseButtons___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_MouseButtons___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::MouseButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_MouseButtons, &a0, &a0State, &a1))
        {
             ::Qt::MouseButtons*sipRes;

            sipRes = new  ::Qt::MouseButtons((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_MouseButtons,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_MouseButtons___invert__(PyObject *);}
static PyObject *slot_Qt_MouseButtons___invert__(PyObject *sipSelf)
{
     ::Qt::MouseButtons *sipCpp = reinterpret_cast< ::Qt::MouseButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseButtons));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::MouseButtons*sipRes;

            sipRes = new  ::Qt::MouseButtons(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_MouseButtons___int__(PyObject *);}
static PyObject *slot_Qt_MouseButtons___int__(PyObject *sipSelf)
{
     ::Qt::MouseButtons *sipCpp = reinterpret_cast< ::Qt::MouseButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_MouseButtons));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_MouseButtons(void *, int);}
static void release_Qt_MouseButtons(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::MouseButtons *>(sipCppV);
}


extern "C" {static void assign_Qt_MouseButtons(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_MouseButtons(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::MouseButtons *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::MouseButtons *>(sipSrc);
}


extern "C" {static void *array_Qt_MouseButtons(SIP_SSIZE_T);}
static void *array_Qt_MouseButtons(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::MouseButtons[sipNrElem];
}


extern "C" {static void *copy_Qt_MouseButtons(const void *, SIP_SSIZE_T);}
static void *copy_Qt_MouseButtons(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::MouseButtons(reinterpret_cast<const  ::Qt::MouseButtons *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_MouseButtons(sipSimpleWrapper *);}
static void dealloc_Qt_MouseButtons(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_MouseButtons(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_MouseButtons(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_MouseButtons(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::MouseButtons *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::MouseButtons();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::MouseButtons(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::MouseButtons* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_MouseButtons, &a0, &a0State))
        {
            sipCpp = new  ::Qt::MouseButtons(*a0);
            sipReleaseType(const_cast< ::Qt::MouseButtons *>(a0),sipType_Qt_MouseButtons,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_MouseButtons(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_MouseButtons(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::MouseButtons **sipCppPtr = reinterpret_cast< ::Qt::MouseButtons **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::MouseButtons is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_MouseButton)) ||
            sipCanConvertToType(sipPy, sipType_Qt_MouseButtons, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_MouseButton)))
{
    *sipCppPtr = new Qt::MouseButtons(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::MouseButtons *>(sipConvertToType(sipPy, sipType_Qt_MouseButtons, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 201127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_MouseButtons[] = {
    {(void *)slot_Qt_MouseButtons___hash__, hash_slot},
    {(void *)slot_Qt_MouseButtons___bool__, bool_slot},
    {(void *)slot_Qt_MouseButtons___ne__, ne_slot},
    {(void *)slot_Qt_MouseButtons___eq__, eq_slot},
    {(void *)slot_Qt_MouseButtons___ixor__, ixor_slot},
    {(void *)slot_Qt_MouseButtons___xor__, xor_slot},
    {(void *)slot_Qt_MouseButtons___ior__, ior_slot},
    {(void *)slot_Qt_MouseButtons___or__, or_slot},
    {(void *)slot_Qt_MouseButtons___iand__, iand_slot},
    {(void *)slot_Qt_MouseButtons___and__, and_slot},
    {(void *)slot_Qt_MouseButtons___invert__, invert_slot},
    {(void *)slot_Qt_MouseButtons___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_MouseButtons, "\1Qt.MouseButtons()\n"
    "Qt.MouseButtons(Union[Qt.MouseButtons, Qt.MouseButton])\n"
    "Qt.MouseButtons(Qt.MouseButtons)");


static pyqt5ClassPluginDef plugin_Qt_MouseButtons = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_MouseButtons = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__MouseButtons,
        {0},
        &plugin_Qt_MouseButtons
    },
    {
        sipNameNr_MouseButtons,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_MouseButtons,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_MouseButtons,
    init_type_Qt_MouseButtons,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_MouseButtons,
    assign_Qt_MouseButtons,
    array_Qt_MouseButtons,
    copy_Qt_MouseButtons,
    release_Qt_MouseButtons,
    0,
    convertTo_Qt_MouseButtons,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


extern "C" {static long slot_Qt_KeyboardModifiers___hash__(PyObject *);}
static long slot_Qt_KeyboardModifiers___hash__(PyObject *sipSelf)
{
     ::Qt::KeyboardModifiers *sipCpp = reinterpret_cast< ::Qt::KeyboardModifiers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_KeyboardModifiers));

    if (!sipCpp)
        return 0;


    {
        {
            long sipRes = 0;

#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = sipCpp->operator Qt::KeyboardModifiers::Int();
#line 201235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static int slot_Qt_KeyboardModifiers___bool__(PyObject *);}
static int slot_Qt_KeyboardModifiers___bool__(PyObject *sipSelf)
{
     ::Qt::KeyboardModifiers *sipCpp = reinterpret_cast< ::Qt::KeyboardModifiers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_KeyboardModifiers));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::KeyboardModifiers::Int() != 0);
#line 201260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_KeyboardModifiers___ne__(PyObject *,PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::KeyboardModifiers *sipCpp = reinterpret_cast< ::Qt::KeyboardModifiers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_KeyboardModifiers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::KeyboardModifiers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_KeyboardModifiers, &a0, &a0State))
        {
            bool sipRes = 0;

#line 106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::KeyboardModifiers::Int() != a0->operator Qt::KeyboardModifiers::Int());
#line 201290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::KeyboardModifiers *>(a0),sipType_Qt_KeyboardModifiers,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, ne_slot, sipType_Qt_KeyboardModifiers, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_KeyboardModifiers___eq__(PyObject *,PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::Qt::KeyboardModifiers *sipCpp = reinterpret_cast< ::Qt::KeyboardModifiers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_KeyboardModifiers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::Qt::KeyboardModifiers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_Qt_KeyboardModifiers, &a0, &a0State))
        {
            bool sipRes = 0;

#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator Qt::KeyboardModifiers::Int() == a0->operator Qt::KeyboardModifiers::Int());
#line 201326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
            sipReleaseType(const_cast< ::Qt::KeyboardModifiers *>(a0),sipType_Qt_KeyboardModifiers,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, eq_slot, sipType_Qt_KeyboardModifiers, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_Qt_KeyboardModifiers___ixor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_KeyboardModifiers)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::KeyboardModifiers *sipCpp = reinterpret_cast< ::Qt::KeyboardModifiers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_KeyboardModifiers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::KeyboardModifiers(*sipCpp ^ a0);
#line 201365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_KeyboardModifiers___xor__(PyObject *,PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::KeyboardModifiers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_KeyboardModifiers, &a0, &a0State, &a1))
        {
             ::Qt::KeyboardModifiers*sipRes;

            sipRes = new  ::Qt::KeyboardModifiers((*a0 ^ a1));
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, xor_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_KeyboardModifiers___ior__(PyObject *,PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_KeyboardModifiers)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::KeyboardModifiers *sipCpp = reinterpret_cast< ::Qt::KeyboardModifiers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_KeyboardModifiers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
        *sipCpp = Qt::KeyboardModifiers(*sipCpp | a0);
#line 201437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_KeyboardModifiers___or__(PyObject *,PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::KeyboardModifiers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_KeyboardModifiers, &a0, &a0State, &a1))
        {
             ::Qt::KeyboardModifiers*sipRes;

            sipRes = new  ::Qt::KeyboardModifiers((*a0 | a1));
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, or_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_KeyboardModifiers___iand__(PyObject *,PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_Qt_KeyboardModifiers)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

     ::Qt::KeyboardModifiers *sipCpp = reinterpret_cast< ::Qt::KeyboardModifiers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_KeyboardModifiers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp-> ::Qt::KeyboardModifiers::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_Qt_KeyboardModifiers___and__(PyObject *,PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
         ::Qt::KeyboardModifiers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_Qt_KeyboardModifiers, &a0, &a0State, &a1))
        {
             ::Qt::KeyboardModifiers*sipRes;

            sipRes = new  ::Qt::KeyboardModifiers((*a0 & a1));
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,a0State);

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtCore, and_slot, NULL, sipArg0, sipArg1);
}


extern "C" {static PyObject *slot_Qt_KeyboardModifiers___invert__(PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___invert__(PyObject *sipSelf)
{
     ::Qt::KeyboardModifiers *sipCpp = reinterpret_cast< ::Qt::KeyboardModifiers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_KeyboardModifiers));

    if (!sipCpp)
        return 0;


    {
        {
             ::Qt::KeyboardModifiers*sipRes;

            sipRes = new  ::Qt::KeyboardModifiers(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_Qt_KeyboardModifiers___int__(PyObject *);}
static PyObject *slot_Qt_KeyboardModifiers___int__(PyObject *sipSelf)
{
     ::Qt::KeyboardModifiers *sipCpp = reinterpret_cast< ::Qt::KeyboardModifiers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_Qt_KeyboardModifiers));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt_KeyboardModifiers(void *, int);}
static void release_Qt_KeyboardModifiers(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt::KeyboardModifiers *>(sipCppV);
}


extern "C" {static void assign_Qt_KeyboardModifiers(void *, SIP_SSIZE_T, const void *);}
static void assign_Qt_KeyboardModifiers(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::Qt::KeyboardModifiers *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::Qt::KeyboardModifiers *>(sipSrc);
}


extern "C" {static void *array_Qt_KeyboardModifiers(SIP_SSIZE_T);}
static void *array_Qt_KeyboardModifiers(SIP_SSIZE_T sipNrElem)
{
    return new  ::Qt::KeyboardModifiers[sipNrElem];
}


extern "C" {static void *copy_Qt_KeyboardModifiers(const void *, SIP_SSIZE_T);}
static void *copy_Qt_KeyboardModifiers(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::Qt::KeyboardModifiers(reinterpret_cast<const  ::Qt::KeyboardModifiers *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Qt_KeyboardModifiers(sipSimpleWrapper *);}
static void dealloc_Qt_KeyboardModifiers(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt_KeyboardModifiers(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_Qt_KeyboardModifiers(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt_KeyboardModifiers(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt::KeyboardModifiers *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::Qt::KeyboardModifiers();

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new  ::Qt::KeyboardModifiers(a0);

            return sipCpp;
        }
    }

    {
        const  ::Qt::KeyboardModifiers* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_Qt_KeyboardModifiers, &a0, &a0State))
        {
            sipCpp = new  ::Qt::KeyboardModifiers(*a0);
            sipReleaseType(const_cast< ::Qt::KeyboardModifiers *>(a0),sipType_Qt_KeyboardModifiers,a0State);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_Qt_KeyboardModifiers(PyObject *, void **, int *, PyObject *);}
static int convertTo_Qt_KeyboardModifiers(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
     ::Qt::KeyboardModifiers **sipCppPtr = reinterpret_cast< ::Qt::KeyboardModifiers **>(sipCppPtrV);

#line 121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a Qt::KeyboardModifiers is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_KeyboardModifier)) ||
            sipCanConvertToType(sipPy, sipType_Qt_KeyboardModifiers, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_Qt_KeyboardModifier)))
{
    *sipCppPtr = new Qt::KeyboardModifiers(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<Qt::KeyboardModifiers *>(sipConvertToType(sipPy, sipType_Qt_KeyboardModifiers, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 201705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_Qt_KeyboardModifiers[] = {
    {(void *)slot_Qt_KeyboardModifiers___hash__, hash_slot},
    {(void *)slot_Qt_KeyboardModifiers___bool__, bool_slot},
    {(void *)slot_Qt_KeyboardModifiers___ne__, ne_slot},
    {(void *)slot_Qt_KeyboardModifiers___eq__, eq_slot},
    {(void *)slot_Qt_KeyboardModifiers___ixor__, ixor_slot},
    {(void *)slot_Qt_KeyboardModifiers___xor__, xor_slot},
    {(void *)slot_Qt_KeyboardModifiers___ior__, ior_slot},
    {(void *)slot_Qt_KeyboardModifiers___or__, or_slot},
    {(void *)slot_Qt_KeyboardModifiers___iand__, iand_slot},
    {(void *)slot_Qt_KeyboardModifiers___and__, and_slot},
    {(void *)slot_Qt_KeyboardModifiers___invert__, invert_slot},
    {(void *)slot_Qt_KeyboardModifiers___int__, int_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_Qt_KeyboardModifiers, "\1Qt.KeyboardModifiers()\n"
    "Qt.KeyboardModifiers(Union[Qt.KeyboardModifiers, Qt.KeyboardModifier])\n"
    "Qt.KeyboardModifiers(Qt.KeyboardModifiers)");


static pyqt5ClassPluginDef plugin_Qt_KeyboardModifiers = {
    0,
    1,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt_KeyboardModifiers = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt__KeyboardModifiers,
        {0},
        &plugin_Qt_KeyboardModifiers
    },
    {
        sipNameNr_KeyboardModifiers,
        {320, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_Qt_KeyboardModifiers,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_Qt_KeyboardModifiers,
    init_type_Qt_KeyboardModifiers,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Qt_KeyboardModifiers,
    assign_Qt_KeyboardModifiers,
    array_Qt_KeyboardModifiers,
    copy_Qt_KeyboardModifiers,
    release_Qt_KeyboardModifiers,
    0,
    convertTo_Qt_KeyboardModifiers,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 201791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"


static sipEnumMemberDef enummembers_Qt[] = {
    {sipName_AA_CompressHighFrequencyEvents, static_cast<int>( ::Qt::AA_CompressHighFrequencyEvents), 324},
    {sipName_AA_DisableHighDpiScaling, static_cast<int>( ::Qt::AA_DisableHighDpiScaling), 324},
    {sipName_AA_DisableShaderDiskCache, static_cast<int>( ::Qt::AA_DisableShaderDiskCache), 324},
    {sipName_AA_DontCheckOpenGLContextThreadAffinity, static_cast<int>( ::Qt::AA_DontCheckOpenGLContextThreadAffinity), 324},
    {sipName_AA_DontCreateNativeWidgetSiblings, static_cast<int>( ::Qt::AA_DontCreateNativeWidgetSiblings), 324},
    {sipName_AA_DontShowIconsInMenus, static_cast<int>( ::Qt::AA_DontShowIconsInMenus), 324},
    {sipName_AA_DontUseNativeDialogs, static_cast<int>( ::Qt::AA_DontUseNativeDialogs), 324},
    {sipName_AA_DontUseNativeMenuBar, static_cast<int>( ::Qt::AA_DontUseNativeMenuBar), 324},
    {sipName_AA_EnableHighDpiScaling, static_cast<int>( ::Qt::AA_EnableHighDpiScaling), 324},
    {sipName_AA_ForceRasterWidgets, static_cast<int>( ::Qt::AA_ForceRasterWidgets), 324},
    {sipName_AA_ImmediateWidgetCreation, static_cast<int>( ::Qt::AA_ImmediateWidgetCreation), 324},
    {sipName_AA_MSWindowsUseDirect3DByDefault, static_cast<int>( ::Qt::AA_MSWindowsUseDirect3DByDefault), 324},
    {sipName_AA_MacDontSwapCtrlAndMeta, static_cast<int>( ::Qt::AA_MacDontSwapCtrlAndMeta), 324},
    {sipName_AA_MacPluginApplication, static_cast<int>( ::Qt::AA_MacPluginApplication), 324},
    {sipName_AA_NativeWindows, static_cast<int>( ::Qt::AA_NativeWindows), 324},
    {sipName_AA_PluginApplication, static_cast<int>( ::Qt::AA_PluginApplication), 324},
    {sipName_AA_SetPalette, static_cast<int>( ::Qt::AA_SetPalette), 324},
    {sipName_AA_ShareOpenGLContexts, static_cast<int>( ::Qt::AA_ShareOpenGLContexts), 324},
    {sipName_AA_SynthesizeMouseForUnhandledTabletEvents, static_cast<int>( ::Qt::AA_SynthesizeMouseForUnhandledTabletEvents), 324},
    {sipName_AA_SynthesizeMouseForUnhandledTouchEvents, static_cast<int>( ::Qt::AA_SynthesizeMouseForUnhandledTouchEvents), 324},
    {sipName_AA_SynthesizeTouchForUnhandledMouseEvents, static_cast<int>( ::Qt::AA_SynthesizeTouchForUnhandledMouseEvents), 324},
    {sipName_AA_Use96Dpi, static_cast<int>( ::Qt::AA_Use96Dpi), 324},
    {sipName_AA_UseDesktopOpenGL, static_cast<int>( ::Qt::AA_UseDesktopOpenGL), 324},
    {sipName_AA_UseHighDpiPixmaps, static_cast<int>( ::Qt::AA_UseHighDpiPixmaps), 324},
    {sipName_AA_UseOpenGLES, static_cast<int>( ::Qt::AA_UseOpenGLES), 324},
    {sipName_AA_UseSoftwareOpenGL, static_cast<int>( ::Qt::AA_UseSoftwareOpenGL), 324},
    {sipName_AA_UseStyleSheetPropagationInWidgetStyles, static_cast<int>( ::Qt::AA_UseStyleSheetPropagationInWidgetStyles), 324},
    {sipName_AA_X11InitThreads, static_cast<int>( ::Qt::AA_X11InitThreads), 324},
    {sipName_ALT, static_cast<int>( ::Qt::ALT), 381},
    {sipName_AbsoluteSize, static_cast<int>( ::Qt::AbsoluteSize), 400},
    {sipName_AccessibleDescriptionRole, static_cast<int>( ::Qt::AccessibleDescriptionRole), 369},
    {sipName_AccessibleTextRole, static_cast<int>( ::Qt::AccessibleTextRole), 369},
    {sipName_ActionMask, static_cast<int>( ::Qt::ActionMask), 346},
    {sipName_ActionsContextMenu, static_cast<int>( ::Qt::ActionsContextMenu), 337},
    {sipName_ActiveWindowFocusReason, static_cast<int>( ::Qt::ActiveWindowFocusReason), 356},
    {sipName_AddToSelection, static_cast<int>( ::Qt::AddToSelection), 373},
    {sipName_AlignAbsolute, static_cast<int>( ::Qt::AlignAbsolute), 322},
    {sipName_AlignBaseline, static_cast<int>( ::Qt::AlignBaseline), 322},
    {sipName_AlignBottom, static_cast<int>( ::Qt::AlignBottom), 322},
    {sipName_AlignCenter, static_cast<int>( ::Qt::AlignCenter), 322},
    {sipName_AlignHCenter, static_cast<int>( ::Qt::AlignHCenter), 322},
    {sipName_AlignHorizontal_Mask, static_cast<int>( ::Qt::AlignHorizontal_Mask), 322},
    {sipName_AlignJustify, static_cast<int>( ::Qt::AlignJustify), 322},
    {sipName_AlignLeading, static_cast<int>( ::Qt::AlignLeading), 322},
    {sipName_AlignLeft, static_cast<int>( ::Qt::AlignLeft), 322},
    {sipName_AlignRight, static_cast<int>( ::Qt::AlignRight), 322},
    {sipName_AlignTop, static_cast<int>( ::Qt::AlignTop), 322},
    {sipName_AlignTrailing, static_cast<int>( ::Qt::AlignTrailing), 322},
    {sipName_AlignVCenter, static_cast<int>( ::Qt::AlignVCenter), 322},
    {sipName_AlignVertical_Mask, static_cast<int>( ::Qt::AlignVertical_Mask), 322},
    {sipName_AllButtons, static_cast<int>( ::Qt::AllButtons), 382},
    {sipName_AllDockWidgetAreas, static_cast<int>( ::Qt::AllDockWidgetAreas), 344},
    {sipName_AllToolBarAreas, static_cast<int>( ::Qt::AllToolBarAreas), 411},
    {sipName_AltModifier, static_cast<int>( ::Qt::AltModifier), 375},
    {sipName_AnchorBottom, static_cast<int>( ::Qt::AnchorBottom), 323},
    {sipName_AnchorHorizontalCenter, static_cast<int>( ::Qt::AnchorHorizontalCenter), 323},
    {sipName_AnchorLeft, static_cast<int>( ::Qt::AnchorLeft), 323},
    {sipName_AnchorRight, static_cast<int>( ::Qt::AnchorRight), 323},
    {sipName_AnchorTop, static_cast<int>( ::Qt::AnchorTop), 323},
    {sipName_AnchorVerticalCenter, static_cast<int>( ::Qt::AnchorVerticalCenter), 323},
    {sipName_ApplicationActive, static_cast<int>( ::Qt::ApplicationActive), 325},
    {sipName_ApplicationHidden, static_cast<int>( ::Qt::ApplicationHidden), 325},
    {sipName_ApplicationInactive, static_cast<int>( ::Qt::ApplicationInactive), 325},
    {sipName_ApplicationModal, static_cast<int>( ::Qt::ApplicationModal), 422},
    {sipName_ApplicationShortcut, static_cast<int>( ::Qt::ApplicationShortcut), 398},
    {sipName_ApplicationSuspended, static_cast<int>( ::Qt::ApplicationSuspended), 325},
    {sipName_ArrowCursor, static_cast<int>( ::Qt::ArrowCursor), 341},
    {sipName_AscendingOrder, static_cast<int>( ::Qt::AscendingOrder), 401},
    {sipName_AutoColor, static_cast<int>( ::Qt::AutoColor), 363},
    {sipName_AutoConnection, static_cast<int>( ::Qt::AutoConnection), 336},
    {sipName_AutoDither, static_cast<int>( ::Qt::AutoDither), 363},
    {sipName_AutoText, static_cast<int>( ::Qt::AutoText), 405},
    {sipName_AvoidDither, static_cast<int>( ::Qt::AvoidDither), 363},
    {sipName_BDiagPattern, static_cast<int>( ::Qt::BDiagPattern), 331},
    {sipName_BackButton, static_cast<int>( ::Qt::BackButton), 382},
    {sipName_BackgroundColorRole, static_cast<int>( ::Qt::BackgroundColorRole), 369},
    {sipName_BackgroundRole, static_cast<int>( ::Qt::BackgroundRole), 369},
    {sipName_BacktabFocusReason, static_cast<int>( ::Qt::BacktabFocusReason), 356},
    {sipName_BeginNativeGesture, static_cast<int>( ::Qt::BeginNativeGesture), 387},
    {sipName_BevelJoin, static_cast<int>( ::Qt::BevelJoin), 392},
    {sipName_BitmapCursor, static_cast<int>( ::Qt::BitmapCursor), 341},
    {sipName_BlankCursor, static_cast<int>( ::Qt::BlankCursor), 341},
    {sipName_BlockingQueuedConnection, static_cast<int>( ::Qt::BlockingQueuedConnection), 336},
    {sipName_BottomDockWidgetArea, static_cast<int>( ::Qt::BottomDockWidgetArea), 344},
    {sipName_BottomEdge, static_cast<int>( ::Qt::BottomEdge), 348},
    {sipName_BottomLeftCorner, static_cast<int>( ::Qt::BottomLeftCorner), 339},
    {sipName_BottomLeftSection, static_cast<int>( ::Qt::BottomLeftSection), 421},
    {sipName_BottomRightCorner, static_cast<int>( ::Qt::BottomRightCorner), 339},
    {sipName_BottomRightSection, static_cast<int>( ::Qt::BottomRightSection), 421},
    {sipName_BottomSection, static_cast<int>( ::Qt::BottomSection), 421},
    {sipName_BottomToolBarArea, static_cast<int>( ::Qt::BottomToolBarArea), 411},
    {sipName_BusyCursor, static_cast<int>( ::Qt::BusyCursor), 341},
    {sipName_BypassGraphicsProxyWidget, static_cast<int>( ::Qt::BypassGraphicsProxyWidget), 425},
    {sipName_BypassWindowManagerHint, static_cast<int>( ::Qt::BypassWindowManagerHint), 425},
    {sipName_CTRL, static_cast<int>( ::Qt::CTRL), 381},
    {sipName_CaseInsensitive, static_cast<int>( ::Qt::CaseInsensitive), 332},
    {sipName_CaseSensitive, static_cast<int>( ::Qt::CaseSensitive), 332},
    {sipName_CheckStateRole, static_cast<int>( ::Qt::CheckStateRole), 369},
    {sipName_Checked, static_cast<int>( ::Qt::Checked), 333},
    {sipName_ChecksumIso3309, static_cast<int>( ::Qt::ChecksumIso3309), 334},
    {sipName_ChecksumItuV41, static_cast<int>( ::Qt::ChecksumItuV41), 334},
    {sipName_ClickFocus, static_cast<int>( ::Qt::ClickFocus), 355},
    {sipName_ClosedHandCursor, static_cast<int>( ::Qt::ClosedHandCursor), 341},
    {sipName_CoarseTimer, static_cast<int>( ::Qt::CoarseTimer), 410},
    {sipName_ColorOnly, static_cast<int>( ::Qt::ColorOnly), 363},
    {sipName_ConicalGradientPattern, static_cast<int>( ::Qt::ConicalGradientPattern), 331},
    {sipName_ContainsItemBoundingRect, static_cast<int>( ::Qt::ContainsItemBoundingRect), 372},
    {sipName_ContainsItemShape, static_cast<int>( ::Qt::ContainsItemShape), 372},
    {sipName_ControlModifier, static_cast<int>( ::Qt::ControlModifier), 375},
    {sipName_CopyAction, static_cast<int>( ::Qt::CopyAction), 346},
    {sipName_CoverWindow, static_cast<int>( ::Qt::CoverWindow), 425},
    {sipName_CrossCursor, static_cast<int>( ::Qt::CrossCursor), 341},
    {sipName_CrossPattern, static_cast<int>( ::Qt::CrossPattern), 331},
    {sipName_CustomContextMenu, static_cast<int>( ::Qt::CustomContextMenu), 337},
    {sipName_CustomCursor, static_cast<int>( ::Qt::CustomCursor), 341},
    {sipName_CustomDashLine, static_cast<int>( ::Qt::CustomDashLine), 393},
    {sipName_CustomGesture, static_cast<int>( ::Qt::CustomGesture), 360},
    {sipName_CustomizeWindowHint, static_cast<int>( ::Qt::CustomizeWindowHint), 425},
    {sipName_DashDotDotLine, static_cast<int>( ::Qt::DashDotDotLine), 393},
    {sipName_DashDotLine, static_cast<int>( ::Qt::DashDotLine), 393},
    {sipName_DashLine, static_cast<int>( ::Qt::DashLine), 393},
    {sipName_DecorationRole, static_cast<int>( ::Qt::DecorationRole), 369},
    {sipName_DefaultContextMenu, static_cast<int>( ::Qt::DefaultContextMenu), 337},
    {sipName_DefaultLocaleLongDate, static_cast<int>( ::Qt::DefaultLocaleLongDate), 342},
    {sipName_DefaultLocaleShortDate, static_cast<int>( ::Qt::DefaultLocaleShortDate), 342},
    {sipName_Dense1Pattern, static_cast<int>( ::Qt::Dense1Pattern), 331},
    {sipName_Dense2Pattern, static_cast<int>( ::Qt::Dense2Pattern), 331},
    {sipName_Dense3Pattern, static_cast<int>( ::Qt::Dense3Pattern), 331},
    {sipName_Dense4Pattern, static_cast<int>( ::Qt::Dense4Pattern), 331},
    {sipName_Dense5Pattern, static_cast<int>( ::Qt::Dense5Pattern), 331},
    {sipName_Dense6Pattern, static_cast<int>( ::Qt::Dense6Pattern), 331},
    {sipName_Dense7Pattern, static_cast<int>( ::Qt::Dense7Pattern), 331},
    {sipName_DescendingOrder, static_cast<int>( ::Qt::DescendingOrder), 401},
    {sipName_Desktop, static_cast<int>( ::Qt::Desktop), 425},
    {sipName_DeviceCoordinates, static_cast<int>( ::Qt::DeviceCoordinates), 338},
    {sipName_DiagCrossPattern, static_cast<int>( ::Qt::DiagCrossPattern), 331},
    {sipName_Dialog, static_cast<int>( ::Qt::Dialog), 425},
    {sipName_DiffuseAlphaDither, static_cast<int>( ::Qt::DiffuseAlphaDither), 363},
    {sipName_DiffuseDither, static_cast<int>( ::Qt::DiffuseDither), 363},
    {sipName_DirectConnection, static_cast<int>( ::Qt::DirectConnection), 336},
    {sipName_DisplayRole, static_cast<int>( ::Qt::DisplayRole), 369},
    {sipName_DockWidgetArea_Mask, static_cast<int>( ::Qt::DockWidgetArea_Mask), 344},
    {sipName_DontStartGestureOnChildren, static_cast<int>( ::Qt::DontStartGestureOnChildren), 357},
    {sipName_DotLine, static_cast<int>( ::Qt::DotLine), 393},
    {sipName_DownArrow, static_cast<int>( ::Qt::DownArrow), 327},
    {sipName_DragCopyCursor, static_cast<int>( ::Qt::DragCopyCursor), 341},
    {sipName_DragLinkCursor, static_cast<int>( ::Qt::DragLinkCursor), 341},
    {sipName_DragMoveCursor, static_cast<int>( ::Qt::DragMoveCursor), 341},
    {sipName_Drawer, static_cast<int>( ::Qt::Drawer), 425},
    {sipName_EditRole, static_cast<int>( ::Qt::EditRole), 369},
    {sipName_ElideLeft, static_cast<int>( ::Qt::ElideLeft), 403},
    {sipName_ElideMiddle, static_cast<int>( ::Qt::ElideMiddle), 403},
    {sipName_ElideNone, static_cast<int>( ::Qt::ElideNone), 403},
    {sipName_ElideRight, static_cast<int>( ::Qt::ElideRight), 403},
    {sipName_EndNativeGesture, static_cast<int>( ::Qt::EndNativeGesture), 387},
    {sipName_EnterKeyDefault, static_cast<int>( ::Qt::EnterKeyDefault), 350},
    {sipName_EnterKeyDone, static_cast<int>( ::Qt::EnterKeyDone), 350},
    {sipName_EnterKeyGo, static_cast<int>( ::Qt::EnterKeyGo), 350},
    {sipName_EnterKeyNext, static_cast<int>( ::Qt::EnterKeyNext), 350},
    {sipName_EnterKeyPrevious, static_cast<int>( ::Qt::EnterKeyPrevious), 350},
    {sipName_EnterKeyReturn, static_cast<int>( ::Qt::EnterKeyReturn), 350},
    {sipName_EnterKeySearch, static_cast<int>( ::Qt::EnterKeySearch), 350},
    {sipName_EnterKeySend, static_cast<int>( ::Qt::EnterKeySend), 350},
    {sipName_ExactHit, static_cast<int>( ::Qt::ExactHit), 362},
    {sipName_ExtraButton1, static_cast<int>( ::Qt::ExtraButton1), 382},
    {sipName_ExtraButton10, static_cast<int>( ::Qt::ExtraButton10), 382},
    {sipName_ExtraButton11, static_cast<int>( ::Qt::ExtraButton11), 382},
    {sipName_ExtraButton12, static_cast<int>( ::Qt::ExtraButton12), 382},
    {sipName_ExtraButton13, static_cast<int>( ::Qt::ExtraButton13), 382},
    {sipName_ExtraButton14, static_cast<int>( ::Qt::ExtraButton14), 382},
    {sipName_ExtraButton15, static_cast<int>( ::Qt::ExtraButton15), 382},
    {sipName_ExtraButton16, static_cast<int>( ::Qt::ExtraButton16), 382},
    {sipName_ExtraButton17, static_cast<int>( ::Qt::ExtraButton17), 382},
    {sipName_ExtraButton18, static_cast<int>( ::Qt::ExtraButton18), 382},
    {sipName_ExtraButton19, static_cast<int>( ::Qt::ExtraButton19), 382},
    {sipName_ExtraButton2, static_cast<int>( ::Qt::ExtraButton2), 382},
    {sipName_ExtraButton20, static_cast<int>( ::Qt::ExtraButton20), 382},
    {sipName_ExtraButton21, static_cast<int>( ::Qt::ExtraButton21), 382},
    {sipName_ExtraButton22, static_cast<int>( ::Qt::ExtraButton22), 382},
    {sipName_ExtraButton23, static_cast<int>( ::Qt::ExtraButton23), 382},
    {sipName_ExtraButton24, static_cast<int>( ::Qt::ExtraButton24), 382},
    {sipName_ExtraButton3, static_cast<int>( ::Qt::ExtraButton3), 382},
    {sipName_ExtraButton4, static_cast<int>( ::Qt::ExtraButton4), 382},
    {sipName_ExtraButton5, static_cast<int>( ::Qt::ExtraButton5), 382},
    {sipName_ExtraButton6, static_cast<int>( ::Qt::ExtraButton6), 382},
    {sipName_ExtraButton7, static_cast<int>( ::Qt::ExtraButton7), 382},
    {sipName_ExtraButton8, static_cast<int>( ::Qt::ExtraButton8), 382},
    {sipName_ExtraButton9, static_cast<int>( ::Qt::ExtraButton9), 382},
    {sipName_FDiagPattern, static_cast<int>( ::Qt::FDiagPattern), 331},
    {sipName_FastTransformation, static_cast<int>( ::Qt::FastTransformation), 416},
    {sipName_FindChildrenRecursively, static_cast<int>( ::Qt::FindChildrenRecursively), 353},
    {sipName_FindDirectChildrenOnly, static_cast<int>( ::Qt::FindDirectChildrenOnly), 353},
    {sipName_FlatCap, static_cast<int>( ::Qt::FlatCap), 391},
    {sipName_FontRole, static_cast<int>( ::Qt::FontRole), 369},
    {sipName_ForbiddenCursor, static_cast<int>( ::Qt::ForbiddenCursor), 341},
    {sipName_ForegroundRole, static_cast<int>( ::Qt::ForegroundRole), 369},
    {sipName_ForeignWindow, static_cast<int>( ::Qt::ForeignWindow), 425},
    {sipName_ForwardButton, static_cast<int>( ::Qt::ForwardButton), 382},
    {sipName_FramelessWindowHint, static_cast<int>( ::Qt::FramelessWindowHint), 425},
    {sipName_Friday, static_cast<int>( ::Qt::Friday), 343},
    {sipName_FuzzyHit, static_cast<int>( ::Qt::FuzzyHit), 362},
    {sipName_GestureCanceled, static_cast<int>( ::Qt::GestureCanceled), 359},
    {sipName_GestureFinished, static_cast<int>( ::Qt::GestureFinished), 359},
    {sipName_GestureStarted, static_cast<int>( ::Qt::GestureStarted), 359},
    {sipName_GestureUpdated, static_cast<int>( ::Qt::GestureUpdated), 359},
    {sipName_GroupSwitchModifier, static_cast<int>( ::Qt::GroupSwitchModifier), 375},
    {sipName_HighEventPriority, static_cast<int>( ::Qt::HighEventPriority), 351},
    {sipName_HorPattern, static_cast<int>( ::Qt::HorPattern), 331},
    {sipName_Horizontal, static_cast<int>( ::Qt::Horizontal), 389},
    {sipName_IBeamCursor, static_cast<int>( ::Qt::IBeamCursor), 341},
    {sipName_ISODate, static_cast<int>( ::Qt::ISODate), 342},
    {sipName_ISODateWithMs, static_cast<int>( ::Qt::ISODateWithMs), 342},
    {sipName_IgnoreAction, static_cast<int>( ::Qt::IgnoreAction), 346},
    {sipName_IgnoreAspectRatio, static_cast<int>( ::Qt::IgnoreAspectRatio), 328},
    {sipName_IgnoredGesturesPropagateToParent, static_cast<int>( ::Qt::IgnoredGesturesPropagateToParent), 357},
    {sipName_ImAbsolutePosition, static_cast<int>( ::Qt::ImAbsolutePosition), 368},
    {sipName_ImAnchorPosition, static_cast<int>( ::Qt::ImAnchorPosition), 368},
    {sipName_ImAnchorRectangle, static_cast<int>( ::Qt::ImAnchorRectangle), 368},
    {sipName_ImCurrentSelection, static_cast<int>( ::Qt::ImCurrentSelection), 368},
    {sipName_ImCursorPosition, static_cast<int>( ::Qt::ImCursorPosition), 368},
    {sipName_ImCursorRectangle, static_cast<int>( ::Qt::ImCursorRectangle), 368},
    {sipName_ImEnabled, static_cast<int>( ::Qt::ImEnabled), 368},
    {sipName_ImEnterKeyType, static_cast<int>( ::Qt::ImEnterKeyType), 368},
    {sipName_ImFont, static_cast<int>( ::Qt::ImFont), 368},
    {sipName_ImHints, static_cast<int>( ::Qt::ImHints), 368},
    {sipName_ImInputItemClipRectangle, static_cast<int>( ::Qt::ImInputItemClipRectangle), 368},
    {sipName_ImMaximumTextLength, static_cast<int>( ::Qt::ImMaximumTextLength), 368},
    {sipName_ImMicroFocus, static_cast<int>( ::Qt::ImMicroFocus), 368},
    {sipName_ImPlatformData, static_cast<int>( ::Qt::ImPlatformData), 368},
    {sipName_ImPreferredLanguage, static_cast<int>( ::Qt::ImPreferredLanguage), 368},
    {sipName_ImQueryAll, static_cast<int>( ::Qt::ImQueryAll), 368},
    {sipName_ImQueryInput, static_cast<int>( ::Qt::ImQueryInput), 368},
    {sipName_ImSurroundingText, static_cast<int>( ::Qt::ImSurroundingText), 368},
    {sipName_ImTextAfterCursor, static_cast<int>( ::Qt::ImTextAfterCursor), 368},
    {sipName_ImTextBeforeCursor, static_cast<int>( ::Qt::ImTextBeforeCursor), 368},
    {sipName_ImhDate, static_cast<int>( ::Qt::ImhDate), 365},
    {sipName_ImhDialableCharactersOnly, static_cast<int>( ::Qt::ImhDialableCharactersOnly), 365},
    {sipName_ImhDigitsOnly, static_cast<int>( ::Qt::ImhDigitsOnly), 365},
    {sipName_ImhEmailCharactersOnly, static_cast<int>( ::Qt::ImhEmailCharactersOnly), 365},
    {sipName_ImhExclusiveInputMask, static_cast<int>( ::Qt::ImhExclusiveInputMask), 365},
    {sipName_ImhFormattedNumbersOnly, static_cast<int>( ::Qt::ImhFormattedNumbersOnly), 365},
    {sipName_ImhHiddenText, static_cast<int>( ::Qt::ImhHiddenText), 365},
    {sipName_ImhLatinOnly, static_cast<int>( ::Qt::ImhLatinOnly), 365},
    {sipName_ImhLowercaseOnly, static_cast<int>( ::Qt::ImhLowercaseOnly), 365},
    {sipName_ImhMultiLine, static_cast<int>( ::Qt::ImhMultiLine), 365},
    {sipName_ImhNoAutoUppercase, static_cast<int>( ::Qt::ImhNoAutoUppercase), 365},
    {sipName_ImhNoPredictiveText, static_cast<int>( ::Qt::ImhNoPredictiveText), 365},
    {sipName_ImhNone, static_cast<int>( ::Qt::ImhNone), 365},
    {sipName_ImhPreferLatin, static_cast<int>( ::Qt::ImhPreferLatin), 365},
    {sipName_ImhPreferLowercase, static_cast<int>( ::Qt::ImhPreferLowercase), 365},
    {sipName_ImhPreferNumbers, static_cast<int>( ::Qt::ImhPreferNumbers), 365},
    {sipName_ImhPreferUppercase, static_cast<int>( ::Qt::ImhPreferUppercase), 365},
    {sipName_ImhSensitiveData, static_cast<int>( ::Qt::ImhSensitiveData), 365},
    {sipName_ImhTime, static_cast<int>( ::Qt::ImhTime), 365},
    {sipName_ImhUppercaseOnly, static_cast<int>( ::Qt::ImhUppercaseOnly), 365},
    {sipName_ImhUrlCharactersOnly, static_cast<int>( ::Qt::ImhUrlCharactersOnly), 365},
    {sipName_InitialSortOrderRole, static_cast<int>( ::Qt::InitialSortOrderRole), 369},
    {sipName_IntersectClip, static_cast<int>( ::Qt::IntersectClip), 335},
    {sipName_IntersectsItemBoundingRect, static_cast<int>( ::Qt::IntersectsItemBoundingRect), 372},
    {sipName_IntersectsItemShape, static_cast<int>( ::Qt::IntersectsItemShape), 372},
    {sipName_InvertedLandscapeOrientation, static_cast<int>( ::Qt::InvertedLandscapeOrientation), 394},
    {sipName_InvertedPortraitOrientation, static_cast<int>( ::Qt::InvertedPortraitOrientation), 394},
    {sipName_ItemIsAutoTristate, static_cast<int>( ::Qt::ItemIsAutoTristate), 370},
    {sipName_ItemIsDragEnabled, static_cast<int>( ::Qt::ItemIsDragEnabled), 370},
    {sipName_ItemIsDropEnabled, static_cast<int>( ::Qt::ItemIsDropEnabled), 370},
    {sipName_ItemIsEditable, static_cast<int>( ::Qt::ItemIsEditable), 370},
    {sipName_ItemIsEnabled, static_cast<int>( ::Qt::ItemIsEnabled), 370},
    {sipName_ItemIsSelectable, static_cast<int>( ::Qt::ItemIsSelectable), 370},
    {sipName_ItemIsTristate, static_cast<int>( ::Qt::ItemIsTristate), 370},
    {sipName_ItemIsUserCheckable, static_cast<int>( ::Qt::ItemIsUserCheckable), 370},
    {sipName_ItemIsUserTristate, static_cast<int>( ::Qt::ItemIsUserTristate), 370},
    {sipName_ItemNeverHasChildren, static_cast<int>( ::Qt::ItemNeverHasChildren), 370},
    {sipName_KeepAspectRatio, static_cast<int>( ::Qt::KeepAspectRatio), 328},
    {sipName_KeepAspectRatioByExpanding, static_cast<int>( ::Qt::KeepAspectRatioByExpanding), 328},
    {sipName_Key_0, static_cast<int>( ::Qt::Key_0), 374},
    {sipName_Key_1, static_cast<int>( ::Qt::Key_1), 374},
    {sipName_Key_2, static_cast<int>( ::Qt::Key_2), 374},
    {sipName_Key_3, static_cast<int>( ::Qt::Key_3), 374},
    {sipName_Key_4, static_cast<int>( ::Qt::Key_4), 374},
    {sipName_Key_5, static_cast<int>( ::Qt::Key_5), 374},
    {sipName_Key_6, static_cast<int>( ::Qt::Key_6), 374},
    {sipName_Key_7, static_cast<int>( ::Qt::Key_7), 374},
    {sipName_Key_8, static_cast<int>( ::Qt::Key_8), 374},
    {sipName_Key_9, static_cast<int>( ::Qt::Key_9), 374},
    {sipName_Key_A, static_cast<int>( ::Qt::Key_A), 374},
    {sipName_Key_AE, static_cast<int>( ::Qt::Key_AE), 374},
    {sipName_Key_Aacute, static_cast<int>( ::Qt::Key_Aacute), 374},
    {sipName_Key_Acircumflex, static_cast<int>( ::Qt::Key_Acircumflex), 374},
    {sipName_Key_AddFavorite, static_cast<int>( ::Qt::Key_AddFavorite), 374},
    {sipName_Key_Adiaeresis, static_cast<int>( ::Qt::Key_Adiaeresis), 374},
    {sipName_Key_Agrave, static_cast<int>( ::Qt::Key_Agrave), 374},
    {sipName_Key_Alt, static_cast<int>( ::Qt::Key_Alt), 374},
    {sipName_Key_AltGr, static_cast<int>( ::Qt::Key_AltGr), 374},
    {sipName_Key_Ampersand, static_cast<int>( ::Qt::Key_Ampersand), 374},
    {sipName_Key_Any, static_cast<int>( ::Qt::Key_Any), 374},
    {sipName_Key_Apostrophe, static_cast<int>( ::Qt::Key_Apostrophe), 374},
    {sipName_Key_ApplicationLeft, static_cast<int>( ::Qt::Key_ApplicationLeft), 374},
    {sipName_Key_ApplicationRight, static_cast<int>( ::Qt::Key_ApplicationRight), 374},
    {sipName_Key_Aring, static_cast<int>( ::Qt::Key_Aring), 374},
    {sipName_Key_AsciiCircum, static_cast<int>( ::Qt::Key_AsciiCircum), 374},
    {sipName_Key_AsciiTilde, static_cast<int>( ::Qt::Key_AsciiTilde), 374},
    {sipName_Key_Asterisk, static_cast<int>( ::Qt::Key_Asterisk), 374},
    {sipName_Key_At, static_cast<int>( ::Qt::Key_At), 374},
    {sipName_Key_Atilde, static_cast<int>( ::Qt::Key_Atilde), 374},
    {sipName_Key_AudioCycleTrack, static_cast<int>( ::Qt::Key_AudioCycleTrack), 374},
    {sipName_Key_AudioForward, static_cast<int>( ::Qt::Key_AudioForward), 374},
    {sipName_Key_AudioRandomPlay, static_cast<int>( ::Qt::Key_AudioRandomPlay), 374},
    {sipName_Key_AudioRepeat, static_cast<int>( ::Qt::Key_AudioRepeat), 374},
    {sipName_Key_AudioRewind, static_cast<int>( ::Qt::Key_AudioRewind), 374},
    {sipName_Key_Away, static_cast<int>( ::Qt::Key_Away), 374},
    {sipName_Key_B, static_cast<int>( ::Qt::Key_B), 374},
    {sipName_Key_Back, static_cast<int>( ::Qt::Key_Back), 374},
    {sipName_Key_BackForward, static_cast<int>( ::Qt::Key_BackForward), 374},
    {sipName_Key_Backslash, static_cast<int>( ::Qt::Key_Backslash), 374},
    {sipName_Key_Backspace, static_cast<int>( ::Qt::Key_Backspace), 374},
    {sipName_Key_Backtab, static_cast<int>( ::Qt::Key_Backtab), 374},
    {sipName_Key_Bar, static_cast<int>( ::Qt::Key_Bar), 374},
    {sipName_Key_BassBoost, static_cast<int>( ::Qt::Key_BassBoost), 374},
    {sipName_Key_BassDown, static_cast<int>( ::Qt::Key_BassDown), 374},
    {sipName_Key_BassUp, static_cast<int>( ::Qt::Key_BassUp), 374},
    {sipName_Key_Battery, static_cast<int>( ::Qt::Key_Battery), 374},
    {sipName_Key_Blue, static_cast<int>( ::Qt::Key_Blue), 374},
    {sipName_Key_Bluetooth, static_cast<int>( ::Qt::Key_Bluetooth), 374},
    {sipName_Key_Book, static_cast<int>( ::Qt::Key_Book), 374},
    {sipName_Key_BraceLeft, static_cast<int>( ::Qt::Key_BraceLeft), 374},
    {sipName_Key_BraceRight, static_cast<int>( ::Qt::Key_BraceRight), 374},
    {sipName_Key_BracketLeft, static_cast<int>( ::Qt::Key_BracketLeft), 374},
    {sipName_Key_BracketRight, static_cast<int>( ::Qt::Key_BracketRight), 374},
    {sipName_Key_BrightnessAdjust, static_cast<int>( ::Qt::Key_BrightnessAdjust), 374},
    {sipName_Key_C, static_cast<int>( ::Qt::Key_C), 374},
    {sipName_Key_CD, static_cast<int>( ::Qt::Key_CD), 374},
    {sipName_Key_Calculator, static_cast<int>( ::Qt::Key_Calculator), 374},
    {sipName_Key_Calendar, static_cast<int>( ::Qt::Key_Calendar), 374},
    {sipName_Key_Call, static_cast<int>( ::Qt::Key_Call), 374},
    {sipName_Key_Camera, static_cast<int>( ::Qt::Key_Camera), 374},
    {sipName_Key_CameraFocus, static_cast<int>( ::Qt::Key_CameraFocus), 374},
    {sipName_Key_Cancel, static_cast<int>( ::Qt::Key_Cancel), 374},
    {sipName_Key_CapsLock, static_cast<int>( ::Qt::Key_CapsLock), 374},
    {sipName_Key_Ccedilla, static_cast<int>( ::Qt::Key_Ccedilla), 374},
    {sipName_Key_ChannelDown, static_cast<int>( ::Qt::Key_ChannelDown), 374},
    {sipName_Key_ChannelUp, static_cast<int>( ::Qt::Key_ChannelUp), 374},
    {sipName_Key_Clear, static_cast<int>( ::Qt::Key_Clear), 374},
    {sipName_Key_ClearGrab, static_cast<int>( ::Qt::Key_ClearGrab), 374},
    {sipName_Key_Close, static_cast<int>( ::Qt::Key_Close), 374},
    {sipName_Key_Codeinput, static_cast<int>( ::Qt::Key_Codeinput), 374},
    {sipName_Key_Colon, static_cast<int>( ::Qt::Key_Colon), 374},
    {sipName_Key_Comma, static_cast<int>( ::Qt::Key_Comma), 374},
    {sipName_Key_Community, static_cast<int>( ::Qt::Key_Community), 374},
    {sipName_Key_Context1, static_cast<int>( ::Qt::Key_Context1), 374},
    {sipName_Key_Context2, static_cast<int>( ::Qt::Key_Context2), 374},
    {sipName_Key_Context3, static_cast<int>( ::Qt::Key_Context3), 374},
    {sipName_Key_Context4, static_cast<int>( ::Qt::Key_Context4), 374},
    {sipName_Key_ContrastAdjust, static_cast<int>( ::Qt::Key_ContrastAdjust), 374},
    {sipName_Key_Control, static_cast<int>( ::Qt::Key_Control), 374},
    {sipName_Key_Copy, static_cast<int>( ::Qt::Key_Copy), 374},
    {sipName_Key_Cut, static_cast<int>( ::Qt::Key_Cut), 374},
    {sipName_Key_D, static_cast<int>( ::Qt::Key_D), 374},
    {sipName_Key_DOS, static_cast<int>( ::Qt::Key_DOS), 374},
    {sipName_Key_Dead_Abovedot, static_cast<int>( ::Qt::Key_Dead_Abovedot), 374},
    {sipName_Key_Dead_Abovering, static_cast<int>( ::Qt::Key_Dead_Abovering), 374},
    {sipName_Key_Dead_Acute, static_cast<int>( ::Qt::Key_Dead_Acute), 374},
    {sipName_Key_Dead_Belowdot, static_cast<int>( ::Qt::Key_Dead_Belowdot), 374},
    {sipName_Key_Dead_Breve, static_cast<int>( ::Qt::Key_Dead_Breve), 374},
    {sipName_Key_Dead_Caron, static_cast<int>( ::Qt::Key_Dead_Caron), 374},
    {sipName_Key_Dead_Cedilla, static_cast<int>( ::Qt::Key_Dead_Cedilla), 374},
    {sipName_Key_Dead_Circumflex, static_cast<int>( ::Qt::Key_Dead_Circumflex), 374},
    {sipName_Key_Dead_Diaeresis, static_cast<int>( ::Qt::Key_Dead_Diaeresis), 374},
    {sipName_Key_Dead_Doubleacute, static_cast<int>( ::Qt::Key_Dead_Doubleacute), 374},
    {sipName_Key_Dead_Grave, static_cast<int>( ::Qt::Key_Dead_Grave), 374},
    {sipName_Key_Dead_Hook, static_cast<int>( ::Qt::Key_Dead_Hook), 374},
    {sipName_Key_Dead_Horn, static_cast<int>( ::Qt::Key_Dead_Horn), 374},
    {sipName_Key_Dead_Iota, static_cast<int>( ::Qt::Key_Dead_Iota), 374},
    {sipName_Key_Dead_Macron, static_cast<int>( ::Qt::Key_Dead_Macron), 374},
    {sipName_Key_Dead_Ogonek, static_cast<int>( ::Qt::Key_Dead_Ogonek), 374},
    {sipName_Key_Dead_Semivoiced_Sound, static_cast<int>( ::Qt::Key_Dead_Semivoiced_Sound), 374},
    {sipName_Key_Dead_Tilde, static_cast<int>( ::Qt::Key_Dead_Tilde), 374},
    {sipName_Key_Dead_Voiced_Sound, static_cast<int>( ::Qt::Key_Dead_Voiced_Sound), 374},
    {sipName_Key_Delete, static_cast<int>( ::Qt::Key_Delete), 374},
    {sipName_Key_Direction_L, static_cast<int>( ::Qt::Key_Direction_L), 374},
    {sipName_Key_Direction_R, static_cast<int>( ::Qt::Key_Direction_R), 374},
    {sipName_Key_Display, static_cast<int>( ::Qt::Key_Display), 374},
    {sipName_Key_Documents, static_cast<int>( ::Qt::Key_Documents), 374},
    {sipName_Key_Dollar, static_cast<int>( ::Qt::Key_Dollar), 374},
    {sipName_Key_Down, static_cast<int>( ::Qt::Key_Down), 374},
    {sipName_Key_E, static_cast<int>( ::Qt::Key_E), 374},
    {sipName_Key_ETH, static_cast<int>( ::Qt::Key_ETH), 374},
    {sipName_Key_Eacute, static_cast<int>( ::Qt::Key_Eacute), 374},
    {sipName_Key_Ecircumflex, static_cast<int>( ::Qt::Key_Ecircumflex), 374},
    {sipName_Key_Ediaeresis, static_cast<int>( ::Qt::Key_Ediaeresis), 374},
    {sipName_Key_Egrave, static_cast<int>( ::Qt::Key_Egrave), 374},
    {sipName_Key_Eisu_Shift, static_cast<int>( ::Qt::Key_Eisu_Shift), 374},
    {sipName_Key_Eisu_toggle, static_cast<int>( ::Qt::Key_Eisu_toggle), 374},
    {sipName_Key_Eject, static_cast<int>( ::Qt::Key_Eject), 374},
    {sipName_Key_End, static_cast<int>( ::Qt::Key_End), 374},
    {sipName_Key_Enter, static_cast<int>( ::Qt::Key_Enter), 374},
    {sipName_Key_Equal, static_cast<int>( ::Qt::Key_Equal), 374},
    {sipName_Key_Escape, static_cast<int>( ::Qt::Key_Escape), 374},
    {sipName_Key_Excel, static_cast<int>( ::Qt::Key_Excel), 374},
    {sipName_Key_Exclam, static_cast<int>( ::Qt::Key_Exclam), 374},
    {sipName_Key_Execute, static_cast<int>( ::Qt::Key_Execute), 374},
    {sipName_Key_Exit, static_cast<int>( ::Qt::Key_Exit), 374},
    {sipName_Key_Explorer, static_cast<int>( ::Qt::Key_Explorer), 374},
    {sipName_Key_F, static_cast<int>( ::Qt::Key_F), 374},
    {sipName_Key_F1, static_cast<int>( ::Qt::Key_F1), 374},
    {sipName_Key_F10, static_cast<int>( ::Qt::Key_F10), 374},
    {sipName_Key_F11, static_cast<int>( ::Qt::Key_F11), 374},
    {sipName_Key_F12, static_cast<int>( ::Qt::Key_F12), 374},
    {sipName_Key_F13, static_cast<int>( ::Qt::Key_F13), 374},
    {sipName_Key_F14, static_cast<int>( ::Qt::Key_F14), 374},
    {sipName_Key_F15, static_cast<int>( ::Qt::Key_F15), 374},
    {sipName_Key_F16, static_cast<int>( ::Qt::Key_F16), 374},
    {sipName_Key_F17, static_cast<int>( ::Qt::Key_F17), 374},
    {sipName_Key_F18, static_cast<int>( ::Qt::Key_F18), 374},
    {sipName_Key_F19, static_cast<int>( ::Qt::Key_F19), 374},
    {sipName_Key_F2, static_cast<int>( ::Qt::Key_F2), 374},
    {sipName_Key_F20, static_cast<int>( ::Qt::Key_F20), 374},
    {sipName_Key_F21, static_cast<int>( ::Qt::Key_F21), 374},
    {sipName_Key_F22, static_cast<int>( ::Qt::Key_F22), 374},
    {sipName_Key_F23, static_cast<int>( ::Qt::Key_F23), 374},
    {sipName_Key_F24, static_cast<int>( ::Qt::Key_F24), 374},
    {sipName_Key_F25, static_cast<int>( ::Qt::Key_F25), 374},
    {sipName_Key_F26, static_cast<int>( ::Qt::Key_F26), 374},
    {sipName_Key_F27, static_cast<int>( ::Qt::Key_F27), 374},
    {sipName_Key_F28, static_cast<int>( ::Qt::Key_F28), 374},
    {sipName_Key_F29, static_cast<int>( ::Qt::Key_F29), 374},
    {sipName_Key_F3, static_cast<int>( ::Qt::Key_F3), 374},
    {sipName_Key_F30, static_cast<int>( ::Qt::Key_F30), 374},
    {sipName_Key_F31, static_cast<int>( ::Qt::Key_F31), 374},
    {sipName_Key_F32, static_cast<int>( ::Qt::Key_F32), 374},
    {sipName_Key_F33, static_cast<int>( ::Qt::Key_F33), 374},
    {sipName_Key_F34, static_cast<int>( ::Qt::Key_F34), 374},
    {sipName_Key_F35, static_cast<int>( ::Qt::Key_F35), 374},
    {sipName_Key_F4, static_cast<int>( ::Qt::Key_F4), 374},
    {sipName_Key_F5, static_cast<int>( ::Qt::Key_F5), 374},
    {sipName_Key_F6, static_cast<int>( ::Qt::Key_F6), 374},
    {sipName_Key_F7, static_cast<int>( ::Qt::Key_F7), 374},
    {sipName_Key_F8, static_cast<int>( ::Qt::Key_F8), 374},
    {sipName_Key_F9, static_cast<int>( ::Qt::Key_F9), 374},
    {sipName_Key_Favorites, static_cast<int>( ::Qt::Key_Favorites), 374},
    {sipName_Key_Finance, static_cast<int>( ::Qt::Key_Finance), 374},
    {sipName_Key_Find, static_cast<int>( ::Qt::Key_Find), 374},
    {sipName_Key_Flip, static_cast<int>( ::Qt::Key_Flip), 374},
    {sipName_Key_Forward, static_cast<int>( ::Qt::Key_Forward), 374},
    {sipName_Key_G, static_cast<int>( ::Qt::Key_G), 374},
    {sipName_Key_Game, static_cast<int>( ::Qt::Key_Game), 374},
    {sipName_Key_Go, static_cast<int>( ::Qt::Key_Go), 374},
    {sipName_Key_Greater, static_cast<int>( ::Qt::Key_Greater), 374},
    {sipName_Key_Green, static_cast<int>( ::Qt::Key_Green), 374},
    {sipName_Key_Guide, static_cast<int>( ::Qt::Key_Guide), 374},
    {sipName_Key_H, static_cast<int>( ::Qt::Key_H), 374},
    {sipName_Key_Hangul, static_cast<int>( ::Qt::Key_Hangul), 374},
    {sipName_Key_Hangul_Banja, static_cast<int>( ::Qt::Key_Hangul_Banja), 374},
    {sipName_Key_Hangul_End, static_cast<int>( ::Qt::Key_Hangul_End), 374},
    {sipName_Key_Hangul_Hanja, static_cast<int>( ::Qt::Key_Hangul_Hanja), 374},
    {sipName_Key_Hangul_Jamo, static_cast<int>( ::Qt::Key_Hangul_Jamo), 374},
    {sipName_Key_Hangul_Jeonja, static_cast<int>( ::Qt::Key_Hangul_Jeonja), 374},
    {sipName_Key_Hangul_PostHanja, static_cast<int>( ::Qt::Key_Hangul_PostHanja), 374},
    {sipName_Key_Hangul_PreHanja, static_cast<int>( ::Qt::Key_Hangul_PreHanja), 374},
    {sipName_Key_Hangul_Romaja, static_cast<int>( ::Qt::Key_Hangul_Romaja), 374},
    {sipName_Key_Hangul_Special, static_cast<int>( ::Qt::Key_Hangul_Special), 374},
    {sipName_Key_Hangul_Start, static_cast<int>( ::Qt::Key_Hangul_Start), 374},
    {sipName_Key_Hangup, static_cast<int>( ::Qt::Key_Hangup), 374},
    {sipName_Key_Hankaku, static_cast<int>( ::Qt::Key_Hankaku), 374},
    {sipName_Key_Help, static_cast<int>( ::Qt::Key_Help), 374},
    {sipName_Key_Henkan, static_cast<int>( ::Qt::Key_Henkan), 374},
    {sipName_Key_Hibernate, static_cast<int>( ::Qt::Key_Hibernate), 374},
    {sipName_Key_Hiragana, static_cast<int>( ::Qt::Key_Hiragana), 374},
    {sipName_Key_Hiragana_Katakana, static_cast<int>( ::Qt::Key_Hiragana_Katakana), 374},
    {sipName_Key_History, static_cast<int>( ::Qt::Key_History), 374},
    {sipName_Key_Home, static_cast<int>( ::Qt::Key_Home), 374},
    {sipName_Key_HomePage, static_cast<int>( ::Qt::Key_HomePage), 374},
    {sipName_Key_HotLinks, static_cast<int>( ::Qt::Key_HotLinks), 374},
    {sipName_Key_Hyper_L, static_cast<int>( ::Qt::Key_Hyper_L), 374},
    {sipName_Key_Hyper_R, static_cast<int>( ::Qt::Key_Hyper_R), 374},
    {sipName_Key_I, static_cast<int>( ::Qt::Key_I), 374},
    {sipName_Key_Iacute, static_cast<int>( ::Qt::Key_Iacute), 374},
    {sipName_Key_Icircumflex, static_cast<int>( ::Qt::Key_Icircumflex), 374},
    {sipName_Key_Idiaeresis, static_cast<int>( ::Qt::Key_Idiaeresis), 374},
    {sipName_Key_Igrave, static_cast<int>( ::Qt::Key_Igrave), 374},
    {sipName_Key_Info, static_cast<int>( ::Qt::Key_Info), 374},
    {sipName_Key_Insert, static_cast<int>( ::Qt::Key_Insert), 374},
    {sipName_Key_J, static_cast<int>( ::Qt::Key_J), 374},
    {sipName_Key_K, static_cast<int>( ::Qt::Key_K), 374},
    {sipName_Key_Kana_Lock, static_cast<int>( ::Qt::Key_Kana_Lock), 374},
    {sipName_Key_Kana_Shift, static_cast<int>( ::Qt::Key_Kana_Shift), 374},
    {sipName_Key_Kanji, static_cast<int>( ::Qt::Key_Kanji), 374},
    {sipName_Key_Katakana, static_cast<int>( ::Qt::Key_Katakana), 374},
    {sipName_Key_KeyboardBrightnessDown, static_cast<int>( ::Qt::Key_KeyboardBrightnessDown), 374},
    {sipName_Key_KeyboardBrightnessUp, static_cast<int>( ::Qt::Key_KeyboardBrightnessUp), 374},
    {sipName_Key_KeyboardLightOnOff, static_cast<int>( ::Qt::Key_KeyboardLightOnOff), 374},
    {sipName_Key_L, static_cast<int>( ::Qt::Key_L), 374},
    {sipName_Key_LastNumberRedial, static_cast<int>( ::Qt::Key_LastNumberRedial), 374},
    {sipName_Key_Launch0, static_cast<int>( ::Qt::Key_Launch0), 374},
    {sipName_Key_Launch1, static_cast<int>( ::Qt::Key_Launch1), 374},
    {sipName_Key_Launch2, static_cast<int>( ::Qt::Key_Launch2), 374},
    {sipName_Key_Launch3, static_cast<int>( ::Qt::Key_Launch3), 374},
    {sipName_Key_Launch4, static_cast<int>( ::Qt::Key_Launch4), 374},
    {sipName_Key_Launch5, static_cast<int>( ::Qt::Key_Launch5), 374},
    {sipName_Key_Launch6, static_cast<int>( ::Qt::Key_Launch6), 374},
    {sipName_Key_Launch7, static_cast<int>( ::Qt::Key_Launch7), 374},
    {sipName_Key_Launch8, static_cast<int>( ::Qt::Key_Launch8), 374},
    {sipName_Key_Launch9, static_cast<int>( ::Qt::Key_Launch9), 374},
    {sipName_Key_LaunchA, static_cast<int>( ::Qt::Key_LaunchA), 374},
    {sipName_Key_LaunchB, static_cast<int>( ::Qt::Key_LaunchB), 374},
    {sipName_Key_LaunchC, static_cast<int>( ::Qt::Key_LaunchC), 374},
    {sipName_Key_LaunchD, static_cast<int>( ::Qt::Key_LaunchD), 374},
    {sipName_Key_LaunchE, static_cast<int>( ::Qt::Key_LaunchE), 374},
    {sipName_Key_LaunchF, static_cast<int>( ::Qt::Key_LaunchF), 374},
    {sipName_Key_LaunchG, static_cast<int>( ::Qt::Key_LaunchG), 374},
    {sipName_Key_LaunchH, static_cast<int>( ::Qt::Key_LaunchH), 374},
    {sipName_Key_LaunchMail, static_cast<int>( ::Qt::Key_LaunchMail), 374},
    {sipName_Key_LaunchMedia, static_cast<int>( ::Qt::Key_LaunchMedia), 374},
    {sipName_Key_Left, static_cast<int>( ::Qt::Key_Left), 374},
    {sipName_Key_Less, static_cast<int>( ::Qt::Key_Less), 374},
    {sipName_Key_LightBulb, static_cast<int>( ::Qt::Key_LightBulb), 374},
    {sipName_Key_LogOff, static_cast<int>( ::Qt::Key_LogOff), 374},
    {sipName_Key_M, static_cast<int>( ::Qt::Key_M), 374},
    {sipName_Key_MailForward, static_cast<int>( ::Qt::Key_MailForward), 374},
    {sipName_Key_Market, static_cast<int>( ::Qt::Key_Market), 374},
    {sipName_Key_Massyo, static_cast<int>( ::Qt::Key_Massyo), 374},
    {sipName_Key_MediaLast, static_cast<int>( ::Qt::Key_MediaLast), 374},
    {sipName_Key_MediaNext, static_cast<int>( ::Qt::Key_MediaNext), 374},
    {sipName_Key_MediaPause, static_cast<int>( ::Qt::Key_MediaPause), 374},
    {sipName_Key_MediaPlay, static_cast<int>( ::Qt::Key_MediaPlay), 374},
    {sipName_Key_MediaPrevious, static_cast<int>( ::Qt::Key_MediaPrevious), 374},
    {sipName_Key_MediaRecord, static_cast<int>( ::Qt::Key_MediaRecord), 374},
    {sipName_Key_MediaStop, static_cast<int>( ::Qt::Key_MediaStop), 374},
    {sipName_Key_MediaTogglePlayPause, static_cast<int>( ::Qt::Key_MediaTogglePlayPause), 374},
    {sipName_Key_Meeting, static_cast<int>( ::Qt::Key_Meeting), 374},
    {sipName_Key_Memo, static_cast<int>( ::Qt::Key_Memo), 374},
    {sipName_Key_Menu, static_cast<int>( ::Qt::Key_Menu), 374},
    {sipName_Key_MenuKB, static_cast<int>( ::Qt::Key_MenuKB), 374},
    {sipName_Key_MenuPB, static_cast<int>( ::Qt::Key_MenuPB), 374},
    {sipName_Key_Messenger, static_cast<int>( ::Qt::Key_Messenger), 374},
    {sipName_Key_Meta, static_cast<int>( ::Qt::Key_Meta), 374},
    {sipName_Key_MicMute, static_cast<int>( ::Qt::Key_MicMute), 374},
    {sipName_Key_MicVolumeDown, static_cast<int>( ::Qt::Key_MicVolumeDown), 374},
    {sipName_Key_MicVolumeUp, static_cast<int>( ::Qt::Key_MicVolumeUp), 374},
    {sipName_Key_Minus, static_cast<int>( ::Qt::Key_Minus), 374},
    {sipName_Key_Mode_switch, static_cast<int>( ::Qt::Key_Mode_switch), 374},
    {sipName_Key_MonBrightnessDown, static_cast<int>( ::Qt::Key_MonBrightnessDown), 374},
    {sipName_Key_MonBrightnessUp, static_cast<int>( ::Qt::Key_MonBrightnessUp), 374},
    {sipName_Key_Muhenkan, static_cast<int>( ::Qt::Key_Muhenkan), 374},
    {sipName_Key_Multi_key, static_cast<int>( ::Qt::Key_Multi_key), 374},
    {sipName_Key_MultipleCandidate, static_cast<int>( ::Qt::Key_MultipleCandidate), 374},
    {sipName_Key_Music, static_cast<int>( ::Qt::Key_Music), 374},
    {sipName_Key_MySites, static_cast<int>( ::Qt::Key_MySites), 374},
    {sipName_Key_N, static_cast<int>( ::Qt::Key_N), 374},
    {sipName_Key_New, static_cast<int>( ::Qt::Key_New), 374},
    {sipName_Key_News, static_cast<int>( ::Qt::Key_News), 374},
    {sipName_Key_No, static_cast<int>( ::Qt::Key_No), 374},
    {sipName_Key_Ntilde, static_cast<int>( ::Qt::Key_Ntilde), 374},
    {sipName_Key_NumLock, static_cast<int>( ::Qt::Key_NumLock), 374},
    {sipName_Key_NumberSign, static_cast<int>( ::Qt::Key_NumberSign), 374},
    {sipName_Key_O, static_cast<int>( ::Qt::Key_O), 374},
    {sipName_Key_Oacute, static_cast<int>( ::Qt::Key_Oacute), 374},
    {sipName_Key_Ocircumflex, static_cast<int>( ::Qt::Key_Ocircumflex), 374},
    {sipName_Key_Odiaeresis, static_cast<int>( ::Qt::Key_Odiaeresis), 374},
    {sipName_Key_OfficeHome, static_cast<int>( ::Qt::Key_OfficeHome), 374},
    {sipName_Key_Ograve, static_cast<int>( ::Qt::Key_Ograve), 374},
    {sipName_Key_Ooblique, static_cast<int>( ::Qt::Key_Ooblique), 374},
    {sipName_Key_Open, static_cast<int>( ::Qt::Key_Open), 374},
    {sipName_Key_OpenUrl, static_cast<int>( ::Qt::Key_OpenUrl), 374},
    {sipName_Key_Option, static_cast<int>( ::Qt::Key_Option), 374},
    {sipName_Key_Otilde, static_cast<int>( ::Qt::Key_Otilde), 374},
    {sipName_Key_P, static_cast<int>( ::Qt::Key_P), 374},
    {sipName_Key_PageDown, static_cast<int>( ::Qt::Key_PageDown), 374},
    {sipName_Key_PageUp, static_cast<int>( ::Qt::Key_PageUp), 374},
    {sipName_Key_ParenLeft, static_cast<int>( ::Qt::Key_ParenLeft), 374},
    {sipName_Key_ParenRight, static_cast<int>( ::Qt::Key_ParenRight), 374},
    {sipName_Key_Paste, static_cast<int>( ::Qt::Key_Paste), 374},
    {sipName_Key_Pause, static_cast<int>( ::Qt::Key_Pause), 374},
    {sipName_Key_Percent, static_cast<int>( ::Qt::Key_Percent), 374},
    {sipName_Key_Period, static_cast<int>( ::Qt::Key_Period), 374},
    {sipName_Key_Phone, static_cast<int>( ::Qt::Key_Phone), 374},
    {sipName_Key_Pictures, static_cast<int>( ::Qt::Key_Pictures), 374},
    {sipName_Key_Play, static_cast<int>( ::Qt::Key_Play), 374},
    {sipName_Key_Plus, static_cast<int>( ::Qt::Key_Plus), 374},
    {sipName_Key_PowerDown, static_cast<int>( ::Qt::Key_PowerDown), 374},
    {sipName_Key_PowerOff, static_cast<int>( ::Qt::Key_PowerOff), 374},
    {sipName_Key_PreviousCandidate, static_cast<int>( ::Qt::Key_PreviousCandidate), 374},
    {sipName_Key_Print, static_cast<int>( ::Qt::Key_Print), 374},
    {sipName_Key_Printer, static_cast<int>( ::Qt::Key_Printer), 374},
    {sipName_Key_Q, static_cast<int>( ::Qt::Key_Q), 374},
    {sipName_Key_Question, static_cast<int>( ::Qt::Key_Question), 374},
    {sipName_Key_QuoteDbl, static_cast<int>( ::Qt::Key_QuoteDbl), 374},
    {sipName_Key_QuoteLeft, static_cast<int>( ::Qt::Key_QuoteLeft), 374},
    {sipName_Key_R, static_cast<int>( ::Qt::Key_R), 374},
    {sipName_Key_Red, static_cast<int>( ::Qt::Key_Red), 374},
    {sipName_Key_Redo, static_cast<int>( ::Qt::Key_Redo), 374},
    {sipName_Key_Refresh, static_cast<int>( ::Qt::Key_Refresh), 374},
    {sipName_Key_Reload, static_cast<int>( ::Qt::Key_Reload), 374},
    {sipName_Key_Reply, static_cast<int>( ::Qt::Key_Reply), 374},
    {sipName_Key_Return, static_cast<int>( ::Qt::Key_Return), 374},
    {sipName_Key_Right, static_cast<int>( ::Qt::Key_Right), 374},
    {sipName_Key_Romaji, static_cast<int>( ::Qt::Key_Romaji), 374},
    {sipName_Key_RotateWindows, static_cast<int>( ::Qt::Key_RotateWindows), 374},
    {sipName_Key_RotationKB, static_cast<int>( ::Qt::Key_RotationKB), 374},
    {sipName_Key_RotationPB, static_cast<int>( ::Qt::Key_RotationPB), 374},
    {sipName_Key_S, static_cast<int>( ::Qt::Key_S), 374},
    {sipName_Key_Save, static_cast<int>( ::Qt::Key_Save), 374},
    {sipName_Key_ScreenSaver, static_cast<int>( ::Qt::Key_ScreenSaver), 374},
    {sipName_Key_ScrollLock, static_cast<int>( ::Qt::Key_ScrollLock), 374},
    {sipName_Key_Search, static_cast<int>( ::Qt::Key_Search), 374},
    {sipName_Key_Select, static_cast<int>( ::Qt::Key_Select), 374},
    {sipName_Key_Semicolon, static_cast<int>( ::Qt::Key_Semicolon), 374},
    {sipName_Key_Send, static_cast<int>( ::Qt::Key_Send), 374},
    {sipName_Key_Settings, static_cast<int>( ::Qt::Key_Settings), 374},
    {sipName_Key_Shift, static_cast<int>( ::Qt::Key_Shift), 374},
    {sipName_Key_Shop, static_cast<int>( ::Qt::Key_Shop), 374},
    {sipName_Key_SingleCandidate, static_cast<int>( ::Qt::Key_SingleCandidate), 374},
    {sipName_Key_Slash, static_cast<int>( ::Qt::Key_Slash), 374},
    {sipName_Key_Sleep, static_cast<int>( ::Qt::Key_Sleep), 374},
    {sipName_Key_Space, static_cast<int>( ::Qt::Key_Space), 374},
    {sipName_Key_Spell, static_cast<int>( ::Qt::Key_Spell), 374},
    {sipName_Key_SplitScreen, static_cast<int>( ::Qt::Key_SplitScreen), 374},
    {sipName_Key_Standby, static_cast<int>( ::Qt::Key_Standby), 374},
    {sipName_Key_Stop, static_cast<int>( ::Qt::Key_Stop), 374},
    {sipName_Key_Subtitle, static_cast<int>( ::Qt::Key_Subtitle), 374},
    {sipName_Key_Super_L, static_cast<int>( ::Qt::Key_Super_L), 374},
    {sipName_Key_Super_R, static_cast<int>( ::Qt::Key_Super_R), 374},
    {sipName_Key_Support, static_cast<int>( ::Qt::Key_Support), 374},
    {sipName_Key_Suspend, static_cast<int>( ::Qt::Key_Suspend), 374},
    {sipName_Key_SysReq, static_cast<int>( ::Qt::Key_SysReq), 374},
    {sipName_Key_T, static_cast<int>( ::Qt::Key_T), 374},
    {sipName_Key_THORN, static_cast<int>( ::Qt::Key_THORN), 374},
    {sipName_Key_Tab, static_cast<int>( ::Qt::Key_Tab), 374},
    {sipName_Key_TaskPane, static_cast<int>( ::Qt::Key_TaskPane), 374},
    {sipName_Key_Terminal, static_cast<int>( ::Qt::Key_Terminal), 374},
    {sipName_Key_Time, static_cast<int>( ::Qt::Key_Time), 374},
    {sipName_Key_ToDoList, static_cast<int>( ::Qt::Key_ToDoList), 374},
    {sipName_Key_ToggleCallHangup, static_cast<int>( ::Qt::Key_ToggleCallHangup), 374},
    {sipName_Key_Tools, static_cast<int>( ::Qt::Key_Tools), 374},
    {sipName_Key_TopMenu, static_cast<int>( ::Qt::Key_TopMenu), 374},
    {sipName_Key_TouchpadOff, static_cast<int>( ::Qt::Key_TouchpadOff), 374},
    {sipName_Key_TouchpadOn, static_cast<int>( ::Qt::Key_TouchpadOn), 374},
    {sipName_Key_TouchpadToggle, static_cast<int>( ::Qt::Key_TouchpadToggle), 374},
    {sipName_Key_Touroku, static_cast<int>( ::Qt::Key_Touroku), 374},
    {sipName_Key_Travel, static_cast<int>( ::Qt::Key_Travel), 374},
    {sipName_Key_TrebleDown, static_cast<int>( ::Qt::Key_TrebleDown), 374},
    {sipName_Key_TrebleUp, static_cast<int>( ::Qt::Key_TrebleUp), 374},
    {sipName_Key_U, static_cast<int>( ::Qt::Key_U), 374},
    {sipName_Key_UWB, static_cast<int>( ::Qt::Key_UWB), 374},
    {sipName_Key_Uacute, static_cast<int>( ::Qt::Key_Uacute), 374},
    {sipName_Key_Ucircumflex, static_cast<int>( ::Qt::Key_Ucircumflex), 374},
    {sipName_Key_Udiaeresis, static_cast<int>( ::Qt::Key_Udiaeresis), 374},
    {sipName_Key_Ugrave, static_cast<int>( ::Qt::Key_Ugrave), 374},
    {sipName_Key_Underscore, static_cast<int>( ::Qt::Key_Underscore), 374},
    {sipName_Key_Undo, static_cast<int>( ::Qt::Key_Undo), 374},
    {sipName_Key_Up, static_cast<int>( ::Qt::Key_Up), 374},
    {sipName_Key_V, static_cast<int>( ::Qt::Key_V), 374},
    {sipName_Key_Video, static_cast<int>( ::Qt::Key_Video), 374},
    {sipName_Key_View, static_cast<int>( ::Qt::Key_View), 374},
    {sipName_Key_VoiceDial, static_cast<int>( ::Qt::Key_VoiceDial), 374},
    {sipName_Key_VolumeDown, static_cast<int>( ::Qt::Key_VolumeDown), 374},
    {sipName_Key_VolumeMute, static_cast<int>( ::Qt::Key_VolumeMute), 374},
    {sipName_Key_VolumeUp, static_cast<int>( ::Qt::Key_VolumeUp), 374},
    {sipName_Key_W, static_cast<int>( ::Qt::Key_W), 374},
    {sipName_Key_WLAN, static_cast<int>( ::Qt::Key_WLAN), 374},
    {sipName_Key_WWW, static_cast<int>( ::Qt::Key_WWW), 374},
    {sipName_Key_WakeUp, static_cast<int>( ::Qt::Key_WakeUp), 374},
    {sipName_Key_WebCam, static_cast<int>( ::Qt::Key_WebCam), 374},
    {sipName_Key_Word, static_cast<int>( ::Qt::Key_Word), 374},
    {sipName_Key_X, static_cast<int>( ::Qt::Key_X), 374},
    {sipName_Key_Xfer, static_cast<int>( ::Qt::Key_Xfer), 374},
    {sipName_Key_Y, static_cast<int>( ::Qt::Key_Y), 374},
    {sipName_Key_Yacute, static_cast<int>( ::Qt::Key_Yacute), 374},
    {sipName_Key_Yellow, static_cast<int>( ::Qt::Key_Yellow), 374},
    {sipName_Key_Yes, static_cast<int>( ::Qt::Key_Yes), 374},
    {sipName_Key_Z, static_cast<int>( ::Qt::Key_Z), 374},
    {sipName_Key_Zenkaku, static_cast<int>( ::Qt::Key_Zenkaku), 374},
    {sipName_Key_Zenkaku_Hankaku, static_cast<int>( ::Qt::Key_Zenkaku_Hankaku), 374},
    {sipName_Key_Zoom, static_cast<int>( ::Qt::Key_Zoom), 374},
    {sipName_Key_ZoomIn, static_cast<int>( ::Qt::Key_ZoomIn), 374},
    {sipName_Key_ZoomOut, static_cast<int>( ::Qt::Key_ZoomOut), 374},
    {sipName_Key_acute, static_cast<int>( ::Qt::Key_acute), 374},
    {sipName_Key_brokenbar, static_cast<int>( ::Qt::Key_brokenbar), 374},
    {sipName_Key_cedilla, static_cast<int>( ::Qt::Key_cedilla), 374},
    {sipName_Key_cent, static_cast<int>( ::Qt::Key_cent), 374},
    {sipName_Key_copyright, static_cast<int>( ::Qt::Key_copyright), 374},
    {sipName_Key_currency, static_cast<int>( ::Qt::Key_currency), 374},
    {sipName_Key_degree, static_cast<int>( ::Qt::Key_degree), 374},
    {sipName_Key_diaeresis, static_cast<int>( ::Qt::Key_diaeresis), 374},
    {sipName_Key_division, static_cast<int>( ::Qt::Key_division), 374},
    {sipName_Key_exclamdown, static_cast<int>( ::Qt::Key_exclamdown), 374},
    {sipName_Key_guillemotleft, static_cast<int>( ::Qt::Key_guillemotleft), 374},
    {sipName_Key_guillemotright, static_cast<int>( ::Qt::Key_guillemotright), 374},
    {sipName_Key_hyphen, static_cast<int>( ::Qt::Key_hyphen), 374},
    {sipName_Key_iTouch, static_cast<int>( ::Qt::Key_iTouch), 374},
    {sipName_Key_macron, static_cast<int>( ::Qt::Key_macron), 374},
    {sipName_Key_masculine, static_cast<int>( ::Qt::Key_masculine), 374},
    {sipName_Key_mu, static_cast<int>( ::Qt::Key_mu), 374},
    {sipName_Key_multiply, static_cast<int>( ::Qt::Key_multiply), 374},
    {sipName_Key_nobreakspace, static_cast<int>( ::Qt::Key_nobreakspace), 374},
    {sipName_Key_notsign, static_cast<int>( ::Qt::Key_notsign), 374},
    {sipName_Key_onehalf, static_cast<int>( ::Qt::Key_onehalf), 374},
    {sipName_Key_onequarter, static_cast<int>( ::Qt::Key_onequarter), 374},
    {sipName_Key_onesuperior, static_cast<int>( ::Qt::Key_onesuperior), 374},
    {sipName_Key_ordfeminine, static_cast<int>( ::Qt::Key_ordfeminine), 374},
    {sipName_Key_paragraph, static_cast<int>( ::Qt::Key_paragraph), 374},
    {sipName_Key_periodcentered, static_cast<int>( ::Qt::Key_periodcentered), 374},
    {sipName_Key_plusminus, static_cast<int>( ::Qt::Key_plusminus), 374},
    {sipName_Key_questiondown, static_cast<int>( ::Qt::Key_questiondown), 374},
    {sipName_Key_registered, static_cast<int>( ::Qt::Key_registered), 374},
    {sipName_Key_section, static_cast<int>( ::Qt::Key_section), 374},
    {sipName_Key_ssharp, static_cast<int>( ::Qt::Key_ssharp), 374},
    {sipName_Key_sterling, static_cast<int>( ::Qt::Key_sterling), 374},
    {sipName_Key_threequarters, static_cast<int>( ::Qt::Key_threequarters), 374},
    {sipName_Key_threesuperior, static_cast<int>( ::Qt::Key_threesuperior), 374},
    {sipName_Key_twosuperior, static_cast<int>( ::Qt::Key_twosuperior), 374},
    {sipName_Key_unknown, static_cast<int>( ::Qt::Key_unknown), 374},
    {sipName_Key_ydiaeresis, static_cast<int>( ::Qt::Key_ydiaeresis), 374},
    {sipName_Key_yen, static_cast<int>( ::Qt::Key_yen), 374},
    {sipName_KeyboardModifierMask, static_cast<int>( ::Qt::KeyboardModifierMask), 375},
    {sipName_KeypadModifier, static_cast<int>( ::Qt::KeypadModifier), 375},
    {sipName_LandscapeOrientation, static_cast<int>( ::Qt::LandscapeOrientation), 394},
    {sipName_LastCursor, static_cast<int>( ::Qt::LastCursor), 341},
    {sipName_LayoutDirectionAuto, static_cast<int>( ::Qt::LayoutDirectionAuto), 377},
    {sipName_LeftArrow, static_cast<int>( ::Qt::LeftArrow), 327},
    {sipName_LeftButton, static_cast<int>( ::Qt::LeftButton), 382},
    {sipName_LeftDockWidgetArea, static_cast<int>( ::Qt::LeftDockWidgetArea), 344},
    {sipName_LeftEdge, static_cast<int>( ::Qt::LeftEdge), 348},
    {sipName_LeftSection, static_cast<int>( ::Qt::LeftSection), 421},
    {sipName_LeftToRight, static_cast<int>( ::Qt::LeftToRight), 377},
    {sipName_LeftToolBarArea, static_cast<int>( ::Qt::LeftToolBarArea), 411},
    {sipName_LinearGradientPattern, static_cast<int>( ::Qt::LinearGradientPattern), 331},
    {sipName_LinkAction, static_cast<int>( ::Qt::LinkAction), 346},
    {sipName_LinksAccessibleByKeyboard, static_cast<int>( ::Qt::LinksAccessibleByKeyboard), 406},
    {sipName_LinksAccessibleByMouse, static_cast<int>( ::Qt::LinksAccessibleByMouse), 406},
    {sipName_LocalDate, static_cast<int>( ::Qt::LocalDate), 342},
    {sipName_LocalTime, static_cast<int>( ::Qt::LocalTime), 409},
    {sipName_LocaleDate, static_cast<int>( ::Qt::LocaleDate), 342},
    {sipName_LogicalCoordinates, static_cast<int>( ::Qt::LogicalCoordinates), 338},
    {sipName_LogicalMoveStyle, static_cast<int>( ::Qt::LogicalMoveStyle), 340},
    {sipName_LowEventPriority, static_cast<int>( ::Qt::LowEventPriority), 351},
    {sipName_META, static_cast<int>( ::Qt::META), 381},
    {sipName_MODIFIER_MASK, static_cast<int>( ::Qt::MODIFIER_MASK), 381},
    {sipName_MPenCapStyle, static_cast<int>( ::Qt::MPenCapStyle), 391},
    {sipName_MPenJoinStyle, static_cast<int>( ::Qt::MPenJoinStyle), 392},
    {sipName_MPenStyle, static_cast<int>( ::Qt::MPenStyle), 393},
    {sipName_MSWindowsFixedSizeDialogHint, static_cast<int>( ::Qt::MSWindowsFixedSizeDialogHint), 425},
    {sipName_MSWindowsOwnDC, static_cast<int>( ::Qt::MSWindowsOwnDC), 425},
    {sipName_MacWindowToolBarButtonHint, static_cast<int>( ::Qt::MacWindowToolBarButtonHint), 425},
    {sipName_MaskInColor, static_cast<int>( ::Qt::MaskInColor), 378},
    {sipName_MaskOutColor, static_cast<int>( ::Qt::MaskOutColor), 378},
    {sipName_MatchCaseSensitive, static_cast<int>( ::Qt::MatchCaseSensitive), 379},
    {sipName_MatchContains, static_cast<int>( ::Qt::MatchContains), 379},
    {sipName_MatchEndsWith, static_cast<int>( ::Qt::MatchEndsWith), 379},
    {sipName_MatchExactly, static_cast<int>( ::Qt::MatchExactly), 379},
    {sipName_MatchFixedString, static_cast<int>( ::Qt::MatchFixedString), 379},
    {sipName_MatchRecursive, static_cast<int>( ::Qt::MatchRecursive), 379},
    {sipName_MatchRegExp, static_cast<int>( ::Qt::MatchRegExp), 379},
    {sipName_MatchStartsWith, static_cast<int>( ::Qt::MatchStartsWith), 379},
    {sipName_MatchWildcard, static_cast<int>( ::Qt::MatchWildcard), 379},
    {sipName_MatchWrap, static_cast<int>( ::Qt::MatchWrap), 379},
    {sipName_MaximizeUsingFullscreenGeometryHint, static_cast<int>( ::Qt::MaximizeUsingFullscreenGeometryHint), 425},
    {sipName_MaximumSize, static_cast<int>( ::Qt::MaximumSize), 399},
    {sipName_MenuBarFocusReason, static_cast<int>( ::Qt::MenuBarFocusReason), 356},
    {sipName_MetaModifier, static_cast<int>( ::Qt::MetaModifier), 375},
    {sipName_MidButton, static_cast<int>( ::Qt::MidButton), 382},
    {sipName_MiddleButton, static_cast<int>( ::Qt::MiddleButton), 382},
    {sipName_MinimumDescent, static_cast<int>( ::Qt::MinimumDescent), 399},
    {sipName_MinimumSize, static_cast<int>( ::Qt::MinimumSize), 399},
    {sipName_MiterJoin, static_cast<int>( ::Qt::MiterJoin), 392},
    {sipName_Monday, static_cast<int>( ::Qt::Monday), 343},
    {sipName_MonoOnly, static_cast<int>( ::Qt::MonoOnly), 363},
    {sipName_MouseEventCreatedDoubleClick, static_cast<int>( ::Qt::MouseEventCreatedDoubleClick), 384},
    {sipName_MouseEventNotSynthesized, static_cast<int>( ::Qt::MouseEventNotSynthesized), 386},
    {sipName_MouseEventSynthesizedByApplication, static_cast<int>( ::Qt::MouseEventSynthesizedByApplication), 386},
    {sipName_MouseEventSynthesizedByQt, static_cast<int>( ::Qt::MouseEventSynthesizedByQt), 386},
    {sipName_MouseEventSynthesizedBySystem, static_cast<int>( ::Qt::MouseEventSynthesizedBySystem), 386},
    {sipName_MouseFocusReason, static_cast<int>( ::Qt::MouseFocusReason), 356},
    {sipName_MoveAction, static_cast<int>( ::Qt::MoveAction), 346},
    {sipName_NavigationModeCursorAuto, static_cast<int>( ::Qt::NavigationModeCursorAuto), 388},
    {sipName_NavigationModeCursorForceVisible, static_cast<int>( ::Qt::NavigationModeCursorForceVisible), 388},
    {sipName_NavigationModeKeypadDirectional, static_cast<int>( ::Qt::NavigationModeKeypadDirectional), 388},
    {sipName_NavigationModeKeypadTabOrder, static_cast<int>( ::Qt::NavigationModeKeypadTabOrder), 388},
    {sipName_NavigationModeNone, static_cast<int>( ::Qt::NavigationModeNone), 388},
    {sipName_NoArrow, static_cast<int>( ::Qt::NoArrow), 327},
    {sipName_NoBrush, static_cast<int>( ::Qt::NoBrush), 331},
    {sipName_NoButton, static_cast<int>( ::Qt::NoButton), 382},
    {sipName_NoClip, static_cast<int>( ::Qt::NoClip), 335},
    {sipName_NoContextMenu, static_cast<int>( ::Qt::NoContextMenu), 337},
    {sipName_NoDockWidgetArea, static_cast<int>( ::Qt::NoDockWidgetArea), 344},
    {sipName_NoDropShadowWindowHint, static_cast<int>( ::Qt::NoDropShadowWindowHint), 425},
    {sipName_NoFocus, static_cast<int>( ::Qt::NoFocus), 355},
    {sipName_NoFocusReason, static_cast<int>( ::Qt::NoFocusReason), 356},
    {sipName_NoFormatConversion, static_cast<int>( ::Qt::NoFormatConversion), 363},
    {sipName_NoItemFlags, static_cast<int>( ::Qt::NoItemFlags), 370},
    {sipName_NoModifier, static_cast<int>( ::Qt::NoModifier), 375},
    {sipName_NoOpaqueDetection, static_cast<int>( ::Qt::NoOpaqueDetection), 363},
    {sipName_NoPen, static_cast<int>( ::Qt::NoPen), 393},
    {sipName_NoScrollPhase, static_cast<int>( ::Qt::NoScrollPhase), 397},
    {sipName_NoSection, static_cast<int>( ::Qt::NoSection), 421},
    {sipName_NoTabFocus, static_cast<int>( ::Qt::NoTabFocus), 402},
    {sipName_NoTextInteraction, static_cast<int>( ::Qt::NoTextInteraction), 406},
    {sipName_NoToolBarArea, static_cast<int>( ::Qt::NoToolBarArea), 411},
    {sipName_NonModal, static_cast<int>( ::Qt::NonModal), 422},
    {sipName_NormalEventPriority, static_cast<int>( ::Qt::NormalEventPriority), 351},
    {sipName_OddEvenFill, static_cast<int>( ::Qt::OddEvenFill), 352},
    {sipName_OffsetFromUTC, static_cast<int>( ::Qt::OffsetFromUTC), 409},
    {sipName_OpaqueMode, static_cast<int>( ::Qt::OpaqueMode), 330},
    {sipName_OpenHandCursor, static_cast<int>( ::Qt::OpenHandCursor), 341},
    {sipName_OrderedAlphaDither, static_cast<int>( ::Qt::OrderedAlphaDither), 363},
    {sipName_OrderedDither, static_cast<int>( ::Qt::OrderedDither), 363},
    {sipName_OtherFocusReason, static_cast<int>( ::Qt::OtherFocusReason), 356},
    {sipName_PanGesture, static_cast<int>( ::Qt::PanGesture), 360},
    {sipName_PanNativeGesture, static_cast<int>( ::Qt::PanNativeGesture), 387},
    {sipName_PartiallyChecked, static_cast<int>( ::Qt::PartiallyChecked), 333},
    {sipName_PinchGesture, static_cast<int>( ::Qt::PinchGesture), 360},
    {sipName_PlainText, static_cast<int>( ::Qt::PlainText), 405},
    {sipName_PointingHandCursor, static_cast<int>( ::Qt::PointingHandCursor), 341},
    {sipName_Popup, static_cast<int>( ::Qt::Popup), 425},
    {sipName_PopupFocusReason, static_cast<int>( ::Qt::PopupFocusReason), 356},
    {sipName_PortraitOrientation, static_cast<int>( ::Qt::PortraitOrientation), 394},
    {sipName_PreciseTimer, static_cast<int>( ::Qt::PreciseTimer), 410},
    {sipName_PreferDither, static_cast<int>( ::Qt::PreferDither), 363},
    {sipName_PreferredSize, static_cast<int>( ::Qt::PreferredSize), 399},
    {sipName_PreventContextMenu, static_cast<int>( ::Qt::PreventContextMenu), 337},
    {sipName_PrimaryOrientation, static_cast<int>( ::Qt::PrimaryOrientation), 394},
    {sipName_QueuedConnection, static_cast<int>( ::Qt::QueuedConnection), 336},
    {sipName_RFC2822Date, static_cast<int>( ::Qt::RFC2822Date), 342},
    {sipName_RadialGradientPattern, static_cast<int>( ::Qt::RadialGradientPattern), 331},
    {sipName_ReceivePartialGestures, static_cast<int>( ::Qt::ReceivePartialGestures), 357},
    {sipName_RelativeSize, static_cast<int>( ::Qt::RelativeSize), 400},
    {sipName_RepeatTile, static_cast<int>( ::Qt::RepeatTile), 408},
    {sipName_ReplaceClip, static_cast<int>( ::Qt::ReplaceClip), 335},
    {sipName_ReplaceSelection, static_cast<int>( ::Qt::ReplaceSelection), 373},
    {sipName_RichText, static_cast<int>( ::Qt::RichText), 405},
    {sipName_RightArrow, static_cast<int>( ::Qt::RightArrow), 327},
    {sipName_RightButton, static_cast<int>( ::Qt::RightButton), 382},
    {sipName_RightDockWidgetArea, static_cast<int>( ::Qt::RightDockWidgetArea), 344},
    {sipName_RightEdge, static_cast<int>( ::Qt::RightEdge), 348},
    {sipName_RightSection, static_cast<int>( ::Qt::RightSection), 421},
    {sipName_RightToLeft, static_cast<int>( ::Qt::RightToLeft), 377},
    {sipName_RightToolBarArea, static_cast<int>( ::Qt::RightToolBarArea), 411},
    {sipName_RotateNativeGesture, static_cast<int>( ::Qt::RotateNativeGesture), 387},
    {sipName_RoundCap, static_cast<int>( ::Qt::RoundCap), 391},
    {sipName_RoundJoin, static_cast<int>( ::Qt::RoundJoin), 392},
    {sipName_RoundTile, static_cast<int>( ::Qt::RoundTile), 408},
    {sipName_SHIFT, static_cast<int>( ::Qt::SHIFT), 381},
    {sipName_Saturday, static_cast<int>( ::Qt::Saturday), 343},
    {sipName_ScrollBarAlwaysOff, static_cast<int>( ::Qt::ScrollBarAlwaysOff), 396},
    {sipName_ScrollBarAlwaysOn, static_cast<int>( ::Qt::ScrollBarAlwaysOn), 396},
    {sipName_ScrollBarAsNeeded, static_cast<int>( ::Qt::ScrollBarAsNeeded), 396},
    {sipName_ScrollBegin, static_cast<int>( ::Qt::ScrollBegin), 397},
    {sipName_ScrollEnd, static_cast<int>( ::Qt::ScrollEnd), 397},
    {sipName_ScrollUpdate, static_cast<int>( ::Qt::ScrollUpdate), 397},
    {sipName_Sheet, static_cast<int>( ::Qt::Sheet), 425},
    {sipName_ShiftModifier, static_cast<int>( ::Qt::ShiftModifier), 375},
    {sipName_ShortcutFocusReason, static_cast<int>( ::Qt::ShortcutFocusReason), 356},
    {sipName_SizeAllCursor, static_cast<int>( ::Qt::SizeAllCursor), 341},
    {sipName_SizeBDiagCursor, static_cast<int>( ::Qt::SizeBDiagCursor), 341},
    {sipName_SizeFDiagCursor, static_cast<int>( ::Qt::SizeFDiagCursor), 341},
    {sipName_SizeHintRole, static_cast<int>( ::Qt::SizeHintRole), 369},
    {sipName_SizeHorCursor, static_cast<int>( ::Qt::SizeHorCursor), 341},
    {sipName_SizeVerCursor, static_cast<int>( ::Qt::SizeVerCursor), 341},
    {sipName_SmartZoomNativeGesture, static_cast<int>( ::Qt::SmartZoomNativeGesture), 387},
    {sipName_SmoothTransformation, static_cast<int>( ::Qt::SmoothTransformation), 416},
    {sipName_SolidLine, static_cast<int>( ::Qt::SolidLine), 393},
    {sipName_SolidPattern, static_cast<int>( ::Qt::SolidPattern), 331},
    {sipName_SplashScreen, static_cast<int>( ::Qt::SplashScreen), 425},
    {sipName_SplitHCursor, static_cast<int>( ::Qt::SplitHCursor), 341},
    {sipName_SplitVCursor, static_cast<int>( ::Qt::SplitVCursor), 341},
    {sipName_SquareCap, static_cast<int>( ::Qt::SquareCap), 391},
    {sipName_StatusTipRole, static_cast<int>( ::Qt::StatusTipRole), 369},
    {sipName_StretchTile, static_cast<int>( ::Qt::StretchTile), 408},
    {sipName_StrongFocus, static_cast<int>( ::Qt::StrongFocus), 355},
    {sipName_SubWindow, static_cast<int>( ::Qt::SubWindow), 425},
    {sipName_Sunday, static_cast<int>( ::Qt::Sunday), 343},
    {sipName_SvgMiterJoin, static_cast<int>( ::Qt::SvgMiterJoin), 392},
    {sipName_SwipeGesture, static_cast<int>( ::Qt::SwipeGesture), 360},
    {sipName_SwipeNativeGesture, static_cast<int>( ::Qt::SwipeNativeGesture), 387},
    {sipName_SystemLocaleDate, static_cast<int>( ::Qt::SystemLocaleDate), 342},
    {sipName_SystemLocaleLongDate, static_cast<int>( ::Qt::SystemLocaleLongDate), 342},
    {sipName_SystemLocaleShortDate, static_cast<int>( ::Qt::SystemLocaleShortDate), 342},
    {sipName_TabFocus, static_cast<int>( ::Qt::TabFocus), 355},
    {sipName_TabFocusAllControls, static_cast<int>( ::Qt::TabFocusAllControls), 402},
    {sipName_TabFocusListControls, static_cast<int>( ::Qt::TabFocusListControls), 402},
    {sipName_TabFocusReason, static_cast<int>( ::Qt::TabFocusReason), 356},
    {sipName_TabFocusTextControls, static_cast<int>( ::Qt::TabFocusTextControls), 402},
    {sipName_TapAndHoldGesture, static_cast<int>( ::Qt::TapAndHoldGesture), 360},
    {sipName_TapGesture, static_cast<int>( ::Qt::TapGesture), 360},
    {sipName_TargetMoveAction, static_cast<int>( ::Qt::TargetMoveAction), 346},
    {sipName_TaskButton, static_cast<int>( ::Qt::TaskButton), 382},
    {sipName_TextAlignmentRole, static_cast<int>( ::Qt::TextAlignmentRole), 369},
    {sipName_TextBrowserInteraction, static_cast<int>( ::Qt::TextBrowserInteraction), 406},
    {sipName_TextColorRole, static_cast<int>( ::Qt::TextColorRole), 369},
    {sipName_TextDate, static_cast<int>( ::Qt::TextDate), 342},
    {sipName_TextDontClip, static_cast<int>( ::Qt::TextDontClip), 404},
    {sipName_TextDontPrint, static_cast<int>( ::Qt::TextDontPrint), 404},
    {sipName_TextEditable, static_cast<int>( ::Qt::TextEditable), 406},
    {sipName_TextEditorInteraction, static_cast<int>( ::Qt::TextEditorInteraction), 406},
    {sipName_TextExpandTabs, static_cast<int>( ::Qt::TextExpandTabs), 404},
    {sipName_TextHideMnemonic, static_cast<int>( ::Qt::TextHideMnemonic), 404},
    {sipName_TextIncludeTrailingSpaces, static_cast<int>( ::Qt::TextIncludeTrailingSpaces), 404},
    {sipName_TextJustificationForced, static_cast<int>( ::Qt::TextJustificationForced), 404},
    {sipName_TextSelectableByKeyboard, static_cast<int>( ::Qt::TextSelectableByKeyboard), 406},
    {sipName_TextSelectableByMouse, static_cast<int>( ::Qt::TextSelectableByMouse), 406},
    {sipName_TextShowMnemonic, static_cast<int>( ::Qt::TextShowMnemonic), 404},
    {sipName_TextSingleLine, static_cast<int>( ::Qt::TextSingleLine), 404},
    {sipName_TextWordWrap, static_cast<int>( ::Qt::TextWordWrap), 404},
    {sipName_TextWrapAnywhere, static_cast<int>( ::Qt::TextWrapAnywhere), 404},
    {sipName_TexturePattern, static_cast<int>( ::Qt::TexturePattern), 331},
    {sipName_ThresholdAlphaDither, static_cast<int>( ::Qt::ThresholdAlphaDither), 363},
    {sipName_ThresholdDither, static_cast<int>( ::Qt::ThresholdDither), 363},
    {sipName_Thursday, static_cast<int>( ::Qt::Thursday), 343},
    {sipName_TimeZone, static_cast<int>( ::Qt::TimeZone), 409},
    {sipName_TitleBarArea, static_cast<int>( ::Qt::TitleBarArea), 421},
    {sipName_Tool, static_cast<int>( ::Qt::Tool), 425},
    {sipName_ToolBarArea_Mask, static_cast<int>( ::Qt::ToolBarArea_Mask), 411},
    {sipName_ToolButtonFollowStyle, static_cast<int>( ::Qt::ToolButtonFollowStyle), 413},
    {sipName_ToolButtonIconOnly, static_cast<int>( ::Qt::ToolButtonIconOnly), 413},
    {sipName_ToolButtonTextBesideIcon, static_cast<int>( ::Qt::ToolButtonTextBesideIcon), 413},
    {sipName_ToolButtonTextOnly, static_cast<int>( ::Qt::ToolButtonTextOnly), 413},
    {sipName_ToolButtonTextUnderIcon, static_cast<int>( ::Qt::ToolButtonTextUnderIcon), 413},
    {sipName_ToolTip, static_cast<int>( ::Qt::ToolTip), 425},
    {sipName_ToolTipRole, static_cast<int>( ::Qt::ToolTipRole), 369},
    {sipName_TopDockWidgetArea, static_cast<int>( ::Qt::TopDockWidgetArea), 344},
    {sipName_TopEdge, static_cast<int>( ::Qt::TopEdge), 348},
    {sipName_TopLeftCorner, static_cast<int>( ::Qt::TopLeftCorner), 339},
    {sipName_TopLeftSection, static_cast<int>( ::Qt::TopLeftSection), 421},
    {sipName_TopRightCorner, static_cast<int>( ::Qt::TopRightCorner), 339},
    {sipName_TopRightSection, static_cast<int>( ::Qt::TopRightSection), 421},
    {sipName_TopSection, static_cast<int>( ::Qt::TopSection), 421},
    {sipName_TopToolBarArea, static_cast<int>( ::Qt::TopToolBarArea), 411},
    {sipName_TouchPointMoved, static_cast<int>( ::Qt::TouchPointMoved), 414},
    {sipName_TouchPointPressed, static_cast<int>( ::Qt::TouchPointPressed), 414},
    {sipName_TouchPointReleased, static_cast<int>( ::Qt::TouchPointReleased), 414},
    {sipName_TouchPointStationary, static_cast<int>( ::Qt::TouchPointStationary), 414},
    {sipName_TransparentMode, static_cast<int>( ::Qt::TransparentMode), 330},
    {sipName_Tuesday, static_cast<int>( ::Qt::Tuesday), 343},
    {sipName_UI_AnimateCombo, static_cast<int>( ::Qt::UI_AnimateCombo), 417},
    {sipName_UI_AnimateMenu, static_cast<int>( ::Qt::UI_AnimateMenu), 417},
    {sipName_UI_AnimateToolBox, static_cast<int>( ::Qt::UI_AnimateToolBox), 417},
    {sipName_UI_AnimateTooltip, static_cast<int>( ::Qt::UI_AnimateTooltip), 417},
    {sipName_UI_FadeMenu, static_cast<int>( ::Qt::UI_FadeMenu), 417},
    {sipName_UI_FadeTooltip, static_cast<int>( ::Qt::UI_FadeTooltip), 417},
    {sipName_UI_General, static_cast<int>( ::Qt::UI_General), 417},
    {sipName_UNICODE_ACCEL, static_cast<int>( ::Qt::UNICODE_ACCEL), 381},
    {sipName_UTC, static_cast<int>( ::Qt::UTC), 409},
    {sipName_Unchecked, static_cast<int>( ::Qt::Unchecked), 333},
    {sipName_UniqueConnection, static_cast<int>( ::Qt::UniqueConnection), 336},
    {sipName_UpArrow, static_cast<int>( ::Qt::UpArrow), 327},
    {sipName_UpArrowCursor, static_cast<int>( ::Qt::UpArrowCursor), 341},
    {sipName_UserRole, static_cast<int>( ::Qt::UserRole), 369},
    {sipName_VerPattern, static_cast<int>( ::Qt::VerPattern), 331},
    {sipName_Vertical, static_cast<int>( ::Qt::Vertical), 389},
    {sipName_VeryCoarseTimer, static_cast<int>( ::Qt::VeryCoarseTimer), 410},
    {sipName_VisualMoveStyle, static_cast<int>( ::Qt::VisualMoveStyle), 340},
    {sipName_WA_AcceptDrops, static_cast<int>( ::Qt::WA_AcceptDrops), 419},
    {sipName_WA_AcceptTouchEvents, static_cast<int>( ::Qt::WA_AcceptTouchEvents), 419},
    {sipName_WA_AlwaysShowToolTips, static_cast<int>( ::Qt::WA_AlwaysShowToolTips), 419},
    {sipName_WA_AlwaysStackOnTop, static_cast<int>( ::Qt::WA_AlwaysStackOnTop), 419},
    {sipName_WA_AttributeCount, static_cast<int>( ::Qt::WA_AttributeCount), 419},
    {sipName_WA_CustomWhatsThis, static_cast<int>( ::Qt::WA_CustomWhatsThis), 419},
    {sipName_WA_DeleteOnClose, static_cast<int>( ::Qt::WA_DeleteOnClose), 419},
    {sipName_WA_Disabled, static_cast<int>( ::Qt::WA_Disabled), 419},
    {sipName_WA_DontCreateNativeAncestors, static_cast<int>( ::Qt::WA_DontCreateNativeAncestors), 419},
    {sipName_WA_DontShowOnScreen, static_cast<int>( ::Qt::WA_DontShowOnScreen), 419},
    {sipName_WA_ForceDisabled, static_cast<int>( ::Qt::WA_ForceDisabled), 419},
    {sipName_WA_ForceUpdatesDisabled, static_cast<int>( ::Qt::WA_ForceUpdatesDisabled), 419},
    {sipName_WA_GrabbedShortcut, static_cast<int>( ::Qt::WA_GrabbedShortcut), 419},
    {sipName_WA_GroupLeader, static_cast<int>( ::Qt::WA_GroupLeader), 419},
    {sipName_WA_Hover, static_cast<int>( ::Qt::WA_Hover), 419},
    {sipName_WA_InputMethodEnabled, static_cast<int>( ::Qt::WA_InputMethodEnabled), 419},
    {sipName_WA_InputMethodTransparent, static_cast<int>( ::Qt::WA_InputMethodTransparent), 419},
    {sipName_WA_InvalidSize, static_cast<int>( ::Qt::WA_InvalidSize), 419},
    {sipName_WA_KeyCompression, static_cast<int>( ::Qt::WA_KeyCompression), 419},
    {sipName_WA_KeyboardFocusChange, static_cast<int>( ::Qt::WA_KeyboardFocusChange), 419},
    {sipName_WA_LaidOut, static_cast<int>( ::Qt::WA_LaidOut), 419},
    {sipName_WA_LayoutOnEntireRect, static_cast<int>( ::Qt::WA_LayoutOnEntireRect), 419},
    {sipName_WA_LayoutUsesWidgetRect, static_cast<int>( ::Qt::WA_LayoutUsesWidgetRect), 419},
    {sipName_WA_MSWindowsUseDirect3D, static_cast<int>( ::Qt::WA_MSWindowsUseDirect3D), 419},
    {sipName_WA_MacAlwaysShowToolWindow, static_cast<int>( ::Qt::WA_MacAlwaysShowToolWindow), 419},
    {sipName_WA_MacBrushedMetal, static_cast<int>( ::Qt::WA_MacBrushedMetal), 419},
    {sipName_WA_MacFrameworkScaled, static_cast<int>( ::Qt::WA_MacFrameworkScaled), 419},
    {sipName_WA_MacMetalStyle, static_cast<int>( ::Qt::WA_MacMetalStyle), 419},
    {sipName_WA_MacMiniSize, static_cast<int>( ::Qt::WA_MacMiniSize), 419},
    {sipName_WA_MacNoClickThrough, static_cast<int>( ::Qt::WA_MacNoClickThrough), 419},
    {sipName_WA_MacNoShadow, static_cast<int>( ::Qt::WA_MacNoShadow), 419},
    {sipName_WA_MacNormalSize, static_cast<int>( ::Qt::WA_MacNormalSize), 419},
    {sipName_WA_MacOpaqueSizeGrip, static_cast<int>( ::Qt::WA_MacOpaqueSizeGrip), 419},
    {sipName_WA_MacShowFocusRect, static_cast<int>( ::Qt::WA_MacShowFocusRect), 419},
    {sipName_WA_MacSmallSize, static_cast<int>( ::Qt::WA_MacSmallSize), 419},
    {sipName_WA_MacVariableSize, static_cast<int>( ::Qt::WA_MacVariableSize), 419},
    {sipName_WA_Mapped, static_cast<int>( ::Qt::WA_Mapped), 419},
    {sipName_WA_MouseNoMask, static_cast<int>( ::Qt::WA_MouseNoMask), 419},
    {sipName_WA_MouseTracking, static_cast<int>( ::Qt::WA_MouseTracking), 419},
    {sipName_WA_Moved, static_cast<int>( ::Qt::WA_Moved), 419},
    {sipName_WA_NativeWindow, static_cast<int>( ::Qt::WA_NativeWindow), 419},
    {sipName_WA_NoChildEventsForParent, static_cast<int>( ::Qt::WA_NoChildEventsForParent), 419},
    {sipName_WA_NoChildEventsFromChildren, static_cast<int>( ::Qt::WA_NoChildEventsFromChildren), 419},
    {sipName_WA_NoMousePropagation, static_cast<int>( ::Qt::WA_NoMousePropagation), 419},
    {sipName_WA_NoMouseReplay, static_cast<int>( ::Qt::WA_NoMouseReplay), 419},
    {sipName_WA_NoSystemBackground, static_cast<int>( ::Qt::WA_NoSystemBackground), 419},
    {sipName_WA_NoX11EventCompression, static_cast<int>( ::Qt::WA_NoX11EventCompression), 419},
    {sipName_WA_OpaquePaintEvent, static_cast<int>( ::Qt::WA_OpaquePaintEvent), 419},
    {sipName_WA_OutsideWSRange, static_cast<int>( ::Qt::WA_OutsideWSRange), 419},
    {sipName_WA_PaintOnScreen, static_cast<int>( ::Qt::WA_PaintOnScreen), 419},
    {sipName_WA_PaintUnclipped, static_cast<int>( ::Qt::WA_PaintUnclipped), 419},
    {sipName_WA_PendingMoveEvent, static_cast<int>( ::Qt::WA_PendingMoveEvent), 419},
    {sipName_WA_PendingResizeEvent, static_cast<int>( ::Qt::WA_PendingResizeEvent), 419},
    {sipName_WA_PendingUpdate, static_cast<int>( ::Qt::WA_PendingUpdate), 419},
    {sipName_WA_QuitOnClose, static_cast<int>( ::Qt::WA_QuitOnClose), 419},
    {sipName_WA_Resized, static_cast<int>( ::Qt::WA_Resized), 419},
    {sipName_WA_RightToLeft, static_cast<int>( ::Qt::WA_RightToLeft), 419},
    {sipName_WA_SetCursor, static_cast<int>( ::Qt::WA_SetCursor), 419},
    {sipName_WA_SetFont, static_cast<int>( ::Qt::WA_SetFont), 419},
    {sipName_WA_SetLayoutDirection, static_cast<int>( ::Qt::WA_SetLayoutDirection), 419},
    {sipName_WA_SetLocale, static_cast<int>( ::Qt::WA_SetLocale), 419},
    {sipName_WA_SetPalette, static_cast<int>( ::Qt::WA_SetPalette), 419},
    {sipName_WA_SetStyle, static_cast<int>( ::Qt::WA_SetStyle), 419},
    {sipName_WA_SetWindowIcon, static_cast<int>( ::Qt::WA_SetWindowIcon), 419},
    {sipName_WA_ShowWithoutActivating, static_cast<int>( ::Qt::WA_ShowWithoutActivating), 419},
    {sipName_WA_StaticContents, static_cast<int>( ::Qt::WA_StaticContents), 419},
    {sipName_WA_StyleSheet, static_cast<int>( ::Qt::WA_StyleSheet), 419},
    {sipName_WA_StyledBackground, static_cast<int>( ::Qt::WA_StyledBackground), 419},
    {sipName_WA_TabletTracking, static_cast<int>( ::Qt::WA_TabletTracking), 419},
    {sipName_WA_TintedBackground, static_cast<int>( ::Qt::WA_TintedBackground), 419},
    {sipName_WA_TouchPadAcceptSingleTouchEvents, static_cast<int>( ::Qt::WA_TouchPadAcceptSingleTouchEvents), 419},
    {sipName_WA_TranslucentBackground, static_cast<int>( ::Qt::WA_TranslucentBackground), 419},
    {sipName_WA_TransparentForMouseEvents, static_cast<int>( ::Qt::WA_TransparentForMouseEvents), 419},
    {sipName_WA_UnderMouse, static_cast<int>( ::Qt::WA_UnderMouse), 419},
    {sipName_WA_UpdatesDisabled, static_cast<int>( ::Qt::WA_UpdatesDisabled), 419},
    {sipName_WA_WState_CompressKeys, static_cast<int>( ::Qt::WA_WState_CompressKeys), 419},
    {sipName_WA_WState_ConfigPending, static_cast<int>( ::Qt::WA_WState_ConfigPending), 419},
    {sipName_WA_WState_Created, static_cast<int>( ::Qt::WA_WState_Created), 419},
    {sipName_WA_WState_ExplicitShowHide, static_cast<int>( ::Qt::WA_WState_ExplicitShowHide), 419},
    {sipName_WA_WState_Hidden, static_cast<int>( ::Qt::WA_WState_Hidden), 419},
    {sipName_WA_WState_InPaintEvent, static_cast<int>( ::Qt::WA_WState_InPaintEvent), 419},
    {sipName_WA_WState_OwnSizePolicy, static_cast<int>( ::Qt::WA_WState_OwnSizePolicy), 419},
    {sipName_WA_WState_Polished, static_cast<int>( ::Qt::WA_WState_Polished), 419},
    {sipName_WA_WState_Reparented, static_cast<int>( ::Qt::WA_WState_Reparented), 419},
    {sipName_WA_WState_Visible, static_cast<int>( ::Qt::WA_WState_Visible), 419},
    {sipName_WA_WindowModified, static_cast<int>( ::Qt::WA_WindowModified), 419},
    {sipName_WA_WindowPropagation, static_cast<int>( ::Qt::WA_WindowPropagation), 419},
    {sipName_WA_X11DoNotAcceptFocus, static_cast<int>( ::Qt::WA_X11DoNotAcceptFocus), 419},
    {sipName_WA_X11NetWmWindowTypeCombo, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeCombo), 419},
    {sipName_WA_X11NetWmWindowTypeDND, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeDND), 419},
    {sipName_WA_X11NetWmWindowTypeDesktop, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeDesktop), 419},
    {sipName_WA_X11NetWmWindowTypeDialog, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeDialog), 419},
    {sipName_WA_X11NetWmWindowTypeDock, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeDock), 419},
    {sipName_WA_X11NetWmWindowTypeDropDownMenu, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeDropDownMenu), 419},
    {sipName_WA_X11NetWmWindowTypeMenu, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeMenu), 419},
    {sipName_WA_X11NetWmWindowTypeNotification, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeNotification), 419},
    {sipName_WA_X11NetWmWindowTypePopupMenu, static_cast<int>( ::Qt::WA_X11NetWmWindowTypePopupMenu), 419},
    {sipName_WA_X11NetWmWindowTypeSplash, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeSplash), 419},
    {sipName_WA_X11NetWmWindowTypeToolBar, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeToolBar), 419},
    {sipName_WA_X11NetWmWindowTypeToolTip, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeToolTip), 419},
    {sipName_WA_X11NetWmWindowTypeUtility, static_cast<int>( ::Qt::WA_X11NetWmWindowTypeUtility), 419},
    {sipName_WA_X11OpenGLOverlay, static_cast<int>( ::Qt::WA_X11OpenGLOverlay), 419},
    {sipName_WaitCursor, static_cast<int>( ::Qt::WaitCursor), 341},
    {sipName_Wednesday, static_cast<int>( ::Qt::Wednesday), 343},
    {sipName_WhatsThisCursor, static_cast<int>( ::Qt::WhatsThisCursor), 341},
    {sipName_WhatsThisRole, static_cast<int>( ::Qt::WhatsThisRole), 369},
    {sipName_WheelFocus, static_cast<int>( ::Qt::WheelFocus), 355},
    {sipName_WhiteSpaceModeUndefined, static_cast<int>( ::Qt::WhiteSpaceModeUndefined), 418},
    {sipName_WhiteSpaceNoWrap, static_cast<int>( ::Qt::WhiteSpaceNoWrap), 418},
    {sipName_WhiteSpaceNormal, static_cast<int>( ::Qt::WhiteSpaceNormal), 418},
    {sipName_WhiteSpacePre, static_cast<int>( ::Qt::WhiteSpacePre), 418},
    {sipName_Widget, static_cast<int>( ::Qt::Widget), 425},
    {sipName_WidgetShortcut, static_cast<int>( ::Qt::WidgetShortcut), 398},
    {sipName_WidgetWithChildrenShortcut, static_cast<int>( ::Qt::WidgetWithChildrenShortcut), 398},
    {sipName_WindingFill, static_cast<int>( ::Qt::WindingFill), 352},
    {sipName_Window, static_cast<int>( ::Qt::Window), 425},
    {sipName_WindowActive, static_cast<int>( ::Qt::WindowActive), 423},
    {sipName_WindowCloseButtonHint, static_cast<int>( ::Qt::WindowCloseButtonHint), 425},
    {sipName_WindowContextHelpButtonHint, static_cast<int>( ::Qt::WindowContextHelpButtonHint), 425},
    {sipName_WindowDoesNotAcceptFocus, static_cast<int>( ::Qt::WindowDoesNotAcceptFocus), 425},
    {sipName_WindowFullScreen, static_cast<int>( ::Qt::WindowFullScreen), 423},
    {sipName_WindowFullscreenButtonHint, static_cast<int>( ::Qt::WindowFullscreenButtonHint), 425},
    {sipName_WindowMaximizeButtonHint, static_cast<int>( ::Qt::WindowMaximizeButtonHint), 425},
    {sipName_WindowMaximized, static_cast<int>( ::Qt::WindowMaximized), 423},
    {sipName_WindowMinMaxButtonsHint, static_cast<int>( ::Qt::WindowMinMaxButtonsHint), 425},
    {sipName_WindowMinimizeButtonHint, static_cast<int>( ::Qt::WindowMinimizeButtonHint), 425},
    {sipName_WindowMinimized, static_cast<int>( ::Qt::WindowMinimized), 423},
    {sipName_WindowModal, static_cast<int>( ::Qt::WindowModal), 422},
    {sipName_WindowNoState, static_cast<int>( ::Qt::WindowNoState), 423},
    {sipName_WindowOverridesSystemGestures, static_cast<int>( ::Qt::WindowOverridesSystemGestures), 425},
    {sipName_WindowShadeButtonHint, static_cast<int>( ::Qt::WindowShadeButtonHint), 425},
    {sipName_WindowShortcut, static_cast<int>( ::Qt::WindowShortcut), 398},
    {sipName_WindowStaysOnBottomHint, static_cast<int>( ::Qt::WindowStaysOnBottomHint), 425},
    {sipName_WindowStaysOnTopHint, static_cast<int>( ::Qt::WindowStaysOnTopHint), 425},
    {sipName_WindowSystemMenuHint, static_cast<int>( ::Qt::WindowSystemMenuHint), 425},
    {sipName_WindowTitleHint, static_cast<int>( ::Qt::WindowTitleHint), 425},
    {sipName_WindowTransparentForInput, static_cast<int>( ::Qt::WindowTransparentForInput), 425},
    {sipName_WindowType_Mask, static_cast<int>( ::Qt::WindowType_Mask), 425},
    {sipName_X11BypassWindowManagerHint, static_cast<int>( ::Qt::X11BypassWindowManagerHint), 425},
    {sipName_XAxis, static_cast<int>( ::Qt::XAxis), 329},
    {sipName_XButton1, static_cast<int>( ::Qt::XButton1), 382},
    {sipName_XButton2, static_cast<int>( ::Qt::XButton2), 382},
    {sipName_YAxis, static_cast<int>( ::Qt::YAxis), 329},
    {sipName_ZAxis, static_cast<int>( ::Qt::ZAxis), 329},
    {sipName_ZoomNativeGesture, static_cast<int>( ::Qt::ZoomNativeGesture), 387},
    {sipName_black, static_cast<int>( ::Qt::black), 361},
    {sipName_blue, static_cast<int>( ::Qt::blue), 361},
    {sipName_color0, static_cast<int>( ::Qt::color0), 361},
    {sipName_color1, static_cast<int>( ::Qt::color1), 361},
    {sipName_cyan, static_cast<int>( ::Qt::cyan), 361},
    {sipName_darkBlue, static_cast<int>( ::Qt::darkBlue), 361},
    {sipName_darkCyan, static_cast<int>( ::Qt::darkCyan), 361},
    {sipName_darkGray, static_cast<int>( ::Qt::darkGray), 361},
    {sipName_darkGreen, static_cast<int>( ::Qt::darkGreen), 361},
    {sipName_darkMagenta, static_cast<int>( ::Qt::darkMagenta), 361},
    {sipName_darkRed, static_cast<int>( ::Qt::darkRed), 361},
    {sipName_darkYellow, static_cast<int>( ::Qt::darkYellow), 361},
    {sipName_gray, static_cast<int>( ::Qt::gray), 361},
    {sipName_green, static_cast<int>( ::Qt::green), 361},
    {sipName_lightGray, static_cast<int>( ::Qt::lightGray), 361},
    {sipName_magenta, static_cast<int>( ::Qt::magenta), 361},
    {sipName_red, static_cast<int>( ::Qt::red), 361},
    {sipName_transparent, static_cast<int>( ::Qt::transparent), 361},
    {sipName_white, static_cast<int>( ::Qt::white), 361},
    {sipName_yellow, static_cast<int>( ::Qt::yellow), 361},
};


static pyqt5ClassPluginDef plugin_Qt = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtCore_Qt = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_NAMESPACE,
        sipNameNr_Qt,
        {0},
        &plugin_Qt
    },
    {
        sipNameNr_Qt,
        {0, 0, 1},
        0, 0,
        1115, enummembers_Qt,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 202972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_quintptr(void *, SIP_SSIZE_T, const void *);}
static void assign_quintptr(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::quintptr *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::quintptr *>(sipSrc);
}


extern "C" {static void *array_quintptr(SIP_SSIZE_T);}
static void *array_quintptr(SIP_SSIZE_T sipNrElem)
{
    return new  ::quintptr[sipNrElem];
}


extern "C" {static void *copy_quintptr(const void *, SIP_SSIZE_T);}
static void *copy_quintptr(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::quintptr(reinterpret_cast<const  ::quintptr *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_quintptr(void *, int);}
static void release_quintptr(void *ptr, int)
{
    delete reinterpret_cast< ::quintptr *>(ptr);
}



extern "C" {static int convertTo_quintptr(PyObject *, void **, int *, PyObject *);}
static int convertTo_quintptr(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *)
{
     ::quintptr **sipCppPtr = reinterpret_cast< ::quintptr **>(sipCppPtrV);

#line 193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
    quintptr ptr = (quintptr)sipConvertToVoidPtr(sipPy);

    if (!sipIsErr)
        return !PyErr_Occurred();

    // Mapped types deal with pointers, so create one on the heap.
    quintptr *heap = new quintptr;
    *heap = ptr;

    *sipCppPtr = heap;

    // Make sure the pointer doesn't leak.
    return SIP_TEMPORARY;
#line 203025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_quintptr(void *, PyObject *);}
static PyObject *convertFrom_quintptr(void *sipCppV, PyObject *)
{
    ::quintptr *sipCpp = reinterpret_cast< ::quintptr *>(sipCppV);

#line 209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
    return sipConvertFromVoidPtr((void *)*sipCpp);
#line 203036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_quintptr = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_quintptr,     /* quintptr */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_quintptr,
    array_quintptr,
    copy_quintptr,
    release_quintptr,
    convertTo_quintptr,
    convertFrom_quintptr
};

#line 160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 203068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"



extern "C" {static void assign_qintptr(void *, SIP_SSIZE_T, const void *);}
static void assign_qintptr(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::qintptr *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::qintptr *>(sipSrc);
}


extern "C" {static void *array_qintptr(SIP_SSIZE_T);}
static void *array_qintptr(SIP_SSIZE_T sipNrElem)
{
    return new  ::qintptr[sipNrElem];
}


extern "C" {static void *copy_qintptr(const void *, SIP_SSIZE_T);}
static void *copy_qintptr(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::qintptr(reinterpret_cast<const  ::qintptr *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_qintptr(void *, int);}
static void release_qintptr(void *ptr, int)
{
    delete reinterpret_cast< ::qintptr *>(ptr);
}



extern "C" {static int convertTo_qintptr(PyObject *, void **, int *, PyObject *);}
static int convertTo_qintptr(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *)
{
     ::qintptr **sipCppPtr = reinterpret_cast< ::qintptr **>(sipCppPtrV);

#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
    qintptr ptr = (qintptr)sipConvertToVoidPtr(sipPy);

    if (!sipIsErr)
        return !PyErr_Occurred();

    // Mapped types deal with pointers, so create one on the heap.
    qintptr *heap = new qintptr;
    *heap = ptr;

    *sipCppPtr = heap;

    // Make sure the pointer doesn't leak.
    return SIP_TEMPORARY;
#line 203121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


extern "C" {static PyObject *convertFrom_qintptr(void *, PyObject *);}
static PyObject *convertFrom_qintptr(void *sipCppV, PyObject *)
{
    ::qintptr *sipCpp = reinterpret_cast< ::qintptr *>(sipCppV);

#line 180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/sip/QtCore/qglobal.sip"
    return sipConvertFromVoidPtr((void *)*sipCpp);
#line 203132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py3/QtCore/sipQtCorepart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtCore_qintptr = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_qintptr,     /* qintptr */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_qintptr,
    array_qintptr,
    copy_qintptr,
    release_qintptr,
    convertTo_qintptr,
    convertFrom_qintptr
};
